Lines Matching refs:h
56 unsigned int h = 0; in strHash() local
62 h += sqlite3UpperToLower[c]; in strHash()
63 h *= 0x9e3779b1; in strHash()
65 return h; in strHash()
135 unsigned int h = strHash(elem->pKey) % new_size; in rehash() local
137 insertElement(pH, &new_ht[h], elem); in rehash()
154 unsigned int h; /* The computed hash */ in findElementWithHash() local
159 h = strHash(pKey) % pH->htsize; in findElementWithHash()
160 pEntry = &pH->ht[h]; in findElementWithHash()
164 h = 0; in findElementWithHash()
168 if( pHash ) *pHash = h; in findElementWithHash()
185 unsigned int h /* Hash value for the element */ in removeElementGivenHash() argument
197 pEntry = &pH->ht[h]; in removeElementGivenHash()
238 unsigned int h; /* the hash of the key modulo hash table size */ in sqlite3HashInsert() local
244 elem = findElementWithHash(pH,pKey,&h); in sqlite3HashInsert()
248 removeElementGivenHash(pH,elem,h); in sqlite3HashInsert()
264 h = strHash(pKey) % pH->htsize; in sqlite3HashInsert()
267 insertElement(pH, pH->ht ? &pH->ht[h] : 0, new_elem); in sqlite3HashInsert()