Home
last modified time | relevance | path

Searched refs:nMatch (Results 1 – 7 of 7) sorted by relevance

/sqlite-3.40.0/ext/misc/
H A Damatch.c473 short int nMatch; /* Input characters matched */ member
1025 int nMatch, in amatchAddWord() argument
1048 amatchEncodeInt(nMatch, zBuf); in amatchAddWord()
1058 pWord->zWord+2, pWord->nMatch, pCur->zInput, pCur->zInput, in amatchAddWord()
1079 pWord->nMatch = (short)nMatch; in amatchAddWord()
1093 pWord->nMatch, pCur->zInput, pCur->zInput+pWord->nMatch, rCost, in amatchAddWord()
1155 pWord->zWord+2, pWord->nMatch, pCur->zInput, pCur->zInput+pWord->nMatch, in amatchNext()
1166 zNextIn[0] = pCur->zInput[pWord->nMatch]; in amatchNext()
1169 zNextIn[i] = pCur->zInput[pWord->nMatch+i]; in amatchNext()
1215 amatchAddWord(pCur, pWord->rCost+p->rIns, pWord->nMatch, in amatchNext()
[all …]
H A Dspellfix.c374 int nMatch = 0; in editdist1() local
381 while( zA[0] && zA[0]==zB[0] ){ dc = zA[0]; zA++; zB++; nMatch++; } in editdist1()
382 if( pnMatch ) *pnMatch = nMatch; in editdist1()
497 if( pnMatch ) *pnMatch = xB+nMatch; in editdist1()
/sqlite-3.40.0/ext/session/
H A Dsession_speed_test.c127 int nMatch = 0; in parse_command_line() local
133 if( nMatch ){ in parse_command_line()
136 nMatch++; in parse_command_line()
159 if( nMatch==0 && 0==sqlite3_strnicmp("-cmdline:verbose", zArg, nArg) ){ in parse_command_line()
161 nMatch = 1; in parse_command_line()
164 if( nMatch==0 ){ in parse_command_line()
/sqlite-3.40.0/ext/fts1/
H A Dfts1.c2184 if( p->nMatch+1>=p->nAlloc ){ in snippetAppendMatch()
2188 p->nMatch = 0; in snippetAppendMatch()
2193 i = p->nMatch++; in snippetAppendMatch()
2290 if( p->snippet.nMatch ) return; in snippetAllOffsets()
2322 for(i=0; i<p->nMatch; i++){ in snippetOffsetText()
2360 if( i<nMatch ){ in wordBoundary()
2417 int nMatch; in snippetText() local
2433 nMatch = pCursor->snippet.nMatch; in snippetText()
2436 for(i=0; i<nMatch; i++){ in snippetText()
2441 for(j=0; j<nMatch; j++){ in snippetText()
[all …]
/sqlite-3.40.0/ext/fts2/
H A Dfts2.c3050 if( p->nMatch+1>=p->nAlloc ){ in snippetAppendMatch()
3054 p->nMatch = 0; in snippetAppendMatch()
3059 i = p->nMatch++; in snippetAppendMatch()
3158 if( p->snippet.nMatch ) return; in snippetAllOffsets()
3190 for(i=0; i<p->nMatch; i++){ in snippetOffsetText()
3228 if( i<nMatch ){ in wordBoundary()
3266 int nMatch; in snippetText() local
3282 nMatch = pCursor->snippet.nMatch; in snippetText()
3285 for(i=0; i<nMatch; i++){ in snippetText()
3290 for(j=0; j<nMatch; j++){ in snippetText()
[all …]
/sqlite-3.40.0/ext/lsm1/lsm-test/
H A Dlsmtest_main.c1381 int nMatch; in do_replay() local
1382 nMatch = sscanf(zLine, "write db %d %d", &iOff, &nData); in do_replay()
1383 if( nMatch==2 ){ in do_replay()
/sqlite-3.40.0/ext/fts5/
H A Dfts5_index.c2292 u32 nMatch = 0; in fts5LeafSeek() local
2313 if( nKeep<nMatch ){ in fts5LeafSeek()
2317 assert( nKeep>=nMatch ); in fts5LeafSeek()
2318 if( nKeep==nMatch ){ in fts5LeafSeek()
2321 nCmp = (u32)MIN(nNew, nTerm-nMatch); in fts5LeafSeek()
2323 if( a[iOff+i]!=pTerm[nMatch+i] ) break; in fts5LeafSeek()
2325 nMatch += i; in fts5LeafSeek()
2327 if( (u32)nTerm==nMatch ){ in fts5LeafSeek()
2333 }else if( i<nNew && a[iOff+i]>pTerm[nMatch] ){ in fts5LeafSeek()