Lines Matching refs:pToken
19998 Token *pToken = va_arg(ap, Token*);
19999 if( pToken ){
20000 sqlite3StrAccumAppend(pAccum, (const char*)pToken->z, pToken->n);
74463 ** sequence named by pToken. Return a pointer to the revised expression.
74753 ** for this node and for the pToken argument is a single allocation
74759 ** parameter is ignored if pToken is NULL or if the token does not
74763 ** Special case: If op==TK_INTEGER and pToken points to a string that
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 );
74798 if( pToken->n ) memcpy(pNew->u.zToken, pToken->z, pToken->n);
74799 pNew->u.zToken[pToken->n] = 0;
74801 && ((c = pToken->z[0])=='\'' || c=='"' || c=='[' || c=='`') ){
74876 const Token *pToken /* Argument token */
74878 Expr *p = sqlite3ExprAlloc(pParse->db, op, pToken, 1);
74906 SQLITE_PRIVATE Expr *sqlite3ExprFunction(Parse *pParse, ExprList *pList, Token *pToken){
74909 assert( pToken );
74910 pNew = sqlite3ExprAlloc(db, TK_FUNCTION, pToken, 1);
82415 SQLITE_PRIVATE void sqlite3AddCollateType(Parse *pParse, Token *pToken){
82424 zColl = sqlite3NameFromToken(db, pToken);
84284 SQLITE_PRIVATE IdList *sqlite3IdListAppend(sqlite3 *db, IdList *pList, Token *pToken){
84301 pList->a[i].zName = sqlite3NameFromToken(db, pToken);
120254 Fts3PhraseToken *pToken = &pExpr->pPhrase->aToken[i];
120256 pToken->z, pToken->n, pToken->isPrefix, &pToken->pSegcsr
120350 Fts3PhraseToken *pToken = &p->aToken[iToken];
120351 assert( pToken->pDeferred==0 || pToken->pSegcsr==0 );
120353 if( pToken->pSegcsr ){
120356 rc = fts3TermSelect(pTab, pToken, p->iColumn, &nThis, &pThis);
120361 assert( pToken->pSegcsr==0 );
120386 Fts3PhraseToken *pToken = &pPhrase->aToken[iToken];
120387 Fts3DeferredToken *pDeferred = pToken->pDeferred;
120702 Fts3PhraseToken *pToken; /* The token itself */
120732 pTC->pToken = &pPhrase->aToken[i];
120734 *pRc = sqlite3Fts3MsrOvfl(pCsr, pTC->pToken->pSegcsr, &pTC->nOvfl);
120899 if( aTC[iTC].pToken && aTC[iTC].pRoot==pRoot
120912 Fts3PhraseToken *pToken = pTC->pToken;
120913 rc = sqlite3Fts3DeferToken(pCsr, pToken, pTC->iCol);
120914 fts3SegReaderCursorFree(pToken->pSegcsr);
120915 pToken->pSegcsr = 0;
120926 Fts3PhraseToken *pToken = pTC->pToken;
120929 rc = fts3TermSelect(pTab, pToken, pTC->iCol, &nList, &pList);
120941 pTC->pToken = 0;
122592 Fts3PhraseToken *pToken;
122601 pToken = &((Fts3Phrase *)(&p[1]))->aToken[ii];
122602 memset(pToken, 0, sizeof(Fts3PhraseToken));
122607 pToken->n = nByte;
122608 pToken->isPrefix = (iEnd<nInput && zInput[iEnd]=='*');
122609 pToken->bFirst = (iBegin>0 && zInput[iBegin-1]=='^');
124867 char *pToken; /* storage for current token */
124956 c->pToken = NULL; /* no space allocated, yet. */
124969 sqlite3_free(c->pToken);
125009 pNew = sqlite3_realloc(c->pToken, c->nTokenAllocated);
125011 c->pToken = pNew;
125018 c->pToken[i] = (char)((ch>='A' && ch<='Z') ? ch-'A'+'a' : ch);
125020 *ppToken = c->pToken;
125145 Fts3PhraseToken *pToken; /* Pointer to corresponding expr token */
128326 Fts3PhraseToken *pPT = pDef->pToken;
128378 ** Add an entry for token pToken to the pCsr->pDeferred list.
128382 Fts3PhraseToken *pToken, /* Token to defer */
128391 pDeferred->pToken = pToken;
128396 assert( pToken->pDeferred==0 );
128397 pToken->pDeferred = pDeferred;