Home
last modified time | relevance | path

Searched refs:pToken (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/third_party/sqlite/src/ext/fts1/
Dfts1_tokenizer1.c39 char *pToken; /* storage for current token */ member
125 c->pToken = NULL; /* no space allocated, yet. */ in simpleOpen()
138 free(c->pToken); in simpleClose()
177 c->pToken = realloc(c->pToken, c->nTokenAllocated); in simpleNext()
178 if( c->pToken==NULL ) return SQLITE_NOMEM; in simpleNext()
185 c->pToken[i] = ch<0x80 ? tolower(ch) : ch; in simpleNext()
187 *ppToken = c->pToken; in simpleNext()
Dfts1.c2688 const char *pToken; in tokenizeSegment() local
2692 &pToken, &nToken, in tokenizeSegment()
2697 (iCol = checkColumnSpecifier(pQuery->pFts, pToken, nToken))>=0 ){ in tokenizeSegment()
2706 queryAdd(pQuery, pToken, nToken); in tokenizeSegment()
2974 const char *pToken; in buildTerms() local
2984 &pToken, &nTokenBytes, in buildTerms()
2995 p = fts1HashFind(terms, pToken, nTokenBytes); in buildTerms()
2999 fts1HashInsert(terms, pToken, nTokenBytes, p); in buildTerms()
Dfulltext.c1291 const char *pToken; in build_terms() local
1301 &pToken, &nTokenBytes, in build_terms()
1312 p = HashFind(terms, pToken, nTokenBytes); in build_terms()
1316 HashInsert(terms, pToken, nTokenBytes, p); in build_terms()
/external/chromium_org/third_party/sqlite/src/ext/fts2/
Dfts2_tokenizer1.c46 char *pToken; /* storage for current token */ member
134 c->pToken = NULL; /* no space allocated, yet. */ in simpleOpen()
147 sqlite3_free(c->pToken); in simpleClose()
186 c->pToken = sqlite3_realloc(c->pToken, c->nTokenAllocated); in simpleNext()
187 if( c->pToken==NULL ) return SQLITE_NOMEM; in simpleNext()
194 c->pToken[i] = (ch>='A' && ch<='Z') ? (ch - 'A' + 'a') : ch; in simpleNext()
196 *ppToken = c->pToken; in simpleNext()
Dfts2.c3737 const char *pToken; in tokenizeSegment() local
3741 &pToken, &nToken, in tokenizeSegment()
3746 (iCol = checkColumnSpecifier(pQuery->pFts, pToken, nToken))>=0 ){ in tokenizeSegment()
3769 queryAdd(pQuery, pToken, nToken); in tokenizeSegment()
4114 const char *pToken; in buildTerms() local
4124 &pToken, &nTokenBytes, in buildTerms()
4132 if( iPosition<0 || pToken == NULL || nTokenBytes == 0 ){ in buildTerms()
4137 p = fts2HashFind(&v->pendingTerms, pToken, nTokenBytes); in buildTerms()
4141 fts2HashInsert(&v->pendingTerms, pToken, nTokenBytes, p); in buildTerms()
/external/chromium_org/third_party/sqlite/src/ext/fts3/
Dfts3_tokenizer1.c47 char *pToken; /* storage for current token */ member
136 c->pToken = NULL; /* no space allocated, yet. */ in simpleOpen()
149 sqlite3_free(c->pToken); in simpleClose()
189 pNew = sqlite3_realloc(c->pToken, c->nTokenAllocated); in simpleNext()
191 c->pToken = pNew; in simpleNext()
198 c->pToken[i] = (char)((ch>='A' && ch<='Z') ? ch-'A'+'a' : ch); in simpleNext()
200 *ppToken = c->pToken; in simpleNext()
Dfts3_write.c62 Fts3PhraseToken *pToken; /* Pointer to corresponding expr token */ member
2576 Fts3PhraseToken *pPT = pDef->pToken; in sqlite3Fts3CacheDeferredDoclists()
2604 Fts3PhraseToken *pToken, /* Token to defer */ in sqlite3Fts3DeferToken() argument
2613 pDeferred->pToken = pToken; in sqlite3Fts3DeferToken()
2618 assert( pToken->pDeferred==0 ); in sqlite3Fts3DeferToken()
2619 pToken->pDeferred = pDeferred; in sqlite3Fts3DeferToken()
Dfts3.c2076 Fts3DeferredToken *pToken, /* Phrase token */ in fts3DeferredTermSelect() argument
2084 aSource = sqlite3Fts3DeferredDoclist(pToken, &nSource); in fts3DeferredTermSelect()
2343 Fts3PhraseToken *pToken = &pExpr->pPhrase->aToken[i]; in fts3DeferExpression() local
2344 if( pToken->pDeferred==0 ){ in fts3DeferExpression()
2345 rc = sqlite3Fts3DeferToken(pCsr, pToken, iCol); in fts3DeferExpression()
/external/chromium_org/third_party/sqlite/src/src/
Dprintf.c692 Token *pToken = va_arg(ap, Token*); in sqlite3VXPrintf() local
693 if( pToken ){ in sqlite3VXPrintf()
694 sqlite3StrAccumAppend(pAccum, (const char*)pToken->z, pToken->n); in sqlite3VXPrintf()
Dexpr.c381 const Token *pToken, /* Token argument. Might be NULL */ in sqlite3ExprAlloc() argument
388 if( pToken ){ in sqlite3ExprAlloc()
389 if( op!=TK_INTEGER || pToken->z==0 in sqlite3ExprAlloc()
390 || sqlite3GetInt32(pToken->z, &iValue)==0 ){ in sqlite3ExprAlloc()
391 nExtra = pToken->n+1; in sqlite3ExprAlloc()
399 if( pToken ){ in sqlite3ExprAlloc()
406 memcpy(pNew->u.zToken, pToken->z, pToken->n); in sqlite3ExprAlloc()
407 pNew->u.zToken[pToken->n] = 0; in sqlite3ExprAlloc()
409 && ((c = pToken->z[0])=='\'' || c=='"' || c=='[' || c=='`') ){ in sqlite3ExprAlloc()
484 const Token *pToken /* Argument token */ in sqlite3PExpr() argument
[all …]
Dbuild.c1224 void sqlite3AddCollateType(Parse *pParse, Token *pToken){ in sqlite3AddCollateType() argument
1233 zColl = sqlite3NameFromToken(db, pToken); in sqlite3AddCollateType()
3026 IdList *sqlite3IdListAppend(sqlite3 *db, IdList *pList, Token *pToken){ in sqlite3IdListAppend() argument
3046 pList->a[i].zName = sqlite3NameFromToken(db, pToken); in sqlite3IdListAppend()
/external/sqlite/dist/orig/
Dsqlite3.c19998 Token *pToken = va_arg(ap, Token*); in sqlite3VXPrintf() local
19999 if( pToken ){ in sqlite3VXPrintf()
20000 sqlite3StrAccumAppend(pAccum, (const char*)pToken->z, pToken->n); in sqlite3VXPrintf()
74772 const Token *pToken, /* Token argument. Might be NULL */
74779 if( pToken ){
74780 if( op!=TK_INTEGER || pToken->z==0
74781 || sqlite3GetInt32(pToken->z, &iValue)==0 ){
74782 nExtra = pToken->n+1;
74790 if( pToken ){
74797 assert( pToken->z!=0 || pToken->n==0 );
[all …]
/external/sqlite/dist/
Dsqlite3.c19998 Token *pToken = va_arg(ap, Token*); in sqlite3VXPrintf() local
19999 if( pToken ){ in sqlite3VXPrintf()
20000 sqlite3StrAccumAppend(pAccum, (const char*)pToken->z, pToken->n); in sqlite3VXPrintf()
74808 const Token *pToken, /* Token argument. Might be NULL */
74815 if( pToken ){
74816 if( op!=TK_INTEGER || pToken->z==0
74817 || sqlite3GetInt32(pToken->z, &iValue)==0 ){
74818 nExtra = pToken->n+1;
74826 if( pToken ){
74833 assert( pToken->z!=0 || pToken->n==0 );
[all …]
/external/chromium_org/third_party/sqlite/amalgamation/
Dsqlite3.c19190 Token *pToken = va_arg(ap, Token*); in sqlite3VXPrintf() local
19191 if( pToken ){ in sqlite3VXPrintf()
19192 sqlite3StrAccumAppend(pAccum, (const char*)pToken->z, pToken->n); in sqlite3VXPrintf()
71297 const Token *pToken, /* Token argument. Might be NULL */
71304 if( pToken ){
71305 if( op!=TK_INTEGER || pToken->z==0
71306 || sqlite3GetInt32(pToken->z, &iValue)==0 ){
71307 nExtra = pToken->n+1;
71315 if( pToken ){
71322 memcpy(pNew->u.zToken, pToken->z, pToken->n);
[all …]
/external/chromium_org/third_party/sqlite/
Dfts2.patch990 queryAdd(pQuery, pToken, nToken);