Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dldblib.c26 lua_pushvalue(L, LUA_REGISTRYINDEX); in db_getregistry()
103 lua_pushvalue(L, -2); in treatstackoption()
126 lua_pushvalue(L, arg+1); in db_getinfo()
169 lua_pushvalue(L, arg + 1); /* push function */ in db_getlocal()
180 lua_pushvalue(L, -2); /* re-order */ in db_getlocal()
232 lua_pushvalue(L, argf); in checkupval()
313 lua_pushvalue(L, -1); in db_sethook()
317 lua_pushvalue(L, arg+1); in db_sethook()
364 lua_pushvalue(L, arg + 1); /* return it untouched */ in db_traceback()
Dlbaselib.c30 lua_pushvalue(L, -1); /* function to be called */ in luaB_print()
31 lua_pushvalue(L, i); /* value to print */ in luaB_print()
94 lua_pushvalue(L, 1); in luaB_error()
201 lua_pushvalue(L, 1); /* state, */ in pairsmeta()
206 lua_pushvalue(L, 1); /* argument 'self' to metamethod */ in pairsmeta()
248 lua_pushvalue(L, envidx); /* environment for loaded function */ in load_aux()
295 lua_pushvalue(L, 1); /* get function */ in generic_reader()
402 lua_pushvalue(L, 1); /* exchange function... */ in luaB_xpcall()
Dloadlib.c264 lua_pushvalue(L, -1); in ll_addtoclib()
526 lua_pushvalue(L, -1); /* extra copy to be returned */ in ll_require()
552 lua_pushvalue(L, -2); /* copy new environment table to top */ in set_env()
562 lua_pushvalue(L, i); /* get option (a function) */ in dooptions()
563 lua_pushvalue(L, -2); /* module */ in dooptions()
572 lua_pushvalue(L, -1); in modinit()
597 lua_pushvalue(L, -1); in ll_module()
608 lua_pushvalue(L, -1); in ll_seeall()
683 lua_pushvalue(L, -2); /* set 'package' as upvalue for all searchers */ in createsearcherstable()
701 lua_pushvalue(L, -1); /* make a copy of 'searchers' table */ in luaopen_package()
[all …]
Dltablib.c126 lua_pushvalue(L, 1); in pack()
172 lua_pushvalue(L, 2); in sort_comp()
173 lua_pushvalue(L, a-1); /* -1 to compensate function */ in sort_comp()
174 lua_pushvalue(L, b-2); /* -2 to compensate function and `a' */ in sort_comp()
210 lua_pushvalue(L, -1); in auxsort()
Dliolib.c280 lua_pushvalue(L, 1); in g_iofile()
308 lua_pushvalue(L, 1); /* file handle */ in aux_lines()
311 for (i = 1; i <= n; i++) lua_pushvalue(L, i + 1); /* copy arguments */ in aux_lines()
492 lua_pushvalue(L, lua_upvalueindex(3 + i)); in io_readline()
504 lua_pushvalue(L, lua_upvalueindex(1)); in io_readline()
541 lua_pushvalue(L, 1); /* push file at the stack top (to be returned) */ in f_write()
625 lua_pushvalue(L, -1); /* push metatable */ in createmeta()
650 lua_pushvalue(L, -1); in createstdfile()
Dlauxlib.c278 lua_pushvalue(L, -1); in luaL_newmetatable()
719 lua_pushvalue(L, obj); in luaL_callmeta()
742 lua_pushvalue(L, idx); in luaL_tolstring()
770 if (idx) lua_pushvalue(L, idx); in luaL_findtable()
780 lua_pushvalue(L, -2); in luaL_findtable()
820 lua_pushvalue(L, -1); in luaL_pushmodule()
854 lua_pushvalue(L, -nup); in luaL_setfuncs()
873 lua_pushvalue(L, -1); /* copy to be left at top */ in luaL_getsubtable()
892 lua_pushvalue(L, -2); /* make copy of module (call result) */ in luaL_requiref()
896 lua_pushvalue(L, -1); /* copy of 'mod' */ in luaL_requiref()
Dlcorolib.c86 lua_pushvalue(L, 1); /* move function to top */ in luaB_cocreate()
Dlstrlib.c710 lua_pushvalue(L, 3); in add_value()
1002 lua_pushvalue(L, -2); /* copy table */ in createmetatable()
1005 lua_pushvalue(L, -2); /* get string library */ in createmetatable()
Dlapi.c235 LUA_API void lua_pushvalue (lua_State *L, int idx) { in lua_pushvalue() function
/device/linaro/bootloader/edk2/StdLib/Include/Lua/
Dlua.h147 LUA_API void (lua_pushvalue) (lua_State *L, int idx); variable