Searched refs:ttisnil (Results 1 – 14 of 14) sorted by relevance
/external/skia/third_party/lua/src/ |
D | ltable.c | 146 if (ttisnil(key)) return -1; /* first iteration */ in findindex() 172 if (!ttisnil(&t->array[i])) { /* a non-nil value? */ in luaH_next() 179 if (!ttisnil(gval(gnode(t, i)))) { /* a non-nil value? */ in luaH_next() 244 if (!ttisnil(&t->array[i-1])) in numusearray() 260 if (!ttisnil(gval(n))) { in numusehash() 317 if (!ttisnil(&t->array[i])) in luaH_resize() 326 if (!ttisnil(gval(old))) { in luaH_resize() 390 if (ttisnil(gkey(t->lastfree))) in getfreepos() 407 if (ttisnil(key)) luaG_runerror(L, "table index is nil"); in luaH_newkey() 411 if (!ttisnil(gval(mp)) || isdummy(mp)) { /* main position is taken? */ in luaH_newkey() [all …]
|
D | lgc.c | 68 #define checkdeadkey(n) lua_assert(!ttisdeadkey(gkey(n)) || ttisnil(gval(n))) 108 lua_assert(ttisnil(gval(n))); in removeentry() 362 if (ttisnil(gval(n))) /* entry is empty? */ in traverseweakvalue() 365 lua_assert(!ttisnil(gkey(n))); in traverseweakvalue() 394 if (ttisnil(gval(n))) /* entry is empty? */ in traverseephemeron() 423 if (ttisnil(gval(n))) /* entry is empty? */ in traversestrongtable() 426 lua_assert(!ttisnil(gkey(n))); in traversestrongtable() 623 if (!ttisnil(gval(n)) && (iscleared(g, gkey(n)))) { in clearkeys() 647 if (!ttisnil(gval(n)) && iscleared(g, gval(n))) { in clearvalues()
|
D | lvm.c | 117 if (!ttisnil(res) || /* result is not nil? */ in luaV_gettable() 124 else if (ttisnil(tm = luaT_gettmbyobj(L, t, TM_INDEX))) in luaV_gettable() 145 if (!ttisnil(oldval) || in luaV_settable() 162 if (ttisnil(tm = luaT_gettmbyobj(L, t, TM_NEWINDEX))) in luaV_settable() 178 if (ttisnil(tm)) in call_binTM() 180 if (ttisnil(tm)) return 0; in call_binTM() 351 if (ttisnil(tm)) /* no metamethod? */ in luaV_objlen() 441 ttisnil(luaT_gettmbyobj(L, base + GETARG_B(inst), TM_LE))) in luaV_finishOp() 806 if (!ttisnil(ra + 1)) { /* continue loop? */ in luaV_execute()
|
D | ltm.c | 55 if (ttisnil(tm)) { /* no tag method? */ in luaT_gettm()
|
D | lobject.h | 134 #define ttisnil(o) checktag((o), LUA_TNIL) macro 170 #define l_isfalse(o) (ttisnil(o) || (ttisboolean(o) && bvalue(o) == 0))
|
D | llex.c | 130 if (ttisnil(o)) { /* not in use yet? (see 'addK') */ in luaX_newstring()
|
D | lapi.c | 818 if (ttisnil(L->top - 1)) in lua_setmetatable() 858 if (ttisnil(L->top - 1)) in lua_setuservalue()
|
/external/syslinux/com32/lua/src/ |
D | ltable.c | 147 if (ttisnil(key)) return -1; /* first iteration */ in findindex() 173 if (!ttisnil(&t->array[i])) { /* a non-nil value? */ in luaH_next() 180 if (!ttisnil(gval(gnode(t, i)))) { /* a non-nil value? */ in luaH_next() 245 if (!ttisnil(&t->array[i-1])) in numusearray() 261 if (!ttisnil(gval(n))) { in numusehash() 318 if (!ttisnil(&t->array[i])) in luaH_resize() 327 if (!ttisnil(gval(old))) { in luaH_resize() 391 if (ttisnil(gkey(t->lastfree))) in getfreepos() 408 if (ttisnil(key)) luaG_runerror(L, "table index is nil"); in luaH_newkey() 412 if (!ttisnil(gval(mp)) || isdummy(mp)) { /* main position is taken? */ in luaH_newkey() [all …]
|
D | lgc.c | 68 #define checkdeadkey(n) lua_assert(!ttisdeadkey(gkey(n)) || ttisnil(gval(n))) 108 lua_assert(ttisnil(gval(n))); in removeentry() 362 if (ttisnil(gval(n))) /* entry is empty? */ in traverseweakvalue() 365 lua_assert(!ttisnil(gkey(n))); in traverseweakvalue() 394 if (ttisnil(gval(n))) /* entry is empty? */ in traverseephemeron() 423 if (ttisnil(gval(n))) /* entry is empty? */ in traversestrongtable() 426 lua_assert(!ttisnil(gkey(n))); in traversestrongtable() 630 if (!ttisnil(gval(n)) && (iscleared(g, gkey(n)))) { in clearkeys() 654 if (!ttisnil(gval(n)) && iscleared(g, gval(n))) { in clearvalues()
|
D | lvm.c | 140 if (!ttisnil(res) || /* result is not nil? */ in luaV_gettable() 147 else if (ttisnil(tm = luaT_gettmbyobj(L, t, TM_INDEX))) in luaV_gettable() 168 if (!ttisnil(oldval) || in luaV_settable() 185 if (ttisnil(tm = luaT_gettmbyobj(L, t, TM_NEWINDEX))) in luaV_settable() 201 if (ttisnil(tm)) in call_binTM() 203 if (ttisnil(tm)) return 0; in call_binTM() 374 if (ttisnil(tm)) /* no metamethod? */ in luaV_objlen() 464 ttisnil(luaT_gettmbyobj(L, base + GETARG_B(inst), TM_LE))) in luaV_finishOp() 829 if (!ttisnil(ra + 1)) { /* continue loop? */ in luaV_execute()
|
D | ltm.c | 55 if (ttisnil(tm)) { /* no tag method? */ in luaT_gettm()
|
D | lobject.h | 134 #define ttisnil(o) checktag((o), LUA_TNIL) macro 170 #define l_isfalse(o) (ttisnil(o) || (ttisboolean(o) && bvalue(o) == 0))
|
D | llex.c | 134 if (ttisnil(o)) { /* not in use yet? (see 'addK') */ in luaX_newstring()
|
D | lapi.c | 818 if (ttisnil(L->top - 1)) in lua_setmetatable() 858 if (ttisnil(L->top - 1)) in lua_setuservalue()
|