Home
last modified time | relevance | path

Searched refs:LUA_REGISTRYINDEX (Results 1 – 9 of 9) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dloadlib.c253 lua_getfield(L, LUA_REGISTRYINDEX, CLIBS); in ll_checkclib()
262 lua_getfield(L, LUA_REGISTRYINDEX, CLIBS); in ll_addtoclib()
470 lua_getfield(L, LUA_REGISTRYINDEX, "_PRELOAD"); in searcher_preload()
511 lua_getfield(L, LUA_REGISTRYINDEX, "_LOADED"); in ll_require()
630 lua_getfield(L, LUA_REGISTRYINDEX, "LUA_NOENV"); in noenv()
692 luaL_getsubtable(L, LUA_REGISTRYINDEX, CLIBS); in luaopen_package()
714 luaL_getsubtable(L, LUA_REGISTRYINDEX, "_LOADED"); in luaopen_package()
717 luaL_getsubtable(L, LUA_REGISTRYINDEX, "_PRELOAD"); in luaopen_package()
Dliolib.c186 lua_getfield(L, LUA_REGISTRYINDEX, IO_OUTPUT); /* use standard output */ in io_close()
265 lua_getfield(L, LUA_REGISTRYINDEX, findex); in getiofile()
282 lua_setfield(L, LUA_REGISTRYINDEX, f); in g_iofile()
285 lua_getfield(L, LUA_REGISTRYINDEX, f); in g_iofile()
327 lua_getfield(L, LUA_REGISTRYINDEX, IO_INPUT); /* get default input */ in io_lines()
651 lua_setfield(L, LUA_REGISTRYINDEX, k); /* add file to registry */ in createstdfile()
Dlinit.c60 luaL_getsubtable(L, LUA_REGISTRYINDEX, "_PRELOAD"); in luaL_openlibs()
Dldblib.c26 lua_pushvalue(L, LUA_REGISTRYINDEX); in db_getregistry()
256 #define gethooktable(L) luaL_getsubtable(L, LUA_REGISTRYINDEX, HOOKKEY)
Dlauxlib.c279 lua_setfield(L, LUA_REGISTRYINDEX, tname); /* registry.name = metatable */ in luaL_newmetatable()
812 luaL_findtable(L, LUA_REGISTRYINDEX, "_LOADED", 1); /* get _LOADED table */ in luaL_pushmodule()
891 luaL_getsubtable(L, LUA_REGISTRYINDEX, "_LOADED"); in luaL_requiref()
Dlapi.c44 #define ispseudo(i) ((i) <= LUA_REGISTRYINDEX)
67 else if (idx == LUA_REGISTRYINDEX) in index2addr()
70 idx = LUA_REGISTRYINDEX - idx; in index2addr()
210 if (idx < LUA_REGISTRYINDEX) /* function upvalue? */ in moveto()
Dlua.c453 lua_setfield(L, LUA_REGISTRYINDEX, "LUA_NOENV"); in pmain()
/device/linaro/bootloader/edk2/StdLib/Include/Lua/
Dlua.h40 #define LUA_REGISTRYINDEX LUAI_FIRSTPSEUDOIDX macro
41 #define lua_upvalueindex(i) (LUA_REGISTRYINDEX - (i))
344 lua_rawgeti(L, LUA_REGISTRYINDEX, LUA_RIDX_GLOBALS)
Dlauxlib.h130 #define luaL_getmetatable(L,n) (lua_getfield(L, LUA_REGISTRYINDEX, (n)))