Lines Matching refs:isempty
342 if (!isempty(&t->array[i])) { /* a non-empty entry? */ in luaH_next()
349 if (!isempty(gval(gnode(t, i)))) { /* a non-empty entry? */ in luaH_next()
435 if (!isempty(&t->array[i-1])) in numusearray()
451 if (!isempty(gval(n))) { in numusehash()
502 if (!isempty(gval(old))) { in reinsert()
555 if (!isempty(&t->array[i])) in luaH_resize()
672 if (!isempty(gval(mp)) || isdummy(t)) { /* main position is taken? */ in luaH_newkey()
706 lua_assert(isempty(gval(mp))); in luaH_newkey()
853 if (isempty(luaH_getint(t, j))) /* t[j] not present? */ in hash_search()
858 } while (!isempty(luaH_getint(t, j))); /* repeat until an absent t[j] */ in hash_search()
862 if (isempty(luaH_getint(t, m))) j = m; in hash_search()
873 if (isempty(&array[m - 1])) j = m; in binsearch()
914 if (limit > 0 && isempty(&t->array[limit - 1])) { /* (1)? */ in luaH_getn()
916 if (limit >= 2 && !isempty(&t->array[limit - 2])) { in luaH_getn()
937 if (isempty(&t->array[limit])) /* 'limit + 1' is empty? */ in luaH_getn()
941 if (isempty(&t->array[limit - 1])) { /* empty? */ in luaH_getn()
952 (limit == 0 || !isempty(&t->array[limit - 1]))); in luaH_getn()
953 if (isdummy(t) || isempty(luaH_getint(t, cast(lua_Integer, limit + 1)))) in luaH_getn()