Searched refs:pVtab (Results 1 - 25 of 30) sorted by relevance

12

/external/chromium_org/third_party/sqlite/src/src/
H A Dtest_intarray.c71 intarray_vtab *pVtab = (intarray_vtab*)p; local
72 sqlite3_free(pVtab);
88 intarray_vtab *pVtab = sqlite3_malloc(sizeof(intarray_vtab)); local
90 if( pVtab ){
91 memset(pVtab, 0, sizeof(intarray_vtab));
92 pVtab->pContent = (sqlite3_intarray*)pAux;
95 *ppVtab = (sqlite3_vtab *)pVtab;
128 intarray_vtab *pVtab = (intarray_vtab*)cur->pVtab; local
129 if( pCur->i>=0 && pCur->i<pVtab
146 intarray_vtab *pVtab = (intarray_vtab *)cur->pVtab; local
[all...]
H A Dtest_schema.c75 static int schemaDestroy(sqlite3_vtab *pVtab){ argument
76 sqlite3_free(pVtab);
91 schema_vtab *pVtab = sqlite3_malloc(sizeof(schema_vtab)); local
92 if( pVtab ){
93 memset(pVtab, 0, sizeof(schema_vtab));
94 pVtab->db = db;
99 *ppVtab = (sqlite3_vtab *)pVtab;
175 schema_vtab *pVtab = (schema_vtab *)(cur->pVtab); local
211 rc = sqlite3_prepare(pVtab
249 schema_vtab *pVtab = (schema_vtab *)(pVtabCursor->pVtab); local
[all...]
H A Dtest_tclvar.c55 tclvar_vtab *pVtab; local
58 pVtab = sqlite3MallocZero( sizeof(*pVtab) );
59 if( pVtab==0 ) return SQLITE_NOMEM;
60 *ppVtab = &pVtab->base;
61 pVtab->interp = (Tcl_Interp *)pAux;
68 static int tclvarDisconnect(sqlite3_vtab *pVtab){ argument
69 sqlite3_free(pVtab);
137 Tcl_Interp *interp = ((tclvar_vtab *)(cur->pVtab))->interp;
157 Tcl_Interp *interp = ((tclvar_vtab *)(pVtabCursor->pVtab))
[all...]
H A Dvtab.c105 VTable *pVtab; local
107 for(pVtab=pTab->pVTable; pVtab && pVtab->db!=db; pVtab=pVtab->pNext);
108 return pVtab;
124 sqlite3_vtab *p = pVTab->pVtab;
461 rc = xConstruct(db, pMod->pAux, nArg, azArg, &pVTable->pVtab, &zErr);
472 }else if( ALWAYS(pVTable->pVtab) ){
767 sqlite3_vtab *pVtab = aVTrans[i]->pVtab; local
862 sqlite3_vtab *pVtab; local
[all...]
H A Dvdbe.c506 static void importVtabErrMsg(Vdbe *p, sqlite3_vtab *pVtab){ argument
509 p->zErrMsg = sqlite3DbStrDup(db, pVtab->zErrMsg);
510 sqlite3_free(pVtab->zErrMsg);
511 pVtab->zErrMsg = 0;
4109 sqlite3_vtab *pVtab; local
4123 pVtab = pC->pVtabCursor->pVtab;
4124 pModule = pVtab->pModule;
4127 importVtabErrMsg(p, pVtab);
5471 pVTab = pOp->p4.pVtab;
5514 sqlite3_vtab *pVtab; local
5568 sqlite3_vtab *pVtab; local
5624 sqlite3_vtab *pVtab; local
5681 sqlite3_vtab *pVtab; local
5726 sqlite3_vtab *pVtab; local
5768 sqlite3_vtab *pVtab; local
[all...]
H A Dtest_fuzzer.c173 fuzzer_vtab *pVtab; /* The virtual table this cursor belongs to */ member in struct:fuzzer_cursor
213 static int fuzzerDisconnect(sqlite3_vtab *pVtab){ argument
214 fuzzer_vtab *p = (fuzzer_vtab*)pVtab;
269 pCur->pVtab = p;
332 pCur->pVtab->nCursor--;
583 pNew->pRule = pCur->pVtab->pRule;
684 pCur->nullRule.pNext = pCur->pVtab->pRule;
H A Dtest_stat.c162 static int statDisconnect(sqlite3_vtab *pVtab){ argument
163 sqlite3_free(pVtab);
205 pCsr->base.pVtab = pVTab;
369 StatTable *pTab = (StatTable *)pCursor->pVtab;
H A Dtest_wholenumber.c58 static int wholenumberDisconnect(sqlite3_vtab *pVtab){ argument
59 sqlite3_free(pVtab);
H A Dvdbe.h60 VTable *pVtab; /* Used when p4type is P4_VTAB */ member in union:VdbeOp::__anon15536
H A Drecover.c1587 static int recoverDisconnect(sqlite3_vtab *pVtab){ argument
1589 recoverRelease((Recover*)pVtab);
1593 static int recoverDestroy(sqlite3_vtab *pVtab){ argument
1595 recoverRelease((Recover*)pVtab);
1648 pCursor->base.pVtab = pVTab;
1712 Recover *pRecover = (Recover*)pCursor->base.pVtab;
1741 Recover *pRecover = (Recover*)pCursor->base.pVtab;
1770 Recover *pRecover = (Recover*)pCursor->base.pVtab;
H A Dsqlite.h.in4604 int (*xFindFunction)(sqlite3_vtab *pVtab, int nArg, const char *zName,
4607 int (*xRename)(sqlite3_vtab *pVtab, const char *zNew);
4786 sqlite3_vtab *pVtab; /* Virtual table of this cursor */
H A Dwhere.c2066 sqlite3_vtab *pVtab = sqlite3GetVTable(pParse->db, pTab)->pVtab; local
2072 rc = pVtab->pModule->xBestIndex(pVtab, p);
2078 }else if( !pVtab->zErrMsg ){
2081 sqlite3ErrorMsg(pParse, "%s", pVtab->zErrMsg);
2084 sqlite3_free(pVtab->zErrMsg);
2085 pVtab->zErrMsg = 0;
H A Dvdbeaux.c925 sqlite3_vtab *pVtab = pOp->p4.pVtab->pVtab; local
926 sqlite3_snprintf(nTemp, zTemp, "vtab:%p:%p", pVtab, pVtab->pModule);
/external/chromium_org/third_party/sqlite/src/ext/fts3/
H A Dfts3_aux.c113 static int fts3auxDisconnectMethod(sqlite3_vtab *pVtab){ argument
114 Fts3auxTable *p = (Fts3auxTable *)pVtab;
207 Fts3Table *pFts3 = ((Fts3auxTable *)pCursor->pVtab)->pFts3Tab;
240 Fts3Table *pFts3 = ((Fts3auxTable *)pCursor->pVtab)->pFts3Tab;
340 Fts3Table *pFts3 = ((Fts3auxTable *)pCursor->pVtab)->pFts3Tab;
H A Dfts3.c440 static int fts3DisconnectMethod(sqlite3_vtab *pVtab){ argument
441 Fts3Table *p = (Fts3Table *)pVtab;
492 static int fts3DestroyMethod(sqlite3_vtab *pVtab){ argument
494 Fts3Table *p = (Fts3Table *)pVtab;
508 return (rc==SQLITE_OK ? fts3DisconnectMethod(pVtab) : rc);
1128 assert( ((Fts3Table *)pCsr->base.pVtab)->pSegments==0 );
2212 Fts3Table *p = (Fts3Table *)pCsr->base.pVtab;
2402 Fts3Table *p = (Fts3Table *)pCsr->base.pVtab;
3052 Fts3Table *p = (Fts3Table *)pCursor->pVtab;
3160 Fts3Table *p = (Fts3Table *)pCursor->pVtab;
3192 fts3UpdateMethod( sqlite3_vtab *pVtab, int nArg, sqlite3_value **apVal, sqlite_int64 *pRowid ) argument
3205 fts3SyncMethod(sqlite3_vtab *pVtab) argument
3214 fts3BeginMethod(sqlite3_vtab *pVtab) argument
3225 fts3CommitMethod(sqlite3_vtab *pVtab) argument
3235 fts3RollbackMethod(sqlite3_vtab *pVtab) argument
3479 fts3FindFunctionMethod( sqlite3_vtab *pVtab, int nArg, const char *zName, void (**pxFunc)(sqlite3_context*,int,sqlite3_value**), void **ppArg ) argument
3515 fts3RenameMethod( sqlite3_vtab *pVtab, const char *zName ) argument
[all...]
H A Dfts3_snippet.c659 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
1139 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
1239 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
1311 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
1452 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
1589 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab;
/external/chromium_org/third_party/sqlite/src/ext/fts1/
H A Dfts1.c1117 return (fulltext_vtab *) c->base.pVtab;
2221 fulltext_vtab *pVtab; /* The full text index */ local
2238 pVtab = pQuery->pFts;
2239 nColumn = pVtab->nColumn;
2240 pTokenizer = pVtab->pTokenizer;
2647 fulltext_vtab *pVtab, /* The virtual table */
2652 for(i=0; i<pVtab->nColumn; i++){
2653 if( memcmp(pVtab->azColumn[i], zToken, nToken)==0
2654 && pVtab->azColumn[i][nToken]==0 ){
3151 static int fulltextUpdate(sqlite3_vtab *pVtab, in argument
2646 checkColumnSpecifier( fulltext_vtab *pVtab, const char *zToken, int nToken ) argument
3269 fulltextFindFunction( sqlite3_vtab *pVtab, int nArg, const char *zName, void (**pxFunc)(sqlite3_context*,int,sqlite3_value**), void **ppArg ) argument
3289 fulltextRename( sqlite3_vtab *pVtab, const char *zName ) argument
[all...]
H A Dfulltext.c587 return (fulltext_vtab *) c->base.pVtab;
1452 static int fulltextUpdate(sqlite3_vtab *pVtab, int nArg, sqlite3_value **ppArg, argument
1454 fulltext_vtab *v = (fulltext_vtab *) pVtab;
/external/chromium_org/third_party/sqlite/src/ext/rtree/
H A Drtree.c767 static int rtreeDisconnect(sqlite3_vtab *pVtab){ argument
768 rtreeRelease((Rtree *)pVtab);
775 static int rtreeDestroy(sqlite3_vtab *pVtab){ argument
776 Rtree *pRtree = (Rtree *)pVtab;
809 pCsr->base.pVtab = pVTab;
840 Rtree *pRtree = (Rtree *)(cur->pVtab);
1085 Rtree *pRtree = (Rtree *)(pVtabCursor->pVtab);
1130 Rtree *pRtree = (Rtree *)pVtabCursor->pVtab;
1143 Rtree *pRtree = (Rtree *)cur->pVtab;
1238 Rtree *pRtree = (Rtree *)pVtabCursor->pVtab;
2631 rtreeUpdate( sqlite3_vtab *pVtab, int nData, sqlite3_value **azData, sqlite_int64 *pRowid ) argument
2796 rtreeRename(sqlite3_vtab *pVtab, const char *zNewName) argument
[all...]
/external/chromium_org/third_party/sqlite/amalgamation/
H A Dsqlite3.h4609 int (*xFindFunction)(sqlite3_vtab *pVtab, int nArg, const char *zName,
4612 int (*xRename)(sqlite3_vtab *pVtab, const char *zNew);
4791 sqlite3_vtab *pVtab; /* Virtual table of this cursor */ member in struct:sqlite3_vtab_cursor
H A Dsqlite3.c5152 int (*xFindFunction)(sqlite3_vtab *pVtab, int nArg, const char *zName,
5155 int (*xRename)(sqlite3_vtab *pVtab, const char *zNew);
5334 sqlite3_vtab *pVtab; /* Virtual table of this cursor */ member in struct:sqlite3_vtab_cursor
7930 VTable *pVtab; /* Used when p4type is P4_VTAB */ member in union:VdbeOp::__anon15458
9578 sqlite3_vtab *pVtab; /* Pointer to vtab instance */ member in struct:VTable
58050 sqlite3_vtab *pVtab = pOp->p4.pVtab->pVtab; local
62411 importVtabErrMsg(Vdbe *p, sqlite3_vtab *pVtab) argument
62709 sqlite3_vtab *pVtab; member in struct:vdbeExecUnion::OP_Rowid_stack_vars
62837 sqlite3_vtab *pVtab; member in struct:vdbeExecUnion::OP_VOpen_stack_vars
62847 sqlite3_vtab *pVtab; member in struct:vdbeExecUnion::OP_VFilter_stack_vars
62854 sqlite3_vtab *pVtab; member in struct:vdbeExecUnion::OP_VColumn_stack_vars
62860 sqlite3_vtab *pVtab; member in struct:vdbeExecUnion::OP_VNext_stack_vars
62866 sqlite3_vtab *pVtab; member in struct:vdbeExecUnion::OP_VRename_stack_vars
62870 sqlite3_vtab *pVtab; member in struct:vdbeExecUnion::OP_VUpdate_stack_vars
96817 VTable *pVtab; local
97479 sqlite3_vtab *pVtab = aVTrans[i]->pVtab; local
97574 sqlite3_vtab *pVtab; local
99720 sqlite3_vtab *pVtab = sqlite3GetVTable(pParse->db, pTab)->pVtab; local
111827 recoverDisconnect(sqlite3_vtab *pVtab) argument
111833 recoverDestroy(sqlite3_vtab *pVtab) argument
113501 fts3DisconnectMethod(sqlite3_vtab *pVtab) argument
113553 fts3DestroyMethod(sqlite3_vtab *pVtab) argument
116253 fts3UpdateMethod( sqlite3_vtab *pVtab, int nArg, sqlite3_value **apVal, sqlite_int64 *pRowid ) argument
116266 fts3SyncMethod(sqlite3_vtab *pVtab) argument
116275 fts3BeginMethod(sqlite3_vtab *pVtab) argument
116286 fts3CommitMethod(sqlite3_vtab *pVtab) argument
116296 fts3RollbackMethod(sqlite3_vtab *pVtab) argument
116540 fts3FindFunctionMethod( sqlite3_vtab *pVtab, int nArg, const char *zName, void (**pxFunc)(sqlite3_context*,int,sqlite3_value**), void **ppArg ) argument
116576 fts3RenameMethod( sqlite3_vtab *pVtab, const char *zName ) argument
116879 fts3auxDisconnectMethod(sqlite3_vtab *pVtab) argument
122546 sqlite3Fts3UpdateMethod( sqlite3_vtab *pVtab, int nArg, sqlite3_value **apVal, sqlite_int64 *pRowid ) argument
125035 rtreeDisconnect(sqlite3_vtab *pVtab) argument
125043 rtreeDestroy(sqlite3_vtab *pVtab) argument
126899 rtreeUpdate( sqlite3_vtab *pVtab, int nData, sqlite3_value **azData, sqlite_int64 *pRowid ) argument
127064 rtreeRename(sqlite3_vtab *pVtab, const char *zNewName) argument
[all...]
/external/sqlite/dist/orig/
H A Dsqlite3.h5328 int (*xFindFunction)(sqlite3_vtab *pVtab, int nArg, const char *zName,
5331 int (*xRename)(sqlite3_vtab *pVtab, const char *zNew);
5529 sqlite3_vtab *pVtab; /* Virtual table of this cursor */ member in struct:sqlite3_vtab_cursor
H A Dsqlite3.c5443 int (*xFindFunction)(sqlite3_vtab *pVtab, int nArg, const char *zName,
5446 int (*xRename)(sqlite3_vtab *pVtab, const char *zNew);
5644 sqlite3_vtab *pVtab; /* Virtual table of this cursor */ member in struct:sqlite3_vtab_cursor
9149 VTable *pVtab; /* Used when p4type is P4_VTAB */ member in union:VdbeOp::__anon30998
10901 sqlite3_vtab *pVtab; /* Pointer to vtab instance */ member in struct:VTable
63304 sqlite3_vtab *pVtab = pOp->p4.pVtab->pVtab; local
66237 sqlite3VtabImportErrmsg(Vdbe *p, sqlite3_vtab *pVtab) argument
72417 sqlite3_vtab *pVtab; local
74014 sqlite3_vtab *pVtab; local
74069 sqlite3_vtab *pVtab; local
74125 sqlite3_vtab *pVtab; local
74182 sqlite3_vtab *pVtab; local
74227 sqlite3_vtab *pVtab; local
74279 sqlite3_vtab *pVtab; local
109449 VTable *pVtab; local
110154 sqlite3_vtab *pVtab = aVTrans[i]->pVtab; local
110298 sqlite3_vtab *pVtab; local
112745 sqlite3_vtab *pVtab = sqlite3GetVTable(pParse->db, pTab)->pVtab; local
127313 fts3DisconnectMethod(sqlite3_vtab *pVtab) argument
127367 fts3DestroyMethod(sqlite3_vtab *pVtab) argument
130101 fts3UpdateMethod( sqlite3_vtab *pVtab, int nArg, sqlite3_value **apVal, sqlite_int64 *pRowid ) argument
130114 fts3SyncMethod(sqlite3_vtab *pVtab) argument
130187 fts3BeginMethod(sqlite3_vtab *pVtab) argument
130204 fts3CommitMethod(sqlite3_vtab *pVtab) argument
130219 fts3RollbackMethod(sqlite3_vtab *pVtab) argument
130401 fts3FindFunctionMethod( sqlite3_vtab *pVtab, int nArg, const char *zName, void (**pxFunc)(sqlite3_context*,int,sqlite3_value**), void **ppArg ) argument
130437 fts3RenameMethod( sqlite3_vtab *pVtab, const char *zName ) argument
130495 fts3SavepointMethod(sqlite3_vtab *pVtab, int iSavepoint) argument
130512 fts3ReleaseMethod(sqlite3_vtab *pVtab, int iSavepoint) argument
130527 fts3RollbackToMethod(sqlite3_vtab *pVtab, int iSavepoint) argument
132762 fts3auxDisconnectMethod(sqlite3_vtab *pVtab) argument
136465 fts3tokDisconnectMethod(sqlite3_vtab *pVtab) argument
142196 sqlite3Fts3UpdateMethod( sqlite3_vtab *pVtab, int nArg, sqlite3_value **apVal, sqlite_int64 *pRowid ) argument
145458 rtreeDisconnect(sqlite3_vtab *pVtab) argument
145466 rtreeDestroy(sqlite3_vtab *pVtab) argument
147440 rtreeUpdate( sqlite3_vtab *pVtab, int nData, sqlite3_value **azData, sqlite_int64 *pRowid ) argument
147561 rtreeRename(sqlite3_vtab *pVtab, const char *zNewName) argument
[all...]
/external/sqlite/dist/
H A Dsqlite3.h5328 int (*xFindFunction)(sqlite3_vtab *pVtab, int nArg, const char *zName,
5331 int (*xRename)(sqlite3_vtab *pVtab, const char *zNew);
5529 sqlite3_vtab *pVtab; /* Virtual table of this cursor */ member in struct:sqlite3_vtab_cursor
/external/chromium_org/third_party/sqlite/src/ext/fts2/
H A Dfts2.c2076 return (fulltext_vtab *) c->base.pVtab;
3264 fulltext_vtab *pVtab; /* The full text index */ local
3281 pVtab = pQuery->pFts;
3282 nColumn = pVtab->nColumn;
3283 pTokenizer = pVtab->pTokenizer;
3695 fulltext_vtab *pVtab, /* The virtual table */
3700 for(i=0; i<pVtab->nColumn; i++){
3701 if( memcmp(pVtab->azColumn[i], zToken, nToken)==0
3702 && pVtab->azColumn[i][nToken]==0 ){
6251 static int fulltextUpdate(sqlite3_vtab *pVtab, in argument
3694 checkColumnSpecifier( fulltext_vtab *pVtab, const char *zToken, int nToken ) argument
6305 fulltextSync(sqlite3_vtab *pVtab) argument
6310 fulltextBegin(sqlite3_vtab *pVtab) argument
6321 fulltextCommit(sqlite3_vtab *pVtab) argument
6330 fulltextRollback(sqlite3_vtab *pVtab) argument
7105 fulltextFindFunction( sqlite3_vtab *pVtab, int nArg, const char *zName, void (**pxFunc)(sqlite3_context*,int,sqlite3_value**), void **ppArg ) argument
7142 fulltextRename( sqlite3_vtab *pVtab, const char *zName ) argument
[all...]

Completed in 892 milliseconds

12