/freebsd/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/contrib/lua/src/ |
H A D | lbaselib.c | 119 lua_pushvalue(L, 1); in luaB_error() 288 lua_pushvalue(L, 1); /* state, */ in luaB_pairs() 292 lua_pushvalue(L, 1); /* argument 'self' to metamethod */ in luaB_pairs() 317 lua_pushvalue(L, 1); /* state */ in luaB_ipairs() 326 lua_pushvalue(L, envidx); /* environment for loaded function */ in load_aux() 373 lua_pushvalue(L, 1); /* get function */ in generic_reader() 464 lua_pushvalue(L, -2); /* error message */ in finishpcall() 492 lua_pushvalue(L, 1); /* function */ in luaB_xpcall() 542 lua_pushvalue(L, -1); in luaopen_base()
|
H A D | ldblib.c | 42 lua_pushvalue(L, LUA_REGISTRYINDEX); in db_getregistry() 158 lua_pushvalue(L, arg + 1); /* move function to 'L1' stack */ in db_getinfo() 208 lua_pushvalue(L, arg + 1); /* push function */ in db_getlocal() 383 lua_pushvalue(L, -1); in db_sethook() 388 lua_pushvalue(L, arg + 1); /* value (hook function) */ in db_sethook() 440 lua_pushvalue(L, arg + 1); /* return it untouched */ in db_traceback()
|
H A D | ltablib.c | 142 lua_pushvalue(L, tt); /* return destination table */ in tmove() 280 lua_pushvalue(L, 2); /* push function */ in sort_comp() 281 lua_pushvalue(L, a-1); /* -1 to compensate function */ in sort_comp() 282 lua_pushvalue(L, b-2); /* -2 to compensate function and 'a' */ in sort_comp() 378 lua_pushvalue(L, -1); /* push Pivot */ in auxsort()
|
H A D | liolib.c | 328 lua_pushvalue(L, 1); in g_iofile() 369 lua_pushvalue(L, 1); /* file */ in aux_lines() 408 lua_pushvalue(L, 1); /* file is the to-be-closed variable (4th result) */ in io_lines() 642 lua_pushvalue(L, lua_upvalueindex(3 + i)); in io_readline() 654 lua_pushvalue(L, lua_upvalueindex(1)); /* push file at index 1 */ in io_readline() 698 lua_pushvalue(L, 1); /* push file at the stack top (to be returned) */ in f_write() 825 lua_pushvalue(L, -1); in createstdfile()
|
H A D | loadlib.c | 343 lua_pushvalue(L, -1); in addtoclib() 659 lua_pushvalue(L, 1); /* name is 1st argument to module loader */ in ll_require() 660 lua_pushvalue(L, -3); /* loader data is 2nd argument */ in ll_require() 714 lua_pushvalue(L, -2); /* set 'package' as upvalue for all searchers */ in createsearcherstable() 753 lua_pushvalue(L, -2); /* set 'package' as upvalue for next lib */ in luaopen_package()
|
H A D | lauxlib.c | 321 lua_pushvalue(L, -1); in luaL_newmetatable() 880 lua_pushvalue(L, obj); in luaL_callmeta() 914 lua_pushvalue(L, idx); in luaL_tolstring() 950 lua_pushvalue(L, -nup); in luaL_setfuncs() 970 lua_pushvalue(L, -1); /* copy to be left at top */ in luaL_getsubtable() 992 lua_pushvalue(L, -1); /* make copy of module (call result) */ in luaL_requiref() 997 lua_pushvalue(L, -1); /* copy of module */ in luaL_requiref()
|
H A D | lcorolib.c | 99 lua_pushvalue(L, 1); /* move function to top */ in luaB_cocreate()
|
H A D | lmathlib.c | 215 lua_pushvalue(L, imin); in math_min() 229 lua_pushvalue(L, imax); in math_max()
|
H A D | lstrlib.c | 266 lua_pushvalue(L, arg); in tonum() 912 lua_pushvalue(L, 3); /* push the function */ in add_value() 976 lua_pushvalue(L, 1); /* return original string */ in str_gsub() 1877 lua_pushvalue(L, -2); /* copy table */ 1880 lua_pushvalue(L, -2); /* get string library */
|
H A D | lutf8lib.c | 263 lua_pushvalue(L, 1); in iter_codes()
|
H A D | lua.h | 181 LUA_API void (lua_pushvalue) (lua_State *L, int idx); variable
|
H A D | ltests.c | 1056 lua_pushvalue(L, 1); in tref() 1606 lua_pushvalue(L1, getindex); in runC() 1862 lua_pushvalue(L, -1); in sethookaux()
|
H A D | lapi.c | 270 LUA_API void lua_pushvalue (lua_State *L, int idx) { in lua_pushvalue() function
|
/freebsd/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 1307 EXPORT_SYMBOL(lua_pushvalue);
|
/freebsd/contrib/libucl/lua/ |
H A D | lua_ucl.c | 383 lua_pushvalue (L, -2); in ucl_object_lua_fromtable() 442 lua_pushvalue (L, -2); in ucl_object_lua_fromtable() 556 lua_pushvalue (L, idx); in ucl_object_lua_fromelt() 810 lua_pushvalue (L, -2); in lua_ucl_parser_register_variables() 1260 lua_pushvalue(L, -1); in lua_ucl_parser_mt() 1298 lua_pushvalue(L, -1); in lua_ucl_object_mt() 1535 lua_pushvalue (L, -1); /* tbl, tbl */ in luaopen_ucl() 1557 lua_pushvalue (L, -1); in luaopen_ucl()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/ |
H A D | Lua.cpp | 25 lua_pushvalue(L, -1); // write() in lldb_print() 26 lua_pushvalue(L, -3); // io.stdout in lldb_print()
|
/freebsd/sys/contrib/openzfs/include/sys/lua/ |
H A D | lua.h | 147 LUA_API void (lua_pushvalue) (lua_State *L, int idx); variable
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zcp.c | 449 lua_pushvalue(state, 1); in zcp_convert_return_values()
|