Searched refs:ttisnil (Results 1 – 8 of 8) sorted by relevance
161 if (ttisnil(key)) return 0; /* first iteration */ in findindex()189 if (!ttisnil(&t->array[i])) { /* a non-nil value? */ in luaH_next()196 if (!ttisnil(gval(gnode(t, i)))) { /* a non-nil value? */ in luaH_next()275 if (!ttisnil(&t->array[i-1])) in numusearray()291 if (!ttisnil(gval(n))) { in numusehash()367 if (!ttisnil(&t->array[i])) in luaH_resize()376 if (!ttisnil(gval(old))) { in luaH_resize()445 if (ttisnil(gkey(t->lastfree))) in getfreepos()464 if (ttisnil(key)) luaG_runerror(L, "table index is nil"); in luaH_newkey()475 if (!ttisnil(gval(mp)) || isdummy(t)) { /* main position is taken? */ in luaH_newkey()[all …]
62 if (ttisnil(tm)) { /* no tag method? */ in luaT_gettm()127 if (ttisnil(tm)) in luaT_callbinTM()129 if (ttisnil(tm)) return 0; in luaT_callbinTM()
76 #define checkdeadkey(n) lua_assert(!ttisdeadkey(gkey(n)) || ttisnil(gval(n)))126 lua_assert(ttisnil(gval(n))); in removeentry()368 if (ttisnil(gval(n))) /* entry is empty? */ in traverseweakvalue()371 lua_assert(!ttisnil(gkey(n))); in traverseweakvalue()410 if (ttisnil(gval(n))) /* entry is empty? */ in traverseephemeron()440 if (ttisnil(gval(n))) /* entry is empty? */ in traversestrongtable()443 lua_assert(!ttisnil(gkey(n))); in traversestrongtable()644 if (!ttisnil(gval(n)) && (iscleared(g, gkey(n)))) { in clearkeys()647 if (ttisnil(gval(n))) /* is entry empty? */ in clearkeys()669 if (!ttisnil(gval(n)) && iscleared(g, gval(n))) { in clearvalues()
62 !ttisnil(slot))) /* result not nil? */84 ttisnil(slot) ? 0 \
168 if (ttisnil(tm)) in luaV_finishget()173 lua_assert(ttisnil(slot)); in luaV_finishget()210 lua_assert(ttisnil(slot)); /* old value must be nil */ in luaV_finishset()224 if (ttisnil(tm = luaT_gettmbyobj(L, t, TM_NEWINDEX))) in luaV_finishset()537 if (ttisnil(tm)) /* no metamethod? */ in luaV_objlen()1257 if (!ttisnil(ra + 1)) { /* continue loop? */ in luaV_execute()
145 #define ttisnil(o) checktag((o), LUA_TNIL) macro181 #define l_isfalse(o) (ttisnil(o) || (ttisboolean(o) && bvalue(o) == 0))
133 if (ttisnil(o)) { /* not in use yet? */ in luaX_newstring()
852 if (ttisnil(L->top - 1)) in lua_setmetatable()