Lines Matching defs:pNew
21 ** "pNew" is a pointer to the hash table that is to be initialized.
23 void sqlite3HashInit(Hash *pNew){
24 assert( pNew!=0 );
25 pNew->first = 0;
26 pNew->count = 0;
27 pNew->htsize = 0;
28 pNew->ht = 0;
66 /* Link pNew element into the hash table pH. If pEntry!=0 then also
67 ** insert pNew into the pEntry hash bucket.
71 struct _ht *pEntry, /* The entry into which pNew is inserted */
72 HashElem *pNew /* The element to be inserted */
78 pEntry->chain = pNew;
83 pNew->next = pHead;
84 pNew->prev = pHead->prev;
85 if( pHead->prev ){ pHead->prev->next = pNew; }
86 else { pH->first = pNew; }
87 pHead->prev = pNew;
89 pNew->next = pH->first;
90 if( pH->first ){ pH->first->prev = pNew; }
91 pNew->prev = 0;
92 pH->first = pNew;