/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 | 325 lua_pushvalue(L, 1); in g_iofile() 366 lua_pushvalue(L, 1); /* file */ in aux_lines() 405 lua_pushvalue(L, 1); /* file is the to-be-closed variable (4th result) */ in io_lines() 638 lua_pushvalue(L, lua_upvalueindex(3 + i)); in io_readline() 650 lua_pushvalue(L, lua_upvalueindex(1)); /* push file at index 1 */ in io_readline() 692 lua_pushvalue(L, 1); /* push file at the stack top (to be returned) */ in f_write() 812 lua_pushvalue(L, -1); in createstdfile()
|
H A D | loadlib.c | 352 lua_pushvalue(L, -1); in addtoclib() 668 lua_pushvalue(L, 1); /* name is 1st argument to module loader */ in ll_require() 669 lua_pushvalue(L, -3); /* loader data is 2nd argument */ in ll_require() 723 lua_pushvalue(L, -2); /* set 'package' as upvalue for all searchers */ in createsearcherstable() 762 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() 871 lua_pushvalue(L, obj); in luaL_callmeta() 905 lua_pushvalue(L, idx); in luaL_tolstring() 941 lua_pushvalue(L, -nup); in luaL_setfuncs() 961 lua_pushvalue(L, -1); /* copy to be left at top */ in luaL_getsubtable() 983 lua_pushvalue(L, -1); /* make copy of module (call result) */ in luaL_requiref() 988 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 | lutf8lib.c | 263 lua_pushvalue(L, 1); in iter_codes()
|
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 | 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 | 124 lua_pushvalue(L, 1); in pack() 171 lua_pushvalue(L, 2); in sort_comp() 172 lua_pushvalue(L, a-1); /* -1 to compensate function */ in sort_comp() 173 lua_pushvalue(L, b-2); /* -2 to compensate function and `a' */ in sort_comp() 209 lua_pushvalue(L, -1); in auxsort()
|
H A D | lauxlib.c | 237 lua_pushvalue(L, -1); in luaL_newmetatable() 574 lua_pushvalue(L, obj); in luaL_callmeta() 597 lua_pushvalue(L, idx); in luaL_tolstring() 625 if (idx) lua_pushvalue(L, idx); in luaL_findtable() 635 lua_pushvalue(L, -2); in luaL_findtable() 675 lua_pushvalue(L, -1); in luaL_pushmodule() 709 lua_pushvalue(L, -nup); in luaL_setfuncs() 728 lua_pushvalue(L, -1); /* copy to be left at top */ in luaL_getsubtable() 747 lua_pushvalue(L, -2); /* make copy of module (call result) */ in luaL_requiref() 751 lua_pushvalue(L, -1); /* copy of 'mod' */ in luaL_requiref()
|
H A D | lbaselib.c | 75 lua_pushvalue(L, 1); in luaB_error() 182 lua_pushvalue(L, 1); /* state, */ in pairsmeta() 187 lua_pushvalue(L, 1); /* argument 'self' to metamethod */ in pairsmeta()
|
H A D | lcorolib.c | 83 lua_pushvalue(L, 1); /* move function to top */ in luaB_cocreate()
|
H A D | lstrlib.c | 720 lua_pushvalue(L, 3); in add_value() 1016 lua_pushvalue(L, -2); /* copy table */ in createmetatable() 1019 lua_pushvalue(L, -2); /* get string library */ in createmetatable()
|
H A D | lapi.c | 231 LUA_API void lua_pushvalue (lua_State *L, int idx) { in lua_pushvalue() function 1306 EXPORT_SYMBOL(lua_pushvalue);
|
/freebsd/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/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 | 146 LUA_API void (lua_pushvalue) (lua_State *L, int idx); variable
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zcp.c | 448 lua_pushvalue(state, 1); in zcp_convert_return_values()
|