Lines Matching refs:pNew
45 ** "pNew" is a pointer to the hash table that is to be initialized.
52 void sqlite3Fts1HashInit(fts1Hash *pNew, int keyClass, int copyKey){
53 assert( pNew!=0 );
55 pNew->keyClass = keyClass;
56 pNew->copyKey = copyKey;
57 pNew->first = 0;
58 pNew->count = 0;
59 pNew->htsize = 0;
60 pNew->ht = 0;
61 pNew->xMalloc = malloc_and_zero;
62 pNew->xFree = free;
163 struct _fts1ht *pEntry, /* The entry into which pNew is inserted */
164 fts1HashElem *pNew /* The element to be inserted */
169 pNew->next = pHead;
170 pNew->prev = pHead->prev;
171 if( pHead->prev ){ pHead->prev->next = pNew; }
172 else { pH->first = pNew; }
173 pHead->prev = pNew;
175 pNew->next = pH->first;
176 if( pH->first ){ pH->first->prev = pNew; }
177 pNew->prev = 0;
178 pH->first = pNew;
181 pEntry->chain = pNew;