Lines Matching refs:table
161 ht->table = NULL; in _dictReset()
220 n.table = zcalloc(realsize*sizeof(dictEntry*)); in dictExpand()
225 if (d->ht[0].table == NULL) { in dictExpand()
255 while(d->ht[0].table[d->rehashidx] == NULL) { in dictRehash()
259 de = d->ht[0].table[d->rehashidx]; in dictRehash()
267 de->next = d->ht[1].table[h]; in dictRehash()
268 d->ht[1].table[h] = de; in dictRehash()
273 d->ht[0].table[d->rehashidx] = NULL; in dictRehash()
279 zfree(d->ht[0].table); in dictRehash()
365 entry->next = ht->table[index]; in dictAddRaw()
366 ht->table[index] = entry; in dictAddRaw()
416 int table; in dictGenericDelete() local
422 for (table = 0; table <= 1; table++) { in dictGenericDelete()
423 idx = h & d->ht[table].sizemask; in dictGenericDelete()
424 he = d->ht[table].table[idx]; in dictGenericDelete()
432 d->ht[table].table[idx] = he->next; in dictGenericDelete()
438 d->ht[table].used--; in dictGenericDelete()
467 if ((he = ht->table[i]) == NULL) continue; in _dictClear()
478 zfree(ht->table); in _dictClear()
495 unsigned int h, idx, table; in dictFind() local
500 for (table = 0; table <= 1; table++) { in dictFind()
501 idx = h & d->ht[table].sizemask; in dictFind()
502 he = d->ht[table].table[idx]; in dictFind()
530 integers[0] = (long) d->ht[0].table; in dictFingerprint()
533 integers[3] = (long) d->ht[1].table; in dictFingerprint()
563 iter->table = 0; in dictGetIterator()
582 dictht *ht = &iter->d->ht[iter->table]; in dictNext()
583 if (iter->index == -1 && iter->table == 0) { in dictNext()
591 if (dictIsRehashing(iter->d) && iter->table == 0) { in dictNext()
592 iter->table++; in dictNext()
599 iter->entry = ht->table[iter->index]; in dictNext()
615 if (!(iter->index == -1 && iter->table == 0)) { in dictReleaseIterator()
641 he = (h >= d->ht[0].size) ? d->ht[1].table[h - d->ht[0].size] : in dictGetRandomKey()
642 d->ht[0].table[h]; in dictGetRandomKey()
647 he = d->ht[0].table[h]; in dictGetRandomKey()
728 dictEntry *he = d->ht[j].table[i]; in dictGetSomeKeys()
868 de = t0->table[v & m0]; in dictScan()
888 de = t0->table[v & m0]; in dictScan()
898 de = t1->table[v & m1]; in dictScan()
968 unsigned int h, idx, table; in _dictKeyIndex() local
976 for (table = 0; table <= 1; table++) { in _dictKeyIndex()
977 idx = h & d->ht[table].sizemask; in _dictKeyIndex()
979 he = d->ht[table].table[idx]; in _dictKeyIndex()
1024 if (ht->table[i] == NULL) { in _dictGetStatsHt()
1031 he = ht->table[i]; in _dictGetStatsHt()