/external/chromium_org/third_party/sqlite/src/src/ |
D | test8.c | 331 echo_vtab *pVtab, in echoDeclareVtab() argument 336 if( pVtab->zTableName ){ in echoDeclareVtab() 342 sqlite3_bind_text(pStmt, 1, pVtab->zTableName, -1, 0); in echoDeclareVtab() 358 rc = getColumnNames(db, pVtab->zTableName, &pVtab->aCol, &pVtab->nCol); in echoDeclareVtab() 361 rc = getIndexArray(db, pVtab->zTableName, pVtab->nCol, &pVtab->aIndex); in echoDeclareVtab() 373 static int echoDestructor(sqlite3_vtab *pVtab){ in echoDestructor() argument 374 echo_vtab *p = (echo_vtab*)pVtab; in echoDestructor() 403 echo_vtab *pVtab; in echoConstructor() local 406 pVtab = sqlite3MallocZero( sizeof(*pVtab) ); in echoConstructor() 407 if( !pVtab ){ in echoConstructor() [all …]
|
D | test_schema.c | 75 static int schemaDestroy(sqlite3_vtab *pVtab){ in schemaDestroy() argument 76 sqlite3_free(pVtab); in schemaDestroy() 91 schema_vtab *pVtab = sqlite3_malloc(sizeof(schema_vtab)); in schemaCreate() local 92 if( pVtab ){ in schemaCreate() 93 memset(pVtab, 0, sizeof(schema_vtab)); in schemaCreate() 94 pVtab->db = db; in schemaCreate() 99 *ppVtab = (sqlite3_vtab *)pVtab; in schemaCreate() 175 schema_vtab *pVtab = (schema_vtab *)(cur->pVtab); in schemaNext() local 211 rc = sqlite3_prepare(pVtab->db, zSql, -1, &pCur->pTableList, 0); in schemaNext() 229 rc = sqlite3_prepare(pVtab->db, zSql, -1, &pCur->pColumnList, 0); in schemaNext() [all …]
|
D | test_intarray.c | 71 intarray_vtab *pVtab = (intarray_vtab*)p; in intarrayDestroy() local 72 sqlite3_free(pVtab); in intarrayDestroy() 88 intarray_vtab *pVtab = sqlite3_malloc(sizeof(intarray_vtab)); in intarrayCreate() local 90 if( pVtab ){ in intarrayCreate() 91 memset(pVtab, 0, sizeof(intarray_vtab)); in intarrayCreate() 92 pVtab->pContent = (sqlite3_intarray*)pAux; in intarrayCreate() 95 *ppVtab = (sqlite3_vtab *)pVtab; in intarrayCreate() 128 intarray_vtab *pVtab = (intarray_vtab*)cur->pVtab; in intarrayColumn() local 129 if( pCur->i>=0 && pCur->i<pVtab->pContent->n ){ in intarrayColumn() 130 sqlite3_result_int64(ctx, pVtab->pContent->a[pCur->i]); in intarrayColumn() [all …]
|
D | vtab.c | 105 VTable *pVtab; in sqlite3GetVTable() local 107 for(pVtab=pTab->pVTable; pVtab && pVtab->db!=db; pVtab=pVtab->pNext); in sqlite3GetVTable() 108 return pVtab; in sqlite3GetVTable() 124 sqlite3_vtab *p = pVTab->pVtab; in sqlite3VtabUnlock() 461 rc = xConstruct(db, pMod->pAux, nArg, azArg, &pVTable->pVtab, &zErr); in vtabCallConstructor() 472 }else if( ALWAYS(pVTable->pVtab) ){ in vtabCallConstructor() 475 pVTable->pVtab->pModule = pMod->pModule; in vtabCallConstructor() 710 rc = p->pMod->pModule->xDestroy(p->pVtab); in sqlite3VtabCallDestroy() 715 p->pVtab = 0; in sqlite3VtabCallDestroy() 737 sqlite3_vtab *p = pVTab->pVtab; in callFinaliser() [all …]
|
D | test_tclvar.c | 55 tclvar_vtab *pVtab; in tclvarConnect() local 58 pVtab = sqlite3MallocZero( sizeof(*pVtab) ); in tclvarConnect() 59 if( pVtab==0 ) return SQLITE_NOMEM; in tclvarConnect() 60 *ppVtab = &pVtab->base; in tclvarConnect() 61 pVtab->interp = (Tcl_Interp *)pAux; in tclvarConnect() 68 static int tclvarDisconnect(sqlite3_vtab *pVtab){ in tclvarDisconnect() argument 69 sqlite3_free(pVtab); in tclvarDisconnect() 137 Tcl_Interp *interp = ((tclvar_vtab *)(cur->pVtab))->interp; in tclvarNext() 157 Tcl_Interp *interp = ((tclvar_vtab *)(pVtabCursor->pVtab))->interp; in tclvarFilter() 191 Tcl_Interp *interp = ((tclvar_vtab *)cur->pVtab)->interp; in tclvarColumn()
|
D | vdbe.c | 506 static void importVtabErrMsg(Vdbe *p, sqlite3_vtab *pVtab){ in importVtabErrMsg() argument 509 p->zErrMsg = sqlite3DbStrDup(db, pVtab->zErrMsg); in importVtabErrMsg() 510 sqlite3_free(pVtab->zErrMsg); in importVtabErrMsg() 511 pVtab->zErrMsg = 0; in importVtabErrMsg() 4109 sqlite3_vtab *pVtab; in sqlite3VdbeExec() local 4123 pVtab = pC->pVtabCursor->pVtab; in sqlite3VdbeExec() 4124 pModule = pVtab->pModule; in sqlite3VdbeExec() 4127 importVtabErrMsg(p, pVtab); in sqlite3VdbeExec() 5471 pVTab = pOp->p4.pVtab; in sqlite3VdbeExec() 5473 if( pVTab ) importVtabErrMsg(p, pVTab->pVtab); in sqlite3VdbeExec() [all …]
|
D | test_fuzzer.c | 173 fuzzer_vtab *pVtab; /* The virtual table this cursor belongs to */ member 213 static int fuzzerDisconnect(sqlite3_vtab *pVtab){ in fuzzerDisconnect() argument 214 fuzzer_vtab *p = (fuzzer_vtab*)pVtab; in fuzzerDisconnect() 269 pCur->pVtab = p; in fuzzerOpen() 332 pCur->pVtab->nCursor--; in fuzzerClose() 583 pNew->pRule = pCur->pVtab->pRule; in fuzzerNewStem() 684 pCur->nullRule.pNext = pCur->pVtab->pRule; in fuzzerFilter()
|
D | test_wholenumber.c | 58 static int wholenumberDisconnect(sqlite3_vtab *pVtab){ in wholenumberDisconnect() argument 59 sqlite3_free(pVtab); in wholenumberDisconnect()
|
D | test_stat.c | 162 static int statDisconnect(sqlite3_vtab *pVtab){ in statDisconnect() argument 163 sqlite3_free(pVtab); in statDisconnect() 205 pCsr->base.pVtab = pVTab; in statOpen() 369 StatTable *pTab = (StatTable *)pCursor->pVtab; in statNext()
|
D | recover.c | 1587 static int recoverDisconnect(sqlite3_vtab *pVtab){ in recoverDisconnect() argument 1589 recoverRelease((Recover*)pVtab); in recoverDisconnect() 1593 static int recoverDestroy(sqlite3_vtab *pVtab){ in recoverDestroy() argument 1595 recoverRelease((Recover*)pVtab); in recoverDestroy() 1648 pCursor->base.pVtab = pVTab; in recoverOpen() 1712 Recover *pRecover = (Recover*)pCursor->base.pVtab; in recoverNext() 1741 Recover *pRecover = (Recover*)pCursor->base.pVtab; in recoverFilter() 1770 Recover *pRecover = (Recover*)pCursor->base.pVtab; in recoverColumn()
|
D | vdbe.h | 60 VTable *pVtab; /* Used when p4type is P4_VTAB */ member
|
D | test_osinst.c | 915 static int vlogDisconnect(sqlite3_vtab *pVtab){ in vlogDisconnect() argument 916 VfslogVtab *p = (VfslogVtab *)pVtab; in vlogDisconnect() 958 VfslogVtab *p = (VfslogVtab *)pCursor->pVtab; in vlogNext() 1009 VfslogVtab *p = (VfslogVtab *)pCursor->pVtab; in vlogEof()
|
/external/chromium_org/third_party/sqlite/src/ext/fts3/ |
D | fts3.c | 440 static int fts3DisconnectMethod(sqlite3_vtab *pVtab){ in fts3DisconnectMethod() argument 441 Fts3Table *p = (Fts3Table *)pVtab; in fts3DisconnectMethod() 492 static int fts3DestroyMethod(sqlite3_vtab *pVtab){ in fts3DestroyMethod() argument 494 Fts3Table *p = (Fts3Table *)pVtab; in fts3DestroyMethod() 508 return (rc==SQLITE_OK ? fts3DisconnectMethod(pVtab) : rc); in fts3DestroyMethod() 1128 assert( ((Fts3Table *)pCsr->base.pVtab)->pSegments==0 ); in fts3CloseMethod() 2212 Fts3Table *p = (Fts3Table *)pCsr->base.pVtab; in fts3TermSegReaderCursor() 2402 Fts3Table *p = (Fts3Table *)pCsr->base.pVtab; in fts3PhraseSelect() 3052 Fts3Table *p = (Fts3Table *)pCursor->pVtab; in fts3FilterMethod() 3160 Fts3Table *p = (Fts3Table *)pCursor->pVtab; in fts3ColumnMethod() [all …]
|
D | fts3_aux.c | 113 static int fts3auxDisconnectMethod(sqlite3_vtab *pVtab){ in fts3auxDisconnectMethod() argument 114 Fts3auxTable *p = (Fts3auxTable *)pVtab; in fts3auxDisconnectMethod() 207 Fts3Table *pFts3 = ((Fts3auxTable *)pCursor->pVtab)->pFts3Tab; in fts3auxCloseMethod() 240 Fts3Table *pFts3 = ((Fts3auxTable *)pCursor->pVtab)->pFts3Tab; in fts3auxNextMethod() 340 Fts3Table *pFts3 = ((Fts3auxTable *)pCursor->pVtab)->pFts3Tab; in fts3auxFilterMethod()
|
D | fts3_snippet.c | 659 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; in fts3SnippetText() 1139 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; in fts3MatchinfoValues() 1239 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; in fts3GetMatchinfo() 1311 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; in sqlite3Fts3Snippet() 1452 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; in sqlite3Fts3Offsets() 1589 Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; in sqlite3Fts3Matchinfo()
|
/external/chromium_org/third_party/sqlite/src/ext/fts1/ |
D | fts1.c | 1117 return (fulltext_vtab *) c->base.pVtab; in cursor_vtab() 2221 fulltext_vtab *pVtab; /* The full text index */ in snippetOffsetsOfColumn() local 2238 pVtab = pQuery->pFts; in snippetOffsetsOfColumn() 2239 nColumn = pVtab->nColumn; in snippetOffsetsOfColumn() 2240 pTokenizer = pVtab->pTokenizer; in snippetOffsetsOfColumn() 2647 fulltext_vtab *pVtab, /* The virtual table */ in checkColumnSpecifier() argument 2652 for(i=0; i<pVtab->nColumn; i++){ in checkColumnSpecifier() 2653 if( memcmp(pVtab->azColumn[i], zToken, nToken)==0 in checkColumnSpecifier() 2654 && pVtab->azColumn[i][nToken]==0 ){ in checkColumnSpecifier() 3151 static int fulltextUpdate(sqlite3_vtab *pVtab, int nArg, sqlite3_value **ppArg, in fulltextUpdate() argument [all …]
|
D | fulltext.c | 587 return (fulltext_vtab *) c->base.pVtab; in cursor_vtab() 1452 static int fulltextUpdate(sqlite3_vtab *pVtab, int nArg, sqlite3_value **ppArg, in fulltextUpdate() argument 1454 fulltext_vtab *v = (fulltext_vtab *) pVtab; in fulltextUpdate()
|
/external/chromium_org/third_party/sqlite/src/ext/rtree/ |
D | rtree.c | 767 static int rtreeDisconnect(sqlite3_vtab *pVtab){ in rtreeDisconnect() argument 768 rtreeRelease((Rtree *)pVtab); in rtreeDisconnect() 775 static int rtreeDestroy(sqlite3_vtab *pVtab){ in rtreeDestroy() argument 776 Rtree *pRtree = (Rtree *)pVtab; in rtreeDestroy() 809 pCsr->base.pVtab = pVTab; in rtreeOpen() 840 Rtree *pRtree = (Rtree *)(cur->pVtab); in rtreeClose() 1085 Rtree *pRtree = (Rtree *)(pVtabCursor->pVtab); in rtreeNext() 1130 Rtree *pRtree = (Rtree *)pVtabCursor->pVtab; in rtreeRowid() 1143 Rtree *pRtree = (Rtree *)cur->pVtab; in rtreeColumn() 1238 Rtree *pRtree = (Rtree *)pVtabCursor->pVtab; in rtreeFilter() [all …]
|
/external/chromium_org/third_party/sqlite/src/ext/fts2/ |
D | fts2.c | 2076 return (fulltext_vtab *) c->base.pVtab; in cursor_vtab() 3264 fulltext_vtab *pVtab; /* The full text index */ in snippetOffsetsOfColumn() local 3281 pVtab = pQuery->pFts; in snippetOffsetsOfColumn() 3282 nColumn = pVtab->nColumn; in snippetOffsetsOfColumn() 3283 pTokenizer = pVtab->pTokenizer; in snippetOffsetsOfColumn() 3695 fulltext_vtab *pVtab, /* The virtual table */ in checkColumnSpecifier() argument 3700 for(i=0; i<pVtab->nColumn; i++){ in checkColumnSpecifier() 3701 if( memcmp(pVtab->azColumn[i], zToken, nToken)==0 in checkColumnSpecifier() 3702 && pVtab->azColumn[i][nToken]==0 ){ in checkColumnSpecifier() 6251 static int fulltextUpdate(sqlite3_vtab *pVtab, int nArg, sqlite3_value **ppArg, in fulltextUpdate() argument [all …]
|
/external/chromium_org/third_party/sqlite/amalgamation/ |
D | sqlite3.h | 4609 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
|
D | sqlite3.c | 5152 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 7930 VTable *pVtab; /* Used when p4type is P4_VTAB */ member 9578 sqlite3_vtab *pVtab; /* Pointer to vtab instance */ member 58050 sqlite3_vtab *pVtab = pOp->p4.pVtab->pVtab; 58051 sqlite3_snprintf(nTemp, zTemp, "vtab:%p:%p", pVtab, pVtab->pModule); 62411 static void importVtabErrMsg(Vdbe *p, sqlite3_vtab *pVtab){ 62414 p->zErrMsg = sqlite3DbStrDup(db, pVtab->zErrMsg); 62415 sqlite3_free(pVtab->zErrMsg); [all …]
|
/external/sqlite/dist/ |
D | sqlite3.h | 5328 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
|
D | sqlite3.c | 5443 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 9149 VTable *pVtab; /* Used when p4type is P4_VTAB */ member 10902 sqlite3_vtab *pVtab; /* Pointer to vtab instance */ member 63342 sqlite3_vtab *pVtab = pOp->p4.pVtab->pVtab; 63343 sqlite3_snprintf(nTemp, zTemp, "vtab:%p", pVtab); 64003 const sqlite3_module *pModule = pVtabCursor->pVtab->pModule; 64004 assert( pVtabCursor->pVtab->nRef>0 ); 64005 pVtabCursor->pVtab->nRef--; [all …]
|
/external/sqlite/dist/orig/ |
D | sqlite3.h | 5328 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
|
D | sqlite3.c | 5443 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 9149 VTable *pVtab; /* Used when p4type is P4_VTAB */ member 10902 sqlite3_vtab *pVtab; /* Pointer to vtab instance */ member 63322 sqlite3_vtab *pVtab = pOp->p4.pVtab->pVtab; 63323 sqlite3_snprintf(nTemp, zTemp, "vtab:%p", pVtab); 63983 const sqlite3_module *pModule = pVtabCursor->pVtab->pModule; 63984 assert( pVtabCursor->pVtab->nRef>0 ); 63985 pVtabCursor->pVtab->nRef--; [all …]
|