Lines Matching defs:iStart
54465 ** The first byte of the new free block is pPage->aData[iStart]
54476 static int freeSpace(MemPage *pPage, u16 iStart, u16 iSize){
54483 u32 iEnd = iStart + iSize; /* First byte past the iStart buffer */
54488 assert( iStart>=pPage->hdrOffset+6+pPage->childPtrSize );
54492 assert( iStart<=iLast );
54497 memset(&data[iStart], 0, iSize);
54501 ** spot on the list where iStart should be inserted.
54508 while( (iFreeBlk = get2byte(&data[iPtr]))>0 && iFreeBlk<iStart ){
54516 ** iFreeBlk: First freeblock after iStart, or zero if none
54519 ** Check to see if iFreeBlk should be coalesced onto the end of iStart.
54525 iSize = iEnd - iStart;
54530 ** pointer in the page header) then check to see if iStart should be
54535 if( iPtrEnd+3>=iStart ){
54536 if( iPtrEnd>iStart ) return SQLITE_CORRUPT_BKPT;
54537 nFrag += iStart - iPtrEnd;
54539 iStart = iPtr;
54545 if( iStart==get2byte(&data[hdr+5]) ){
54554 put2byte(&data[iPtr], iStart);
54555 put2byte(&data[iStart], iFreeBlk);
54556 put2byte(&data[iStart+2], iSize);
78633 ** starting at offset iStart and ending at offset iEof-1. This function
78643 i64 iStart, /* Start offset in pFile */
78649 assert( pFile->iEof>iStart );
78654 rc = vdbePmaReaderSeek(pTask, pReadr, pFile, iStart);
79360 i64 iStart /* Offset of pFd to begin writing at */
79367 p->iBufEnd = p->iBufStart = (iStart % nBuf);
79368 p->iWriteOff = iStart - p->iBufStart;
79776 i64 iStart = pIncr->iStartOff;
79785 vdbePmaWriterInit(pOut->pFd, &writer, pTask->pSorter->pgsz, iStart);
79795 if( (iEof + nKey + sqlite3VarintLen(nKey))>(iStart + pIncr->mxSz) ) break;
85340 ** registers starting with iStart.
85342 SQLITE_PRIVATE void sqlite3ExprCacheAffinityChange(Parse *pParse, int iStart, int iCount){
85343 sqlite3ExprCacheRemove(pParse, iStart, iCount);
94340 ** creating nExtra new slots beginning at iStart. iStart is zero based.
94349 ** If the iStart argument had been 1 instead of 2, then the result
94351 ** the iStart value would be 0. The result then would
94361 int iStart /* Index in pSrc->a[] of first new slot */
94366 assert( iStart>=0 );
94369 assert( iStart<=pSrc->nSrc );
94389 for(i=pSrc->nSrc-1; i>=iStart; i--){
94395 memset(&pSrc->a[iStart], 0, sizeof(pSrc->a[0])*nExtra);
94396 for(i=iStart; i<iStart+nExtra; i++){
106964 int iStart, /* Begin with this column of pList */
107530 int iStart, /* Begin with this column of pList */
107540 pInfo = sqlite3KeyInfoAlloc(db, nExpr-iStart, nExtra+1);
107543 for(i=iStart, pItem=pList->a+iStart; i<nExpr; i++, pItem++){
107547 pInfo->aColl[i-iStart] = pColl;
107548 pInfo->aSortOrder[i-iStart] = pItem->sortOrder;
108852 int iCont, iBreak, iStart;
108863 iStart = sqlite3VdbeCurrentAddr(v);
108867 sqlite3VdbeAddOp2(v, OP_Next, unionTab, iStart); VdbeCoverage(v);
108875 int iCont, iBreak, iStart;
108939 iStart = sqlite3VdbeAddOp2(v, OP_RowKey, tab1, r1);
108945 sqlite3VdbeAddOp2(v, OP_Next, tab1, iStart); VdbeCoverage(v);
139670 int nToken = 0, iStart = 0, iEnd = 0, iPosition = 0;
139673 rc = pModule->xNext(pCursor, &zToken, &nToken, &iStart, &iEnd, &iPosition);
139695 && iStart>0 && z[iStart-1]=='-'
139698 iStart--;
139699 }else if( pParse->bFts4 && iStart>0 && z[iStart-1]=='^' ){
139701 iStart--;
142063 int iStart = 0;
142107 while( SQLITE_OK==p->xNext(pCsr, &zToken, &nToken, &iStart, &iEnd, &iPos) ){
142110 zToken = &zInput[iStart];
142111 nToken = iEnd-iStart;
142602 int iStart; /* Current 'start' value */
142823 pCsr->iStart = 0;
142851 &pCsr->iStart, &pCsr->iEnd, &pCsr->iPos
142926 sqlite3_result_int(pCtx, pCsr->iStart);
143780 int iStart = 0;
143811 && SQLITE_OK==(rc = xNext(pCsr, &zToken, &nToken, &iStart, &iEnd, &iPos))
146629 sqlite3_int64 iStart; /* Block number of first allocated block */
147068 pWriter->iStart, /* start_block */
147159 sqlite3_int64 iStart = 0; /* Value of %_segdir.start_block */
147171 iStart = sqlite3_column_int64(pSelect, 1);
147216 pWriter->nLeafEst = (int)((iEnd - iStart) + 1)/FTS_MAX_APPENDABLE_HEIGHT;
147217 pWriter->iStart = iStart;
147223 pWriter->aNodeWriter[i].iBlock = pWriter->iStart + i*pWriter->nLeafEst;
147227 pNode->iBlock = pWriter->iStart + pWriter->nLeafEst*nHeight;
147352 pWriter->iStart = sqlite3_column_int64(pFirstBlock, 0);
147353 pWriter->iEnd = pWriter->iStart - 1;
147372 pWriter->aNodeWriter[i].iBlock = pWriter->iStart + i*pWriter->nLeafEst;
148934 int iStart;
148947 pIter->iCurrent = iStart = iEnd - pIter->nSnippet + 1;
148951 fts3SnippetAdvance(&pPhrase->pTail, &pPhrase->iTail, iStart);
148970 int iStart = pIter->iCurrent; /* First token of snippet */
148982 while( iCsr<(iStart+pIter->nSnippet) ){
148985 u64 mPos = (u64)1 << (iCsr - iStart);
148986 assert( iCsr>=iStart );
149005 *piToken = iStart;
149452 int iStart = iPhrase * p->nCol * 3;
149459 p->aMatchinfo[iStart+i*3] = fts3ColumnlistCount(&pCsr);
149461 p->aMatchinfo[iStart+i*3] = 0;
149480 int iStart = iPhrase * p->nCol;
149487 memset(&p->aMatchinfo[iStart], 0, sizeof(u32) * p->nCol);
149501 p->aMatchinfo[iStart + iCol] = (u32)nHit;
150098 int iStart = 0;
150134 rc = pMod->xNext(pC, &ZDUMMY, &NDUMMY, &iStart, &iEnd, &iCurrent);
150159 rc = pMod->xNext(pC, &ZDUMMY, &NDUMMY, &iStart, &iEnd, &iCurrent);
150164 "%d %d %d %d ", iCol, pTerm-sCtx.aTerm, iStart, iEnd-iStart
155169 int iStart = 0;
155173 while( iStart==iEnd ){
155176 iStart = ubrk_current(pCsr->pIter);
155182 while( iStart<iEnd ){
155183 int iWhite = iStart;
155186 iStart = iWhite;
155191 assert(iStart<=iEnd);
155207 &pCsr->aChar[iStart], iEnd-iStart, /* Input vars */
155214 *piStartOffset = pCsr->aOffset[iStart];