Lines Matching defs:Fts3Table
116446 ** Fts3Table.pendingTerms hash table. Normally, the hash table is
116562 typedef struct Fts3Table Fts3Table;
116581 struct Fts3Table {
116799 SQLITE_PRIVATE int sqlite3Fts3PendingTermsFlush(Fts3Table *);
116800 SQLITE_PRIVATE void sqlite3Fts3PendingTermsClear(Fts3Table *);
116801 SQLITE_PRIVATE int sqlite3Fts3Optimize(Fts3Table *);
116805 Fts3Table*,int,const char*,int,int,Fts3SegReader**);
116807 SQLITE_PRIVATE int sqlite3Fts3AllSegdirs(Fts3Table*, int, int, int, sqlite3_stmt **);
116808 SQLITE_PRIVATE int sqlite3Fts3ReadLock(Fts3Table *);
116809 SQLITE_PRIVATE int sqlite3Fts3ReadBlock(Fts3Table*, sqlite3_int64, char **, int*, int*);
116811 SQLITE_PRIVATE int sqlite3Fts3SelectDoctotal(Fts3Table *, sqlite3_stmt **);
116812 SQLITE_PRIVATE int sqlite3Fts3SelectDocsize(Fts3Table *, sqlite3_int64, sqlite3_stmt **);
116818 SQLITE_PRIVATE void sqlite3Fts3SegmentsClose(Fts3Table *);
116824 SQLITE_PRIVATE int sqlite3Fts3SegReaderStart(Fts3Table*, Fts3MultiSegReader*, Fts3SegFilter*);
116825 SQLITE_PRIVATE int sqlite3Fts3SegReaderStep(Fts3Table *, Fts3MultiSegReader *);
116828 SQLITE_PRIVATE int sqlite3Fts3SegReaderCursor(Fts3Table *,
116915 Fts3Table*, Fts3MultiSegReader*, int, const char*, int);
116917 Fts3Table *, Fts3MultiSegReader *, sqlite3_int64 *, char **, int *);
117089 Fts3Table *p = (Fts3Table *)pVtab;
117143 Fts3Table *p = (Fts3Table *)pVtab;
117158 ** memory associated with the Fts3Table structure and return SQLITE_OK.
117174 static void fts3DeclareVtab(int *pRc, Fts3Table *p){
117217 Fts3Table *p){
117284 static void fts3DatabasePageSize(int *pRc, Fts3Table *p){
117418 static char *fts3ReadExprList(Fts3Table *p, const char *zFunc, int *pRc){
117475 static char *fts3WriteExprList(Fts3Table *p, const char *zFunc, int *pRc){
117684 Fts3Table *p = 0; /* Pointer to allocated vtab */
117892 /* Allocate and populate the Fts3Table structure. */
117893 nByte = sizeof(Fts3Table) + /* Fts3Table */
117899 p = (Fts3Table*)sqlite3_malloc(nByte);
118029 Fts3Table *p = (Fts3Table *)pVTab;
118132 assert( ((Fts3Table *)pCsr->base.pVtab)->pSegments==0 );
118138 assert( ((Fts3Table *)pCsr->base.pVtab)->pSegments==0 );
118157 Fts3Table *p = (Fts3Table *)pCsr->base.pVtab;
118186 if( rc==SQLITE_OK && ((Fts3Table *)pCsr->base.pVtab)->zContentTbl==0 ){
118340 Fts3Table *p, /* Virtual table handle */
119096 static int fts3TermSelectFinishMerge(Fts3Table *p, TermSelect *pTS){
119151 Fts3Table *p, /* FTS table handle */
119234 Fts3Table *p, /* FTS3 table handle */
119308 Fts3Table *p, /* FTS3 table handle */
119345 Fts3Table *p, /* FTS virtual table handle */
119383 Fts3Table *p = (Fts3Table *)pCsr->base.pVtab;
119436 Fts3Table *p, /* Virtual table handle */
119532 assert( ((Fts3Table *)pCsr->base.pVtab)->pSegments==0 );
119561 Fts3Table *p = (Fts3Table *)pCursor->pVtab;
119683 Fts3Table *p = (Fts3Table *)pCursor->pVtab;
119717 assert( ((Fts3Table *)pCsr->base.pVtab)->pSegments==0 );
119740 int rc = sqlite3Fts3PendingTermsFlush((Fts3Table *)pVtab);
119741 sqlite3Fts3SegmentsClose((Fts3Table *)pVtab);
119749 TESTONLY( Fts3Table *p = (Fts3Table*)pVtab );
119765 TESTONLY( Fts3Table *p = (Fts3Table*)pVtab );
119780 Fts3Table *p = (Fts3Table*)pVtab;
119913 Fts3Table *p; /* Virtual table handle */
119920 p = (Fts3Table *)pCursor->base.pVtab;
120001 Fts3Table *p = (Fts3Table *)pVtab;
120051 assert( ((Fts3Table *)pVtab)->inTransaction );
120052 assert( ((Fts3Table *)pVtab)->mxSavepoint < iSavepoint );
120053 TESTONLY( ((Fts3Table *)pVtab)->mxSavepoint = iSavepoint );
120063 TESTONLY( Fts3Table *p = (Fts3Table*)pVtab );
120078 Fts3Table *p = (Fts3Table*)pVtab;
120282 Fts3Table *pTab, /* FTS Table pointer */
120345 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
120486 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
120590 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
120783 Fts3Table *p = (Fts3Table*)pCsr->base.pVtab;
120836 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
120960 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
121577 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
121686 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
121735 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
121835 Fts3Table *pFts3Tab;
121899 nByte = sizeof(Fts3auxTable) + sizeof(Fts3Table) + nDb + nFts3 + 2;
121904 p->pFts3Tab = (Fts3Table *)&p[1];
121925 Fts3Table *pFts3 = p->pFts3Tab;
122017 Fts3Table *pFts3 = ((Fts3auxTable *)pCursor->pVtab)->pFts3Tab;
122050 Fts3Table *pFts3 = ((Fts3auxTable *)pCursor->pVtab)->pFts3Tab;
122150 Fts3Table *pFts3 = ((Fts3auxTable *)pCursor->pVtab)->pFts3Tab;
125306 Fts3Table *p, /* Virtual table handle */
125387 Fts3Table *pTab, /* FTS3 table handle */
125417 Fts3Table *pTab, /* Fts3 table handle */
125424 Fts3Table *pTab, /* Fts3 table handle */
125441 Fts3Table *p, /* The FTS3 table */
125476 SQLITE_PRIVATE int sqlite3Fts3ReadLock(Fts3Table *p){
125518 Fts3Table *p,
125551 Fts3Table *p, /* FTS3 table */
125704 Fts3Table *p,
125742 Fts3Table *p, /* Table into which text will be inserted */
125820 Fts3Table *p, /* Full-text table handle */
125847 SQLITE_PRIVATE void sqlite3Fts3PendingTermsClear(Fts3Table *p){
125870 Fts3Table *p,
125902 Fts3Table *p, /* Full-text table */
125975 static int fts3DeleteAll(Fts3Table *p, int bContent){
125999 static int langidFromSelect(Fts3Table *p, sqlite3_stmt *pSelect){
126012 Fts3Table *p, /* The FTS table to delete from */
126048 static int fts3SegmentMerge(Fts3Table *, int, int, int);
126066 Fts3Table *p,
126126 ** Fts3Table.pSegments variable. This handle is reused by subsequent calls
126136 Fts3Table *p, /* FTS3 table handle */
126189 SQLITE_PRIVATE void sqlite3Fts3SegmentsClose(Fts3Table *p){
126249 Fts3Table *p,
126355 static int fts3SegReaderFirstDocid(Fts3Table *pTab, Fts3SegReader *pReader){
126388 Fts3Table *pTab,
126480 Fts3Table *p = (Fts3Table*)pCsr->base.pVtab;
126590 ** a subset of the terms stored in the Fts3Table.pendingTerms array.
126608 Fts3Table *p, /* Virtual table handle */
126828 Fts3Table *p, /* Virtual table handle */
126848 Fts3Table *p, /* Virtual table handle */
126897 Fts3Table *p, /* Virtual table handle */
127034 Fts3Table *p, /* Virtual table handle */
127103 Fts3Table *p, /* Virtual table handle */
127241 Fts3Table *p, /* Virtual table handle */
127294 static int fts3IsEmpty(Fts3Table *p, sqlite3_value *pRowid, int *pisEmpty){
127322 Fts3Table *p,
127364 Fts3Table *p, /* Virtual table handle */
127483 Fts3Table *p, /* Virtual table handle */
127551 Fts3Table *p, /* Virtual table handle */
127583 Fts3Table *p, /* Virtual table handle */
127592 Fts3Table *p, /* Virtual table handle */
127667 Fts3Table *p, /* Virtual table handle */
127873 Fts3Table *p,
127956 SQLITE_PRIVATE int sqlite3Fts3PendingTermsFlush(Fts3Table *p){
128009 Fts3Table *p, /* Table into which to insert */
128053 Fts3Table *p, /* Table being updated */
128119 static int fts3DoOptimize(Fts3Table *p, int bReturnDone){
128159 static int fts3DoRebuild(Fts3Table *p){
128238 static int fts3SpecialInsert(Fts3Table *p, sqlite3_value *pVal){
128306 Fts3Table *p = (Fts3Table *)pCsr->base.pVtab;
128408 Fts3Table *p,
128458 Fts3Table *p = (Fts3Table *)pVtab;
128591 SQLITE_PRIVATE int sqlite3Fts3Optimize(Fts3Table *p){
129144 Fts3Table *pTab, /* FTS3 table snippet comes from */
129218 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
129401 Fts3Table *pTab,
129445 Fts3Table *pTab,
129623 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
129723 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
129795 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
129937 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
130076 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;