| /freebsd-13.1/contrib/lutok/ |
| H A D | state.cpp | 321 lua_pushvalue(_pimpl->lua_state, registry_index); in get_global_table() 326 lua_pushvalue(_pimpl->lua_state, LUA_GLOBALSINDEX); in get_global_table() 372 lua_pushvalue(_pimpl->lua_state, index < 0 ? index - 1 : index); in get_table() 373 lua_pushvalue(_pimpl->lua_state, -3); in get_table() 557 lua_pushvalue(_pimpl->lua_state, index < 0 ? index - 1 : index); in next() 558 lua_pushvalue(_pimpl->lua_state, -3); in next() 741 lua_pushvalue(_pimpl->lua_state, index); in push_value() 781 lua_pushvalue(_pimpl->lua_state, -3); in set_global() 810 lua_pushvalue(_pimpl->lua_state, index < 0 ? index - 1 : index); in set_table() 811 lua_pushvalue(_pimpl->lua_state, -4); in set_table() [all …]
|
| H A D | state_test.cpp | 937 lua_pushvalue(raw(state), lutok::registry_index); in ATF_TEST_CASE_BODY()
|
| /freebsd-13.1/contrib/lua/src/ |
| H A D | lbaselib.c | 119 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 D | ldblib.c | 42 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() 382 lua_pushvalue(L, -1); in db_sethook() 387 lua_pushvalue(L, arg + 1); /* value (hook function) */ in db_sethook() 439 lua_pushvalue(L, arg + 1); /* return it untouched */ in db_traceback()
|
| H A D | ltablib.c | 141 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 D | liolib.c | 319 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 D | loadlib.c | 350 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 D | lauxlib.c | 318 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 D | lcorolib.c | 96 lua_pushvalue(L, 1); /* move function to top */ in luaB_cocreate()
|
| H A D | lstrlib.c | 265 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() 1808 lua_pushvalue(L, -2); /* copy table */ 1811 lua_pushvalue(L, -2); /* get string library */
|
| H A D | lmathlib.c | 214 lua_pushvalue(L, imin); in math_min() 228 lua_pushvalue(L, imax); in math_max()
|
| H A D | lutf8lib.c | 261 lua_pushvalue(L, 1); in iter_codes()
|
| H A D | lua.h | 170 LUA_API void (lua_pushvalue) (lua_State *L, int idx); variable
|
| H A D | lapi.c | 246 LUA_API void lua_pushvalue (lua_State *L, int idx) { in lua_pushvalue() function
|
| /freebsd-13.1/sys/contrib/openzfs/module/lua/ |
| H A D | ltablib.c | 125 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()
|
| H A D | lauxlib.c | 238 lua_pushvalue(L, -1); in luaL_newmetatable() 575 lua_pushvalue(L, obj); in luaL_callmeta() 598 lua_pushvalue(L, idx); in luaL_tolstring() 626 if (idx) lua_pushvalue(L, idx); in luaL_findtable() 636 lua_pushvalue(L, -2); in luaL_findtable() 676 lua_pushvalue(L, -1); in luaL_pushmodule() 710 lua_pushvalue(L, -nup); in luaL_setfuncs() 729 lua_pushvalue(L, -1); /* copy to be left at top */ in luaL_getsubtable() 748 lua_pushvalue(L, -2); /* make copy of module (call result) */ in luaL_requiref() 752 lua_pushvalue(L, -1); /* copy of 'mod' */ in luaL_requiref()
|
| H A D | lbaselib.c | 76 lua_pushvalue(L, 1); in luaB_error() 183 lua_pushvalue(L, 1); /* state, */ in pairsmeta() 188 lua_pushvalue(L, 1); /* argument 'self' to metamethod */ in pairsmeta()
|
| H A D | lcorolib.c | 84 lua_pushvalue(L, 1); /* move function to top */ in luaB_cocreate()
|
| H A D | lstrlib.c | 721 lua_pushvalue(L, 3); in add_value() 1017 lua_pushvalue(L, -2); /* copy table */ in createmetatable() 1020 lua_pushvalue(L, -2); /* get string library */ in createmetatable()
|
| H A D | lapi.c | 232 LUA_API void lua_pushvalue (lua_State *L, int idx) { in lua_pushvalue() function 1329 EXPORT_SYMBOL(lua_pushvalue);
|
| /freebsd-13.1/contrib/libucl/lua/ |
| H A D | lua_ucl.c | 378 lua_pushvalue (L, -2); in ucl_object_lua_fromtable() 438 lua_pushvalue (L, -2); in ucl_object_lua_fromtable() 525 lua_pushvalue (L, idx); in ucl_object_lua_fromelt() 779 lua_pushvalue (L, -2); in lua_ucl_parser_register_variables() 1218 lua_pushvalue(L, -1); in lua_ucl_parser_mt() 1256 lua_pushvalue(L, -1); in lua_ucl_object_mt() 1492 lua_pushvalue (L, -1); /* tbl, tbl */ in luaopen_ucl() 1514 lua_pushvalue (L, -1); in luaopen_ucl()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/ |
| H A D | Lua.cpp | 48 lua_pushvalue(L, -1); // write() in lldb_print() 49 lua_pushvalue(L, -3); // io.stdout in lldb_print()
|
| /freebsd-13.1/sys/contrib/openzfs/include/sys/lua/ |
| H A D | lua.h | 147 LUA_API void (lua_pushvalue) (lua_State *L, int idx); variable
|
| /freebsd-13.1/sys/contrib/openzfs/module/zfs/ |
| H A D | zcp.c | 448 lua_pushvalue(state, 1); in zcp_convert_return_values()
|
| /freebsd-13.1/lib/clang/liblldb/ |
| H A D | LLDBWrapLua.cpp | 1160 lua_pushvalue(L,-1); in SWIG_Lua_elua_emulate_register() 1164 lua_pushvalue(L,target_table); in SWIG_Lua_elua_emulate_register() 1207 lua_pushvalue(L,-1); in SWIG_Lua_elua_emulate_register() 1249 lua_pushvalue(L,1); in SWIG_Lua_emulate_elua_getmetatable() 1301 lua_pushvalue(L,2); /* key */ in SWIG_Lua_namespace_get() 1314 lua_pushvalue(L,2); /* key */ in SWIG_Lua_namespace_get() 1455 lua_pushvalue(L,-2); in SWIG_Lua_namespace_register() 1513 lua_pushvalue(L,j); in SWIG_Lua_iterate_bases() 2261 lua_pushvalue(L,-1); in SWIG_Lua_add_class_user_metamethods() 2274 lua_pushvalue(L,-1); in SWIG_Lua_add_class_user_metamethods() [all …]
|