Home
last modified time | relevance | path

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

/external/libtextclassifier/utils/
Dlua-utils.h57 return static_cast<T>(lua_touserdata(state, lua_upvalueindex(index))); in FromUpValue()
111 state, lua_touserdata(state, lua_upvalueindex(kItemsArgId))); in Iteritems()
124 lua_tointeger(state, lua_upvalueindex(kIterValueArgId)), in Next()
135 lua_replace(state, lua_upvalueindex(3)); in Next()
Dlua-utils.cc268 lua_touserdata(state, lua_upvalueindex(1))); in RunProtected()
/external/lua/src/
Dliolib.c590 LStream *p = (LStream *)lua_touserdata(L, lua_upvalueindex(1)); in io_readline()
592 int n = (int)lua_tointeger(L, lua_upvalueindex(2)); in io_readline()
598 lua_pushvalue(L, lua_upvalueindex(3 + i)); in io_readline()
608 if (lua_toboolean(L, lua_upvalueindex(3))) { /* generator created file? */ in io_readline()
610 lua_pushvalue(L, lua_upvalueindex(1)); in io_readline()
Dlcorolib.c75 lua_State *co = lua_tothread(L, lua_upvalueindex(1)); in luaB_auxwrap()
Dloadlib.c476 lua_getfield(L, lua_upvalueindex(1), pname); in findfile()
574 if (lua_getfield(L, lua_upvalueindex(1), "searchers") != LUA_TTABLE) in findloader()
Dlua.h43 #define lua_upvalueindex(i) (LUA_REGISTRYINDEX - (i)) macro
Dlstrlib.c674 GMatchState *gm = (GMatchState *)lua_touserdata(L, lua_upvalueindex(3)); in gmatch_aux()