Lines Matching refs:pTerm
1044 static int term_select_doclist(fulltext_vtab *v, const char *pTerm, int nTerm,
1055 rc = sqlite3_bind_text(*ppStmt, 1, pTerm, nTerm, SQLITE_TRANSIENT);
1117 QueryTerm *pTerm;
1123 q->pTerm = realloc(q->pTerm, q->nTerms * sizeof(q->pTerm[0]));
1124 t = &q->pTerm[q->nTerms - 1];
1132 free((void *) q->pTerm[i].zTerm);
1134 free(q->pTerm);
1170 pQuery->pTerm = NULL;
1208 int need_positions = i<q.nTerms-1 && !q.pTerm[i+1].is_phrase;
1210 if( q.pTerm[i].is_phrase ){
1213 rc = query_merge(v, &pSelect, q.pTerm[i].zTerm, d, i - phrase_start, next);