Searched refs:lua_upvalueindex (Results 1 – 5 of 5) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
D | liolib.c | 485 LStream *p = (LStream *)lua_touserdata(L, lua_upvalueindex(1)); in io_readline() 487 int n = (int)lua_tointeger(L, lua_upvalueindex(2)); in io_readline() 492 lua_pushvalue(L, lua_upvalueindex(3 + i)); in io_readline() 502 if (lua_toboolean(L, lua_upvalueindex(3))) { /* generator created file? */ in io_readline() 504 lua_pushvalue(L, lua_upvalueindex(1)); in io_readline()
|
D | lcorolib.c | 68 lua_State *co = lua_tothread(L, lua_upvalueindex(1)); in luaB_auxwrap()
|
D | lstrlib.c | 642 const char *s = lua_tolstring(L, lua_upvalueindex(1), &ls); in gmatch_aux() 643 const char *p = lua_tolstring(L, lua_upvalueindex(2), &lp); in gmatch_aux() 650 for (src = s + (size_t)lua_tointeger(L, lua_upvalueindex(3)); in gmatch_aux() 660 lua_replace(L, lua_upvalueindex(3)); in gmatch_aux()
|
D | loadlib.c | 390 lua_getfield(L, lua_upvalueindex(1), pname); in findfile() 482 lua_getfield(L, lua_upvalueindex(1), "searchers"); /* will be at index 3 */ in findloader()
|
/device/linaro/bootloader/edk2/StdLib/Include/Lua/ |
D | lua.h | 41 #define lua_upvalueindex(i) (LUA_REGISTRYINDEX - (i)) macro
|