Home
last modified time | relevance | path

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

/aosp_15_r20/external/lua/src/
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dlmathlib.c214 lua_pushvalue(L, imin); in math_min()
228 lua_pushvalue(L, imax); in math_max()
H A Dlcorolib.c96 lua_pushvalue(L, 1); /* move function to top */ in luaB_cocreate()
H A Dlutf8lib.c261 lua_pushvalue(L, 1); in iter_codes()
H A Dlua.h170 LUA_API void (lua_pushvalue) (lua_State *L, int idx); variable
H A Dlapi.c246 LUA_API void lua_pushvalue (lua_State *L, int idx) { in lua_pushvalue() function
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/upb/lua/
Dupb.c118 lua_pushvalue(L, 2); in lupb_indexmm()
125 lua_pushvalue(L, lua_upvalueindex(2)); in lupb_indexmm()
126 lua_pushvalue(L, 1); in lupb_indexmm()
127 lua_pushvalue(L, 2); in lupb_indexmm()
Dmsg.c182 lua_pushvalue(L, -2); in lupb_cacheset()
404 lua_pushvalue(L, 1); in lupb_Array_New()
419 lua_pushvalue(L, -2); /* now stack is key, val, key */ in lupb_Array_New()
523 lua_pushvalue(L, 2); in lupb_Map_New()
620 lua_pushvalue(L, 1); in lupb_map_pairs()
679 lua_pushvalue(L, 1); in lupb_msg_pushnew()
798 lua_pushvalue(L, -2); /* now stack is key, val, key */ in lupb_MessageDef_call()
888 lua_pushvalue(L, 3); in lupb_Message_Newindex()
Ddef.c347 lua_pushvalue(L, name); in lupb_MessageDef_pushnested()
743 lua_pushvalue(L, narg); in lupb_DefPool_pushwrapper()
747 lua_pushvalue(L, -1); in lupb_DefPool_pushwrapper()
774 lua_pushvalue(L, -2); in lupb_DefPool_New()
/aosp_15_r20/external/libtextclassifier/native/utils/
H A Dlua-utils.h559 lua_pushvalue(state_, index); in Next()
563 lua_pushvalue(state_, -3); in Next()
/aosp_15_r20/external/bcc/src/lua/src/
H A Dmain.c81 lua_pushvalue(L, 1); /* pass error message */ in traceback()
/aosp_15_r20/external/mesa3d/src/intel/executor/
H A Dexecutor_main.c352 lua_pushvalue(L, table_idx); in parse_execute_data()