Lines Matching refs:lua_pushvalue
297 lua_pushvalue(L, -1); in addtoclib()
577 lua_pushvalue(L, -1); /* extra copy to be returned */ in ll_require()
603 lua_pushvalue(L, -2); /* copy new environment table to top */ in set_env()
613 lua_pushvalue(L, i); /* get option (a function) */ in dooptions()
614 lua_pushvalue(L, -2); /* module */ in dooptions()
623 lua_pushvalue(L, -1); in modinit()
647 lua_pushvalue(L, -1); in ll_module()
658 lua_pushvalue(L, -1); in ll_seeall()
739 lua_pushvalue(L, -2); /* set 'package' as upvalue for all searchers */ in createsearcherstable()
744 lua_pushvalue(L, -1); /* make a copy of 'searchers' table */ in createsearcherstable()
784 lua_pushvalue(L, -2); /* set 'package' as upvalue for next lib */ in luaopen_package()