Home
last modified time | relevance | path

Searched refs:pSegcsr (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/third_party/sqlite/src/ext/fts3/
Dfts3.c2207 Fts3SegReaderCursor *pSegcsr; /* Object to allocate and return */ in fts3TermSegReaderCursor() local
2210 pSegcsr = sqlite3_malloc(sizeof(Fts3SegReaderCursor)); in fts3TermSegReaderCursor()
2211 if( pSegcsr ){ in fts3TermSegReaderCursor()
2216 p, FTS3_SEGCURSOR_ALL, zTerm, nTerm, isPrefix, 0, pSegcsr); in fts3TermSegReaderCursor()
2218 for(i=0; rc==SQLITE_OK && i<pSegcsr->nSegment; i++){ in fts3TermSegReaderCursor()
2219 rc = sqlite3Fts3SegReaderCost(pCsr, pSegcsr->apSegment[i], &nCost); in fts3TermSegReaderCursor()
2221 pSegcsr->nCost = nCost; in fts3TermSegReaderCursor()
2224 *ppSegcsr = pSegcsr; in fts3TermSegReaderCursor()
2228 static void fts3SegReaderCursorFree(Fts3SegReaderCursor *pSegcsr){ in fts3SegReaderCursorFree() argument
2229 sqlite3Fts3SegReaderFinish(pSegcsr); in fts3SegReaderCursorFree()
[all …]
Dfts3Int.h223 Fts3SegReaderCursor *pSegcsr; /* Segment-reader for this token */ member
/external/chromium_org/third_party/sqlite/amalgamation/
Dsqlite3.c113394 Fts3SegReaderCursor *pSegcsr; /* Segment-reader for this token */
115459 Fts3SegReaderCursor *pSegcsr; /* Object to allocate and return */
115462 pSegcsr = sqlite3_malloc(sizeof(Fts3SegReaderCursor));
115463 if( pSegcsr ){
115468 p, FTS3_SEGCURSOR_ALL, zTerm, nTerm, isPrefix, 0, pSegcsr);
115470 for(i=0; rc==SQLITE_OK && i<pSegcsr->nSegment; i++){
115471 rc = sqlite3Fts3SegReaderCost(pCsr, pSegcsr->apSegment[i], &nCost);
115473 pSegcsr->nCost = nCost;
115476 *ppSegcsr = pSegcsr;
115480 static void fts3SegReaderCursorFree(Fts3SegReaderCursor *pSegcsr){
[all …]
/external/sqlite/dist/orig/
Dsqlite3.c116724 Fts3MultiSegReader *pSegcsr; /* Segment-reader for this token */
119376 Fts3MultiSegReader *pSegcsr; /* Object to allocate and return */
119379 pSegcsr = sqlite3_malloc(sizeof(Fts3MultiSegReader));
119380 if( pSegcsr ){
119390 i, FTS3_SEGCURSOR_ALL, zTerm, nTerm, 0, 0, pSegcsr
119392 pSegcsr->bLookup = 1;
119400 i, FTS3_SEGCURSOR_ALL, zTerm, nTerm, 1, 0, pSegcsr
119404 p, pCsr->iLangid, zTerm, nTerm, pSegcsr
119413 0, FTS3_SEGCURSOR_ALL, zTerm, nTerm, isPrefix, 0, pSegcsr
119415 pSegcsr->bLookup = !isPrefix;
[all …]
/external/sqlite/dist/
Dsqlite3.c116760 Fts3MultiSegReader *pSegcsr; /* Segment-reader for this token */
119412 Fts3MultiSegReader *pSegcsr; /* Object to allocate and return */
119415 pSegcsr = sqlite3_malloc(sizeof(Fts3MultiSegReader));
119416 if( pSegcsr ){
119426 i, FTS3_SEGCURSOR_ALL, zTerm, nTerm, 0, 0, pSegcsr
119428 pSegcsr->bLookup = 1;
119436 i, FTS3_SEGCURSOR_ALL, zTerm, nTerm, 1, 0, pSegcsr
119440 p, pCsr->iLangid, zTerm, nTerm, pSegcsr
119449 0, FTS3_SEGCURSOR_ALL, zTerm, nTerm, isPrefix, 0, pSegcsr
119451 pSegcsr->bLookup = !isPrefix;
[all …]