Home
last modified time | relevance | path

Searched refs:lua_upvalueindex (Results 1 – 7 of 7) sorted by relevance

/l4re-core-master/ned/server/src/
A Dlua_ns.cc30 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 Dliolib.c630 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 Dlcorolib.c74 lua_State *co = lua_tothread(L, lua_upvalueindex(1)); in luaB_auxwrap()
A Dloadlib.c526 lua_getfield(L, lua_upvalueindex(1), pname); in findfile()
628 if (l_unlikely(lua_getfield(L, lua_upvalueindex(1), "searchers") in findloader()
A Dlmathlib.c560 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 Dlua.h45 #define lua_upvalueindex(i) (LUA_REGISTRYINDEX - (i)) macro
A Dlstrlib.c839 GMatchState *gm = (GMatchState *)lua_touserdata(L, lua_upvalueindex(3)); in gmatch_aux()

Completed in 15 milliseconds