Lines Matching defs:sqlite3_vtab
7605 typedef struct sqlite3_vtab sqlite3_vtab;
7630 sqlite3_vtab **ppVTab, char**);
7633 sqlite3_vtab **ppVTab, char**);
7634 int (*xBestIndex)(sqlite3_vtab *pVTab, sqlite3_index_info*);
7635 int (*xDisconnect)(sqlite3_vtab *pVTab);
7636 int (*xDestroy)(sqlite3_vtab *pVTab);
7637 int (*xOpen)(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor);
7645 int (*xUpdate)(sqlite3_vtab *, int, sqlite3_value **, sqlite3_int64 *);
7646 int (*xBegin)(sqlite3_vtab *pVTab);
7647 int (*xSync)(sqlite3_vtab *pVTab);
7648 int (*xCommit)(sqlite3_vtab *pVTab);
7649 int (*xRollback)(sqlite3_vtab *pVTab);
7650 int (*xFindFunction)(sqlite3_vtab *pVtab, int nArg, const char *zName,
7653 int (*xRename)(sqlite3_vtab *pVtab, const char *zNew);
7656 int (*xSavepoint)(sqlite3_vtab *pVTab, int);
7657 int (*xRelease)(sqlite3_vtab *pVTab, int);
7658 int (*xRollbackTo)(sqlite3_vtab *pVTab, int);
7664 int (*xIntegrity)(sqlite3_vtab *pVTab, const char *zSchema,
7932 ** KEYWORDS: sqlite3_vtab
7948 struct sqlite3_vtab {
7973 sqlite3_vtab *pVtab; /* Virtual table of this cursor */
16569 #define P4_VTAB (-11) /* P4 is a pointer to an sqlite3_vtab structure */
18334 ** instance of the sqlite3_vtab* handle used to access the virtual table
18335 ** implementation. sqlite3_vtab* handles can not be shared between
18351 ** sqlite3_vtab* handle in the compiled query.
18355 ** deleted and the sqlite3_vtab* handles are not xDisconnect()ed
18372 sqlite3_vtab *pVtab; /* Pointer to vtab instance */
21485 SQLITE_PRIVATE void sqlite3VtabImportErrmsg(Vdbe*, sqlite3_vtab*);
86808 sqlite3_vtab *pVtab = pOp->p4.pVtab->pVtab;
90256 ** Transfer error message text from an sqlite3_vtab.zErrMsg (text stored
90260 SQLITE_PRIVATE void sqlite3VtabImportErrmsg(Vdbe *p, sqlite3_vtab *pVtab){
97209 ** v-table would have to be ready for the sqlite3_vtab structure itself
99176 sqlite3_vtab *pVtab;
101208 ** P4 may be a pointer to an sqlite3_vtab structure. If so, call the
101273 ** P4 is a pointer to a virtual table object, an sqlite3_vtab structure.
101280 sqlite3_vtab *pVtab;
101325 sqlite3_vtab *pVtab;
101414 sqlite3_vtab *pVtab;
101468 sqlite3_vtab *pVtab;
101524 sqlite3_vtab *pVtab;
101561 ** P4 is a pointer to a virtual table object, an sqlite3_vtab structure.
101566 sqlite3_vtab *pVtab;
101597 ** P4 is a pointer to a virtual table object, an sqlite3_vtab structure.
101622 sqlite3_vtab *pVtab;
105594 sqlite3_vtab base; /* Base class - must be first */
105624 sqlite3_vtab **ppVtab,
105664 *ppVtab = (sqlite3_vtab*)pNew;
105676 static int bytecodevtabDisconnect(sqlite3_vtab *pVtab){
105685 static int bytecodevtabOpen(sqlite3_vtab *p, sqlite3_vtab_cursor **ppCursor){
105947 sqlite3_vtab *tab,
140866 sqlite3_vtab *pVTab;
141494 sqlite3_vtab base; /* Base class. Must be first */
141514 sqlite3_vtab **ppVtab,
141565 *ppVtab = (sqlite3_vtab*)pTab;
141572 static int pragmaVtabDisconnect(sqlite3_vtab *pVtab){
141585 static int pragmaVtabBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo){
141623 static int pragmaVtabOpen(sqlite3_vtab *pVtab, sqlite3_vtab_cursor **ppCursor){
155605 sqlite3_vtab *p = pVTab->pVtab;
155952 int (*xConstruct)(sqlite3*,void*,int,const char*const*,sqlite3_vtab**,char**),
156023 ** the sqlite3_vtab object if successful. */
156130 sqlite3_int64 nBytes = sizeof(sqlite3_vtab*)*
156136 memset(&aVTrans[db->nVTrans], 0, sizeof(sqlite3_vtab *)*ARRAY_INCR);
156186 ** create a valid sqlite3_vtab if it returns SQLITE_OK. */
156324 int (*xDestroy)(sqlite3_vtab *);
156337 /* Remove the sqlite3_vtab* from the aVTrans[] array, if applicable */
156365 sqlite3_vtab *p = pVTab->pVtab;
156367 int (*x)(sqlite3_vtab *);
156368 x = *(int (**)(sqlite3_vtab *))((char *)p->pModule + offset);
156393 int (*x)(sqlite3_vtab *);
156394 sqlite3_vtab *pVtab = aVTrans[i]->pVtab;
156427 ** If the xBegin call is successful, place the sqlite3_vtab pointer
156501 int (*xMethod)(sqlite3_vtab *, int);
156548 sqlite3_vtab *pVtab;
160654 sqlite3_vtab *pVtab;
163662 sqlite3_vtab *pVtab = sqlite3GetVTable(pParse->db, pTab)->pVtab;
180968 ** Disconnect all sqlite3_vtab objects that belong to database connection
186015 sqlite3_vtab base; /* Base class used by SQLite core */
186275 SQLITE_PRIVATE int sqlite3Fts3UpdateMethod(sqlite3_vtab*,int,sqlite3_value**,sqlite3_int64*);
186680 static int fts3DisconnectMethod(sqlite3_vtab *pVtab){
186746 static int fts3DestroyMethod(sqlite3_vtab *pVtab){
187329 sqlite3_vtab **ppVTab, /* Write the resulting vtab structure here */
187692 fts3DisconnectMethod((sqlite3_vtab *)p);
187712 sqlite3_vtab **ppVtab, /* OUT: New sqlite3_vtab object */
187722 sqlite3_vtab **ppVtab, /* OUT: New sqlite3_vtab object */
187762 static int fts3BestIndexMethod(sqlite3_vtab *pVTab, sqlite3_index_info *pInfo){
187891 static int fts3OpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){
189657 sqlite3_vtab *pVtab, /* Virtual table handle */
189669 static int fts3SyncMethod(sqlite3_vtab *pVtab){
189739 static int fts3BeginMethod(sqlite3_vtab *pVtab){
189762 static int fts3CommitMethod(sqlite3_vtab *pVtab){
189777 static int fts3RollbackMethod(sqlite3_vtab *pVtab){
189985 sqlite3_vtab *pVtab, /* Virtual table handle */
190021 sqlite3_vtab *pVtab, /* Virtual table handle */
190082 static int fts3SavepointMethod(sqlite3_vtab *pVtab, int iSavepoint){
190115 static int fts3ReleaseMethod(sqlite3_vtab *pVtab, int iSavepoint){
190129 static int fts3RollbackToMethod(sqlite3_vtab *pVtab, int iSavepoint){
190160 sqlite3_vtab *pVtab, /* The virtual table to be checked */
192366 sqlite3_vtab base; /* Base class used by SQLite core */
192404 sqlite3_vtab **ppVtab, /* OUT: New sqlite3_vtab object */
192457 *ppVtab = (sqlite3_vtab *)p;
192470 static int fts3auxDisconnectMethod(sqlite3_vtab *pVtab){
192492 sqlite3_vtab *pVTab,
192561 static int fts3auxOpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){
196063 sqlite3_vtab base; /* Base class used by SQLite core */
196172 sqlite3_vtab **ppVtab, /* OUT: New sqlite3_vtab object */
196232 static int fts3tokDisconnectMethod(sqlite3_vtab *pVtab){
196244 sqlite3_vtab *pVTab,
196272 static int fts3tokOpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){
202145 sqlite3_vtab *pVtab, /* FTS3 vtab object */
209647 sqlite3_vtab base; /* Base class - must be first */
209657 sqlite3_vtab **ppVtab,
209687 *ppVtab = (sqlite3_vtab*)pNew;
209696 static int jsonEachDisconnect(sqlite3_vtab *pVtab){
209703 static int jsonEachOpenEach(sqlite3_vtab *p, sqlite3_vtab_cursor **ppCursor){
209717 static int jsonEachOpenTree(sqlite3_vtab *p, sqlite3_vtab_cursor **ppCursor){
210003 sqlite3_vtab *tab,
210464 sqlite3_vtab base; /* Base class. Must be first */
211293 sqlite3 *, void *, int, const char *const*, sqlite3_vtab **, char **, int
211303 sqlite3_vtab **ppVtab,
211316 sqlite3_vtab **ppVtab,
211357 static int rtreeDisconnect(sqlite3_vtab *pVtab){
211365 static int rtreeDestroy(sqlite3_vtab *pVtab){
211393 static int rtreeOpen(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor){
211434 pCsr->base.pVtab = (sqlite3_vtab*)pRtree;
212329 static int rtreeBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo){
213396 sqlite3_vtab *pVtab,
213542 static int rtreeBeginTransaction(sqlite3_vtab *pVtab){
213553 static int rtreeEndTransaction(sqlite3_vtab *pVtab){
213559 static int rtreeRollback(sqlite3_vtab *pVtab){
213566 static int rtreeRename(sqlite3_vtab *pVtab, const char *zNewName){
213599 static int rtreeSavepoint(sqlite3_vtab *pVtab, int iSavepoint){
213660 static int rtreeIntegrity(sqlite3_vtab*, const char*, const char*, int, char**);
213914 sqlite3_vtab **ppVtab, /* OUT: New virtual table */
213946 /* Allocate the sqlite3_vtab structure */
214024 *ppVtab = (sqlite3_vtab *)pRtree;
214514 sqlite3_vtab *pVtab, /* The virtual table to check */
215842 sqlite3_vtab **ppVtab, /* OUT: New virtual table */
215858 /* Allocate the sqlite3_vtab structure */
215912 *ppVtab = (sqlite3_vtab *)pRtree;
215931 sqlite3_vtab **ppVtab,
215944 sqlite3_vtab **ppVtab,
216096 static int geopolyBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo){
216205 sqlite3_vtab *pVtab,
216341 sqlite3_vtab *pVtab,
223683 sqlite3_vtab base; /* base class. MUST BE FIRST! */
223699 sqlite3_vtab **ppVtab,
223732 *ppVtab = (sqlite3_vtab*)pTab;
223739 static int statDisconnect(sqlite3_vtab *pVtab){
223754 static int statBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo){
223828 static int statOpen(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor){
224499 sqlite3_vtab base; /* Base class. Must be first */
224517 sqlite3_vtab **ppVtab,
224542 *ppVtab = (sqlite3_vtab*)pTab;
224549 static int dbpageDisconnect(sqlite3_vtab *pVtab){
224562 static int dbpageBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo){
224618 static int dbpageOpen(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor){
224761 sqlite3_vtab *pVtab,
224835 static int dbpageBegin(sqlite3_vtab *pVtab){
232266 /* If non-NULL, points to sqlite3_vtab.base.zErrmsg. Often NULL. */
232641 sqlite3_vtab base; /* Base class used by SQLite core */
249298 sqlite3_vtab base;
249317 sqlite3_vtab **ppVtab,
249332 *ppVtab = (sqlite3_vtab*)pNew;
249342 sqlite3_vtab *tab,
249366 static int fts5structDisconnectMethod(sqlite3_vtab *pVtab){
249375 static int fts5structOpenMethod(sqlite3_vtab *p, sqlite3_vtab_cursor **ppCsr){
249924 static int fts5DisconnectMethod(sqlite3_vtab *pVtab){
249932 static int fts5DestroyMethod(sqlite3_vtab *pVtab){
249958 sqlite3_vtab **ppVTab, /* Write the resulting vtab structure here */
250017 *ppVTab = (sqlite3_vtab*)pTab;
250030 sqlite3_vtab **ppVtab, /* OUT: New sqlite3_vtab object */
250040 sqlite3_vtab **ppVtab, /* OUT: New sqlite3_vtab object */
250150 static int fts5BestIndexMethod(sqlite3_vtab *pVTab, sqlite3_index_info *pInfo){
250291 if( pCsr->base.pVtab==(sqlite3_vtab*)pTab ) return SQLITE_OK;
250299 static int fts5OpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){
250453 && pCsr->base.pVtab==(sqlite3_vtab*)pTab
251073 ** be left in sqlite3_vtab.zErrMsg.
251251 sqlite3_vtab *pVtab, /* Virtual table handle */
251411 static int fts5SyncMethod(sqlite3_vtab *pVtab){
251424 static int fts5BeginMethod(sqlite3_vtab *pVtab){
251435 static int fts5CommitMethod(sqlite3_vtab *pVtab){
251445 static int fts5RollbackMethod(sqlite3_vtab *pVtab){
252033 pNew->base.pVtab = (sqlite3_vtab*)pTab;
252248 sqlite3_vtab *pVtab, /* Virtual table handle */
252273 sqlite3_vtab *pVtab, /* Virtual table handle */
252292 static int fts5SavepointMethod(sqlite3_vtab *pVtab, int iSavepoint){
252309 static int fts5ReleaseMethod(sqlite3_vtab *pVtab, int iSavepoint){
252327 static int fts5RollbackToMethod(sqlite3_vtab *pVtab, int iSavepoint){
252564 sqlite3_vtab *pVtab, /* the FTS5 virtual table to check */
256575 sqlite3_vtab base;
256661 static int fts5VocabDisconnectMethod(sqlite3_vtab *pVtab){
256670 static int fts5VocabDestroyMethod(sqlite3_vtab *pVtab){
256702 sqlite3_vtab **ppVTab, /* Write the resulting vtab structure here */
256750 *ppVTab = (sqlite3_vtab*)pRet;
256764 sqlite3_vtab **ppVtab, /* OUT: New sqlite3_vtab object */
256774 sqlite3_vtab **ppVtab, /* OUT: New sqlite3_vtab object */
256793 sqlite3_vtab *pUnused,
256855 sqlite3_vtab *pVTab,
257370 /* stmt_vtab is a subclass of sqlite3_vtab which will
257375 sqlite3_vtab base; /* Base class - must be first */
257407 sqlite3_vtab **ppVtab,
257436 *ppVtab = (sqlite3_vtab*)pNew;
257447 static int stmtDisconnect(sqlite3_vtab *pVtab){
257455 static int stmtOpen(sqlite3_vtab *p, sqlite3_vtab_cursor **ppCursor){
257606 sqlite3_vtab *tab,