Home
last modified time | relevance | path

Searched refs:pTokenizer (Results 1 – 25 of 27) sorted by relevance

12

/external/chromium_org/third_party/sqlite/src/ext/fts3/
Dfts3_expr.c86 sqlite3_tokenizer *pTokenizer; /* Tokenizer module */ member
140 sqlite3_tokenizer *pTokenizer = pParse->pTokenizer; in getNextToken() local
141 sqlite3_tokenizer_module const *pModule = pTokenizer->pModule; in getNextToken()
147 rc = pModule->xOpen(pTokenizer, z, n, &pCursor); in getNextToken()
153 pCursor->pTokenizer = pTokenizer; in getNextToken()
219 sqlite3_tokenizer *pTokenizer = pParse->pTokenizer; in getNextString() local
220 sqlite3_tokenizer_module const *pModule = pTokenizer->pModule; in getNextString()
227 rc = pModule->xOpen(pTokenizer, zInput, nInput, &pCursor); in getNextString()
230 pCursor->pTokenizer = pTokenizer; in getNextString()
704 sqlite3_tokenizer *pTokenizer, /* Tokenizer module */ in sqlite3Fts3ExprParse() argument
[all …]
Dfts3_tokenizer.h86 int (*xDestroy)(sqlite3_tokenizer *pTokenizer);
94 sqlite3_tokenizer *pTokenizer, /* Tokenizer object */
144 sqlite3_tokenizer *pTokenizer; /* Tokenizer for this cursor. */ member
Dfts3_tokenizer1.c103 static int simpleDestroy(sqlite3_tokenizer *pTokenizer){ in simpleDestroy() argument
104 sqlite3_free(pTokenizer); in simpleDestroy()
115 sqlite3_tokenizer *pTokenizer, /* The tokenizer */ in simpleOpen() argument
121 UNUSED_PARAMETER(pTokenizer); in simpleOpen()
167 simple_tokenizer *t = (simple_tokenizer *) pCursor->pTokenizer; in simpleNext()
Dfts3_tokenizer.c247 sqlite3_tokenizer *pTokenizer = 0; in testFunc() local
291 if( SQLITE_OK!=p->xCreate(zArg ? 1 : 0, &zArg, &pTokenizer) ){ in testFunc()
295 pTokenizer->pModule = p; in testFunc()
296 if( SQLITE_OK!=p->xOpen(pTokenizer, zInput, nInput, &pCsr) ){ in testFunc()
300 pCsr->pTokenizer = pTokenizer; in testFunc()
314 if( SQLITE_OK!=p->xDestroy(pTokenizer) ){ in testFunc()
Dfts3_icu.c84 static int icuDestroy(sqlite3_tokenizer *pTokenizer){ in icuDestroy() argument
85 IcuTokenizer *p = (IcuTokenizer *)pTokenizer; in icuDestroy()
97 sqlite3_tokenizer *pTokenizer, /* The tokenizer */ in icuOpen() argument
102 IcuTokenizer *p = (IcuTokenizer *)pTokenizer; in icuOpen()
Dfts3_snippet.c616 pMod = (sqlite3_tokenizer_module *)pTab->pTokenizer->pModule; in fts3SnippetShift()
621 rc = pMod->xOpen(pTab->pTokenizer, zDoc, nDoc, &pC); in fts3SnippetShift()
625 pC->pTokenizer = pTab->pTokenizer; in fts3SnippetShift()
684 pMod = (sqlite3_tokenizer_module *)pTab->pTokenizer->pModule; in fts3SnippetText()
685 rc = pMod->xOpen(pTab->pTokenizer, zDoc, nDoc, &pC); in fts3SnippetText()
689 pC->pTokenizer = pTab->pTokenizer; in fts3SnippetText()
1453 sqlite3_tokenizer_module const *pMod = pTab->pTokenizer->pModule; in sqlite3Fts3Offsets()
1518 rc = pMod->xOpen(pTab->pTokenizer, zDoc, nDoc, &pC); in sqlite3Fts3Offsets()
1520 pC->pTokenizer = pTab->pTokenizer; in sqlite3Fts3Offsets()
Dfts3_porter.c79 static int porterDestroy(sqlite3_tokenizer *pTokenizer){ in porterDestroy() argument
80 sqlite3_free(pTokenizer); in porterDestroy()
91 sqlite3_tokenizer *pTokenizer, /* The tokenizer */ in porterOpen() argument
97 UNUSED_PARAMETER(pTokenizer); in porterOpen()
Dfts3.c456 p->pTokenizer->pModule->xDestroy(p->pTokenizer); in fts3DisconnectMethod()
843 sqlite3_tokenizer *pTokenizer = 0; /* Tokenizer for this table */ in fts3InitVtab() local
877 if( !pTokenizer in fts3InitVtab()
882 rc = sqlite3Fts3InitTokenizer(pHash, &z[9], &pTokenizer, pzErr); in fts3InitVtab()
926 if( pTokenizer==0 ){ in fts3InitVtab()
927 rc = sqlite3Fts3InitTokenizer(pHash, "simple", &pTokenizer, pzErr); in fts3InitVtab()
930 assert( pTokenizer ); in fts3InitVtab()
949 p->pTokenizer = pTokenizer; in fts3InitVtab()
1010 }else if( pTokenizer ){ in fts3InitVtab()
1011 pTokenizer->pModule->xDestroy(pTokenizer); in fts3InitVtab()
[all …]
Dfts3_write.c537 sqlite3_tokenizer *pTokenizer = p->pTokenizer; in fts3PendingTermsAdd() local
538 sqlite3_tokenizer_module const *pModule = pTokenizer->pModule; in fts3PendingTermsAdd()
543 assert( pTokenizer && pModule ); in fts3PendingTermsAdd()
545 rc = pModule->xOpen(pTokenizer, zText, -1, &pCsr); in fts3PendingTermsAdd()
549 pCsr->pTokenizer = pTokenizer; in fts3PendingTermsAdd()
2556 sqlite3_tokenizer *pT = p->pTokenizer; in sqlite3Fts3CacheDeferredDoclists()
2573 pTC->pTokenizer = pT; in sqlite3Fts3CacheDeferredDoclists()
Dfts3Int.h126 sqlite3_tokenizer *pTokenizer; /* tokenizer for inserts and queries */ member
/external/chromium_org/third_party/sqlite/src/ext/fts2/
Dfts2_tokenizer.h86 int (*xDestroy)(sqlite3_tokenizer *pTokenizer);
94 sqlite3_tokenizer *pTokenizer, /* Tokenizer object */
141 sqlite3_tokenizer *pTokenizer; /* Tokenizer for this cursor. */ member
Dfts2_tokenizer.c141 sqlite3_tokenizer *pTokenizer = 0; in testFunc() local
185 if( SQLITE_OK!=p->xCreate(zArg ? 1 : 0, &zArg, &pTokenizer) ){ in testFunc()
189 pTokenizer->pModule = p; in testFunc()
190 if( SQLITE_OK!=p->xOpen(pTokenizer, zInput, nInput, &pCsr) ){ in testFunc()
194 pCsr->pTokenizer = pTokenizer; in testFunc()
208 if( SQLITE_OK!=p->xDestroy(pTokenizer) ){ in testFunc()
Dfts2_tokenizer1.c103 static int simpleDestroy(sqlite3_tokenizer *pTokenizer){ in simpleDestroy() argument
104 sqlite3_free(pTokenizer); in simpleDestroy()
115 sqlite3_tokenizer *pTokenizer, /* The tokenizer */ in simpleOpen() argument
165 simple_tokenizer *t = (simple_tokenizer *) pCursor->pTokenizer; in simpleNext()
Dfts2_icu.c84 static int icuDestroy(sqlite3_tokenizer *pTokenizer){ in icuDestroy() argument
85 IcuTokenizer *p = (IcuTokenizer *)pTokenizer; in icuDestroy()
97 sqlite3_tokenizer *pTokenizer, /* The tokenizer */ in icuOpen() argument
102 IcuTokenizer *p = (IcuTokenizer *)pTokenizer; in icuOpen()
Dfts2_porter.c78 static int porterDestroy(sqlite3_tokenizer *pTokenizer){ in porterDestroy() argument
79 sqlite3_free(pTokenizer); in porterDestroy()
90 sqlite3_tokenizer *pTokenizer, /* The tokenizer */ in porterOpen() argument
Dfts2.c2027 sqlite3_tokenizer *pTokenizer; /* tokenizer for inserts and queries */ member
2558 if( v->pTokenizer!=NULL ){ in fulltext_vtab_destroy()
2559 v->pTokenizer->pModule->xDestroy(v->pTokenizer); in fulltext_vtab_destroy()
2560 v->pTokenizer = NULL; in fulltext_vtab_destroy()
3030 &v->pTokenizer); in constructVtab()
3032 rc = m->xCreate(0, 0, &v->pTokenizer); in constructVtab()
3035 v->pTokenizer->pModule = m; in constructVtab()
3262 sqlite3_tokenizer *pTokenizer; /* The specific tokenizer */ in snippetOffsetsOfColumn() local
3283 pTokenizer = pVtab->pTokenizer; in snippetOffsetsOfColumn()
3284 pTModule = pTokenizer->pModule; in snippetOffsetsOfColumn()
[all …]
/external/chromium_org/third_party/sqlite/src/ext/fts1/
Dtokenizer.h45 int (*xDestroy)(sqlite3_tokenizer *pTokenizer);
59 int (*xOpen)(sqlite3_tokenizer *pTokenizer,
74 sqlite3_tokenizer *pTokenizer; /* Tokenizer for this cursor. */ member
Dfts1_tokenizer.h45 int (*xDestroy)(sqlite3_tokenizer *pTokenizer);
59 int (*xOpen)(sqlite3_tokenizer *pTokenizer,
74 sqlite3_tokenizer *pTokenizer; /* Tokenizer for this cursor. */ member
Dfulltext.c566 sqlite3_tokenizer *pTokenizer; /* tokenizer for inserts and queries */ member
839 if( v->pTokenizer!=NULL ){ in fulltext_vtab_destroy()
840 v->pTokenizer->pModule->xDestroy(v->pTokenizer); in fulltext_vtab_destroy()
841 v->pTokenizer = NULL; in fulltext_vtab_destroy()
866 v->pTokenizer = NULL; in fulltextConnect()
886 rc = m->xCreate(argc-3, (const char **) (argv+3), &v->pTokenizer); in fulltextConnect()
888 v->pTokenizer->pModule = m; in fulltextConnect()
1137 static int tokenize_segment(sqlite3_tokenizer *pTokenizer, in tokenize_segment() argument
1140 sqlite3_tokenizer_module *pModule = pTokenizer->pModule; in tokenize_segment()
1144 int rc = pModule->xOpen(pTokenizer, zQuery, -1, &pCursor); in tokenize_segment()
[all …]
Dsimple_tokenizer.c81 static int simpleDestroy(sqlite3_tokenizer *pTokenizer){ in simpleDestroy() argument
82 simple_tokenizer *t = (simple_tokenizer *) pTokenizer; in simpleDestroy()
91 sqlite3_tokenizer *pTokenizer, in simpleOpen() argument
127 simple_tokenizer *t = (simple_tokenizer *) pCursor->pTokenizer; in simpleNext()
Dfts1_tokenizer1.c94 static int simpleDestroy(sqlite3_tokenizer *pTokenizer){ in simpleDestroy() argument
95 free(pTokenizer); in simpleDestroy()
106 sqlite3_tokenizer *pTokenizer, /* The tokenizer */ in simpleOpen() argument
156 simple_tokenizer *t = (simple_tokenizer *) pCursor->pTokenizer; in simpleNext()
Dfts1.c1092 sqlite3_tokenizer *pTokenizer; /* tokenizer for inserts and queries */ member
1515 if( v->pTokenizer!=NULL ){ in fulltext_vtab_destroy()
1516 v->pTokenizer->pModule->xDestroy(v->pTokenizer); in fulltext_vtab_destroy()
1517 v->pTokenizer = NULL; in fulltext_vtab_destroy()
1977 &v->pTokenizer); in constructVtab()
1979 rc = m->xCreate(0, 0, &v->pTokenizer); in constructVtab()
1982 v->pTokenizer->pModule = m; in constructVtab()
2219 sqlite3_tokenizer *pTokenizer; /* The specific tokenizer */ in snippetOffsetsOfColumn() local
2240 pTokenizer = pVtab->pTokenizer; in snippetOffsetsOfColumn()
2241 pTModule = pTokenizer->pModule; in snippetOffsetsOfColumn()
[all …]
Dfts1_porter.c79 static int porterDestroy(sqlite3_tokenizer *pTokenizer){ in porterDestroy() argument
80 free(pTokenizer); in porterDestroy()
91 sqlite3_tokenizer *pTokenizer, /* The tokenizer */ in porterOpen() argument
/external/chromium_org/third_party/sqlite/amalgamation/
Dsqlite3.c112818 int (*xDestroy)(sqlite3_tokenizer *pTokenizer);
112826 sqlite3_tokenizer *pTokenizer, /* Tokenizer object */
112876 sqlite3_tokenizer *pTokenizer; /* Tokenizer for this cursor. */
113106 sqlite3_tokenizer *pTokenizer; /* tokenizer for inserts and queries */
113517 p->pTokenizer->pModule->xDestroy(p->pTokenizer);
113904 sqlite3_tokenizer *pTokenizer = 0; /* Tokenizer for this table */
113938 if( !pTokenizer
113943 rc = sqlite3Fts3InitTokenizer(pHash, &z[9], &pTokenizer, pzErr);
113987 if( pTokenizer==0 ){
113988 rc = sqlite3Fts3InitTokenizer(pHash, "simple", &pTokenizer, pzErr);
[all …]
/external/sqlite/dist/
Dsqlite3.c126440 int (*xDestroy)(sqlite3_tokenizer *pTokenizer);
126448 sqlite3_tokenizer *pTokenizer, /* Tokenizer object */
126507 sqlite3_tokenizer *pTokenizer; /* Tokenizer for this cursor. */
126805 sqlite3_tokenizer *pTokenizer; /* tokenizer for inserts and queries */
127398 p->pTokenizer->pModule->xDestroy(p->pTokenizer);
128007 sqlite3_tokenizer *pTokenizer = 0; /* Tokenizer for this table */
128062 if( !pTokenizer
128067 rc = sqlite3Fts3InitTokenizer(pHash, &z[9], &pTokenizer, pzErr);
128208 if( pTokenizer==0 ){
128209 rc = sqlite3Fts3InitTokenizer(pHash, "simple", &pTokenizer, pzErr);
[all …]

12