| /sqlite-3.40.0/ext/misc/ |
| H A D | regexp.c | 513 int iPrev = -1; in re_subcompile_string() local 542 if( iPrev<0 ) return "'*' without operand"; in re_subcompile_string() 543 re_insert(p, iPrev, RE_OP_GOTO, p->nState - iPrev + 1); in re_subcompile_string() 548 if( iPrev<0 ) return "'+' without operand"; in re_subcompile_string() 553 if( iPrev<0 ) return "'?' without operand"; in re_subcompile_string() 554 re_insert(p, iPrev, RE_OP_FORK, p->nState - iPrev+1); in re_subcompile_string() 579 sz = p->nState - iPrev; in re_subcompile_string() 582 re_insert(p, iPrev, RE_OP_FORK, sz+1); in re_subcompile_string() 583 iPrev++; in re_subcompile_string() 590 re_copy(p, iPrev, sz); in re_subcompile_string() [all …]
|
| /sqlite-3.40.0/test/ |
| H A D | index5.test | 58 set iPrev [lindex $::write_list 0] 61 if {$iNext==($iPrev+1)} { 63 } elseif {$iNext==($iPrev-1)} { 68 set iPrev $iNext
|
| /sqlite-3.40.0/ext/fts3/tool/ |
| H A D | fts3view.c | 507 sqlite3_int64 iLower, iPrev = 0, iX; in showSegdirMap() local 515 iLower = iPrev = iX; in showSegdirMap() 516 }else if( iX==iPrev+1 ){ in showSegdirMap() 517 iPrev = iX; in showSegdirMap() 519 printTreeLine(iLower, iPrev); in showSegdirMap() 520 iLower = iPrev = iX; in showSegdirMap() 525 if( iLower==iPrev && iLower==iEnd in showSegdirMap() 530 printTreeLine(iLower, iPrev); in showSegdirMap()
|
| /sqlite-3.40.0/ext/lsm1/ |
| H A D | lsm_file.c | 2109 LsmPgno iPrev = p->iLastPg; in lsmFsSortedAppend() local 2132 if( iPrev==0 ){ in lsmFsSortedAppend() 2134 }else if( fsIsLast(pFS, iPrev) ){ in lsmFsSortedAppend() 2140 iApp = iPrev + 1; in lsmFsSortedAppend() 2600 LsmPgno iPrev = pSeg->iLastPg; in fsAppendPage() local 2602 assert( iPrev!=0 ); in fsAppendPage() 2607 if( fsIsLast(pFS, iPrev) ){ in fsAppendPage() 2620 *piNew = iPrev+1; in fsAppendPage() 2723 int iPrev = 0; in lsmFsPagePersist() local 2742 if( iPrev ){ in lsmFsPagePersist() [all …]
|
| H A D | lsm_sorted.c | 6059 LsmPgno iPrev; in assertPointersOk() local 6072 iPrev = pTwo->iFirst; in assertPointersOk() 6073 if( ptr1.iPtr!=iPrev && !bRhs ){ in assertPointersOk() 6108 assert( bRhs || ptr1.iPtr+ptr1.iPgPtr==iPrev ); in assertPointersOk() 6113 iPrev = iThis; in assertPointersOk()
|
| /sqlite-3.40.0/ext/fts3/ |
| H A D | fts3.c | 2255 sqlite3_int64 iPrev = 0; in fts3PoslistMerge() local 2276 iPrev -= 2; in fts3PoslistMerge() 2355 sqlite3_int64 iPrev = 0; in fts3PoslistPhraseMerge() local 2374 fts3PutDeltaVarint(&p, &iPrev, iSave+2); iPrev -= 2; in fts3PoslistPhraseMerge() 2598 sqlite3_int64 iPrev = 0; in fts3DoclistOrMerge() local 2699 sqlite3_int64 iPrev = 0; in fts3DoclistPhraseMerge() local 2731 iPrev = iPrevSave; in fts3DoclistPhraseMerge() 4339 assert( iPrev>=0 ); in fts3EvalDeferredPhrase() 4352 iPrev = iToken; in fts3EvalDeferredPhrase() 4356 if( iPrev>=0 ){ in fts3EvalDeferredPhrase() [all …]
|
| H A D | fts3_write.c | 2970 sqlite3_int64 iPrev = 0; /* Previous docid stored in doclist */ in sqlite3Fts3SegReaderStep() local 3006 if( iPrev<=iDocid ) return FTS_CORRUPT_VTAB; in sqlite3Fts3SegReaderStep() 3007 iDelta = (i64)((u64)iPrev - (u64)iDocid); in sqlite3Fts3SegReaderStep() 3009 if( nDoclist>0 && iPrev>=iDocid ) return FTS_CORRUPT_VTAB; in sqlite3Fts3SegReaderStep() 3010 iDelta = (i64)((u64)iDocid - (u64)iPrev); in sqlite3Fts3SegReaderStep() 3025 iPrev = iDocid; in sqlite3Fts3SegReaderStep() 3030 iPrev = iDocid; in sqlite3Fts3SegReaderStep()
|
| /sqlite-3.40.0/ext/fts5/ |
| H A D | fts5_test_mi.c | 136 int iPrev = -1; in fts5MatchinfoXCb() local 143 if( iCol!=iPrev ) aOut[iCol*3 + 2]++; in fts5MatchinfoXCb() 144 iPrev = iCol; in fts5MatchinfoXCb()
|
| H A D | fts5_index.c | 3347 int iPrev = 0; in fts5IterSetOutputs_Col100() local 3357 iPrev += (int)a++[0] - 2; in fts5IterSetOutputs_Col100() 3358 while( *aiCol<iPrev ){ in fts5IterSetOutputs_Col100() 3362 if( *aiCol==iPrev ){ in fts5IterSetOutputs_Col100() 3364 iPrevOut = iPrev; in fts5IterSetOutputs_Col100() 3912 pDlidx[1].iPrev = iFirst; in fts5WriteDlidxAppend() 3923 iVal = iRowid - pDlidx->iPrev; in fts5WriteDlidxAppend() 3934 pDlidx->iPrev = iRowid; in fts5WriteDlidxAppend() 5107 i64 iPrev = 0; in fts5MergePrefixLists() local 5148 if( pThis->iPos!=iPrev ){ in fts5MergePrefixLists() [all …]
|
| H A D | fts5_buffer.c | 257 sqlite3Fts5PoslistSafeAppend(pBuf, &pWriter->iPrev, iPos); in sqlite3Fts5PoslistWriterAppend()
|
| H A D | fts5_expr.c | 498 i64 iPrev = -1; in fts5ExprSynonymList() local 505 if( aIter[i].iPos==iPrev ){ in fts5ExprSynonymList() 515 iPrev = iMin; in fts5ExprSynonymList() 744 if( a[i].pOut->n==0 || iPos!=pWriter->iPrev ){ in fts5ExprNearIsMatch()
|
| H A D | fts5Int.h | 327 i64 iPrev; member
|
| /sqlite-3.40.0/src/ |
| H A D | vdbesort.c | 332 u8 iPrev; /* Previous thread used to flush PMA */ member 985 pSorter->iPrev = (u8)(nWorker - 1); in sqlite3VdbeSorterInit() 1617 int iPrev = pMerger->aTree[1];/* Index of PmaReader to advance */ in vdbeMergeEngineStep() local 1621 rc = vdbePmaReaderNext(&pMerger->aReadr[iPrev]); in vdbeMergeEngineStep() 1632 pReadr1 = &pMerger->aReadr[(iPrev & 0xFFFE)]; in vdbeMergeEngineStep() 1633 pReadr2 = &pMerger->aReadr[(iPrev | 0x0001)]; in vdbeMergeEngineStep() 1635 for(i=(pMerger->nTree+iPrev)/2; i>0; i=i/2){ in vdbeMergeEngineStep() 1720 int iTest = (pSorter->iPrev + i + 1) % nWorker; in vdbeSorterFlushPMA() 1744 pSorter->iPrev = (u8)(pTask - pSorter->aTask); in vdbeSorterFlushPMA()
|
| H A D | dbstat.c | 481 u32 iPrev = pCell->aOvfl[j-1]; in statDecodePage() local 483 rc = sqlite3PagerGet(sqlite3BtreePager(pBt), iPrev, &pPg, 0); in statDecodePage()
|
| /sqlite-3.40.0/ext/expert/ |
| H A D | sqlite3expert.c | 1730 i64 iPrev = -100000; in idxPopulateStat1() local 1785 if( p->iSample<100 && iPrev!=iRowid ){ in idxPopulateStat1() 1794 iPrev = iRowid; in idxPopulateStat1()
|