Home | History | Annotate | Download | only in dist

Lines Matching full:sqlite3_vtab

7113 typedef struct sqlite3_vtab sqlite3_vtab;
7138 sqlite3_vtab **ppVTab, char**);
7141 sqlite3_vtab **ppVTab, char**);
7142 int (*xBestIndex)(sqlite3_vtab *pVTab, sqlite3_index_info*);
7143 int (*xDisconnect)(sqlite3_vtab *pVTab);
7144 int (*xDestroy)(sqlite3_vtab *pVTab);
7145 int (*xOpen)(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor);
7153 int (*xUpdate)(sqlite3_vtab *, int, sqlite3_value **, sqlite3_int64 *);
7154 int (*xBegin)(sqlite3_vtab *pVTab);
7155 int (*xSync)(sqlite3_vtab *pVTab);
7156 int (*xCommit)(sqlite3_vtab *pVTab);
7157 int (*xRollback)(sqlite3_vtab *pVTab);
7158 int (*xFindFunction)(sqlite3_vtab *pVtab, int nArg, const char *zName,
7161 int (*xRename)(sqlite3_vtab *pVtab, const char *zNew);
7164 int (*xSavepoint)(sqlite3_vtab *pVTab, int);
7165 int (*xRelease)(sqlite3_vtab *pVTab, int);
7166 int (*xRollbackTo)(sqlite3_vtab *pVTab, int);
7367 ** KEYWORDS: sqlite3_vtab
7383 struct sqlite3_vtab {
7408 sqlite3_vtab *pVtab; /* Virtual table of this cursor */
13794 #define P4_VTAB (-12) /* P4 is a pointer to an sqlite3_vtab structure */
15715 ** instance of the sqlite3_vtab* handle used to access the virtual table
15716 ** implementation. sqlite3_vtab* handles can not be shared between
15732 ** sqlite3_vtab* handle in the compiled query.
15736 ** deleted and the sqlite3_vtab* handles are not xDisconnect()ed
15753 sqlite3_vtab *pVtab; /* Pointer to vtab instance */
18082 SQLITE_PRIVATE void sqlite3VtabImportErrmsg(Vdbe*, sqlite3_vtab*);
74350 sqlite3_vtab *pVtab = pOp->p4.pVtab->pVtab;
77600 ** Transfer error message text from an sqlite3_vtab.zErrMsg (text stored
77604 SQLITE_PRIVATE void sqlite3VtabImportErrmsg(Vdbe *p, sqlite3_vtab *pVtab){
83231 ** v-table would have to be ready for the sqlite3_vtab structure itself
84772 sqlite3_vtab *pVtab;
86520 ** P4 may be a pointer to an sqlite3_vtab structure. If so, call the
86584 ** P4 is a pointer to a virtual table object, an sqlite3_vtab structure.
86591 sqlite3_vtab *pVtab;
86651 sqlite3_vtab *pVtab;
86704 sqlite3_vtab *pVtab;
86755 sqlite3_vtab *pVtab;
86792 ** P4 is a pointer to a virtual table object, an sqlite3_vtab structure.
86797 sqlite3_vtab *pVtab;
86824 ** P4 is a pointer to a virtual table object, an sqlite3_vtab structure.
86849 sqlite3_vtab *pVtab;
117478 sqlite3_vtab base; /* Base class. Must be first */
117498 sqlite3_vtab **ppVtab,
117550 *ppVtab = (sqlite3_vtab*)pTab;
117557 static int pragmaVtabDisconnect(sqlite3_vtab *pVtab){
117570 static int pragmaVtabBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo){
117607 static int pragmaVtabOpen(sqlite3_vtab *pVtab, sqlite3_vtab_cursor **ppCursor){
127523 sqlite3_vtab *p = pVTab->pVtab;
127859 int (*xConstruct)(sqlite3*,void*,int,const char*const*,sqlite3_vtab**,char**),
127922 ** the sqlite3_vtab object if successful. */
128026 int nBytes = sizeof(sqlite3_vtab *) * (db->nVTrans + ARRAY_INCR);
128031 memset(&aVTrans[db->nVTrans], 0, sizeof(sqlite3_vtab *)*ARRAY_INCR);
128081 ** create a valid sqlite3_vtab if it returns SQLITE_OK. */
128189 int (*xDestroy)(sqlite3_vtab *);
128200 /* Remove the sqlite3_vtab* from the aVTrans[] array, if applicable */
128227 sqlite3_vtab *p = pVTab->pVtab;
128229 int (*x)(sqlite3_vtab *);
128230 x = *(int (**)(sqlite3_vtab *))((char *)p->pModule + offset);
128255 int (*x)(sqlite3_vtab *);
128256 sqlite3_vtab *pVtab = aVTrans[i]->pVtab;
128289 ** If the xBegin call is successful, place the sqlite3_vtab pointer
128363 int (*xMethod)(sqlite3_vtab *, int);
128405 sqlite3_vtab *pVtab;
133917 sqlite3_vtab *pVtab = sqlite3GetVTable(pParse->db, pTab)->pVtab;
144372 ** Disconnect all sqlite3_vtab objects that belong to database connection
148682 sqlite3_vtab base; /* Base class used by SQLite core */
148930 SQLITE_PRIVATE int sqlite3Fts3UpdateMethod(sqlite3_vtab*,int,sqlite3_value**,sqlite3_int64*);
149287 static int fts3DisconnectMethod(sqlite3_vtab *pVtab){
149353 static int fts3DestroyMethod(sqlite3_vtab *pVtab){
149916 sqlite3_vtab **ppVTab, /* Write the resulting vtab structure here */
150275 fts3DisconnectMethod((sqlite3_vtab *)p);
150295 sqlite3_vtab **ppVtab, /* OUT: New sqlite3_vtab object */
150305 sqlite3_vtab **ppVtab, /* OUT: New sqlite3_vtab object */
150345 static int fts3BestIndexMethod(sqlite3_vtab *pVTab, sqlite3_index_info *pInfo){
150470 static int fts3OpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){
152193 sqlite3_vtab *pVtab, /* Virtual table handle */
152205 static int fts3SyncMethod(sqlite3_vtab *pVtab){
152275 static int fts3BeginMethod(sqlite3_vtab *pVtab){
152292 static int fts3CommitMethod(sqlite3_vtab *pVtab){
152307 static int fts3RollbackMethod(sqlite3_vtab *pVtab){
152511 sqlite3_vtab *pVtab, /* Virtual table handle */
152547 sqlite3_vtab *pVtab, /* Virtual table handle */
152604 static int fts3SavepointMethod(sqlite3_vtab *pVtab, int iSavepoint){
152621 sqlite3_vtab *pVtab, int iSavepoint){
152636 static int fts3RollbackToMethod(sqlite3_vtab *pVtab, int iSavepoint){
154795 sqlite3_vtab base; /* Base class used by SQLite core */
154833 sqlite3_vtab **ppVtab, /* OUT: New sqlite3_vtab object */
154886 *ppVtab = (sqlite3_vtab *)p;
154899 static int fts3auxDisconnectMethod(sqlite3_vtab *pVtab){
154921 sqlite3_vtab *pVTab,
154990 static int fts3auxOpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){
158497 sqlite3_vtab base; /* Base class used by SQLite core */
158606 sqlite3_vtab **ppVtab, /* OUT: New sqlite3_vtab object */
158665 static int fts3tokDisconnectMethod(sqlite3_vtab *pVtab){
158677 sqlite3_vtab *pVTab,
158705 static int fts3tokOpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){
164420 sqlite3_vtab *pVtab, /* FTS3 vtab object */
167174 sqlite3_vtab base; /* Base class. Must be first */
167935 sqlite3 *, void *, int, const char *const*, sqlite3_vtab **, char **, int
167945 sqlite3_vtab **ppVtab,
167958 sqlite3_vtab **ppVtab,
167996 static int rtreeDisconnect(sqlite3_vtab *pVtab){
168004 static int rtreeDestroy(sqlite3_vtab *pVtab){
168032 static int rtreeOpen(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor){
168749 pCsr->base.pVtab = (sqlite3_vtab*)pRtree;
168866 static int rtreeBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo){
170072 sqlite3_vtab *pVtab,
170202 static int rtreeBeginTransaction(sqlite3_vtab *pVtab){
170213 static int rtreeEndTransaction(sqlite3_vtab *pVtab){
170223 static int rtreeRename(sqlite3_vtab *pVtab, const char *zNewName){
170256 static int rtreeSavepoint(sqlite3_vtab *pVtab, int iSavepoint){
170498 sqlite3_vtab **ppVtab, /* OUT: New virtual table */
170523 /* Allocate the sqlite3_vtab structure */
170576 *ppVtab = (sqlite3_vtab *)pRtree;
177728 sqlite3_vtab base;
177744 sqlite3_vtab **ppVtab,
177775 *ppVtab = (sqlite3_vtab*)pTab;
177782 static int statDisconnect(sqlite3_vtab *pVtab){
177794 static int statBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo){
177840 static int statOpen(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor){
178360 sqlite3_vtab base; /* Base class. Must be first */
178378 sqlite3_vtab **ppVtab,
178397 *ppVtab = (sqlite3_vtab*)pTab;
178404 static int dbpageDisconnect(sqlite3_vtab *pVtab){
178417 static int dbpageBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo){
178473 static int dbpageOpen(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor){
178608 sqlite3_vtab *pVtab,
178674 static int dbpageBegin(sqlite3_vtab *pVtab){
185436 sqlite3_vtab **ppVtab,
185439 sqlite3_vtab *pNew;
185470 static int jsonEachDisconnect(sqlite3_vtab *pVtab){
185476 static int jsonEachOpenEach(sqlite3_vtab *p, sqlite3_vtab_cursor **ppCursor){
185488 static int jsonEachOpenTree(sqlite3_vtab *p, sqlite3_vtab_cursor **ppCursor){
185705 sqlite3_vtab *tab,
186745 /* If non-NULL, points to sqlite3_vtab.base.zErrmsg. Often NULL. */
200833 sqlite3_vtab base; /* Base class used by SQLite core */
201044 static int fts5DisconnectMethod(sqlite3_vtab *pVtab){
201052 static int fts5DestroyMethod(sqlite3_vtab *pVtab){
201078 sqlite3_vtab **ppVTab, /* Write the resulting vtab structure here */
201130 *ppVTab = (sqlite3_vtab*)pTab;
201143 sqlite3_vtab **ppVtab, /* OUT: New sqlite3_vtab object */
201153 sqlite3_vtab **ppVtab, /* OUT: New sqlite3_vtab object */
201222 static int fts5BestIndexMethod(sqlite3_vtab *pVTab, sqlite3_index_info *pInfo){
201330 if( pCsr->base.pVtab==(sqlite3_vtab*)pTab ) return SQLITE_OK;
201338 static int fts5OpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){
201491 && pCsr->base.pVtab==(sqlite3_vtab*)pTab
202032 ** be left in sqlite3_vtab.zErrMsg.
202188 sqlite3_vtab *pVtab, /* Virtual table handle */
202308 static int fts5SyncMethod(sqlite3_vtab *pVtab){
202322 static int fts5BeginMethod(sqlite3_vtab *pVtab){
202333 static int fts5CommitMethod(sqlite3_vtab *pVtab){
202343 static int fts5RollbackMethod(sqlite3_vtab *pVtab){
202870 pNew->base.pVtab = (sqlite3_vtab*)pTab;
203083 sqlite3_vtab *pVtab, /* Virtual table handle */
203108 sqlite3_vtab *pVtab, /* Virtual table handle */
203120 static int fts5SavepointMethod(sqlite3_vtab *pVtab, int iSavepoint){
203133 static int fts5ReleaseMethod(sqlite3_vtab *pVtab, int iSavepoint){
203146 static int fts5RollbackToMethod(sqlite3_vtab *pVtab, int iSavepoint){
206591 sqlite3_vtab base;
206676 static int fts5VocabDisconnectMethod(sqlite3_vtab *pVtab){
206685 static int fts5VocabDestroyMethod(sqlite3_vtab *pVtab){
206717 sqlite3_vtab **ppVTab, /* Write the resulting vtab structure here */
206765 *ppVTab = (sqlite3_vtab*)pRet;
206779 sqlite3_vtab **ppVtab, /* OUT: New sqlite3_vtab object */
206789 sqlite3_vtab **ppVtab, /* OUT: New sqlite3_vtab object */
206808 sqlite3_vtab *pUnused,
206870 sqlite3_vtab *pVTab,
207348 /* stmt_vtab is a subclass of sqlite3_vtab which will
207353 sqlite3_vtab base; /* Base class - must be first */
207386 sqlite3_vtab **ppVtab,
207411 *ppVtab = (sqlite3_vtab*)pNew;
207422 static int stmtDisconnect(sqlite3_vtab *pVtab){
207430 static int stmtOpen(sqlite3_vtab *p, sqlite3_vtab_cursor **ppCursor){
207548 sqlite3_vtab *tab,