Home
last modified time | relevance | path

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

/redis-3.2.3/deps/lua/src/
H A Dltable.c237 if (!ttisnil(&t->array[i-1])) in numusearray()
253 if (!ttisnil(gval(n))) { in numusehash()
310 if (!ttisnil(&t->array[i])) in resize()
319 if (!ttisnil(gval(old))) in resize()
384 if (ttisnil(gkey(t->lastfree))) in getfreepos()
401 if (!ttisnil(gval(mp)) || mp == dummynode) { in newkey()
427 lua_assert(ttisnil(gval(mp))); in newkey()
536 while (!ttisnil(luaH_getnum(t, j))) { in unbound_search()
549 if (ttisnil(luaH_getnum(t, m))) j = m; in unbound_search()
562 if (j > 0 && ttisnil(&t->array[j - 1])) { in luaH_getn()
[all …]
H A Dlvm.c115 if (!ttisnil(res) || /* result is no nil? */ in luaV_gettable()
122 else if (ttisnil(tm = luaT_gettmbyobj(L, t, TM_INDEX))) in luaV_gettable()
142 if (!ttisnil(oldval) || /* result is no nil? */ in luaV_settable()
151 else if (ttisnil(tm = luaT_gettmbyobj(L, t, TM_NEWINDEX))) in luaV_settable()
168 if (ttisnil(tm)) in call_binTM()
170 if (ttisnil(tm)) return 0; in call_binTM()
194 if (ttisnil(tm1)) return -1; /* no metamethod? */ in call_orderTM()
690 if (!ttisnil(cb)) { /* continue loop? */ in luaV_execute()
H A Dltm.c53 if (ttisnil(tm)) { /* no tag method? */ in luaT_gettm()
H A Dlgc.c63 lua_assert(ttisnil(gval(n))); in removeentry()
186 lua_assert(ttype(gkey(n)) != LUA_TDEADKEY || ttisnil(gval(n))); in traversetable()
187 if (ttisnil(gval(n))) in traversetable()
190 lua_assert(!ttisnil(gkey(n))); in traversetable()
367 if (!ttisnil(gval(n)) && /* non-empty entry? */ in cleartable()
H A Dlobject.h79 #define ttisnil(o) (ttype(o) == LUA_TNIL) macro
103 #define l_isfalse(o) (ttisnil(o) || (ttisboolean(o) && bvalue(o) == 0))
H A Dllex.c121 if (ttisnil(o)) { in luaX_newstring()
H A Dlapi.c704 if (ttisnil(L->top - 1)) in lua_setmetatable()