Lines Matching refs:pIter

45278   WalIterator *pIter = 0;         /* Wal iterator context */
45294 rc = walIteratorInit(pWal, &pIter);
45298 assert( pIter );
45349 while( rc==SQLITE_OK && 0==walIteratorNext(pIter, &iDbpage, &iFrame) ){
45407 walIteratorFree(pIter);
47739 BtLock *pIter;
47766 for(pIter=pBt->pLock; pIter; pIter=pIter->pNext){
47776 assert( pIter->eLock==READ_LOCK || pIter->eLock==WRITE_LOCK );
47777 assert( eLock==READ_LOCK || pIter->pBtree==p || pIter->eLock==READ_LOCK);
47778 if( pIter->pBtree!=p && pIter->iTable==iTab && pIter->eLock!=eLock ){
47779 sqlite3ConnectionBlocked(p->db, pIter->pBtree->db);
47812 BtLock *pIter;
47830 for(pIter=pBt->pLock; pIter; pIter=pIter->pNext){
47831 if( pIter->iTable==iTable && pIter->pBtree==p ){
47832 pLock = pIter;
48492 u8 *pIter = &pCell[pPage->childPtrSize];
48507 pIter += getVarint32(pIter, nSize);
48515 pEnd = &pIter[9];
48516 while( (*pIter++)&0x80 && pIter<pEnd );
48518 pIter += getVarint32(pIter, nSize);
48533 nSize += (u32)(pIter - pCell);
50079 BtLock *pIter;
50080 for(pIter=pBt->pLock; pIter; pIter=pIter->pNext){
50081 if( pIter->pBtree!=p ){
50082 pBlock = pIter->pBtree->db;
115482 char *pIter; /* Used to iterate through aAll */
115485 pIter = pDL->pNextDocid;
115487 pIter = pDL->aAll;
115490 if( pIter>=pEnd ){
115495 pIter += sqlite3Fts3GetVarint(pIter, &iDelta);
115501 pDL->pList = pIter;
115502 fts3PoslistCopy(0, &pIter);
115503 pDL->nList = (pIter - pDL->pList);
115511 while( pIter<pEnd && *pIter==0 ) pIter++;
115513 pDL->pNextDocid = pIter;
115514 assert( pIter>=&pDL->aAll[pDL->nAll] || *pIter );
116388 char *pIter = pPhrase->doclist.pList;
116392 if( !pIter
116401 if( *pIter==0x01 ){
116402 pIter++;
116403 pIter += sqlite3Fts3GetVarint32(pIter, &iThis);
116408 fts3ColumnlistCopy(0, &pIter);
116409 if( *pIter==0x00 ) return 0;
116410 pIter++;
116411 pIter += sqlite3Fts3GetVarint32(pIter, &iThis);
116414 return ((iCol==iThis)?pIter:0);
117594 Fts3Expr *pIter = pNotBranch;
117595 while( pIter->pLeft ){
117596 pIter = pIter->pLeft;
117598 pIter->pLeft = pRet;
121500 SegmentNode *pIter;
121503 for(pIter=pTree->pLeftmost; pIter && rc==SQLITE_OK; pIter=pIter->pRight){
121504 int nStart = fts3TreeFinishNode(pIter, iHeight, iNextLeaf);
121505 int nWrite = pIter->nData - nStart;
121507 rc = fts3WriteSegment(p, iNextFree, &pIter->aData[nStart], nWrite);
121509 iNextLeaf += (pIter->nEntry+1);
123124 char *pIter = *ppIter;
123125 if( pIter ){
123129 if( 0==(*pIter & 0xFE) ){
123131 pIter = 0;
123134 fts3GetDeltaPosition(&pIter, &iIter);
123138 *ppIter = pIter;
123145 static int fts3SnippetNextCandidate(SnippetIter *pIter){
123148 if( pIter->iCurrent<0 ){
123153 pIter->iCurrent = 0;
123158 for(i=0; i<pIter->nPhrase; i++){
123159 SnippetPhrase *pPhrase = &pIter->aPhrase[i];
123160 fts3SnippetAdvance(&pPhrase->pHead, &pPhrase->iHead, pIter->nSnippet);
123166 for(i=0; i<pIter->nPhrase; i++){
123167 SnippetPhrase *pPhrase = &pIter->aPhrase[i];
123176 pIter->iCurrent = iStart = iEnd - pIter->nSnippet + 1;
123177 for(i=0; i<pIter->nPhrase; i++){
123178 SnippetPhrase *pPhrase = &pIter->aPhrase[i];
123192 SnippetIter *pIter, /* Snippet iterator */
123199 int iStart = pIter->iCurrent; /* First token of snippet */
123205 for(i=0; i<pIter->nPhrase; i++){
123206 SnippetPhrase *pPhrase = &pIter->aPhrase[i];
123211 while( iCsr<(iStart+pIter->nSnippet) ){
123778 static int fts3LcsIteratorAdvance(LcsIterator *pIter){
123779 char *pRead = pIter->pRead;
123788 pIter->iPos += (int)(iRead-2);
123791 pIter->pRead = pRead;
123821 LcsIterator *pIter = &aIter[i];
123822 nToken -= pIter->pExpr->pPhrase->nToken;
123823 pIter->iPosOffset = nToken;
123845 LcsIterator *pIter = &aIter[i];
123846 if( pIter->pRead==0 ){
123850 if( pAdv==0 || pIter->iPos<pAdv->iPos ){
123851 pAdv = pIter;
123853 if( nThisLcs==0 || pIter->iPos==pIter[-1].iPos ){
128199 UBreakIterator *pIter; /* ICU break-iterator object */
128309 pCsr->pIter = ubrk_open(UBRK_WORD, p->zLocale, pCsr->aChar, iOut, &status);
128316 ubrk_first(pCsr->pIter);
128326 ubrk_close(pCsr->pIter);
128352 iStart = ubrk_current(pCsr->pIter);
128353 iEnd = ubrk_next(pCsr->pIter);