Home
last modified time | relevance | path

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

/external/lua/src/
Dlbaselib.c31 lua_pushvalue(L, -1); /* function to be called */ in luaB_print()
32 lua_pushvalue(L, i); /* value to print */ in luaB_print()
107 lua_pushvalue(L, 1); in luaB_error()
214 lua_pushvalue(L, 1); /* state, */ in pairsmeta()
219 lua_pushvalue(L, 1); /* argument 'self' to metamethod */ in pairsmeta()
263 lua_pushvalue(L, 1); /* state */ in luaB_ipairs()
273 lua_pushvalue(L, envidx); /* environment for loaded function */ in load_aux()
320 lua_pushvalue(L, 1); /* get function */ in generic_reader()
411 lua_pushvalue(L, -2); /* error message */ in finishpcall()
439 lua_pushvalue(L, 1); /* function */ in luaB_xpcall()
[all …]
Dloadlib.c334 lua_pushvalue(L, -1); in addtoclib()
614 lua_pushvalue(L, -1); /* extra copy to be returned */ in ll_require()
640 lua_pushvalue(L, -2); /* copy new environment table to top */ in set_env()
650 lua_pushvalue(L, i); /* get option (a function) */ in dooptions()
651 lua_pushvalue(L, -2); /* module */ in dooptions()
660 lua_pushvalue(L, -1); in modinit()
684 lua_pushvalue(L, -1); in ll_module()
695 lua_pushvalue(L, -1); in ll_seeall()
741 lua_pushvalue(L, -2); /* set 'package' as upvalue for all searchers */ in createsearcherstable()
746 lua_pushvalue(L, -1); /* make a copy of 'searchers' table */ in createsearcherstable()
[all …]
Dldblib.c42 lua_pushvalue(L, LUA_REGISTRYINDEX); in db_getregistry()
153 lua_pushvalue(L, arg + 1); /* move function to 'L1' stack */ in db_getinfo()
200 lua_pushvalue(L, arg + 1); /* push function */ in db_getlocal()
363 lua_pushvalue(L, -1); in db_sethook()
367 lua_pushvalue(L, -1); in db_sethook()
372 lua_pushvalue(L, arg + 1); /* value (hook function) */ in db_sethook()
422 lua_pushvalue(L, arg + 1); /* return it untouched */ in db_traceback()
Dltablib.c155 lua_pushvalue(L, tt); /* return destination table */ in tmove()
292 lua_pushvalue(L, 2); /* push function */ in sort_comp()
293 lua_pushvalue(L, a-1); /* -1 to compensate function */ in sort_comp()
294 lua_pushvalue(L, b-2); /* -2 to compensate function and 'a' */ in sort_comp()
390 lua_pushvalue(L, -1); /* push Pivot */ in auxsort()
Dlauxlib.c306 lua_pushvalue(L, -1); in luaL_newmetatable()
792 lua_pushvalue(L, obj); in luaL_callmeta()
825 lua_pushvalue(L, idx); in luaL_tolstring()
858 if (idx) lua_pushvalue(L, idx); in luaL_findtable()
867 lua_pushvalue(L, -2); in luaL_findtable()
906 lua_pushvalue(L, -1); in luaL_pushmodule()
939 lua_pushvalue(L, -nup); in luaL_setfuncs()
958 lua_pushvalue(L, -1); /* copy to be left at top */ in luaL_getsubtable()
980 lua_pushvalue(L, -1); /* make copy of module (call result) */ in luaL_requiref()
985 lua_pushvalue(L, -1); /* copy of module */ in luaL_requiref()
Dliolib.c310 lua_pushvalue(L, 1); in g_iofile()
598 lua_pushvalue(L, lua_upvalueindex(3 + i)); in io_readline()
610 lua_pushvalue(L, lua_upvalueindex(1)); in io_readline()
651 lua_pushvalue(L, 1); /* push file at the stack top (to be returned) */ in f_write()
735 lua_pushvalue(L, -1); /* push metatable */ in createmeta()
760 lua_pushvalue(L, -1); in createstdfile()
Dlmathlib.c224 lua_pushvalue(L, imin); in math_min()
238 lua_pushvalue(L, imax); in math_max()
Dlcorolib.c93 lua_pushvalue(L, 1); /* move function to top */ in luaB_cocreate()
Dlutf8lib.c228 lua_pushvalue(L, 1); in iter_codes()
Dlstrlib.c737 lua_pushvalue(L, 3); in add_value()
1567 lua_pushvalue(L, -2); /* copy table */ in createmetatable()
1570 lua_pushvalue(L, -2); /* get string library */ in createmetatable()
Dlua.h161 LUA_API void (lua_pushvalue) (lua_State *L, int idx); variable
Dlapi.c237 LUA_API void lua_pushvalue (lua_State *L, int idx) { in lua_pushvalue() function
/external/bcc/src/lua/src/
Dmain.c81 lua_pushvalue(L, 1); /* pass error message */ in traceback()
/external/skqp/src/utils/
DSkLua.cpp1967 lua_pushvalue(L, -1); in register_Sk()
1990 lua_pushvalue(L, -1); \
/external/skia/src/utils/
DSkLua.cpp1967 lua_pushvalue(L, -1); in register_Sk()
1990 lua_pushvalue(L, -1); \