Lines Matching refs:used
164 ht->used = 0; in _dictReset()
197 minimal = d->ht[0].used; in dictResize()
211 if (dictIsRehashing(d) || d->ht[0].used > size) in dictExpand()
221 n.used = 0; in dictExpand()
249 while(n-- && d->ht[0].used != 0) { in dictRehash()
269 d->ht[0].used--; in dictRehash()
270 d->ht[1].used++; in dictRehash()
278 if (d->ht[0].used == 0) { in dictRehash()
367 ht->used++; in dictAddRaw()
438 d->ht[table].used--; in dictGenericDelete()
462 for (i = 0; i < ht->size && ht->used > 0; i++) { in _dictClear()
473 ht->used--; in _dictClear()
497 if (d->ht[0].used + d->ht[1].used == 0) return NULL; /* dict is empty */ in dictFind()
532 integers[2] = d->ht[0].used; in dictFingerprint()
535 integers[5] = d->ht[1].used; in dictFingerprint()
938 if (d->ht[0].used >= d->ht[0].size && in _dictExpandIfNeeded()
940 d->ht[0].used/d->ht[0].size > dict_force_resize_ratio)) in _dictExpandIfNeeded()
942 return dictExpand(d, d->ht[0].used*2); in _dictExpandIfNeeded()
1014 if (ht->used == 0) { in _dictGetStatsHt()
1052 ht->size, ht->used, slots, maxchainlen, in _dictGetStatsHt()
1053 (float)totchainlen/slots, (float)ht->used/slots); in _dictGetStatsHt()