/external/chromium_org/third_party/sqlite/src/ext/fts2/ |
fts2_icu.c | 103 IcuCursor *pCsr; 119 pCsr = (IcuCursor *)sqlite3_malloc( 124 if( !pCsr ){ 127 memset(pCsr, 0, sizeof(IcuCursor)); 128 pCsr->aOffset = (int *)&pCsr[1]; 129 pCsr->aChar = (UChar *)&pCsr->aOffset[nChar+1]; 131 pCsr->aOffset[iOut] = iInput; 136 U16_APPEND(pCsr->aChar, iOut, nChar, c, isError) [all...] |
fts2_tokenizer.c | 142 sqlite3_tokenizer_cursor *pCsr = 0; 190 if( SQLITE_OK!=p->xOpen(pTokenizer, zInput, nInput, &pCsr) ){ 194 pCsr->pTokenizer = pTokenizer; 196 while( SQLITE_OK==p->xNext(pCsr, &zToken, &nToken, &iStart, &iEnd, &iPos) ){ 204 if( SQLITE_OK!=p->xClose(pCsr) ){
|
/external/chromium_org/third_party/sqlite/src/ext/fts3/ |
fts3_icu.c | 103 IcuCursor *pCsr; 119 pCsr = (IcuCursor *)sqlite3_malloc( 124 if( !pCsr ){ 127 memset(pCsr, 0, sizeof(IcuCursor)); 128 pCsr->aOffset = (int *)&pCsr[1]; 129 pCsr->aChar = (UChar *)&pCsr->aOffset[nChar+1]; 131 pCsr->aOffset[iOut] = iInput; 136 U16_APPEND(pCsr->aChar, iOut, nChar, c, isError) [all...] |
fts3_aux.c | 191 Fts3auxCursor *pCsr; /* Pointer to cursor object to return */ 195 pCsr = (Fts3auxCursor *)sqlite3_malloc(sizeof(Fts3auxCursor)); 196 if( !pCsr ) return SQLITE_NOMEM; 197 memset(pCsr, 0, sizeof(Fts3auxCursor)); 199 *ppCsr = (sqlite3_vtab_cursor *)pCsr; 208 Fts3auxCursor *pCsr = (Fts3auxCursor *)pCursor; 211 sqlite3Fts3SegReaderFinish(&pCsr->csr); 212 sqlite3_free((void *)pCsr->filter.zTerm); 213 sqlite3_free(pCsr->zStop); 214 sqlite3_free(pCsr->aStat) [all...] |
fts3_snippet.c | 43 Fts3Cursor *pCsr; /* FTS3 Cursor */ 57 Fts3Cursor *pCsr; /* Cursor snippet is being generated from */ 239 rc = sqlite3Fts3ExprLoadDoclist(p->pCsr, pExpr); 251 ** pCsr. 260 Fts3Cursor *pCsr, /* Fts3 cursor for current query */ 266 sCtx.pCsr = pCsr; 267 rc = fts3ExprIterate(pCsr->pExpr, fts3ExprLoadDoclistsCb, (void *)&sCtx); 375 char *pCsr = pPhrase->pTail; 394 if( 0==(*pCsr & 0x0FE) ) break [all...] |
fts3.c | [all...] |
fts3_write.c | 539 sqlite3_tokenizer_cursor *pCsr; 545 rc = pModule->xOpen(pTokenizer, zText, -1, &pCsr); 549 pCsr->pTokenizer = pTokenizer; 553 && SQLITE_OK==(rc = xNext(pCsr, &zToken, &nToken, &iStart, &iEnd, &iPos)) 586 pModule->xClose(pCsr); [all...] |
/external/chromium_org/third_party/sqlite/src/src/ |
test_stat.c | 200 StatCursor *pCsr; 203 pCsr = (StatCursor *)sqlite3_malloc(sizeof(StatCursor)); 204 memset(pCsr, 0, sizeof(StatCursor)); 205 pCsr->base.pVtab = pVTab; 212 &pCsr->pStmt, 0 215 sqlite3_free(pCsr); 219 *ppCursor = (sqlite3_vtab_cursor *)pCsr; 234 static void statResetCsr(StatCursor *pCsr){ 236 sqlite3_reset(pCsr->pStmt); 237 for(i=0; i<ArraySize(pCsr->aPage); i++) [all...] |
vdbeblob.c | 30 BtCursor *pCsr; /* Cursor pointing at blob row */ 78 p->pCsr = v->apCsr[0]->pCursor; 79 sqlite3BtreeEnterCursor(p->pCsr); 80 sqlite3BtreeCacheOverflow(p->pCsr); 81 sqlite3BtreeLeaveCursor(p->pCsr); 385 sqlite3BtreeEnterCursor(p->pCsr); 386 rc = xCall(p->pCsr, iOffset+p->iOffset, n, z); 387 sqlite3BtreeLeaveCursor(p->pCsr);
|
btree.c | [all...] |
/external/chromium_org/third_party/sqlite/src/ext/rtree/ |
rtree.c | 804 RtreeCursor *pCsr; 806 pCsr = (RtreeCursor *)sqlite3_malloc(sizeof(RtreeCursor)); 807 if( pCsr ){ 808 memset(pCsr, 0, sizeof(RtreeCursor)); 809 pCsr->base.pVtab = pVTab; 812 *ppCursor = (sqlite3_vtab_cursor *)pCsr; 821 static void freeCursorConstraints(RtreeCursor *pCsr){ 822 if( pCsr->aConstraint ){ 824 for(i=0; i<pCsr->nConstraint; i++){ 825 sqlite3_rtree_geometry *pGeom = pCsr->aConstraint[i].pGeom [all...] |
/external/chromium_org/third_party/sqlite/amalgamation/ |
sqlite3.c | [all...] |