| /sqlite-3.40.0/ext/fts3/ |
| H A D | fts3_icu.c | 97 int nInput, /* Length of zInput in bytes */ in icuOpen() argument 114 nInput = 0; in icuOpen() 116 }else if( nInput<0 ){ in icuOpen() 117 nInput = strlen(zInput); in icuOpen() 119 nChar = nInput+1; in icuOpen() 133 U8_NEXT(zInput, iInput, nInput, c); in icuOpen() 144 if( iInput<nInput ){ in icuOpen() 145 U8_NEXT(zInput, iInput, nInput, c); in icuOpen()
|
| H A D | fts3_porter.c | 48 int nInput; /* size of the input */ member 91 const char *zInput, int nInput, /* String to be tokenized */ in porterOpen() argument 103 c->nInput = 0; in porterOpen() 104 }else if( nInput<0 ){ in porterOpen() 105 c->nInput = (int)strlen(zInput); in porterOpen() 107 c->nInput = nInput; in porterOpen() 605 while( c->iOffset<c->nInput ){ in porterNext() 609 while( c->iOffset<c->nInput && isDelim(z[c->iOffset]) ){ in porterNext() 615 while( c->iOffset<c->nInput && !isDelim(z[c->iOffset]) ){ in porterNext()
|
| H A D | fts3_unicode.c | 93 int nInput; /* Size of aInput[] in bytes */ member 274 int nInput, /* Size of string aInput in bytes */ in unicodeOpen() argument 287 pCsr->nInput = 0; in unicodeOpen() 289 }else if( nInput<0 ){ in unicodeOpen() 290 pCsr->nInput = (int)strlen(aInput); in unicodeOpen() 292 pCsr->nInput = nInput; in unicodeOpen() 330 const unsigned char *zTerm = &pCsr->aInput[pCsr->nInput]; in unicodeNext()
|
| H A D | fts3_expr.c | 277 const char *zInput, int nInput, /* Input string */ in getNextString() argument 311 pTokenizer, pParse->iLangid, zInput, nInput, &pCursor); in getNextString() 335 pToken->isPrefix = (iEnd<nInput && zInput[iEnd]=='*'); in getNextString() 417 int nInput = n; in getNextNode() local 424 while( nInput>0 && fts3isspace(*zInput) ){ in getNextNode() 425 nInput--; in getNextNode() 428 if( nInput==0 ){ in getNextNode() 440 if( nInput>=pKey->n && 0==memcmp(zInput, pKey->z, pKey->n) ){ in getNextNode() 484 for(ii=1; ii<nInput && zInput[ii]!='"'; ii++); in getNextNode() 486 if( ii==nInput ){ in getNextNode() [all …]
|
| H A D | fts3_test.c | 353 int nInput; /* Size of the input in bytes */ member 400 pCsr->nInput = (int)strlen(pInput); in testTokenizerOpen() 402 pCsr->nInput = nBytes; in testTokenizerOpen() 440 pEnd = &pCsr->aInput[pCsr->nInput]; in testTokenizerNext()
|
| H A D | fts3_tokenizer.c | 276 int nInput; in testFunc() local 296 nInput = sqlite3_value_bytes(argv[argc-1]); in testFunc() 321 if( sqlite3Fts3OpenTokenizer(pTokenizer, 0, zInput, nInput, &pCsr) ){ in testFunc()
|
| H A D | fts3_write.c | 4865 int nInput, /* Second varint to store in hint */ in fts3IncrmergeHintPush() argument 4871 pHint->n += sqlite3Fts3PutVarint(&pHint->a[pHint->n], (i64)nInput); in fts3IncrmergeHintPush()
|
| /sqlite-3.40.0/ext/fts2/ |
| H A D | fts2_icu.c | 99 int nInput, /* Length of zInput in bytes */ in icuOpen() argument 115 if( nInput<0 ){ in icuOpen() 116 nInput = strlen(zInput); in icuOpen() 118 nChar = nInput+1; in icuOpen() 132 U8_NEXT(zInput, iInput, nInput, c); in icuOpen() 143 if( iInput<nInput ){ in icuOpen() 144 U8_NEXT(zInput, iInput, nInput, c); in icuOpen()
|
| H A D | fts2_porter.c | 51 int nInput; /* size of the input */ member 94 const char *zInput, int nInput, /* String to be tokenized */ in porterOpen() argument 104 c->nInput = 0; in porterOpen() 105 }else if( nInput<0 ){ in porterOpen() 106 c->nInput = (int)strlen(zInput); in porterOpen() 108 c->nInput = nInput; in porterOpen() 590 while( c->iOffset<c->nInput ){ in porterNext() 594 while( c->iOffset<c->nInput && isDelim(z[c->iOffset]) ){ in porterNext() 600 while( c->iOffset<c->nInput && !isDelim(z[c->iOffset]) ){ in porterNext()
|
| H A D | fts2_tokenizer.c | 150 int nInput; in testFunc() local 166 nInput = sqlite3_value_bytes(argv[argc-1]); in testFunc() 191 if( SQLITE_OK!=p->xOpen(pTokenizer, zInput, nInput, &pCsr) ){ in testFunc()
|
| H A D | fts2.c | 3597 int nInput, /* Size of the input text */ in parseQuery() argument 3603 if( zInput==0 ) nInput = 0; in parseQuery() 3604 if( nInput<0 ) nInput = strlen(zInput); in parseQuery() 3612 for(iInput=0; iInput<nInput; ++iInput){ in parseQuery() 3614 for(i=iInput; i<nInput && zInput[i]!='"'; ++i){} in parseQuery() 3620 if( i<nInput ){ in parseQuery() 3648 int nInput, /* Number of bytes in zInput[] */ in fulltextQuery() argument 3672 rc = parseQuery(v, zInput, nInput, iColumn, pQuery); in fulltextQuery()
|
| /sqlite-3.40.0/ext/fts1/ |
| H A D | fts1_porter.c | 49 int nInput; /* size of the input */ member 92 const char *zInput, int nInput, /* String to be tokenized */ in porterOpen() argument 102 c->nInput = 0; in porterOpen() 103 }else if( nInput<0 ){ in porterOpen() 104 c->nInput = (int)strlen(zInput); in porterOpen() 106 c->nInput = nInput; in porterOpen() 589 while( c->iOffset<c->nInput ){ in porterNext() 593 while( c->iOffset<c->nInput && isDelim(z[c->iOffset]) ){ in porterNext() 599 while( c->iOffset<c->nInput && !isDelim(z[c->iOffset]) ){ in porterNext()
|
| H A D | fts1.c | 2731 int nInput, /* Size of the input text */ in parseQuery() argument 2737 if( zInput==0 ) nInput = 0; in parseQuery() 2738 if( nInput<0 ) nInput = strlen(zInput); in parseQuery() 2746 for(iInput=0; iInput<nInput; ++iInput){ in parseQuery() 2748 for(i=iInput; i<nInput && zInput[i]!='"'; ++i){} in parseQuery() 2754 if( i<nInput ){ in parseQuery() 2779 int nInput, /* Number of bytes in zInput[] */ in fulltextQuery() argument 2789 rc = parseQuery(v, zInput, nInput, iColumn, pQuery); in fulltextQuery()
|
| /sqlite-3.40.0/ext/lsm1/ |
| H A D | lsm_ckpt.c | 339 assert( pMerge->nInput==pLevel->nRight in ckptExportLevel() 340 || pMerge->nInput==pLevel->nRight+1 in ckptExportLevel() 342 ckptSetValue(p, iOut++, pMerge->nInput, pRc); in ckptExportLevel() 344 for(i=0; i<pMerge->nInput; i++){ in ckptExportLevel() 520 int nInput; /* Number of input segments in merge */ in ckptSetupMerge() local 526 nInput = (int)aInt[iIn++]; in ckptSetupMerge() 527 nByte = sizeof(Merge) + sizeof(MergeInput) * nInput; in ckptSetupMerge() 534 pMerge->nInput = nInput; in ckptSetupMerge() 537 for(i=0; i<nInput; i++){ in ckptSetupMerge()
|
| H A D | lsm_sorted.c | 1101 for(i=0; i<pMerge->nInput; i++){ in sortedSplitkeySegment() 1104 if( pMerge->nInput==(pLevel->nRight+1) && i>=(pMerge->nInput-1) ){ in sortedSplitkeySegment() 4089 assert( pMerge->nInput==0 || pMW->pLevel->nRight>0 ); in mergeWorkerShutdown() 4090 assert( pMerge->nInput==0 || pMerge->nInput==(pCsr->nPtr+bBtree) ); in mergeWorkerShutdown() 4092 for(i=0; i<(pMerge->nInput-bBtree); i++){ in mergeWorkerShutdown() 4102 if( bBtree && pMerge->nInput ){ in mergeWorkerShutdown() 4531 pMerge->nInput = nMerge + bUseNext; in sortedMergeSetup() 4573 if( rc==LSM_OK && pMerge->nInput > pLevel->nRight ){ in mergeWorkerInit() 4581 assert( rc!=LSM_OK || pMerge->nInput==(pCsr->nPtr+(pCsr->pBtCsr!=0)) ); in mergeWorkerInit() 5078 if( pLevel->pMerge->nInput > pLevel->nRight ){ in sortedWork()
|
| H A D | lsmInt.h | 463 int nInput; /* Number of input runs being merged */ member
|
| /sqlite-3.40.0/ext/icu/ |
| H A D | icu.c | 364 int nInput; /* Size of utf-16 input string in bytes */ in icuCaseFunc16() local 381 nOut = nInput = sqlite3_value_bytes16(apArg[0]); in icuCaseFunc16() 397 nOut = 2*u_strToUpper(zOutput,nOut/2,zInput,nInput/2,zLocale,&status); in icuCaseFunc16() 399 nOut = 2*u_strToLower(zOutput,nOut/2,zInput,nInput/2,zLocale,&status); in icuCaseFunc16()
|
| /sqlite-3.40.0/ext/fts5/ |
| H A D | fts5_index.c | 4298 int nInput; /* Number of input segments */ in fts5IndexMergeLevel() local 4315 nInput = pLvl->nMerge; in fts5IndexMergeLevel() 4345 nInput = pLvl->nSeg; in fts5IndexMergeLevel() 4350 for(fts5MultiIterNew(p, pStruct, flags, 0, 0, 0, iLvl, nInput, &pIter); in fts5IndexMergeLevel() 4405 for(i=0; i<nInput; i++){ in fts5IndexMergeLevel() 4410 if( pLvl->nSeg!=nInput ){ in fts5IndexMergeLevel() 4411 int nMove = (pLvl->nSeg - nInput) * sizeof(Fts5StructureSegment); in fts5IndexMergeLevel() 4412 memmove(pLvl->aSeg, &pLvl->aSeg[nInput], nMove); in fts5IndexMergeLevel() 4414 pStruct->nSegment -= nInput; in fts5IndexMergeLevel() 4415 pLvl->nSeg -= nInput; in fts5IndexMergeLevel() [all …]
|
| /sqlite-3.40.0/src/ |
| H A D | window.c | 2789 int nInput = p->pSrc->a[0].pTab->nCol; /* Number of cols returned by sub */ in sqlite3WindowCodeStep() local 2866 pParse->nMem += nInput; in sqlite3WindowCodeStep() 2896 for(iInput=0; iInput<nInput; iInput++){ in sqlite3WindowCodeStep() 2899 sqlite3VdbeAddOp3(v, OP_MakeRecord, regNew, nInput, regRecord); in sqlite3WindowCodeStep()
|