Searched refs:nTerms (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/third_party/sqlite/src/ext/fts1/
H A Dfts1.c992 int nTerms; /* Number of terms in the query */ member in struct:Query
2158 for(i = 0; i < q->nTerms; ++i){
2246 nTerm = pQuery->nTerms;
2291 if( p->q.nTerms==0 ) return;
2440 for(i=0; i<pCursor->q.nTerms; i++){
2623 ++q->nTerms;
2624 q->pTerms = realloc(q->pTerms, q->nTerms * sizeof(q->pTerms[0]));
2626 q->nTerms = 0;
2629 t = &q->pTerms[q->nTerms - 1];
2679 int firstIndex = pQuery->nTerms;
[all...]
H A Dfulltext.c1116 int nTerms; member in struct:Query
1122 ++q->nTerms;
1123 q->pTerm = realloc(q->pTerm, q->nTerms * sizeof(q->pTerm[0]));
1124 t = &q->pTerm[q->nTerms - 1];
1131 for(i = 0; i < q->nTerms; ++i){
1169 pQuery->nTerms = 0;
1205 for(i = 0 ; i < q.nTerms ; ++i){
1208 int need_positions = i<q.nTerms-1 && !q.pTerm[i+1].is_phrase;
/external/chromium_org/third_party/sqlite/src/ext/fts2/
H A Dfts2.c1912 int nTerms; /* Number of terms in the query */ member in struct:Query
3201 for(i = 0; i < q->nTerms; ++i){
3289 nTerm = pQuery->nTerms;
3336 if( p->q.nTerms==0 ) return;
3466 for(i=0; i<pCursor->q.nTerms; i++){
3670 ++q->nTerms;
3671 q->pTerms = sqlite3_realloc(q->pTerms, q->nTerms * sizeof(q->pTerms[0]));
3673 q->nTerms = 0;
3676 t = &q->pTerms[q->nTerms - 1];
3727 int firstIndex = pQuery->nTerms;
6762 int iTerm, nTerms, nResultBytes, iByte; local
6868 const int nTerms = fts2HashCount(&terms); local
[all...]

Completed in 344 milliseconds