/external/chromium_org/third_party/sqlite/src/ext/fts3/ |
H A D | fts3_aux.c | 41 sqlite3_int64 nDoc; /* 'documents' values for current csr row */ member in struct:Fts3auxCursor::Fts3auxColstats 247 if( pCsr->aStat[pCsr->iCol].nDoc>0 ) return SQLITE_OK; 279 pCsr->aStat[0].nDoc++; 290 ** increment the column 0 "nDoc" count for this term. 295 pCsr->aStat[1].nDoc++; 315 pCsr->aStat[iCol+1].nDoc++; 417 sqlite3_result_int64(pContext, p->aStat[p->iCol].nDoc);
|
H A D | fts3_snippet.c | 90 sqlite3_int64 nDoc; /* Number of docs in database */ member in struct:MatchInfo 588 int nDoc, /* Size of buffer zDoc in bytes */ 618 /* Open a cursor on zDoc/nDoc. Check if there are (nSnippet+nDesired) 619 ** or more tokens in zDoc/nDoc. 621 rc = pMod->xOpen(pTab->pTokenizer, zDoc, nDoc, &pC); 662 int nDoc; /* Size of zDoc in bytes */ local 670 sqlite3_tokenizer_cursor *pC; /* Tokenizer cursor open on zDoc/nDoc */ 681 nDoc = sqlite3_column_bytes(pCsr->pStmt, iCol); 685 rc = pMod->xOpen(pTab->pTokenizer, zDoc, nDoc, &pC); 710 int n = nDoc 584 fts3SnippetShift( Fts3Table *pTab, int nSnippet, const char *zDoc, int nDoc, int *piPos, u64 *pHlmask ) argument 952 sqlite3_int64 nDoc; local 1155 sqlite3_int64 nDoc; local 1163 sqlite3_int64 nDoc; /* Number of rows in table */ local 1491 int nDoc; local [all...] |
H A D | fts3.c | 1805 int nDoc = 0; local 1849 nDoc++; 1884 nDoc++; 1937 if( pnDoc ) *pnDoc = nDoc; 2306 int nDoc = 0; /* Return value */ local 2316 while( p<aEnd ) nDoc += (((*p++)&0x80)==0); 2319 nDoc++; 2326 return nDoc; 2406 int nDoc = 0; local 2465 if( nMinCost>nDoc 2809 int nDoc = 0x7FFFFFFF; local [all...] |
H A D | fts3_write.c | 1103 sqlite3_int64 nDoc = 0; local 1114 a += sqlite3Fts3GetVarint(a, &nDoc); 1118 if( nDoc==0 || nByte==0 ){ 1123 pCsr->nRowAvg = (int)(((nByte / nDoc) + pgsz) / pgsz);
|
/external/chromium_org/third_party/sqlite/src/ext/fts1/ |
H A D | fts1.c | 2209 ** document zDoc[0..nDoc-1] which is stored in column iColumn. 2216 int nDoc 2242 rc = pTModule->xOpen(pTokenizer, zDoc, nDoc, &pTCursor); 2304 int nDoc; local 2306 nDoc = sqlite3_column_bytes(p->pStmt, i+1); 2307 snippetOffsetsOfColumn(&p->q, &p->snippet, i, zDoc, nDoc); 2335 ** zDoc[0..nDoc-1] is phrase of text. aMatch[0..nMatch-1] are a set 2346 int nDoc, /* Number of bytes in zDoc[] */ 2355 if( iBreak>=nDoc-10 ){ 2356 return nDoc; 2343 wordBoundary( int iBreak, const char *zDoc, int nDoc, struct snippetMatch *aMatch, int nMatch, int iCol ) argument 2423 int nDoc; local [all...] |
/external/chromium_org/third_party/sqlite/src/ext/fts2/ |
H A D | fts2.c | 3252 ** document zDoc[0..nDoc-1] which is stored in column iColumn. 3259 int nDoc 3285 rc = pTModule->xOpen(pTokenizer, zDoc, nDoc, &pTCursor); 3349 int nDoc; local 3351 nDoc = sqlite3_column_bytes(p->pStmt, i+1); 3352 snippetOffsetsOfColumn(&p->q, &p->snippet, i, zDoc, nDoc); 3380 ** zDoc[0..nDoc-1] is phrase of text. aMatch[0..nMatch-1] are a set 3391 int nDoc, /* Number of bytes in zDoc[] */ 3400 if( iBreak>=nDoc-10 ){ 3401 return nDoc; 3388 wordBoundary( int iBreak, const char *zDoc, int nDoc, struct snippetMatch *aMatch, int nMatch, int iCol ) argument 3449 int nDoc; local [all...] |
/external/chromium_org/third_party/sqlite/amalgamation/ |
H A D | sqlite3.c | 114855 int nDoc = 0; local 115356 int nDoc = 0; /* Return value */ local 115456 int nDoc = 0; local 115859 int nDoc = 0x7FFFFFFF; local 116796 sqlite3_int64 nDoc; /* 'documents' values for current csr row */ member in struct:Fts3auxCursor::Fts3auxColstats 121009 sqlite3_int64 nDoc = 0; local 122723 sqlite3_int64 nDoc; /* Number of docs in database */ member in struct:MatchInfo 123217 fts3SnippetShift( Fts3Table *pTab, int nSnippet, const char *zDoc, int nDoc, int *piPos, u64 *pHlmask ) argument 123295 int nDoc; /* Size of zDoc in bytes */ local 123585 sqlite3_int64 nDoc; local 123788 sqlite3_int64 nDoc; local 123796 sqlite3_int64 nDoc; /* Number of rows in table */ local 124124 int nDoc; local [all...] |
/external/sqlite/dist/orig/ |
H A D | sqlite3.c | 126828 sqlite3_int64 nDoc; /* Documents in table */ member in struct:Fts3Cursor 129829 int nDoc = 0; /* Return value */ local 131482 sqlite3_int64 nDoc = 0; local 132675 sqlite3_int64 nDoc; /* 'documents' values for current csr row */ member in struct:Fts3auxCursor::Fts3auxColstats 142451 sqlite3_int64 nDoc; /* Number of docs in database */ member in struct:MatchInfo 142898 fts3SnippetShift( Fts3Table *pTab, int iLangid, int nSnippet, const char *zDoc, int nDoc, int *piPos, u64 *pHlmask ) argument 142976 int nDoc; /* Size of zDoc in bytes */ local 143219 sqlite3_int64 nDoc; local 143408 sqlite3_int64 nDoc = 0; local 143416 sqlite3_int64 nDoc; /* Number of rows in table */ local 143747 int nDoc; local [all...] |
/external/sqlite/dist/ |
H A D | sqlite3.c | 126848 sqlite3_int64 nDoc; /* Documents in table */ member in struct:Fts3Cursor 129849 int nDoc = 0; /* Return value */ local 131514 sqlite3_int64 nDoc = 0; local 132707 sqlite3_int64 nDoc; /* 'documents' values for current csr row */ member in struct:Fts3auxCursor::Fts3auxColstats 142483 sqlite3_int64 nDoc; /* Number of docs in database */ member in struct:MatchInfo 142930 fts3SnippetShift( Fts3Table *pTab, int iLangid, int nSnippet, const char *zDoc, int nDoc, int *piPos, u64 *pHlmask ) argument 143008 int nDoc; /* Size of zDoc in bytes */ local 143251 sqlite3_int64 nDoc; local 143440 sqlite3_int64 nDoc = 0; local 143448 sqlite3_int64 nDoc; /* Number of rows in table */ local 143779 int nDoc; local [all...] |