Searched defs:pVtab (Results 1 - 25 of 28) 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 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::__anon14700
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 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 Dtest8.c331 echo_vtab *pVtab,
336 if( pVtab->zTableName ){
342 sqlite3_bind_text(pStmt, 1, pVtab->zTableName, -1, 0);
358 rc = getColumnNames(db, pVtab->zTableName, &pVtab->aCol, &pVtab->nCol);
361 rc = getIndexArray(db, pVtab->zTableName, pVtab->nCol, &pVtab->aIndex);
371 ** table pVtab
330 echoDeclareVtab( echo_vtab *pVtab, sqlite3 *db ) argument
373 echoDestructor(sqlite3_vtab *pVtab) argument
403 echo_vtab *pVtab; local
482 echo_vtab *pVtab = *(echo_vtab **)ppVtab; local
521 echoDisconnect(sqlite3_vtab *pVtab) argument
529 echoDestroy(sqlite3_vtab *pVtab) argument
670 echo_vtab *pVtab = (echo_vtab *)pVtabCursor->pVtab; local
775 echo_vtab *pVtab = (echo_vtab *)tab; local
929 echo_vtab *pVtab = (echo_vtab *)tab; local
1058 echo_vtab *pVtab = (echo_vtab *)tab; local
1068 echo_vtab *pVtab = (echo_vtab *)tab; local
1099 echo_vtab *pVtab = (echo_vtab *)tab; local
1126 echo_vtab *pVtab = (echo_vtab*)tab; local
1145 echo_vtab *pVtab = (echo_vtab*)tab; local
1201 echo_vtab *pVtab = (echo_vtab *)vtab; local
[all...]
H A Drecover.c1565 static int recoverDisconnect(sqlite3_vtab *pVtab){ argument
1567 recoverRelease((Recover*)pVtab);
1571 static int recoverDestroy(sqlite3_vtab *pVtab){ argument
1573 recoverRelease((Recover*)pVtab);
1626 pCursor->base.pVtab = pVTab;
1690 Recover *pRecover = (Recover*)pCursor->base.pVtab;
1719 Recover *pRecover = (Recover*)pCursor->base.pVtab;
1748 Recover *pRecover = (Recover*)pCursor->base.pVtab;
H A Dtest_osinst.c915 static int vlogDisconnect(sqlite3_vtab *pVtab){ argument
916 VfslogVtab *p = (VfslogVtab *)pVtab;
958 VfslogVtab *p = (VfslogVtab *)pCursor->pVtab;
1009 VfslogVtab *p = (VfslogVtab *)pCursor->pVtab;
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 Dvdbeaux.c925 sqlite3_vtab *pVtab = pOp->p4.pVtab->pVtab; local
926 sqlite3_snprintf(nTemp, zTemp, "vtab:%p:%p", pVtab, pVtab->pModule);
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 DsqliteInt.h1233 sqlite3_vtab *pVtab; /* Pointer to vtab instance */ member in struct:VTable
/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_write.c1074 Fts3Table *p = (Fts3Table*)pCsr->base.pVtab;
2555 Fts3Table *p = (Fts3Table *)pCsr->base.pVtab;
2630 sqlite3_vtab *pVtab, /* FTS3 vtab object */
2635 Fts3Table *p = (Fts3Table *)pVtab;
2629 sqlite3Fts3UpdateMethod( sqlite3_vtab *pVtab, int nArg, sqlite3_value **apVal, sqlite_int64 *pRowid ) argument
/external/chromium_org/third_party/sqlite/src/ext/fts1/
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;
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...]
/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);
4806 sqlite3_vtab *pVtab; /* Virtual table of this cursor */ member in struct:sqlite3_vtab_cursor
/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/sqlite/dist/orig/
H A Dsqlite3.h4972 int (*xFindFunction)(sqlite3_vtab *pVtab, int nArg, const char *zName,
4975 int (*xRename)(sqlite3_vtab *pVtab, const char *zNew);
5159 sqlite3_vtab *pVtab; /* Virtual table of this cursor */ member in struct:sqlite3_vtab_cursor
/external/sqlite/dist/
H A Dsqlite3.h4972 int (*xFindFunction)(sqlite3_vtab *pVtab, int nArg, const char *zName,
4975 int (*xRename)(sqlite3_vtab *pVtab, const char *zNew);
5159 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 1938 milliseconds

12