/external/chromium_org/third_party/sqlite/src/ext/fts1/ |
D | simple_tokenizer.c | 42 char *zToken; /* storage for current token */ member 102 c->zToken = NULL; /* no space allocated, yet. */ in simpleOpen() 113 if( NULL!=c->zToken ){ in simpleClose() 114 free(c->zToken); in simpleClose() 134 c->zToken = realloc(c->zToken, n+1); in simpleNext() 141 c->zToken[ii] = (unsigned char)ch<0x80 ? tolower(ch) : ch; in simpleNext() 143 c->zToken[n] = '\0'; in simpleNext() 144 *ppToken = c->zToken; in simpleNext()
|
D | fts1_porter.c | 52 char *zToken; /* storage for current token */ member 110 c->zToken = NULL; /* no space allocated, yet. */ in porterOpen() 123 free(c->zToken); in porterClose() 607 c->zToken = realloc(c->zToken, c->nAllocated); in porterNext() 608 if( c->zToken==NULL ) return SQLITE_NOMEM; in porterNext() 610 porter_stemmer(&z[iStartOffset], n, c->zToken, pnBytes); in porterNext() 611 *pzToken = c->zToken; in porterNext()
|
D | fulltext.c | 1149 const char *zToken; 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()
|
D | fts1.c | 2228 const char *zToken; /* Next token from the tokenizer */ in snippetOffsetsOfColumn() local 2252 rc = pTModule->xNext(pTCursor, &zToken, &nToken, &iBegin, &iEnd, &iPos); in snippetOffsetsOfColumn() 2262 if( memcmp(aTerm[i].pTerm, zToken, nToken) ) continue; in snippetOffsetsOfColumn() 2648 const char *zToken, /* Text of the token */ in checkColumnSpecifier() argument 2653 if( memcmp(pVtab->azColumn[i], zToken, nToken)==0 in checkColumnSpecifier()
|
/external/chromium_org/third_party/sqlite/src/ext/fts2/ |
D | fts2_porter.c | 51 char *zToken; /* storage for current token */ member 109 c->zToken = NULL; /* no space allocated, yet. */ in porterOpen() 122 sqlite3_free(c->zToken); in porterClose() 605 c->zToken = sqlite3_realloc(c->zToken, c->nAllocated); in porterNext() 606 if( c->zToken==NULL ) return SQLITE_NOMEM; in porterNext() 608 porter_stemmer(&z[iStartOffset], n, c->zToken, pnBytes); in porterNext() 609 *pzToken = c->zToken; in porterNext()
|
D | fts2_tokenizer.c | 153 const char *zToken; 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() 199 zToken = &zInput[iStart]; in testFunc() 201 Tcl_ListObjAppendElement(0, pRet, Tcl_NewStringObj(zToken, nToken)); in testFunc()
|
D | fts2.c | 3271 const char *zToken; /* Next token from the tokenizer */ in snippetOffsetsOfColumn() local 3295 rc = pTModule->xNext(pTCursor, &zToken, &nToken, &iBegin, &iEnd, &iPos); in snippetOffsetsOfColumn() 3307 if( memcmp(aTerm[i].pTerm, zToken, aTerm[i].nTerm) ) continue; in snippetOffsetsOfColumn() 3696 const char *zToken, /* Text of the token */ in checkColumnSpecifier() argument 3701 if( memcmp(pVtab->azColumn[i], zToken, nToken)==0 in checkColumnSpecifier()
|
/external/chromium_org/third_party/sqlite/src/src/ |
D | resolve.c | 72 }else if( ExprHasProperty(pOrig, EP_IntValue) || pOrig->u.zToken==0 ){ in resolveAlias() 76 char *zToken = pOrig->u.zToken; in resolveAlias() local 77 assert( zToken!=0 ); in resolveAlias() 78 pOrig->u.zToken = 0; in resolveAlias() 80 pOrig->u.zToken = zToken; in resolveAlias() 84 pDup->u.zToken = sqlite3DbStrDup(db, zToken); in resolveAlias() 483 return lookupName(pParse, 0, 0, pExpr->u.zToken, pNC, pExpr); in resolveExprStep() 499 zTable = pExpr->pLeft->u.zToken; in resolveExprStep() 500 zColumn = pRight->u.zToken; in resolveExprStep() 503 zDb = pExpr->pLeft->u.zToken; in resolveExprStep() [all …]
|
D | expr.c | 42 return sqlite3AffinityType(pExpr->u.zToken); in sqlite3ExprAffinity() 405 pNew->u.zToken = (char*)&pNew[1]; in sqlite3ExprAlloc() 406 memcpy(pNew->u.zToken, pToken->z, pToken->n); in sqlite3ExprAlloc() 407 pNew->u.zToken[pToken->n] = 0; in sqlite3ExprAlloc() 410 sqlite3Dequote(pNew->u.zToken); in sqlite3ExprAlloc() 429 const char *zToken /* Token argument. Might be NULL */ in sqlite3Expr() argument 432 x.z = zToken; in sqlite3Expr() 433 x.n = zToken ? sqlite3Strlen30(zToken) : 0; in sqlite3Expr() 551 z = pExpr->u.zToken; in sqlite3ExprAssignVarNumber() 584 if( strcmp(pE->u.zToken, z)==0 ){ in sqlite3ExprAssignVarNumber() [all …]
|
D | vdbemem.c | 1062 zVal = sqlite3MPrintf(db, "%s%s", zNeg, pExpr->u.zToken); in sqlite3ValueFromExpr() 1097 assert( pExpr->u.zToken[0]=='x' || pExpr->u.zToken[0]=='X' ); in sqlite3ValueFromExpr() 1098 assert( pExpr->u.zToken[1]=='\'' ); in sqlite3ValueFromExpr() 1101 zVal = &pExpr->u.zToken[2]; in sqlite3ValueFromExpr()
|
D | attach.c | 42 sqlite3ErrorMsg(pName->pParse, "invalid name: \"%s\"", pExpr->u.zToken); in resolveAttachExpr() 319 zAuthArg = pAuthArg->u.zToken; in codeAttach()
|
D | select.c | 1243 || p->pRight->u.zToken==0 || p->pRight->u.zToken[0]!=0 ); in selectColumnsFromExprList() 1260 zName = sqlite3MPrintf(db, "%s", pColExpr->u.zToken); in selectColumnsFromExprList() 3067 if( sqlite3StrICmp(pExpr->u.zToken,"min")==0 ){ in minMaxQuery() 3069 }else if( sqlite3StrICmp(pExpr->u.zToken,"max")==0 ){ in minMaxQuery() 3292 zTName = pE->pLeft->u.zToken; in selectExpander() 4387 if( !ExprHasProperty(p, EP_IntValue) && p->u.zToken ){ in sqlite3PrintExpr() 4388 sqlite3DebugPrintf("(%s", p->u.zToken); in sqlite3PrintExpr()
|
D | func.c | 1473 pDef = sqlite3FindFunction(db, pExpr->u.zToken, in sqlite3IsLikeFunction() 1474 sqlite3Strlen30(pExpr->u.zToken), in sqlite3IsLikeFunction()
|
D | where.c | 687 z = pRight->u.zToken; in isLikeOrGlob() 698 if( pPrefix ) pPrefix->u.zToken[cnt] = 0; in isLikeOrGlob() 703 if( *pisComplete && pRight->u.zToken[1] ){ in isLikeOrGlob() 743 if( sqlite3StrICmp(pExpr->u.zToken,"match")!=0 ){ in isMatchOfColumn() 1259 pC = (u8*)&pStr2->u.zToken[sqlite3Strlen30(pStr2->u.zToken)-1]; in exprAnalyze()
|
D | sqliteInt.h | 1642 char *zToken; /* Token value. Zero terminated and dequoted */ member
|
/external/chromium_org/third_party/sqlite/src/ext/fts3/ |
D | fts3_porter.c | 52 char *zToken; /* storage for current token */ member 112 c->zToken = NULL; /* no space allocated, yet. */ in porterOpen() 125 sqlite3_free(c->zToken); in porterClose() 609 pNew = sqlite3_realloc(c->zToken, c->nAllocated); in porterNext() 611 c->zToken = pNew; in porterNext() 613 porter_stemmer(&z[iStartOffset], n, c->zToken, pnBytes); in porterNext() 614 *pzToken = c->zToken; in porterNext()
|
D | fts3_tokenizer.c | 259 const char *zToken; 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() 305 zToken = &zInput[iStart]; in testFunc() 307 Tcl_ListObjAppendElement(0, pRet, Tcl_NewStringObj(zToken, nToken)); in testFunc()
|
D | fts3_expr.c | 149 const char *zToken; in getNextToken() local 154 rc = pModule->xNext(pCursor, &zToken, &nToken, &iStart, &iEnd, &iPosition); in getNextToken() 168 memcpy(pRet->pPhrase->aToken[0].z, zToken, nToken); in getNextToken() 232 const char *zToken; in getNextString() local 234 rc = pModule->xNext(pCursor, &zToken, &nToken, &iBegin, &iEnd, &iPos); in getNextString() 250 memcpy(&zTemp[nTemp], zToken, nToken); in getNextString()
|
D | fts3_write.c | 534 char const *zToken; 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() 572 if( pList==fts3HashInsert(&p->pendingTerms, zToken, nToken, pList) ){ in fts3PendingTermsAdd() 576 assert( 0==fts3HashFind(&p->pendingTerms, zToken, nToken) ); in fts3PendingTermsAdd() 2568 char const *zToken; /* Buffer containing token */ in sqlite3Fts3CacheDeferredDoclists() local 2574 rc = pModule->xNext(pTC, &zToken, &nToken, &iDum1, &iDum2, &iPos); in sqlite3Fts3CacheDeferredDoclists() 2579 && (0==memcmp(zToken, pPT->z, pPT->n)) in sqlite3Fts3CacheDeferredDoclists()
|
/external/chromium_org/third_party/sqlite/ |
D | memcmp.patch | 57 - if( memcmp(pE->u.zToken, z, n)==0 && pE->u.zToken[n]==0 ){ 58 + if( strcmp(pE->u.zToken, z)==0 ){
|
/external/chromium_org/third_party/sqlite/src/tool/ |
D | mkkeywordhash.c | 568 char *zToken = aKeywordTable[i].zTokenType; in main() local 570 printf("%s,%*s", zToken, (int)(14-strlen(zToken)), ""); in main()
|
/external/chromium_org/third_party/sqlite/src/test/ |
D | fts3rnd.test | 165 proc simple_token_matchinfo {zToken} { 179 set hit [llength [lsearch -all $col $zToken]]
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 10551 char *zToken; /* Token value. Zero terminated and dequoted */ member 59412 zVal = sqlite3MPrintf(db, "%s%s", zNeg, pExpr->u.zToken); 59447 assert( pExpr->u.zToken[0]=='x' || pExpr->u.zToken[0]=='X' ); 59448 assert( pExpr->u.zToken[1]=='\'' ); 59451 zVal = &pExpr->u.zToken[2]; 73238 }else if( ExprHasProperty(pOrig, EP_IntValue) || pOrig->u.zToken==0 ){ 73242 char *zToken = pOrig->u.zToken; 73243 assert( zToken!=0 ); 73244 pOrig->u.zToken = 0; 73246 pOrig->u.zToken = zToken; [all …]
|
/external/sqlite/dist/ |
D | sqlite3.c | 10551 char *zToken; /* Token value. Zero terminated and dequoted */ member 59440 zVal = sqlite3MPrintf(db, "%s%s", zNeg, pExpr->u.zToken); 59475 assert( pExpr->u.zToken[0]=='x' || pExpr->u.zToken[0]=='X' ); 59476 assert( pExpr->u.zToken[1]=='\'' ); 59479 zVal = &pExpr->u.zToken[2]; 73274 }else if( ExprHasProperty(pOrig, EP_IntValue) || pOrig->u.zToken==0 ){ 73278 char *zToken = pOrig->u.zToken; 73279 assert( zToken!=0 ); 73280 pOrig->u.zToken = 0; 73282 pOrig->u.zToken = zToken; [all …]
|
/external/chromium_org/third_party/sqlite/amalgamation/ |
D | sqlite3.c | 10002 char *zToken; /* Token value. Zero terminated and dequoted */ member 57206 zVal = sqlite3MPrintf(db, "%s%s", zNeg, pExpr->u.zToken); 57241 assert( pExpr->u.zToken[0]=='x' || pExpr->u.zToken[0]=='X' ); 57242 assert( pExpr->u.zToken[1]=='\'' ); 57245 zVal = &pExpr->u.zToken[2]; 69782 }else if( ExprHasProperty(pOrig, EP_IntValue) || pOrig->u.zToken==0 ){ 69786 char *zToken = pOrig->u.zToken; 69787 assert( zToken!=0 ); 69788 pOrig->u.zToken = 0; 69790 pOrig->u.zToken = zToken; [all …]
|