Lines Matching refs:pEntry
36628 struct _ht *pEntry, /* The entry into which pNew is inserted */
36632 if( pEntry ){
36633 pHead = pEntry->count ? pEntry->chain : 0;
36634 pEntry->count++;
36635 pEntry->chain = pNew;
36712 struct _ht *pEntry;
36714 pEntry = &pH->ht[h];
36715 elem = pEntry->chain;
36716 count = pEntry->count;
36742 struct _ht *pEntry;
36752 pEntry = &pH->ht[h];
36753 if( pEntry->chain==elem ){
36754 pEntry->chain = elem->next;
36756 assert( pEntry->count>0 );
36757 pEntry->count--;
56191 struct RowSetEntry *pEntry; /* List of entries using pRight */
56216 p->pEntry = 0;
56241 p->pEntry = 0;
56291 struct RowSetEntry *pEntry; /* The new entry */
56297 pEntry = rowSetEntryAlloc(p);
56298 if( pEntry==0 ) return;
56299 pEntry->v = rowid;
56300 pEntry->pRight = 0;
56308 pLast->pRight = pEntry;
56310 p->pEntry = pEntry;
56312 p->pLast = pEntry;
56495 p->pEntry = rowSetEntrySort(p->pEntry);
56501 if( p->pEntry ){
56502 *pRowid = p->pEntry->v;
56503 p->pEntry = p->pEntry->pRight;
56504 if( p->pEntry==0 ){ /*OPTIMIZATION-IF-TRUE*/
56532 p = pRowSet->pEntry;
56559 pRowSet->pEntry = 0;
120015 HashElem *pEntry;
120045 pEntry = sqliteHashFirst(&db->aDb[1].pSchema->trigHash);
120046 while( pEntry ){
120047 Trigger *pTrig = (Trigger*)sqliteHashData(pEntry);
120051 pEntry = sqliteHashNext(pEntry);
192748 struct _fts3ht *pEntry, /* The entry into which pNew is inserted */
192752 pHead = pEntry->chain;
192765 pEntry->count++;
192766 pEntry->chain = pNew;
192811 struct _fts3ht *pEntry = &pH->ht[h];
192812 elem = pEntry->chain;
192813 count = pEntry->count;
192833 struct _fts3ht *pEntry;
192842 pEntry = &pH->ht[h];
192843 if( pEntry->chain==elem ){
192844 pEntry->chain = elem->next;
192846 pEntry->count--;
192847 if( pEntry->count<=0 ){
192848 pEntry->chain = 0;
233649 Fts5TermsetEntry *pEntry;
233661 for(pEntry=p->apHash[hash]; pEntry; pEntry=pEntry->pNext){
233662 if( pEntry->iIdx==iIdx
233663 && pEntry->nTerm==nTerm
233664 && memcmp(pEntry->pTerm, pTerm, nTerm)==0
233671 if( pEntry==0 ){
233672 pEntry = sqlite3Fts5MallocZero(&rc, sizeof(Fts5TermsetEntry) + nTerm);
233673 if( pEntry ){
233674 pEntry->pTerm = (char*)&pEntry[1];
233675 pEntry->nTerm = nTerm;
233676 pEntry->iIdx = iIdx;
233677 memcpy(pEntry->pTerm, pTerm, nTerm);
233678 pEntry->pNext = p->apHash[hash];
233679 p->apHash[hash] = pEntry;
233691 Fts5TermsetEntry *pEntry = p->apHash[i];
233692 while( pEntry ){
233693 Fts5TermsetEntry *pDel = pEntry;
233694 pEntry = pEntry->pNext;
238469 Fts5HashEntry *pEntry = pIter;
238470 pEntry->pScanNext = 0;
238472 pEntry = fts5HashEntryMerge(pEntry, ap[i]);
238475 ap[i] = pEntry;