• Home
  • Raw
  • Download

Lines Matching refs:nIn

9647   int nIn, const void *pIn,       /* Input changeset */
107008 int nIn; /* Number of bytes in input */
107020 nIn = sqlite3_value_bytes(argv[0]);
107052 while( nIn>0 ){
107056 if( len<=nIn && memcmp(zIn, azChar[i], len)==0 ) break;
107060 nIn -= len;
107064 while( nIn>0 ){
107068 if( len<=nIn && memcmp(&zIn[nIn-len],azChar[i],len)==0 ) break;
107071 nIn -= len;
107078 sqlite3_result_text(context, (char*)zIn, nIn, SQLITE_TRANSIENT);
126494 int nIn; /* Number of entries in aInLoop[] */
127469 if( pLevel->u.in.nIn==0 ){
127473 i = pLevel->u.in.nIn;
127474 pLevel->u.in.nIn += nEq;
127477 sizeof(pLevel->u.in.aInLoop[0])*pLevel->u.in.nIn);
127503 pLevel->u.in.nIn = 0;
128175 iIn = pLevel->u.in.nIn;
132918 int nIn = 0;
132971 nIn = 46; assert( 46==sqlite3LogEst(25) );
132979 if( pNew->aLTerm[i] && pNew->aLTerm[i]->pExpr==pExpr ) nIn = 0;
132983 nIn = sqlite3LogEst(pExpr->x.pList->nExpr);
132984 assert( nIn>0 ); /* RHS always has 2 or more terms... The parser
133052 assert( (eOp & WO_IN) || nIn==0 );
133055 pNew->nOut -= nIn;
133078 pNew->nOut -= nIn;
133107 pNew->rRun += nInMul + nIn;
133108 pNew->nOut += nInMul + nIn;
133121 whereLoopAddBtreeIndex(pBuilder, pSrc, pProbe, nInMul+nIn);
135442 if( pLoop->wsFlags & WHERE_IN_ABLE && pLevel->u.in.nIn>0 ){
135446 for(j=pLevel->u.in.nIn, pIn=&pLevel->u.in.aInLoop[j-1]; j>0; j--, pIn--){
153092 int nIn = n;
153101 rc = getNextNode(pParse, zIn, nIn, &p, &nByte);
153191 assert( rc!=SQLITE_OK || (nByte>0 && nByte<=nIn) );
153192 nIn -= nByte;
153216 *pnConsumed = n - nIn;
154464 static void copy_stemmer(const char *zIn, int nIn, char *zOut, int *pnOut){
154467 for(i=0; i<nIn; i++){
154477 if( nIn>mx*2 ){
154478 for(j=mx, i=nIn-mx; i<nIn; i++, j++){
154511 static void porter_stemmer(const char *zIn, int nIn, char *zOut, int *pnOut){
154515 if( nIn<3 || nIn>=(int)sizeof(zReverse)-7 ){
154518 copy_stemmer(zIn, nIn, zOut, pnOut);
154521 for(i=0, j=sizeof(zReverse)-6; i<nIn; i++, j--){
154530 copy_stemmer(zIn, nIn, zOut, pnOut);
163585 int nIn /* Length of z in bytes */
163588 const unsigned char *zTerm = &z[nIn];
182914 static char *sqlite3Fts5Strndup(int *pRc, const char *pIn, int nIn);
184820 int nIn; /* Size of input text in bytes */
184924 rc = pApi->xColumnText(pFts, iCol, &ctx.zIn, &ctx.nIn);
184932 rc = pApi->xTokenize(pFts, ctx.zIn, ctx.nIn, (void*)&ctx,fts5HighlightCb);
184934 fts5HighlightAppend(&rc, &ctx, &ctx.zIn[ctx.iOff], ctx.nIn - ctx.iOff);
185172 rc = pApi->xColumnText(pFts, iBestCol, &ctx.zIn, &ctx.nIn);
185196 rc = pApi->xTokenize(pFts, ctx.zIn, ctx.nIn, (void*)&ctx,fts5HighlightCb);
185199 fts5HighlightAppend(&rc, &ctx, &ctx.zIn[ctx.iOff], ctx.nIn - ctx.iOff);
185673 static char *sqlite3Fts5Strndup(int *pRc, const char *pIn, int nIn){
185676 if( nIn<0 ){
185677 nIn = (int)strlen(pIn);
185679 zRet = (char*)sqlite3_malloc(nIn+1);
185681 memcpy(zRet, pIn, nIn);
185682 zRet[nIn] = '\0';
186228 int nIn = (int)strlen(zIn);
186229 char *zOut = sqlite3_malloc(nIn+1);
186238 memcpy(zOut, zIn, nIn+1);
195377 static int fts5IndexCharlen(const char *pIn, int nIn){
195380 while( i<nIn ){
195382 while( i<nIn && (pIn[i] & 0xc0)==0x80 ) i++;