Searched refs:lua_upvalueindex (Results 1 – 7 of 7) sorted by relevance
/l4re-core-master/ned/server/src/ |
A D | lua_ns.cc | 30 char const *s = lua_tolstring(l, lua_upvalueindex(2), &len); in __lookup() 31 Cap *_ns = Lua::check_cap(l, lua_upvalueindex(1)); in __lookup() 33 = (L4_cap_fpage_rights)lua_tointeger(l, lua_upvalueindex(3)); in __lookup()
|
/l4re-core-master/lua/lib/contrib/src/ |
A D | liolib.c | 630 LStream *p = (LStream *)lua_touserdata(L, lua_upvalueindex(1)); in io_readline() 632 int n = (int)lua_tointeger(L, lua_upvalueindex(2)); in io_readline() 638 lua_pushvalue(L, lua_upvalueindex(3 + i)); in io_readline() 648 if (lua_toboolean(L, lua_upvalueindex(3))) { /* generator created file? */ in io_readline() 650 lua_pushvalue(L, lua_upvalueindex(1)); /* push file at index 1 */ in io_readline()
|
A D | lcorolib.c | 74 lua_State *co = lua_tothread(L, lua_upvalueindex(1)); in luaB_auxwrap()
|
A D | loadlib.c | 526 lua_getfield(L, lua_upvalueindex(1), pname); in findfile() 628 if (l_unlikely(lua_getfield(L, lua_upvalueindex(1), "searchers") in findloader()
|
A D | lmathlib.c | 560 RanState *state = (RanState *)lua_touserdata(L, lua_upvalueindex(1)); in math_random() 619 RanState *state = (RanState *)lua_touserdata(L, lua_upvalueindex(1)); in math_randomseed()
|
A D | lua.h | 45 #define lua_upvalueindex(i) (LUA_REGISTRYINDEX - (i)) macro
|
A D | lstrlib.c | 839 GMatchState *gm = (GMatchState *)lua_touserdata(L, lua_upvalueindex(3)); in gmatch_aux()
|
Completed in 15 milliseconds