/external/chromium_org/third_party/sqlite/src/src/ |
D | vdbetrace.c | 73 int nToken; /* Length of the parameter token */ in sqlite3VdbeExpandSql() local 92 n = findNextHostParameter(zRawSql, &nToken); in sqlite3VdbeExpandSql() 96 assert( zRawSql[0] || nToken==0 ); in sqlite3VdbeExpandSql() 97 if( nToken==0 ) break; in sqlite3VdbeExpandSql() 99 if( nToken>1 ){ in sqlite3VdbeExpandSql() 110 idx = sqlite3VdbeParameterIndex(p, zRawSql, nToken); in sqlite3VdbeExpandSql() 113 zRawSql += nToken; in sqlite3VdbeExpandSql()
|
D | expr.c | 770 int nToken; in exprDup() local 772 nToken = sqlite3Strlen30(p->u.zToken) + 1; in exprDup() 774 nToken = 0; in exprDup() 793 if( nToken ){ in exprDup() 795 memcpy(zToken, p->u.zToken, nToken); in exprDup()
|
/external/chromium_org/third_party/sqlite/src/ext/fts3/ |
D | fts3_expr.c | 150 int nToken, iStart, iEnd, iPosition; in getNextToken() local 154 rc = pModule->xNext(pCursor, &zToken, &nToken, &iStart, &iEnd, &iPosition); in getNextToken() 157 nByte = sizeof(Fts3Expr) + sizeof(Fts3Phrase) + nToken; in getNextToken() 164 pRet->pPhrase->nToken = 1; in getNextToken() 166 pRet->pPhrase->aToken[0].n = nToken; in getNextToken() 168 memcpy(pRet->pPhrase->aToken[0].z, zToken, nToken); in getNextToken() 233 int nToken, iBegin, iEnd, iPos; in getNextString() local 234 rc = pModule->xNext(pCursor, &zToken, &nToken, &iBegin, &iEnd, &iPos); in getNextString() 238 zTemp = fts3ReallocOrFree(zTemp, nTemp + nToken); in getNextString() 248 p->pPhrase->nToken = ii+1; in getNextString() [all …]
|
D | fts3_snippet.c | 45 int nToken; /* Number of tokens seen so far */ member 66 int nToken; /* Number of tokens in phrase */ member 236 p->nToken += pExpr->pPhrase->nToken; in fts3ExprLoadDoclistsCb() 269 if( pnToken ) *pnToken = sCtx.nToken; in fts3ExprLoadDoclists() 390 for(j=0; j<pPhrase->nToken; j++){ in fts3SnippetDetails() 416 pPhrase->nToken = pExpr->pPhrase->nToken; in fts3SnippetFindPositions() 840 for(ii=0; ii<pPhrase->nToken; ii++){ in fts3ExprGlobalHitsCb() 843 if( ii<pPhrase->nToken ){ in fts3ExprGlobalHitsCb() 1045 int nToken = 0; in fts3MatchinfoLcs() local 1056 nToken -= pIter->pExpr->pPhrase->nToken; in fts3MatchinfoLcs() [all …]
|
D | fts3_tokenizer.c | 260 int nToken; in testFunc() local 302 while( SQLITE_OK==p->xNext(pCsr, &zToken, &nToken, &iStart, &iEnd, &iPos) ){ in testFunc() 304 Tcl_ListObjAppendElement(0, pRet, Tcl_NewStringObj(zToken, nToken)); in testFunc() 306 nToken = iEnd-iStart; in testFunc() 307 Tcl_ListObjAppendElement(0, pRet, Tcl_NewStringObj(zToken, nToken)); in testFunc()
|
D | fts3.c | 1605 int nToken, /* Maximum difference in token positions */ in fts3PoslistPhraseMerge() argument 1648 if( iPos2==iPos1+nToken in fts3PoslistPhraseMerge() 1649 || (isExact==0 && iPos2>iPos1 && iPos2<=iPos1+nToken) in fts3PoslistPhraseMerge() 1663 if( (!isSaveLeft && iPos2<=(iPos1+nToken)) || iPos2<=iPos1 ){ in fts3PoslistPhraseMerge() 2342 for(i=0; rc==SQLITE_OK && i<pExpr->pPhrase->nToken; i++){ in fts3DeferExpression() 2401 int isTermPos = (pPhrase->nToken>1 || isReqPos); in fts3PhraseSelect() 2413 for(ii=0; ii<pPhrase->nToken; ii++){ in fts3PhraseSelect() 2428 for(ii=0; ii<pPhrase->nToken; ii++){ in fts3PhraseSelect() 2451 for(jj=0; jj<pPhrase->nToken; jj++){ in fts3PhraseSelect() 2485 if( pCsr->eEvalmode==FTS3_EVAL_FILTER && pPhrase->nToken>1 ){ in fts3PhraseSelect() [all …]
|
D | fts3_write.c | 535 int nToken; in fts3PendingTermsAdd() local 553 && SQLITE_OK==(rc = xNext(pCsr, &zToken, &nToken, &iStart, &iEnd, &iPos)) in fts3PendingTermsAdd() 562 if( iPos<0 || !zToken || nToken<=0 ){ in fts3PendingTermsAdd() 567 pList = (PendingList *)fts3HashFind(&p->pendingTerms, zToken, nToken); in fts3PendingTermsAdd() 569 p->nPendingData -= (pList->nData + nToken + sizeof(Fts3HashElem)); in fts3PendingTermsAdd() 572 if( pList==fts3HashInsert(&p->pendingTerms, zToken, nToken, pList) ){ in fts3PendingTermsAdd() 576 assert( 0==fts3HashFind(&p->pendingTerms, zToken, nToken) ); in fts3PendingTermsAdd() 582 p->nPendingData += (pList->nData + nToken + sizeof(Fts3HashElem)); in fts3PendingTermsAdd() 2569 int nToken; /* Number of bytes in token */ in sqlite3Fts3CacheDeferredDoclists() local 2574 rc = pModule->xNext(pTC, &zToken, &nToken, &iDum1, &iDum2, &iPos); in sqlite3Fts3CacheDeferredDoclists() [all …]
|
D | fts3Int.h | 229 int nToken; /* Number of tokens in the phrase */ member
|
/external/chromium_org/third_party/sqlite/src/ext/fts2/ |
D | fts2_tokenizer.c | 154 int nToken; in testFunc() local 196 while( SQLITE_OK==p->xNext(pCsr, &zToken, &nToken, &iStart, &iEnd, &iPos) ){ in testFunc() 198 Tcl_ListObjAppendElement(0, pRet, Tcl_NewStringObj(zToken, nToken)); in testFunc() 200 nToken = iEnd-iStart; in testFunc() 201 Tcl_ListObjAppendElement(0, pRet, Tcl_NewStringObj(zToken, nToken)); in testFunc()
|
D | fts2.c | 2680 int nToken = 0; in tokenizeString() local 2690 aToken[nToken].z = z; in tokenizeString() 2691 aToken[nToken].n = n; in tokenizeString() 2692 nToken++; in tokenizeString() 2697 azToken = (char**)sqlite3_malloc( nToken*sizeof(char*) + totalSize ); in tokenizeString() 2698 zCopy = (char*)&azToken[nToken]; in tokenizeString() 2699 nToken--; in tokenizeString() 2700 for(i=0; i<nToken; i++){ in tokenizeString() 2707 azToken[nToken] = 0; in tokenizeString() 2709 *pnToken = nToken; in tokenizeString() [all …]
|
/external/chromium_org/third_party/sqlite/src/ext/fts1/ |
D | fts1.c | 1635 int nToken = 0; in tokenizeString() local 1645 aToken[nToken].z = z; in tokenizeString() 1646 aToken[nToken].n = n; in tokenizeString() 1647 nToken++; in tokenizeString() 1652 azToken = (char**)malloc( nToken*sizeof(char*) + totalSize ); in tokenizeString() 1653 zCopy = (char*)&azToken[nToken]; in tokenizeString() 1654 nToken--; in tokenizeString() 1655 for(i=0; i<nToken; i++){ in tokenizeString() 1662 azToken[nToken] = 0; in tokenizeString() 1664 *pnToken = nToken; in tokenizeString() [all …]
|
D | fulltext.c | 1150 int nToken, iStartOffset, iEndOffset, dummy_pos; in tokenize_segment() local 1153 &zToken, &nToken, in tokenize_segment() 1157 query_add(pQuery, !in_phrase || is_first, string_dup_n(zToken, nToken)); in tokenize_segment()
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 64137 int nToken; /* Length of the parameter token */ 64156 n = findNextHostParameter(zRawSql, &nToken); 64160 assert( zRawSql[0] || nToken==0 ); 64161 if( nToken==0 ) break; 64163 if( nToken>1 ){ 64174 idx = sqlite3VdbeParameterIndex(p, zRawSql, nToken); 64177 zRawSql += nToken; 75164 int nToken; 75166 nToken = sqlite3Strlen30(p->u.zToken) + 1; 75168 nToken = 0; [all …]
|
/external/sqlite/dist/ |
D | sqlite3.c | 64165 int nToken; /* Length of the parameter token */ 64184 n = findNextHostParameter(zRawSql, &nToken); 64188 assert( zRawSql[0] || nToken==0 ); 64189 if( nToken==0 ) break; 64191 if( nToken>1 ){ 64202 idx = sqlite3VdbeParameterIndex(p, zRawSql, nToken); 64205 zRawSql += nToken; 75200 int nToken; 75202 nToken = sqlite3Strlen30(p->u.zToken) + 1; 75204 nToken = 0; [all …]
|
/external/chromium_org/third_party/sqlite/amalgamation/ |
D | sqlite3.c | 61913 int nToken; /* Length of the parameter token */ 61932 n = findNextHostParameter(zRawSql, &nToken); 61936 assert( zRawSql[0] || nToken==0 ); 61937 if( nToken==0 ) break; 61939 if( nToken>1 ){ 61950 idx = sqlite3VdbeParameterIndex(p, zRawSql, nToken); 61953 zRawSql += nToken; 71686 int nToken; 71688 nToken = sqlite3Strlen30(p->u.zToken) + 1; 71690 nToken = 0; [all …]
|
/external/chromium_org/third_party/sqlite/ |
D | fts2.patch | 983 + if( pQuery->nTerms>0 && nToken==1 && pSegment[iBegin]=='*' && 990 queryAdd(pQuery, pToken, nToken);
|