Home | History | Annotate | Download | only in fts1

Lines Matching refs:iDocid

296 static void docListAddDocid(DocList *d, sqlite_int64 iDocid){
297 appendVarint(d, iDocid);
471 /* Skip past all docids which are less than [iDocid]. Returns 1 if a docid
472 * matching [iDocid] was found. */
473 static int skipToDocid(DocListReader *pReader, sqlite_int64 iDocid){
475 while( !atEnd(pReader) && (d=peekDocid(pReader))<iDocid ){
478 return !atEnd(pReader) && d==iDocid;
535 sqlite_int64 iDocid = readDocid(&r);
538 docListAddDocid(&out, iDocid);
563 sqlite_int64 iDocid = readDocid(&r);
568 docListAddDocid(&out, iDocid);
583 static void docListSpliceElement(DocListReader *r, sqlite_int64 iDocid,
589 found = skipToDocid(r, iDocid);
655 sqlite_int64 iDocid = readDocid(&updateReader);
657 docListSpliceElement(&accReader, iDocid, pSource, updateReader.p-pSource);
674 ** positions lists of the same document: iDocid.
691 sqlite_int64 iDocid, /* The docid from pLeft and pRight */
702 docListAddDocid(pOut, iDocid);
2539 sqlite_int64 iDocid;
2562 iDocid = nextDocid(&c->result);
2563 if( iDocid==0 ){
2567 rc = sqlite3_bind_int64(c->pStmt, 1, iDocid);
2970 static int buildTerms(fulltext_vtab *v, fts1Hash *terms, sqlite_int64 iDocid,
2998 docListAddDocid(p, iDocid);