Home | History | Annotate | Download | only in orig

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 static int fts3ReleaseMethod(sqlite3_vtab *pVtab, int iSavepoint){
152636 static int fts3RollbackToMethod(sqlite3_vtab *pVtab, int iSavepoint){
154783 sqlite3_vtab base; /* Base class used by SQLite core */
154821 sqlite3_vtab **ppVtab, /* OUT: New sqlite3_vtab object */
154874 *ppVtab = (sqlite3_vtab *)p;
154887 static int fts3auxDisconnectMethod(sqlite3_vtab *pVtab){
154909 sqlite3_vtab *pVTab,
154978 static int fts3auxOpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){
158485 sqlite3_vtab base; /* Base class used by SQLite core */
158594 sqlite3_vtab **ppVtab, /* OUT: New sqlite3_vtab object */
158653 static int fts3tokDisconnectMethod(sqlite3_vtab *pVtab){
158665 sqlite3_vtab *pVTab,
158693 static int fts3tokOpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){
164408 sqlite3_vtab *pVtab, /* FTS3 vtab object */
167162 sqlite3_vtab base; /* Base class. Must be first */
167923 sqlite3 *, void *, int, const char *const*, sqlite3_vtab **, char **, int
167933 sqlite3_vtab **ppVtab,
167946 sqlite3_vtab **ppVtab,
167984 static int rtreeDisconnect(sqlite3_vtab *pVtab){
167992 static int rtreeDestroy(sqlite3_vtab *pVtab){
168020 static int rtreeOpen(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor){
168737 pCsr->base.pVtab = (sqlite3_vtab*)pRtree;
168854 static int rtreeBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo){
170060 sqlite3_vtab *pVtab,
170190 static int rtreeBeginTransaction(sqlite3_vtab *pVtab){
170201 static int rtreeEndTransaction(sqlite3_vtab *pVtab){
170211 static int rtreeRename(sqlite3_vtab *pVtab, const char *zNewName){
170244 static int rtreeSavepoint(sqlite3_vtab *pVtab, int iSavepoint){
170486 sqlite3_vtab **ppVtab, /* OUT: New virtual table */
170511 /* Allocate the sqlite3_vtab structure */
170564 *ppVtab = (sqlite3_vtab *)pRtree;
177716 sqlite3_vtab base;
177732 sqlite3_vtab **ppVtab,
177763 *ppVtab = (sqlite3_vtab*)pTab;
177770 static int statDisconnect(sqlite3_vtab *pVtab){
177782 static int statBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo){
177828 static int statOpen(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor){
178348 sqlite3_vtab base; /* Base class. Must be first */
178366 sqlite3_vtab **ppVtab,
178385 *ppVtab = (sqlite3_vtab*)pTab;
178392 static int dbpageDisconnect(sqlite3_vtab *pVtab){
178405 static int dbpageBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo){
178461 static int dbpageOpen(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor){
178596 sqlite3_vtab *pVtab,
178662 static int dbpageBegin(sqlite3_vtab *pVtab){
185424 sqlite3_vtab **ppVtab,
185427 sqlite3_vtab *pNew;
185458 static int jsonEachDisconnect(sqlite3_vtab *pVtab){
185464 static int jsonEachOpenEach(sqlite3_vtab *p, sqlite3_vtab_cursor **ppCursor){
185476 static int jsonEachOpenTree(sqlite3_vtab *p, sqlite3_vtab_cursor **ppCursor){
185693 sqlite3_vtab *tab,
186733 /* If non-NULL, points to sqlite3_vtab.base.zErrmsg. Often NULL. */
200821 sqlite3_vtab base; /* Base class used by SQLite core */
201032 static int fts5DisconnectMethod(sqlite3_vtab *pVtab){
201040 static int fts5DestroyMethod(sqlite3_vtab *pVtab){
201066 sqlite3_vtab **ppVTab, /* Write the resulting vtab structure here */
201118 *ppVTab = (sqlite3_vtab*)pTab;
201131 sqlite3_vtab **ppVtab, /* OUT: New sqlite3_vtab object */
201141 sqlite3_vtab **ppVtab, /* OUT: New sqlite3_vtab object */
201210 static int fts5BestIndexMethod(sqlite3_vtab *pVTab, sqlite3_index_info *pInfo){
201318 if( pCsr->base.pVtab==(sqlite3_vtab*)pTab ) return SQLITE_OK;
201326 static int fts5OpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){
201479 && pCsr->base.pVtab==(sqlite3_vtab*)pTab
202020 ** be left in sqlite3_vtab.zErrMsg.
202176 sqlite3_vtab *pVtab, /* Virtual table handle */
202296 static int fts5SyncMethod(sqlite3_vtab *pVtab){
202310 static int fts5BeginMethod(sqlite3_vtab *pVtab){
202321 static int fts5CommitMethod(sqlite3_vtab *pVtab){
202331 static int fts5RollbackMethod(sqlite3_vtab *pVtab){
202858 pNew->base.pVtab = (sqlite3_vtab*)pTab;
203071 sqlite3_vtab *pVtab, /* Virtual table handle */
203096 sqlite3_vtab *pVtab, /* Virtual table handle */
203108 static int fts5SavepointMethod(sqlite3_vtab *pVtab, int iSavepoint){
203121 static int fts5ReleaseMethod(sqlite3_vtab *pVtab, int iSavepoint){
203134 static int fts5RollbackToMethod(sqlite3_vtab *pVtab, int iSavepoint){
206579 sqlite3_vtab base;
206664 static int fts5VocabDisconnectMethod(sqlite3_vtab *pVtab){
206673 static int fts5VocabDestroyMethod(sqlite3_vtab *pVtab){
206705 sqlite3_vtab **ppVTab, /* Write the resulting vtab structure here */
206753 *ppVTab = (sqlite3_vtab*)pRet;
206767 sqlite3_vtab **ppVtab, /* OUT: New sqlite3_vtab object */
206777 sqlite3_vtab **ppVtab, /* OUT: New sqlite3_vtab object */
206796 sqlite3_vtab *pUnused,
206858 sqlite3_vtab *pVTab,
207336 /* stmt_vtab is a subclass of sqlite3_vtab which will
207341 sqlite3_vtab base; /* Base class - must be first */
207374 sqlite3_vtab **ppVtab,
207399 *ppVtab = (sqlite3_vtab*)pNew;
207410 static int stmtDisconnect(sqlite3_vtab *pVtab){
207418 static int stmtOpen(sqlite3_vtab *p, sqlite3_vtab_cursor **ppCursor){
207536 sqlite3_vtab *tab,