/l4re-core-master/ned/server/src/ |
A D | lua_cap.cc | 93 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 D | lua_ns.cc | 75 lua_pushvalue(l, 1); in __query() 76 lua_pushvalue(l, 2); in __query() 78 lua_pushvalue(l, 3); in __query()
|
A D | lua_env.cc | 34 lua_pushvalue(l, -1); in init()
|
A D | lua_exec.cc | 122 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 D | lua_cap.h | 164 lua_pushvalue(l, -2); in register_cap_type()
|
/l4re-core-master/lua/lib/contrib/src/ |
A D | lbaselib.c | 119 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 D | ldblib.c | 42 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 D | ltablib.c | 141 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 D | liolib.c | 325 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 D | loadlib.c | 352 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 D | lauxlib.c | 318 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 D | lcorolib.c | 99 lua_pushvalue(L, 1); /* move function to top */ in luaB_cocreate()
|
A D | lstrlib.c | 266 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 D | lutf8lib.c | 261 lua_pushvalue(L, 1); in iter_codes()
|
A D | lmathlib.c | 215 lua_pushvalue(L, imin); in math_min() 229 lua_pushvalue(L, imax); in math_max()
|
A D | lua.h | 170 LUA_API void (lua_pushvalue) (lua_State *L, int idx); variable
|
A D | lapi.c | 264 LUA_API void lua_pushvalue (lua_State *L, int idx) { in lua_pushvalue() function
|