Home
last modified time | relevance | path

Searched refs:new_ht (Results 1 – 5 of 5) sorted by relevance

/sqlite-3.40.0/src/
H A Dhash.c107 struct _ht *new_ht; /* The new hash table */ in rehash() local
126 new_ht = (struct _ht *)sqlite3Malloc( new_size*sizeof(struct _ht) ); in rehash()
129 if( new_ht==0 ) return 0; in rehash()
131 pH->ht = new_ht; in rehash()
132 pH->htsize = new_size = sqlite3MallocSize(new_ht)/sizeof(struct _ht); in rehash()
133 memset(new_ht, 0, new_size*sizeof(struct _ht)); in rehash()
137 insertElement(pH, &new_ht[h], elem); in rehash()
/sqlite-3.40.0/ext/fts3/
H A Dfts3_hash.c197 struct _fts3ht *new_ht; /* The new hash table */ in fts3Rehash() local
202 new_ht = (struct _fts3ht *)fts3HashMalloc( new_size*sizeof(struct _fts3ht) ); in fts3Rehash()
203 if( new_ht==0 ) return 1; in fts3Rehash()
205 pH->ht = new_ht; in fts3Rehash()
211 fts3HashInsertElement(pH, &new_ht[h], elem); in fts3Rehash()
/sqlite-3.40.0/ext/fts2/
H A Dfts2_hash.c197 struct _fts2ht *new_ht; /* The new hash table */ in rehash() local
202 new_ht = (struct _fts2ht *)fts2HashMalloc( new_size*sizeof(struct _fts2ht) ); in rehash()
203 if( new_ht==0 ) return; in rehash()
205 pH->ht = new_ht; in rehash()
211 insertElement(pH, &new_ht[h], elem); in rehash()
/sqlite-3.40.0/ext/fts1/
H A Dft_hash.c232 struct _ht *new_ht; /* The new hash table */ in rehash() local
237 new_ht = (struct _ht *)pH->xMalloc( new_size*sizeof(struct _ht) ); in rehash()
238 if( new_ht==0 ) return; in rehash()
240 pH->ht = new_ht; in rehash()
246 insertElement(pH, &new_ht[h], elem); in rehash()
H A Dfts1_hash.c190 struct _fts1ht *new_ht; /* The new hash table */ in rehash() local
195 new_ht = (struct _fts1ht *)pH->xMalloc( new_size*sizeof(struct _fts1ht) ); in rehash()
196 if( new_ht==0 ) return; in rehash()
198 pH->ht = new_ht; in rehash()
204 insertElement(pH, &new_ht[h], elem); in rehash()