Home
last modified time | relevance | path

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

/external/lua/src/
Dlbaselib.c119 lua_pushvalue(L, 1); in luaB_error()
267 lua_pushvalue(L, 1); /* state, */ in luaB_pairs()
271 lua_pushvalue(L, 1); /* argument 'self' to metamethod */ in luaB_pairs()
295 lua_pushvalue(L, 1); /* state */ in luaB_ipairs()
304 lua_pushvalue(L, envidx); /* environment for loaded function */ in load_aux()
351 lua_pushvalue(L, 1); /* get function */ in generic_reader()
442 lua_pushvalue(L, -2); /* error message */ in finishpcall()
470 lua_pushvalue(L, 1); /* function */ in luaB_xpcall()
520 lua_pushvalue(L, -1); in luaopen_base()
Dldblib.c42 lua_pushvalue(L, LUA_REGISTRYINDEX); in db_getregistry()
157 lua_pushvalue(L, arg + 1); /* move function to 'L1' stack */ in db_getinfo()
207 lua_pushvalue(L, arg + 1); /* push function */ in db_getlocal()
374 lua_pushvalue(L, -1); in db_sethook()
379 lua_pushvalue(L, arg + 1); /* value (hook function) */ in db_sethook()
431 lua_pushvalue(L, arg + 1); /* return it untouched */ in db_traceback()
Dltablib.c141 lua_pushvalue(L, tt); /* return destination table */ in tmove()
278 lua_pushvalue(L, 2); /* push function */ in sort_comp()
279 lua_pushvalue(L, a-1); /* -1 to compensate function */ in sort_comp()
280 lua_pushvalue(L, b-2); /* -2 to compensate function and 'a' */ in sort_comp()
376 lua_pushvalue(L, -1); /* push Pivot */ in auxsort()
Dliolib.c319 lua_pushvalue(L, 1); in g_iofile()
360 lua_pushvalue(L, 1); /* file */ in aux_lines()
399 lua_pushvalue(L, 1); /* file is the to-be-closed variable (4th result) */ in io_lines()
632 lua_pushvalue(L, lua_upvalueindex(3 + i)); in io_readline()
644 lua_pushvalue(L, lua_upvalueindex(1)); /* push file at index 1 */ in io_readline()
685 lua_pushvalue(L, 1); /* push file at the stack top (to be returned) */ in f_write()
805 lua_pushvalue(L, -1); in createstdfile()
Dloadlib.c350 lua_pushvalue(L, -1); in addtoclib()
665 lua_pushvalue(L, 1); /* name is 1st argument to module loader */ in ll_require()
666 lua_pushvalue(L, -3); /* loader data is 2nd argument */ in ll_require()
715 lua_pushvalue(L, -2); /* set 'package' as upvalue for all searchers */ in createsearcherstable()
754 lua_pushvalue(L, -2); /* set 'package' as upvalue for next lib */ in luaopen_package()
Dlauxlib.c318 lua_pushvalue(L, -1); in luaL_newmetatable()
843 lua_pushvalue(L, obj); in luaL_callmeta()
876 lua_pushvalue(L, idx); in luaL_tolstring()
912 lua_pushvalue(L, -nup); in luaL_setfuncs()
932 lua_pushvalue(L, -1); /* copy to be left at top */ in luaL_getsubtable()
954 lua_pushvalue(L, -1); /* make copy of module (call result) */ in luaL_requiref()
959 lua_pushvalue(L, -1); /* copy of module */ in luaL_requiref()
Dlcorolib.c96 lua_pushvalue(L, 1); /* move function to top */ in luaB_cocreate()
Dlstrlib.c265 lua_pushvalue(L, arg); in tonum()
909 lua_pushvalue(L, 3); /* push the function */ in add_value()
973 lua_pushvalue(L, 1); /* return original string */ in str_gsub()
1788 lua_pushvalue(L, -2); /* copy table */ in createmetatable()
1791 lua_pushvalue(L, -2); /* get string library */ in createmetatable()
Dlutf8lib.c261 lua_pushvalue(L, 1); in iter_codes()
Dlmathlib.c214 lua_pushvalue(L, imin); in math_min()
228 lua_pushvalue(L, imax); in math_max()
Dlua.h170 LUA_API void (lua_pushvalue) (lua_State *L, int idx); variable
Dlapi.c246 LUA_API void lua_pushvalue (lua_State *L, int idx) { in lua_pushvalue() function
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/bindings/lua/
Dupb.c91 lua_pushvalue(L, 2); in lupb_indexmm()
98 lua_pushvalue(L, lua_upvalueindex(2)); in lupb_indexmm()
99 lua_pushvalue(L, 1); in lupb_indexmm()
100 lua_pushvalue(L, 2); in lupb_indexmm()
Dmsg.c153 lua_pushvalue(L, -2); in lupb_cacheset()
377 lua_pushvalue(L, 1); in lupb_array_new()
487 lua_pushvalue(L, 2); in lupb_map_new()
586 lua_pushvalue(L, 1); in lupb_map_pairs()
647 lua_pushvalue(L, 1); in lupb_msg_pushnew()
759 lua_pushvalue(L, -2); /* now stack is key, val, key */ in lupb_msgdef_call()
847 lua_pushvalue(L, 3); in lupb_msg_newindex()
Ddef.c349 lua_pushvalue(L, name); in lupb_msgdef_pushnested()
743 lua_pushvalue(L, narg); in lupb_symtab_pushwrapper()
747 lua_pushvalue(L, -1); in lupb_symtab_pushwrapper()
773 lua_pushvalue(L, -2); in lupb_symtab_new()
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/
DLua.cpp46 lua_pushvalue(L, -1); // write() in lldb_print()
47 lua_pushvalue(L, -3); // io.stdout in lldb_print()
/external/bcc/src/lua/src/
Dmain.c81 lua_pushvalue(L, 1); /* pass error message */ in traceback()
/external/libtextclassifier/native/utils/
Dlua-utils.h559 lua_pushvalue(state_, index); in Next()
563 lua_pushvalue(state_, -3); in Next()
/external/skqp/src/utils/
DSkLua.cpp1967 lua_pushvalue(L, -1); in register_Sk()
1990 lua_pushvalue(L, -1); \