Searched refs:LUA_ENVIRONINDEX (Results 1 – 4 of 4) sorted by relevance
| /f-stack/app/redis-5.0.5/deps/lua/src/ |
| H A D | liolib.c | 136 lua_rawgeti(L, LUA_ENVIRONINDEX, IO_OUTPUT); in io_close() 192 lua_rawgeti(L, LUA_ENVIRONINDEX, findex); in getiofile() 213 lua_rawseti(L, LUA_ENVIRONINDEX, f); in g_iofile() 216 lua_rawgeti(L, LUA_ENVIRONINDEX, f); in g_iofile() 251 lua_rawgeti(L, LUA_ENVIRONINDEX, IO_INPUT); in io_lines() 522 lua_rawseti(L, LUA_ENVIRONINDEX, k); in createstdfile() 541 lua_replace(L, LUA_ENVIRONINDEX); in luaopen_io()
|
| H A D | loadlib.c | 355 lua_getfield(L, LUA_ENVIRONINDEX, pname); in findfile() 437 lua_getfield(L, LUA_ENVIRONINDEX, "preload"); in loader_preload() 463 lua_getfield(L, LUA_ENVIRONINDEX, "loaders"); in ll_require() 640 lua_replace(L, LUA_ENVIRONINDEX); in luaopen_package()
|
| H A D | lapi.c | 62 case LUA_ENVIRONINDEX: { in index2adr() 207 if (idx == LUA_ENVIRONINDEX && L->ci == L->base_ci) in lua_replace() 212 if (idx == LUA_ENVIRONINDEX) { in lua_replace()
|
| H A D | lua.h | 37 #define LUA_ENVIRONINDEX (-10001) macro
|