Lines Matching refs:nIn

11741   int nIn, const void *pIn,       /* Input changeset */
12382 ** Argument pIn must point to a buffer containing a changeset nIn bytes
12394 int nIn, const void *pIn,
117965 int nIn; /* Number of bytes in input */
117977 nIn = sqlite3_value_bytes(argv[0]);
118009 while( nIn>0 ){
118013 if( len<=nIn && memcmp(zIn, azChar[i], len)==0 ) break;
118017 nIn -= len;
118021 while( nIn>0 ){
118025 if( len<=nIn && memcmp(&zIn[nIn-len],azChar[i],len)==0 ) break;
118028 nIn -= len;
118035 sqlite3_result_text(context, (char*)zIn, nIn, SQLITE_TRANSIENT);
140217 int nIn; /* Number of entries in aInLoop[] */
141304 if( pLevel->u.in.nIn==0 ){
141308 i = pLevel->u.in.nIn;
141309 pLevel->u.in.nIn += nEq;
141312 sizeof(pLevel->u.in.aInLoop[0])*pLevel->u.in.nIn);
141344 pLevel->u.in.nIn = 0;
142132 iIn = pLevel->u.in.nIn;
142151 assert( iIn>=0 && iIn<pLevel->u.in.nIn );
147295 int nIn = 0;
147344 nIn = 46; assert( 46==sqlite3LogEst(25) );
147348 ** However, the nIn multiplier should only be applied once, not once
147350 ** first such term in use, and sets nIn back to 0 if it is not. */
147352 if( pNew->aLTerm[i] && pNew->aLTerm[i]->pExpr==pExpr ) nIn = 0;
147356 nIn = sqlite3LogEst(pExpr->x.pList->nExpr);
147380 logK = estLog(nIn);
147382 if( M + logK + safetyMargin < nIn + rLogSize ){
147385 saved_nEq, pProbe->zName, M+logK+10, nIn+rLogSize));
147390 saved_nEq, pProbe->zName, M+logK+10, nIn+rLogSize));
147447 ** values of nIn and nInMul. In other words, assuming that all
147449 ** the value of pNew->nOut to account for pTerm (but not nIn/nInMul). */
147461 assert( (eOp & WO_IN) || nIn==0 );
147464 pNew->nOut -= nIn;
147509 pNew->nOut -= nIn;
147539 pNew->rRun += nInMul + nIn;
147540 pNew->nOut += nInMul + nIn;
147553 whereLoopAddBtreeIndex(pBuilder, pSrc, pProbe, nInMul+nIn);
150153 if( pLoop->wsFlags & WHERE_IN_ABLE && pLevel->u.in.nIn>0 ){
150157 for(j=pLevel->u.in.nIn, pIn=&pLevel->u.in.aInLoop[j-1]; j>0; j--, pIn--){
173293 int nIn = n;
173302 rc = getNextNode(pParse, zIn, nIn, &p, &nByte);
173392 assert( rc!=SQLITE_OK || (nByte>0 && nByte<=nIn) );
173393 nIn -= nByte;
173417 *pnConsumed = n - nIn;
174648 static void copy_stemmer(const char *zIn, int nIn, char *zOut, int *pnOut){
174651 for(i=0; i<nIn; i++){
174661 if( nIn>mx*2 ){
174662 for(j=mx, i=nIn-mx; i<nIn; i++, j++){
174673 ** Stem the input word zIn[0..nIn-1]. Store the output in zOut.
174674 ** zOut is at least big enough to hold nIn bytes. Write the actual
174695 static void porter_stemmer(const char *zIn, int nIn, char *zOut, int *pnOut){
174699 if( nIn<3 || nIn>=(int)sizeof(zReverse)-7 ){
174702 copy_stemmer(zIn, nIn, zOut, pnOut);
174705 for(i=0, j=sizeof(zReverse)-6; i<nIn; i++, j--){
174714 copy_stemmer(zIn, nIn, zOut, pnOut);
183889 ** all characters in string zIn/nIn to be separators (if bAlnum==0) or
183892 ** For each codepoint in the zIn/nIn string, this function checks if the
183900 ** identifies as a diacritic) occurs in the zIn/nIn string it is ignored.
183908 int nIn /* Length of z in bytes */
183911 const unsigned char *zTerm = &z[nIn];
206184 int nIn = sessionSerialLen(pIn);
206190 memcpy(pOut, pIn, nIn);
206191 pOut += nIn;
206193 pIn += nIn;
206946 int nIn, const void *pIn,
206950 int rc = sqlite3changeset_start(&pIter, nIn, (void*)pIn);
207927 static char *sqlite3Fts5Strndup(int *pRc, const char *pIn, int nIn);
210035 int nIn; /* Size of input text in bytes */
210139 rc = pApi->xColumnText(pFts, iCol, &ctx.zIn, &ctx.nIn);
210147 rc = pApi->xTokenize(pFts, ctx.zIn, ctx.nIn, (void*)&ctx,fts5HighlightCb);
210149 fts5HighlightAppend(&rc, &ctx, &ctx.zIn[ctx.iOff], ctx.nIn - ctx.iOff);
210400 rc = pApi->xColumnText(pFts, iBestCol, &ctx.zIn, &ctx.nIn);
210424 rc = pApi->xTokenize(pFts, ctx.zIn, ctx.nIn, (void*)&ctx,fts5HighlightCb);
210427 fts5HighlightAppend(&rc, &ctx, &ctx.zIn[ctx.iOff], ctx.nIn - ctx.iOff);
210902 ** Return a nul-terminated copy of the string indicated by pIn. If nIn
210909 static char *sqlite3Fts5Strndup(int *pRc, const char *pIn, int nIn){
210912 if( nIn<0 ){
210913 nIn = (int)strlen(pIn);
210915 zRet = (char*)sqlite3_malloc(nIn+1);
210917 memcpy(zRet, pIn, nIn);
210918 zRet[nIn] = '\0';
211464 sqlite3_int64 nIn = strlen(zIn);
211465 char *zOut = sqlite3_malloc64(nIn+1);
211474 memcpy(zOut, zIn, (size_t)(nIn+1));
220787 ** pIn is a UTF-8 encoded string, nIn bytes in size. Return the number of
220790 static int fts5IndexCharlen(const char *pIn, int nIn){
220793 while( i<nIn ){
220795 while( i<nIn && (pIn[i] & 0xc0)==0x80 ) i++;