Lines Matching refs:pKey
135 unsigned int h = strHash(elem->pKey) % new_size; in rehash()
149 const char *pKey, /* The key we are searching for */ in findElementWithHash() argument
159 h = strHash(pKey) % pH->htsize; in findElementWithHash()
171 if( sqlite3StrICmp(elem->pKey,pKey)==0 ){ in findElementWithHash()
217 void *sqlite3HashFind(const Hash *pH, const char *pKey){ in sqlite3HashFind() argument
219 assert( pKey!=0 ); in sqlite3HashFind()
220 return findElementWithHash(pH, pKey, 0)->data; in sqlite3HashFind()
237 void *sqlite3HashInsert(Hash *pH, const char *pKey, void *data){ in sqlite3HashInsert() argument
243 assert( pKey!=0 ); in sqlite3HashInsert()
244 elem = findElementWithHash(pH,pKey,&h); in sqlite3HashInsert()
251 elem->pKey = pKey; in sqlite3HashInsert()
258 new_elem->pKey = pKey; in sqlite3HashInsert()
264 h = strHash(pKey) % pH->htsize; in sqlite3HashInsert()