Lines Matching refs:nTerm
719 static int term_select(fulltext_vtab *v, const char *zTerm, int nTerm,
727 rc = sqlite3_bind_text(s, 1, zTerm, nTerm, SQLITE_TRANSIENT);
750 static int term_chunk_select(fulltext_vtab *v, const char *zTerm, int nTerm,
756 rc = sqlite3_bind_text(s, 1, zTerm, nTerm, SQLITE_STATIC);
783 static int term_insert(fulltext_vtab *v, const char *zTerm, int nTerm,
789 rc = sqlite3_bind_text(s, 1, zTerm, nTerm, SQLITE_STATIC);
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);
1331 static int index_insert_term(fulltext_vtab *v, const char *zTerm, int nTerm,
1337 int rc = term_chunk_select(v, zTerm, nTerm, iDocid, &iFirst);
1341 rc = term_insert(v, zTerm, nTerm, iDocid, &doclist);
1351 rc = term_select(v, zTerm, nTerm, iFirst, &iIndexRow, &doclist);
1359 rc = term_insert(v, zTerm, nTerm, firstDocid(&half), &half);
1403 static int index_delete_term(fulltext_vtab *v, const char *zTerm, int nTerm,
1409 int rc = term_chunk_select(v, zTerm, nTerm, iDocid, &iFirst);
1412 rc = term_select(v, zTerm, nTerm, iFirst, &iIndexRow, &doclist);