Lines Matching refs:pEntry
74 struct _ht *pEntry, /* The entry into which pNew is inserted */ in insertElement() argument
78 if( pEntry ){ in insertElement()
79 pHead = pEntry->count ? pEntry->chain : 0; in insertElement()
80 pEntry->count++; in insertElement()
81 pEntry->chain = pNew; in insertElement()
158 struct _ht *pEntry; in findElementWithHash() local
160 pEntry = &pH->ht[h]; in findElementWithHash()
161 elem = pEntry->chain; in findElementWithHash()
162 count = pEntry->count; in findElementWithHash()
187 struct _ht *pEntry; in removeElementGivenHash() local
197 pEntry = &pH->ht[h]; in removeElementGivenHash()
198 if( pEntry->chain==elem ){ in removeElementGivenHash()
199 pEntry->chain = elem->next; in removeElementGivenHash()
201 assert( pEntry->count>0 ); in removeElementGivenHash()
202 pEntry->count--; in removeElementGivenHash()