Lines Matching refs:nIn

12128   int nIn, const void *pIn,       /* Input changeset */
12174 int nIn, const void *pIn, /* Input changeset */
12875 int nIn, const void *pIn,
80159 u32 nIn; /* Size of input buffer aIn[] */
80169 nIn = pSrc->info.nLocal;
80171 if( aIn+nIn>pSrc->pPage->aDataEnd ){
80175 if( nIn==nRem && nIn<pDest->pPage->maxLocal ){
80176 memcpy(aOut, aIn, nIn);
80177 pBt->nPreformatSize = nIn + (aOut - pBt->pTmpSpace);
80195 if( nRem>nIn ){
80196 if( aIn+nIn+4>pSrc->pPage->aDataEnd ){
80199 ovflIn = get4byte(&pSrc->info.pPayload[nIn]);
80206 if( nIn>0 ){
80207 int nCopy = MIN(nOut, nIn);
80210 nIn -= nCopy;
80222 nIn = pSrc->pBt->usableSize - 4;
130128 unsigned int nIn; /* Number of bytes in input */
130140 nIn = (unsigned)sqlite3_value_bytes(argv[0]);
130173 while( nIn>0 ){
130177 if( len<=nIn && memcmp(zIn, azChar[i], len)==0 ) break;
130181 nIn -= len;
130185 while( nIn>0 ){
130189 if( len<=nIn && memcmp(&zIn[nIn-len],azChar[i],len)==0 ) break;
130192 nIn -= len;
130199 sqlite3_result_text(context, (char*)zIn, nIn, SQLITE_TRANSIENT);
156886 int nIn; /* Number of entries in aInLoop[] */
158083 if( pLevel->u.in.nIn==0 ){
158090 i = pLevel->u.in.nIn;
158091 pLevel->u.in.nIn += nEq;
158095 sizeof(pLevel->u.in.aInLoop[0])*pLevel->u.in.nIn);
158134 pLevel->u.in.nIn = 0;
158945 for(iIn=0; ALWAYS(iIn<pLevel->u.in.nIn); iIn++){
159520 || (pLevel->u.in.nIn && regBignull==0 && whereLoopIsOneRow(pLoop))
165173 int nIn = 0;
165222 nIn = 46; assert( 46==sqlite3LogEst(25) );
165230 if( pNew->aLTerm[i] && pNew->aLTerm[i]->pExpr==pExpr ) nIn = 0;
165234 nIn = sqlite3LogEst(pExpr->x.pList->nExpr);
165259 logK = estLog(nIn);
165261 x = M + logK + 10 - (nIn + rLogSize);
165266 saved_nEq, M, logK, nIn, rLogSize, x));
165271 saved_nEq, M, logK, nIn, rLogSize, x, nInMul));
165277 saved_nEq, M, logK, nIn, rLogSize, x, nInMul));
165351 assert( (eOp & WO_IN) || nIn==0 );
165354 pNew->nOut -= nIn;
165399 pNew->nOut -= nIn;
165448 pNew->rRun += nInMul + nIn;
165449 pNew->nOut += nInMul + nIn;
165467 whereLoopAddBtreeIndex(pBuilder, pSrc, pProbe, nInMul+nIn);
169088 if( (pLoop->wsFlags & WHERE_IN_ABLE)!=0 && pLevel->u.in.nIn>0 ){
169092 for(j=pLevel->u.in.nIn, pIn=&pLevel->u.in.aInLoop[j-1]; j>0; j--, pIn--){
193523 int nIn = n;
193532 rc = getNextNode(pParse, zIn, nIn, &p, &nByte);
193622 assert( rc!=SQLITE_OK || (nByte>0 && nByte<=nIn) );
193623 nIn -= nByte;
193647 *pnConsumed = n - nIn;
194878 static void copy_stemmer(const char *zIn, int nIn, char *zOut, int *pnOut){
194881 for(i=0; i<nIn; i++){
194891 if( nIn>mx*2 ){
194892 for(j=mx, i=nIn-mx; i<nIn; i++, j++){
194925 static void porter_stemmer(const char *zIn, int nIn, char *zOut, int *pnOut){
194929 if( nIn<3 || nIn>=(int)sizeof(zReverse)-7 ){
194932 copy_stemmer(zIn, nIn, zOut, pnOut);
194935 for(i=0, j=sizeof(zReverse)-6; i<nIn; i++, j--){
194944 copy_stemmer(zIn, nIn, zOut, pnOut);
204201 int nIn /* Length of z in bytes */
204204 const unsigned char *zTerm = &z[nIn];
230358 int nIn = sessionSerialLen(pIn);
230364 memcpy(pOut, pIn, nIn);
230365 pOut += nIn;
230367 pIn += nIn;
231339 int nIn, const void *pIn,
231343 int rc = sqlite3changeset_start(&pIter, nIn, (void*)pIn);
232398 static char *sqlite3Fts5Strndup(int *pRc, const char *pIn, int nIn);
234582 int nIn; /* Size of input text in bytes */
234717 rc = pApi->xColumnText(pFts, iCol, &ctx.zIn, &ctx.nIn);
234727 rc = pApi->xTokenize(pFts, ctx.zIn, ctx.nIn, (void*)&ctx,fts5HighlightCb);
234732 fts5HighlightAppend(&rc, &ctx, &ctx.zIn[ctx.iOff], ctx.nIn - ctx.iOff);
234984 rc = pApi->xColumnText(pFts, iBestCol, &ctx.zIn, &ctx.nIn);
235008 rc = pApi->xTokenize(pFts, ctx.zIn, ctx.nIn, (void*)&ctx,fts5HighlightCb);
235014 fts5HighlightAppend(&rc, &ctx, &ctx.zIn[ctx.iOff], ctx.nIn - ctx.iOff);
235502 static char *sqlite3Fts5Strndup(int *pRc, const char *pIn, int nIn){
235505 if( nIn<0 ){
235506 nIn = (int)strlen(pIn);
235508 zRet = (char*)sqlite3_malloc(nIn+1);
235510 memcpy(zRet, pIn, nIn);
235511 zRet[nIn] = '\0';
236077 sqlite3_int64 nIn = strlen(zIn);
236078 char *zOut = sqlite3_malloc64(nIn+1);
236087 memcpy(zOut, zIn, (size_t)(nIn+1));
247033 static int fts5IndexCharlen(const char *pIn, int nIn){
247036 while( i<nIn ){
247038 while( i<nIn && (pIn[i] & 0xc0)==0x80 ) i++;