Home
last modified time | relevance | path

Searched refs:lua_pushvalue (Results 1 – 17 of 17) sorted by relevance

/l4re-core-master/ned/server/src/
A Dlua_cap.cc93 lua_pushvalue(l, 1); in __set_rights()
187 lua_pushvalue(l, 2); // push key in index()
203 lua_pushvalue(l, -1); // keep table after set in index()
207 lua_pushvalue(l, 2); // push key in index()
274 lua_pushvalue(l, frame); in push_new_cap()
290 lua_pushvalue(l, frame); in push_new_cap()
319 lua_pushvalue(l, 1); in __cast()
344 lua_pushvalue(l, -1); in init_lua_cap()
A Dlua_ns.cc75 lua_pushvalue(l, 1); in __query()
76 lua_pushvalue(l, 2); in __query()
78 lua_pushvalue(l, 3); in __query()
A Dlua_env.cc34 lua_pushvalue(l, -1); in init()
A Dlua_exec.cc122 lua_pushvalue(_lua, _cfg_idx); in _cfg_cap()
184 lua_pushvalue(_lua, tab); in push_initial_caps()
216 lua_pushvalue(_lua, tab); in map_initial_caps()
A Dlua_cap.h164 lua_pushvalue(l, -2); in register_cap_type()
/l4re-core-master/lua/lib/contrib/src/
A Dlbaselib.c119 lua_pushvalue(L, 1); in luaB_error()
268 lua_pushvalue(L, 1); /* state, */ in luaB_pairs()
272 lua_pushvalue(L, 1); /* argument 'self' to metamethod */ in luaB_pairs()
296 lua_pushvalue(L, 1); /* state */ in luaB_ipairs()
305 lua_pushvalue(L, envidx); /* environment for loaded function */ in load_aux()
352 lua_pushvalue(L, 1); /* get function */ in generic_reader()
443 lua_pushvalue(L, -2); /* error message */ in finishpcall()
471 lua_pushvalue(L, 1); /* function */ in luaB_xpcall()
521 lua_pushvalue(L, -1); in luaopen_base()
A Dldblib.c42 lua_pushvalue(L, LUA_REGISTRYINDEX); in db_getregistry()
158 lua_pushvalue(L, arg + 1); /* move function to 'L1' stack */ in db_getinfo()
208 lua_pushvalue(L, arg + 1); /* push function */ in db_getlocal()
383 lua_pushvalue(L, -1); in db_sethook()
388 lua_pushvalue(L, arg + 1); /* value (hook function) */ in db_sethook()
440 lua_pushvalue(L, arg + 1); /* return it untouched */ in db_traceback()
A Dltablib.c141 lua_pushvalue(L, tt); /* return destination table */ in tmove()
279 lua_pushvalue(L, 2); /* push function */ in sort_comp()
280 lua_pushvalue(L, a-1); /* -1 to compensate function */ in sort_comp()
281 lua_pushvalue(L, b-2); /* -2 to compensate function and 'a' */ in sort_comp()
377 lua_pushvalue(L, -1); /* push Pivot */ in auxsort()
A Dliolib.c325 lua_pushvalue(L, 1); in g_iofile()
366 lua_pushvalue(L, 1); /* file */ in aux_lines()
405 lua_pushvalue(L, 1); /* file is the to-be-closed variable (4th result) */ in io_lines()
638 lua_pushvalue(L, lua_upvalueindex(3 + i)); in io_readline()
650 lua_pushvalue(L, lua_upvalueindex(1)); /* push file at index 1 */ in io_readline()
692 lua_pushvalue(L, 1); /* push file at the stack top (to be returned) */ in f_write()
812 lua_pushvalue(L, -1); in createstdfile()
A Dloadlib.c352 lua_pushvalue(L, -1); in addtoclib()
668 lua_pushvalue(L, 1); /* name is 1st argument to module loader */ in ll_require()
669 lua_pushvalue(L, -3); /* loader data is 2nd argument */ in ll_require()
718 lua_pushvalue(L, -2); /* set 'package' as upvalue for all searchers */ in createsearcherstable()
757 lua_pushvalue(L, -2); /* set 'package' as upvalue for next lib */ in luaopen_package()
A Dlauxlib.c318 lua_pushvalue(L, -1); in luaL_newmetatable()
865 lua_pushvalue(L, obj); in luaL_callmeta()
898 lua_pushvalue(L, idx); in luaL_tolstring()
934 lua_pushvalue(L, -nup); in luaL_setfuncs()
954 lua_pushvalue(L, -1); /* copy to be left at top */ in luaL_getsubtable()
976 lua_pushvalue(L, -1); /* make copy of module (call result) */ in luaL_requiref()
981 lua_pushvalue(L, -1); /* copy of module */ in luaL_requiref()
A Dlcorolib.c99 lua_pushvalue(L, 1); /* move function to top */ in luaB_cocreate()
A Dlstrlib.c266 lua_pushvalue(L, arg); in tonum()
912 lua_pushvalue(L, 3); /* push the function */ in add_value()
976 lua_pushvalue(L, 1); /* return original string */ in str_gsub()
1800 lua_pushvalue(L, -2); /* copy table */ in createmetatable()
1803 lua_pushvalue(L, -2); /* get string library */ in createmetatable()
A Dlutf8lib.c261 lua_pushvalue(L, 1); in iter_codes()
A Dlmathlib.c215 lua_pushvalue(L, imin); in math_min()
229 lua_pushvalue(L, imax); in math_max()
A Dlua.h170 LUA_API void (lua_pushvalue) (lua_State *L, int idx); variable
A Dlapi.c264 LUA_API void lua_pushvalue (lua_State *L, int idx) { in lua_pushvalue() function

Completed in 34 milliseconds