Home | History | Annotate | Download | only in fts2

Lines Matching refs:pNew

52 ** "pNew" is a pointer to the hash table that is to be initialized.
59 void sqlite3Fts2HashInit(fts2Hash *pNew, int keyClass, int copyKey){
60 assert( pNew!=0 );
62 pNew->keyClass = keyClass;
63 pNew->copyKey = copyKey;
64 pNew->first = 0;
65 pNew->count = 0;
66 pNew->htsize = 0;
67 pNew->ht = 0;
168 struct _fts2ht *pEntry, /* The entry into which pNew is inserted */
169 fts2HashElem *pNew /* The element to be inserted */
174 pNew->next = pHead;
175 pNew->prev = pHead->prev;
176 if( pHead->prev ){ pHead->prev->next = pNew; }
177 else { pH->first = pNew; }
178 pHead->prev = pNew;
180 pNew->next = pH->first;
181 if( pH->first ){ pH->first->prev = pNew; }
182 pNew->prev = 0;
183 pH->first = pNew;
186 pEntry->chain = pNew;