/external/chromium_org/third_party/sqlite/src/ext/fts3/ |
D | fts3_hash.c | 66 pNew->htsize = 0; in sqlite3Fts3HashInit() 82 pH->htsize = 0; in sqlite3Fts3HashClear() 206 pH->htsize = new_size; in fts3Rehash() 294 assert( (pH->htsize & (pH->htsize-1))==0 ); in sqlite3Fts3HashFindElem() 295 return fts3FindElementByHash(pH,pKey,nKey, h & (pH->htsize-1)); in sqlite3Fts3HashFindElem() 341 assert( (pH->htsize & (pH->htsize-1))==0 ); in sqlite3Fts3HashInsert() 342 h = hraw & (pH->htsize-1); in sqlite3Fts3HashInsert() 354 if( (pH->htsize==0 && fts3Rehash(pH,8)) in sqlite3Fts3HashInsert() 355 || (pH->count>=pH->htsize && fts3Rehash(pH, pH->htsize*2)) in sqlite3Fts3HashInsert() 360 assert( pH->htsize>0 ); in sqlite3Fts3HashInsert() [all …]
|
D | fts3_hash.h | 37 int htsize; /* Number of buckets in the hash table */ member
|
/external/chromium_org/third_party/sqlite/src/ext/fts2/ |
D | fts2_hash.c | 66 pNew->htsize = 0; in sqlite3Fts2HashInit() 82 pH->htsize = 0; in sqlite3Fts2HashClear() 204 pH->htsize = new_size; in rehash() 292 assert( (pH->htsize & (pH->htsize-1))==0 ); in sqlite3Fts2HashFind() 293 elem = findElementGivenHash(pH,pKey,nKey, h & (pH->htsize-1)); in sqlite3Fts2HashFind() 328 assert( (pH->htsize & (pH->htsize-1))==0 ); in sqlite3Fts2HashInsert() 329 h = hraw & (pH->htsize-1); in sqlite3Fts2HashInsert() 355 if( pH->htsize==0 ){ in sqlite3Fts2HashInsert() 357 if( pH->htsize==0 ){ in sqlite3Fts2HashInsert() 363 if( pH->count > pH->htsize ){ in sqlite3Fts2HashInsert() [all …]
|
D | fts2_hash.h | 37 int htsize; /* Number of buckets in the hash table */ member
|
/external/chromium_org/third_party/sqlite/src/ext/fts1/ |
D | fts1_hash.c | 59 pNew->htsize = 0; in sqlite3Fts1HashInit() 77 pH->htsize = 0; in sqlite3Fts1HashClear() 199 pH->htsize = new_size; in rehash() 287 assert( (pH->htsize & (pH->htsize-1))==0 ); in sqlite3Fts1HashFind() 288 elem = findElementGivenHash(pH,pKey,nKey, h & (pH->htsize-1)); in sqlite3Fts1HashFind() 323 assert( (pH->htsize & (pH->htsize-1))==0 ); in sqlite3Fts1HashInsert() 324 h = hraw & (pH->htsize-1); in sqlite3Fts1HashInsert() 350 if( pH->htsize==0 ){ in sqlite3Fts1HashInsert() 352 if( pH->htsize==0 ){ in sqlite3Fts1HashInsert() 358 if( pH->count > pH->htsize ){ in sqlite3Fts1HashInsert() [all …]
|
D | ft_hash.c | 52 pNew->htsize = 0; in HashInit() 70 pH->htsize = 0; in HashClear() 241 pH->htsize = new_size; in rehash() 329 assert( (pH->htsize & (pH->htsize-1))==0 ); in HashFind() 330 elem = findElementGivenHash(pH,pKey,nKey, h & (pH->htsize-1)); in HashFind() 360 assert( (pH->htsize & (pH->htsize-1))==0 ); in HashInsert() 361 h = hraw & (pH->htsize-1); in HashInsert() 387 if( pH->htsize==0 ){ in HashInsert() 389 if( pH->htsize==0 ){ in HashInsert() 395 if( pH->count > pH->htsize ){ in HashInsert() [all …]
|
D | ft_hash.h | 39 int htsize; /* Number of buckets in the hash table */ member
|
D | fts1_hash.h | 39 int htsize; /* Number of buckets in the hash table */ member
|
/external/chromium_org/third_party/sqlite/src/src/ |
D | hash.c | 27 pNew->htsize = 0; in sqlite3HashInit() 43 pH->htsize = 0; in sqlite3HashClear() 111 if( new_size==pH->htsize ) return 0; in rehash() 125 pH->htsize = new_size = sqlite3MallocSize(new_ht)/sizeof(struct _ht); in rehash() 211 h = strHash(pKey, nKey) % pH->htsize; in sqlite3HashFind() 241 if( pH->htsize ){ in sqlite3HashInsert() 242 h = strHash(pKey, nKey) % pH->htsize; in sqlite3HashInsert() 265 if( pH->count>=10 && pH->count > 2*pH->htsize ){ in sqlite3HashInsert() 267 assert( pH->htsize>0 ); in sqlite3HashInsert() 268 h = strHash(pKey, nKey) % pH->htsize; in sqlite3HashInsert()
|
D | hash.h | 44 unsigned int htsize; /* Number of buckets in the hash table */ member
|
/external/chromium_org/third_party/sqlite/amalgamation/ |
D | sqlite3.c | 7082 unsigned int htsize; /* Number of buckets in the hash table */ member 21413 pNew->htsize = 0; in sqlite3HashInit() 21429 pH->htsize = 0; in sqlite3HashClear() 21497 if( new_size==pH->htsize ) return 0; in rehash() 21511 pH->htsize = new_size = sqlite3MallocSize(new_ht)/sizeof(struct _ht); in rehash() 21597 h = strHash(pKey, nKey) % pH->htsize; in sqlite3HashFind() 21627 if( pH->htsize ){ in sqlite3HashInsert() 21628 h = strHash(pKey, nKey) % pH->htsize; in sqlite3HashInsert() 21651 if( pH->count>=10 && pH->count > 2*pH->htsize ){ in sqlite3HashInsert() 21653 assert( pH->htsize>0 ); in sqlite3HashInsert() [all …]
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 7598 unsigned int htsize; /* Number of buckets in the hash table */ member 22259 pNew->htsize = 0; in sqlite3HashInit() 22275 pH->htsize = 0; in sqlite3HashClear() 22343 if( new_size==pH->htsize ) return 0; in rehash() 22357 pH->htsize = new_size = sqlite3MallocSize(new_ht)/sizeof(struct _ht); in rehash() 22443 h = strHash(pKey, nKey) % pH->htsize; in sqlite3HashFind() 22473 if( pH->htsize ){ in sqlite3HashInsert() 22474 h = strHash(pKey, nKey) % pH->htsize; in sqlite3HashInsert() 22497 if( pH->count>=10 && pH->count > 2*pH->htsize ){ in sqlite3HashInsert() 22499 assert( pH->htsize>0 ); in sqlite3HashInsert() [all …]
|
/external/sqlite/dist/ |
D | sqlite3.c | 7598 unsigned int htsize; /* Number of buckets in the hash table */ member 22259 pNew->htsize = 0; in sqlite3HashInit() 22275 pH->htsize = 0; in sqlite3HashClear() 22343 if( new_size==pH->htsize ) return 0; in rehash() 22357 pH->htsize = new_size = sqlite3MallocSize(new_ht)/sizeof(struct _ht); in rehash() 22443 h = strHash(pKey, nKey) % pH->htsize; in sqlite3HashFind() 22473 if( pH->htsize ){ in sqlite3HashInsert() 22474 h = strHash(pKey, nKey) % pH->htsize; in sqlite3HashInsert() 22497 if( pH->count>=10 && pH->count > 2*pH->htsize ){ in sqlite3HashInsert() 22499 assert( pH->htsize>0 ); in sqlite3HashInsert() [all …]
|