Lines Matching refs:nOut
1791 int (*xFullPathname)(sqlite3_vfs*, const char *zName, int nOut, char *zOut);
31340 int nOut; /* Size of the rendering buffer */ in sqlite3_str_vappendf() local
31562 nOut = etBUFSIZE; in sqlite3_str_vappendf()
31570 nOut = (int)n; in sqlite3_str_vappendf()
31572 bufpt = &zOut[nOut-1]; in sqlite3_str_vappendf()
31590 length = (int)(&zOut[nOut-1]-bufpt); in sqlite3_str_vappendf()
31616 length = (int)(&zOut[nOut-1]-bufpt); in sqlite3_str_vappendf()
37775 static int kvvfsDecode(const char *a, char *aOut, int nOut){
37793 if( j+n>nOut ) return -1;
38280 int nOut,
38289 if( nOut<nPath+1 ) nPath = nOut - 1;
44978 int nOut; /* Bytes of space available to zOut[] */
45005 if( pPath->nUsed + nName + 2 >= pPath->nOut ){
45076 int nOut, /* Size of output buffer in bytes */
45084 path.nOut = nOut;
53525 int nOut,
53529 sqlite3_snprintf(nOut, zOut, "%s", zPath);
68529 int nOut, /* Size of buffer pOut in bytes */
68540 return sqlite3OsRead(pWal->pWalFd, pOut, (nOut>sz ? sz : nOut), iOffset);
80186 u32 nOut; /* Size of output buffer aOut[] */
80188 nOut = btreePayloadToLocal(pDest->pPage, pSrc->info.nPayload);
80189 pBt->nPreformatSize = nOut + (aOut - pBt->pTmpSpace);
80190 if( nOut<pSrc->info.nPayload ){
80191 pPgnoOut = &aOut[nOut];
80203 nRem -= nOut;
80205 assert( nOut>0 );
80207 int nCopy = MIN(nOut, nIn);
80209 nOut -= nCopy;
80214 if( nOut>0 ){
80225 }while( rc==SQLITE_OK && nOut>0 );
80241 nOut = MIN(pBt->usableSize - 4, nRem);
93054 int nOut; /* Number of bytes of the string text to include in output */
93068 nOut = pVar->n;
93070 if( nOut>SQLITE_TRACE_SIZE_LIMIT ){
93071 nOut = SQLITE_TRACE_SIZE_LIMIT;
93072 while( nOut<pVar->n && (pVar->z[nOut]&0xc0)==0x80 ){ nOut++; }
93075 sqlite3_str_appendf(&out, "'%.*q'", nOut, pVar->z);
93077 if( nOut<pVar->n ){
93078 sqlite3_str_appendf(&out, "/*+%d bytes*/", pVar->n-nOut);
93087 int nOut; /* Number of bytes of the blob to include in output */
93090 nOut = pVar->n;
93092 if( nOut>SQLITE_TRACE_SIZE_LIMIT ) nOut = SQLITE_TRACE_SIZE_LIMIT;
93094 for(i=0; i<nOut; i++){
93099 if( nOut<pVar->n ){
93100 sqlite3_str_appendf(&out, "/*+%d bytes*/", pVar->n-nOut);
117373 int nOut = nSql;
117410 nOut - (iOff + pBest->t.n)
117412 nOut += nReplace - pBest->t.n;
117413 zOut[nOut] = '\0';
119977 int nOut, /* Number of slots in aOut[] */
119992 for(i=0; *z && i<nOut; i++){
120040 && aLog[0] <= aLog[nOut-1] /* And only a single value seen */
130040 i64 nOut; /* Maximum size of zOut */
130069 nOut = nStr + 1;
130070 assert( nOut<SQLITE_MAX_LENGTH );
130071 zOut = contextMalloc(context, (i64)nOut);
130082 nOut += nRep - nPattern;
130083 testcase( nOut-1==db->aLimit[SQLITE_LIMIT_LENGTH] );
130084 testcase( nOut-2==db->aLimit[SQLITE_LIMIT_LENGTH] );
130085 if( nOut-1>db->aLimit[SQLITE_LIMIT_LENGTH] ){
130096 zOut = sqlite3Realloc(zOut, (int)nOut + (nOut - nStr - 1));
130109 assert( j+nStr-i+1<=nOut );
130112 assert( j<=nOut );
156928 LogEst nOut; /* Estimated number of output rows */
156965 LogEst nOut; /* Number of outputs for this subquery */
157622 if( pLoop->nOut>=10 ){
157624 sqlite3LogEstToInt(pLoop->nOut));
157719 v, addrExplain, pLvl->addrBody, pLvl->addrVisit, pLoop->nOut, zObj
162324 LogEst nOut /* Number of outputs for the new entry */
162338 p->nOut = nOut;
162349 if( p->nOut>nOut ) p->nOut = nOut;
164019 pLoop->nOut -= nAdjust;
164022 nLower, nUpper, nAdjust*-1, pLoop->nOut));
164085 int nOut = pLoop->nOut;
164162 nOut--;
164179 nOut--;
164197 if( nNew<nOut ){
164198 nOut = nNew;
164201 (u32)iLower, (u32)iUpper, nOut));
164215 nNew = whereRangeAdjust(pLower, nOut);
164228 nOut -= (pLower!=0) + (pUpper!=0);
164230 if( nNew<nOut ) nOut = nNew;
164232 if( pLoop->nOut>nOut ){
164234 pLoop->nOut, nOut));
164237 pLoop->nOut = (LogEst)nOut;
164473 sqlite3DebugPrintf(" cost %d,%d,%d\n", p->rSetup, p->rRun, p->nOut);
164631 if( pX->rRun>pY->rRun && pX->nOut>pY->nOut ) return 0; /* (1d) and (2a) */
164681 pTemplate->rRun, pTemplate->nOut,
164683 MIN(p->nOut - 1, pTemplate->nOut)));
164685 pTemplate->nOut = MIN(p->nOut - 1, pTemplate->nOut);
164690 pTemplate->rRun, pTemplate->nOut,
164692 MAX(p->nOut + 1, pTemplate->nOut)));
164694 pTemplate->nOut = MAX(p->nOut + 1, pTemplate->nOut);
164756 && p->nOut<=pTemplate->nOut /* (2c) */
164768 && p->nOut>=pTemplate->nOut /* (2b) */
164827 pTemplate->nOut);
164982 pLoop->nOut += pTerm->truthProb;
164986 pLoop->nOut--;
165006 if( pLoop->nOut > nRow-iReduce ){
165007 pLoop->nOut = nRow - iReduce;
165163 saved_nOut = pNew->nOut;
165340 assert( pNew->nOut==saved_nOut );
165349 assert( pNew->nOut==saved_nOut );
165353 pNew->nOut += pTerm->truthProb;
165354 pNew->nOut -= nIn;
165357 tRowcnt nOut = 0;
165369 rc = whereEqualScanEst(pParse, pBuilder, pExpr->pRight, &nOut);
165371 rc = whereInScanEst(pParse, pBuilder, pExpr->x.pList, &nOut);
165375 if( nOut ){
165376 pNew->nOut = sqlite3LogEst(nOut);
165381 && pNew->nOut+10 > pProbe->aiRowLogEst[0]
165398 if( pNew->nOut>saved_nOut ) pNew->nOut = saved_nOut;
165399 pNew->nOut -= nIn;
165402 if( nOut==0 )
165405 pNew->nOut += (pProbe->aiRowLogEst[nEq] - pProbe->aiRowLogEst[nEq-1]);
165410 pNew->nOut += 10;
165429 rCostIdx = pNew->nOut + 16;
165431 rCostIdx = pNew->nOut + 1 + (15*pProbe->szIdxRow)/pSrc->pTab->szTabRow;
165443 pNew->rRun = sqlite3LogEstAdd(pNew->rRun, pNew->nOut + 16);
165447 nOutUnadjusted = pNew->nOut;
165449 pNew->nOut += nInMul + nIn;
165454 pNew->nOut = saved_nOut;
165456 pNew->nOut = nOutUnadjusted;
165469 pNew->nOut = saved_nOut;
165480 pNew->nOut = saved_nOut;
165509 pNew->nOut -= nIter;
165514 pNew->nOut = saved_nOut;
165979 pNew->nOut = 43; assert( 43==sqlite3LogEst(20) );
165980 pNew->rRun = sqlite3LogEstAdd(rLogSize,pNew->nOut);
166011 pNew->nOut = rSize;
166043 pNew->nOut = rSize;
166145 pNew->nOut = rSize;
166378 pNew->nOut = sqlite3LogEst(pIdxInfo->estimatedRows);
166760 sqlite3LogEstAdd(sPrev.a[i].nOut, sCur.a[j].nOut));
166785 pNew->nOut = sSum.a[i].nOut;
167433 LogEst nOut; /* Rows visited by (pFrom+pWLoop) */
167455 nOut = pFrom->nRow + pWLoop->nOut;
167517 wherePathName(pFrom, iLoop, pWLoop), rCost, nOut, rUnsorted,
167536 wherePathName(pFrom, iLoop, pWLoop), rCost, nOut, rUnsorted,
167551 && (pTo->nRow<nOut
167552 || (pTo->nRow==nOut && pTo->rUnsorted<=rUnsorted)
167560 wherePathName(pFrom, iLoop, pWLoop), rCost, nOut, rUnsorted,
167578 wherePathName(pFrom, iLoop, pWLoop), rCost, nOut, rUnsorted,
167589 pTo->nRow = nOut;
167881 pLoop->nOut = (LogEst)1;
168111 nSearch += pLoop->nOut;
188919 int nOut = 0;
188926 nOut += sqlite3Fts3PutVarint(&pOut[nOut], iDelta);
188927 pOut[nOut++] = 0x02;
188939 nOut += sqlite3Fts3PutVarint(&pOut[nOut], iDelta);
188942 pOut[nOut++] = 0x01;
188943 nOut += sqlite3Fts3PutVarint(&pOut[nOut], iCol);
188944 pOut[nOut++] = 0x02;
188949 pOut[nOut++] = 0x00;
188952 return nOut;
188967 int nOut = 0;
188977 nOut = pTS->anOutput[i];
188984 pTS->aaOutput[i], pTS->anOutput[i], aOut, nOut, &aNew, &nNew
188995 nOut = nNew;
189001 pTS->anOutput[0] = nOut;
207967 u32 nOut = sz;
207969 zOut = sqlite3DbMallocRaw(db, nOut+1);
208001 assert( iOut<=nOut );
216990 int nOut; /* Size of output buffer in bytes */
217006 nOut = nInput = sqlite3_value_bytes16(apArg[0]);
217007 if( nOut==0 ){
217013 UChar *zNew = sqlite3_realloc(zOutput, nOut);
217022 nOut = 2*u_strToUpper(zOutput,nOut/2,zInput,nInput/2,zLocale,&status);
217024 nOut = 2*u_strToLower(zOutput,nOut/2,zInput,nInput/2,zLocale,&status);
217028 sqlite3_result_text16(p, zOutput, nOut, xFree);
218805 int nOut;
218817 nOut = rbuDeltaOutputSize(aDelta, nDelta);
218818 if( nOut<0 ){
218823 aOut = sqlite3_malloc(nOut+1);
218828 if( nOut2!=nOut ){
218832 sqlite3_result_blob(context, aOut, nOut, sqlite3_free);
223346 int nOut,
223350 return pRealVfs->xFullPathname(pRealVfs, zPath, nOut, zOut);
246591 int nOut = 0;
246606 nOut += aBuf[i].n;
246608 if( nOut==0 ) return;
246609 nOut += p1->n + 9 + 10*nBuf;
246623 if( sqlite3Fts5BufferSize(&p->rc, &out, nOut) ) return;
247969 int nOut, /* Number of output pages */
247976 for(ii=0; ii<nOut; ii++){
248010 Fts5Data *pPg = apOut[(iVal % nOut)];
248011 res = fts5IndexTombstoneAddToPage(pPg, 0, nOut, iVal);
248054 int nOut = 0;
248075 nOut = 1;
248081 nOut = 1;
248083 if( nSlot>nSlotPerPage ) nOut = 0;
248085 if( nOut==0 ){
248087 nOut = (pSeg->nPgTombstone * 2 + 1);
248100 apOut = (Fts5Data**)sqlite3Fts5MallocZero(&p->rc, sizeof(Fts5Data*) * nOut);
248102 for(ii=0; ii<nOut; ii++){
248115 res = fts5IndexTombstoneRehash(p, pSeg, pData1, iPg1, szKey, nOut, apOut);
248119 fts5IndexFreeArray(apOut, nOut);
248121 nOut = 0;
248123 *pnOut = nOut;
248131 fts5IndexFreeArray(apOut, nOut);
248133 nOut = nOut*2 + 1;