Lines Matching defs:nOut

1785   int (*xFullPathname)(sqlite3_vfs*, const char *zName, int nOut, char *zOut);
30178 int nOut; /* Size of the rendering buffer */
30403 nOut = etBUFSIZE;
30411 nOut = (int)n;
30413 bufpt = &zOut[nOut-1];
30431 length = (int)(&zOut[nOut-1]-bufpt);
30457 length = (int)(&zOut[nOut-1]-bufpt);
36188 ** written into pOut, which must be at least nOut bytes in length.
36192 static int kvvfsDecode(const char *a, char *aOut, int nOut){
36210 if( j+n>nOut ) return -1;
36692 int nOut,
36701 if( nOut<nPath+1 ) nPath = nOut - 1;
43363 int nOut /* Allocated size of buffer zOut */
43369 if( osGetcwd(zOut, nOut-2)==0 ){
43375 if( (iOff+nPath+1)>nOut ){
43381 sqlite3_snprintf(nOut-iOff, &zOut[iOff], "%s", zPath);
43432 int nOut, /* Size of output buffer in bytes */
43436 return mkFullPathname(zPath, zOut, nOut);
43471 zDel = sqlite3_malloc(nOut);
43478 nByte = osReadlink(zIn, zDel, nOut-1);
43485 if( nByte+n+1>nOut ){
43502 rc = mkFullPathname(zIn, zOut, nOut);
51931 int nOut,
51935 sqlite3_snprintf(nOut, zOut, "%s", zPath);
66605 ** (which is nOut bytes in size). Return SQLITE_OK if successful, or an
66611 int nOut, /* Size of buffer pOut in bytes */
66622 return sqlite3OsRead(pWal->pWalFd, pOut, (nOut>sz ? sz : nOut), iOffset);
77972 u32 nOut; /* Size of output buffer aOut[] */
77974 nOut = btreePayloadToLocal(pDest->pPage, pSrc->info.nPayload);
77975 pBt->nPreformatSize = nOut + (aOut - pBt->pTmpSpace);
77976 if( nOut<pSrc->info.nPayload ){
77977 pPgnoOut = &aOut[nOut];
77989 nRem -= nOut;
77991 assert( nOut>0 );
77993 int nCopy = MIN(nOut, nIn);
77995 nOut -= nCopy;
78000 if( nOut>0 ){
78011 }while( rc==SQLITE_OK && nOut>0 );
78027 nOut = MIN(pBt->usableSize - 4, nRem);
90211 int nOut; /* Number of bytes of the string text to include in output */
90225 nOut = pVar->n;
90227 if( nOut>SQLITE_TRACE_SIZE_LIMIT ){
90228 nOut = SQLITE_TRACE_SIZE_LIMIT;
90229 while( nOut<pVar->n && (pVar->z[nOut]&0xc0)==0x80 ){ nOut++; }
90232 sqlite3_str_appendf(&out, "'%.*q'", nOut, pVar->z);
90234 if( nOut<pVar->n ){
90235 sqlite3_str_appendf(&out, "/*+%d bytes*/", pVar->n-nOut);
90244 int nOut; /* Number of bytes of the blob to include in output */
90247 nOut = pVar->n;
90249 if( nOut>SQLITE_TRACE_SIZE_LIMIT ) nOut = SQLITE_TRACE_SIZE_LIMIT;
90251 for(i=0; i<nOut; i++){
90256 if( nOut<pVar->n ){
90257 sqlite3_str_appendf(&out, "/*+%d bytes*/", pVar->n-nOut);
113551 int nOut = nSql;
113588 nOut - (iOff + pBest->t.n)
113590 nOut += nReplace - pBest->t.n;
113591 zOut[nOut] = '\0';
116066 ** list of space separated integers. Read the first nOut of these into
116071 int nOut, /* Number of slots in aOut[] */
116086 for(i=0; *z && i<nOut; i++){
125980 i64 nOut; /* Maximum size of zOut */
126009 nOut = nStr + 1;
126010 assert( nOut<SQLITE_MAX_LENGTH );
126011 zOut = contextMalloc(context, (i64)nOut);
126022 nOut += nRep - nPattern;
126023 testcase( nOut-1==db->aLimit[SQLITE_LIMIT_LENGTH] );
126024 testcase( nOut-2==db->aLimit[SQLITE_LIMIT_LENGTH] );
126025 if( nOut-1>db->aLimit[SQLITE_LIMIT_LENGTH] ){
126036 zOut = sqlite3Realloc(zOut, (int)nOut + (nOut - nStr - 1));
126049 assert( j+nStr-i+1<=nOut );
126052 assert( j<=nOut );
151444 LogEst nOut; /* Estimated number of output rows */
151481 LogEst nOut; /* Number of outputs for this subquery */
151940 #define WHERE_SELFCULL 0x00800000 /* nOut reduced by extra WHERE terms */
152137 if( pLoop->nOut>=10 ){
152139 sqlite3LogEstToInt(pLoop->nOut));
152227 v, addrExplain, pLvl->addrBody, pLvl->addrVisit, pLoop->nOut, zObj
156757 LogEst nOut /* Number of outputs for the new entry */
156771 p->nOut = nOut;
156782 if( p->nOut>nOut ) p->nOut = nOut;
158211 ** Value pLoop->nOut is currently set to the estimated number of rows
158222 ** N is the total number of samples, the pLoop->nOut value is adjusted
158225 ** nOut = nOut * ( min(U - L, 1) / N )
158243 WhereLoop *pLoop, /* Update the .nOut value of this loop */
158293 pLoop->nOut -= nAdjust;
158296 nLower, nUpper, nAdjust*-1, pLoop->nOut));
158356 WhereLoop *pLoop /* Modify the .nOut and maybe .rRun fields */
158359 int nOut = pLoop->nOut;
158436 nOut--;
158453 nOut--;
158470 if( nNew<nOut ){
158471 nOut = nNew;
158474 (u32)iLower, (u32)iUpper, nOut));
158488 nNew = whereRangeAdjust(pLower, nOut);
158501 nOut -= (pLower!=0) + (pUpper!=0);
158503 if( nNew<nOut ) nOut = nNew;
158505 if( pLoop->nOut>nOut ){
158506 WHERETRACE(0x10,("Range scan lowers nOut from %d to %d\n",
158507 pLoop->nOut, nOut));
158510 pLoop->nOut = (LogEst)nOut;
158729 sqlite3DebugPrintf(" cost %d,%d,%d\n", p->rSetup, p->rRun, p->nOut);
158875 if( pX->rRun>pY->rRun && pX->nOut>pY->nOut ) return 0;
158914 pTemplate->rRun, pTemplate->nOut,
158916 MIN(p->nOut - 1, pTemplate->nOut)));
158918 pTemplate->nOut = MIN(p->nOut - 1, pTemplate->nOut);
158923 pTemplate->rRun, pTemplate->nOut,
158925 MAX(p->nOut + 1, pTemplate->nOut)));
158927 pTemplate->nOut = MAX(p->nOut + 1, pTemplate->nOut);
158989 && p->nOut<=pTemplate->nOut /* (2c) */
159001 && p->nOut>=pTemplate->nOut /* (2b) */
159020 ** prerequisites and rRun and nOut costs of the N best loops. That
159060 pTemplate->nOut);
159143 ** Adjust the WhereLoop.nOut value downward to account for terms of the
159160 ** the WhereLoop.nOut field for every such WHERE clause term.
159179 LogEst iReduce = 0; /* pLoop->nOut should not exceed nRow-iReduce */
159214 pLoop->nOut += pTerm->truthProb;
159218 pLoop->nOut--;
159238 if( pLoop->nOut > nRow-iReduce ){
159239 pLoop->nOut = nRow - iReduce;
159326 ** When this function is called, pBuilder->pNew->nOut contains the
159354 LogEst saved_nOut; /* Original value of pNew->nOut */
159387 saved_nOut = pNew->nOut;
159396 LogEst nOutUnadjusted; /* nOut before IN() and WHERE adjustments */
159559 /* At this point pNew->nOut is set to the number of rows expected to
159563 ** the value of pNew->nOut to account for pTerm (but not nIn/nInMul). */
159564 assert( pNew->nOut==saved_nOut );
159566 /* Adjust nOut using stat4 data. Or, if there is no stat4
159573 assert( pNew->nOut==saved_nOut );
159577 pNew->nOut += pTerm->truthProb;
159578 pNew->nOut -= nIn;
159581 tRowcnt nOut = 0;
159593 rc = whereEqualScanEst(pParse, pBuilder, pExpr->pRight, &nOut);
159595 rc = whereInScanEst(pParse, pBuilder, pExpr->x.pList, &nOut);
159599 if( nOut ){
159600 pNew->nOut = sqlite3LogEst(nOut);
159605 && pNew->nOut+10 > pProbe->aiRowLogEst[0]
159622 if( pNew->nOut>saved_nOut ) pNew->nOut = saved_nOut;
159623 pNew->nOut -= nIn;
159626 if( nOut==0 )
159629 pNew->nOut += (pProbe->aiRowLogEst[nEq] - pProbe->aiRowLogEst[nEq-1]);
159634 pNew->nOut += 10;
159645 rCostIdx = pNew->nOut + 1 + (15*pProbe->szIdxRow)/pSrc->pTab->szTabRow;
159648 pNew->rRun = sqlite3LogEstAdd(pNew->rRun, pNew->nOut + 16);
159652 nOutUnadjusted = pNew->nOut;
159654 pNew->nOut += nInMul + nIn;
159659 pNew->nOut = saved_nOut;
159661 pNew->nOut = nOutUnadjusted;
159671 pNew->nOut = saved_nOut;
159682 pNew->nOut = saved_nOut;
159711 pNew->nOut -= nIter;
159716 pNew->nOut = saved_nOut;
160029 pNew->nOut = 43; assert( 43==sqlite3LogEst(20) );
160030 pNew->rRun = sqlite3LogEstAdd(rLogSize,pNew->nOut);
160061 pNew->nOut = rSize;
160096 pNew->nOut = rSize;
160167 pNew->nOut = rSize;
160378 pNew->nOut = sqlite3LogEst(pIdxInfo->estimatedRows);
160767 sqlite3LogEstAdd(sPrev.a[i].nOut, sCur.a[j].nOut));
160792 pNew->nOut = sSum.a[i].nOut;
161420 LogEst nOut; /* Rows visited by (pFrom+pWLoop) */
161442 nOut = pFrom->nRow + pWLoop->nOut;
161478 nOut += -30;
161511 wherePathName(pFrom, iLoop, pWLoop), rCost, nOut, rUnsorted,
161530 wherePathName(pFrom, iLoop, pWLoop), rCost, nOut, rUnsorted,
161541 ** (pTo->rCost,pTo->nRow,pTo->rUnsorted) <= (rCost,nOut,rUnsorted)
161545 && (pTo->nRow<nOut
161546 || (pTo->nRow==nOut && pTo->rUnsorted<=rUnsorted)
161554 wherePathName(pFrom, iLoop, pWLoop), rCost, nOut, rUnsorted,
161572 wherePathName(pFrom, iLoop, pWLoop), rCost, nOut, rUnsorted,
161583 pTo->nRow = nOut;
161796 pLoop->nOut = (LogEst)1;
161984 nSearch = pWInfo->a[0].pWLoop->nOut;
162008 nSearch += pLoop->nOut;
182409 int nOut = 0;
182416 nOut += sqlite3Fts3PutVarint(&pOut[nOut], iDelta);
182417 pOut[nOut++] = 0x02;
182429 nOut += sqlite3Fts3PutVarint(&pOut[nOut], iDelta);
182432 pOut[nOut++] = 0x01;
182433 nOut += sqlite3Fts3PutVarint(&pOut[nOut], iCol);
182434 pOut[nOut++] = 0x02;
182439 pOut[nOut++] = 0x00;
182442 return nOut;
182457 int nOut = 0;
182467 nOut = pTS->anOutput[i];
182474 pTS->aaOutput[i], pTS->anOutput[i], aOut, nOut, &aNew, &nNew
182485 nOut = nNew;
182491 pTS->anOutput[0] = nOut;
207714 int nOut; /* Size of output buffer in bytes */
207730 nOut = nInput = sqlite3_value_bytes16(apArg[0]);
207731 if( nOut==0 ){
207737 UChar *zNew = sqlite3_realloc(zOutput, nOut);
207746 nOut = 2*u_strToUpper(zOutput,nOut/2,zInput,nInput/2,zLocale,&status);
207748 nOut = 2*u_strToLower(zOutput,nOut/2,zInput,nInput/2,zLocale,&status);
207752 sqlite3_result_text16(p, zOutput, nOut, xFree);
209495 int nOut;
209507 nOut = rbuDeltaOutputSize(aDelta, nDelta);
209508 if( nOut<0 ){
209513 aOut = sqlite3_malloc(nOut+1);
209518 if( nOut2!=nOut ){
209522 sqlite3_result_blob(context, aOut, nOut, sqlite3_free);
213991 int nOut,
213995 return pRealVfs->xFullPathname(pRealVfs, zPath, nOut, zOut);
235073 int nOut = 0;
235088 nOut += aBuf[i].n;
235090 if( nOut==0 ) return;
235091 nOut += p1->n + 9 + 10*nBuf;
235105 if( sqlite3Fts5BufferSize(&p->rc, &out, nOut) ) return;