Searched refs:LUA_TNIL (Results 1 – 9 of 9) sorted by relevance
/external/lua/src/ |
D | lobject.h | 159 #define LUA_VNIL makevariant(LUA_TNIL, 0) 162 #define LUA_VEMPTY makevariant(LUA_TNIL, 1) 165 #define LUA_VABSTKEY makevariant(LUA_TNIL, 2) 169 #define ttisnil(v) checktype((v), LUA_TNIL) 731 #define keyisnil(node) (keytt(node) == LUA_TNIL) 737 #define setnilkey(node) (keytt(node) = LUA_TNIL)
|
D | lbaselib.c | 140 luaL_argexpected(L, t == LUA_TNIL || t == LUA_TTABLE, 2, "nil or table"); in luaB_setmetatable() 141 if (luaL_getmetafield(L, 1, "__metatable") != LUA_TNIL) in luaB_setmetatable() 265 if (luaL_getmetafield(L, 1, "__pairs") == LUA_TNIL) { /* no metamethod? */ in luaB_pairs() 284 return (lua_geti(L, 1, i) == LUA_TNIL) ? 1 : 2; in ipairsaux()
|
D | lauxlib.c | 312 if (luaL_getmetatable(L, tname) != LUA_TNIL) /* name already in use? */ in luaL_newmetatable() 825 return LUA_TNIL; in luaL_getmetafield() 830 if (tt == LUA_TNIL) /* is metafield nil? */ in luaL_getmetafield() 841 if (luaL_getmetafield(L, obj, event) == LUA_TNIL) /* no metafield? */ in luaL_callmeta() 881 case LUA_TNIL: in luaL_tolstring() 889 if (tt != LUA_TNIL) in luaL_tolstring()
|
D | loadlib.c | 611 if (lua_getfield(L, -1, name) == LUA_TNIL) { /* not found? */ in searcher_preload() 632 if (lua_rawgeti(L, 3, i) == LUA_TNIL) { /* no more searchers? */ in findloader() 674 if (lua_getfield(L, 2, name) == LUA_TNIL) { /* module set no value? */ in ll_require()
|
D | loslib.c | 245 res = (lua_getfield(L, -1, key) == LUA_TNIL) ? -1 : lua_toboolean(L, -1); in getboolfield() 256 if (t != LUA_TNIL) /* some other value? */ in getfield()
|
D | lua.h | 65 #define LUA_TNIL 0 macro 375 #define lua_isnil(L,n) (lua_type(L, (n)) == LUA_TNIL)
|
D | ltablib.c | 38 return (lua_rawget(L, -n) != LUA_TNIL); in checkfield()
|
D | ldblib.c | 58 luaL_argexpected(L, t == LUA_TNIL || t == LUA_TTABLE, 2, "nil or table"); in db_setmetatable()
|
D | lstrlib.c | 1177 case LUA_TNIL: case LUA_TBOOLEAN: { in addliteral()
|