Lines Matching refs:zToken
11340 ** together with Expr.zToken strings.
11354 char *zToken; /* Token value. Zero terminated and dequoted */
11412 #define EP_MemToken 0x010000 /* Need to sqlite3DbFree() Expr.zToken */
61855 zVal = sqlite3MPrintf(db, "%s%s", zNeg, pExpr->u.zToken);
61891 assert( pExpr->u.zToken[0]=='x' || pExpr->u.zToken[0]=='X' );
61892 assert( pExpr->u.zToken[1]=='\'' );
61895 zVal = &pExpr->u.zToken[2];
76904 pDup = sqlite3ExprAddCollateString(pParse, pDup, pExpr->u.zToken);
76910 ** The pExpr->u.zToken might point into memory that will be freed by the
76917 if( !ExprHasProperty(pExpr, EP_IntValue) && pExpr->u.zToken!=0 ){
76919 pExpr->u.zToken = sqlite3DbStrDup(db, pExpr->u.zToken);
77371 sqlite3AtoF(p->u.zToken, &r, sqlite3Strlen30(p->u.zToken), SQLITE_UTF8);
77432 return lookupName(pParse, 0, 0, pExpr->u.zToken, pNC, pExpr);
77448 zTable = pExpr->pLeft->u.zToken;
77449 zColumn = pRight->u.zToken;
77452 zDb = pExpr->pLeft->u.zToken;
77453 zTable = pRight->pLeft->u.zToken;
77454 zColumn = pRight->pRight->u.zToken;
77475 zId = pExpr->u.zToken;
77604 char *zCol = pE->u.zToken;
78291 return sqlite3AffinityType(pExpr->u.zToken, 0);
78378 pColl = sqlite3GetCollSeq(pParse, ENC(db), 0, p->u.zToken);
78656 ** stored in u.zToken. Instead, the integer values is written
78687 pNew->u.zToken = (char*)&pNew[1];
78689 if( pToken->n ) memcpy(pNew->u.zToken, pToken->z, pToken->n);
78690 pNew->u.zToken[pToken->n] = 0;
78693 sqlite3Dequote(pNew->u.zToken);
78712 const char *zToken /* Token argument. Might be NULL */
78715 x.z = zToken;
78716 x.n = zToken ? sqlite3Strlen30(zToken) : 0;
78869 z = pExpr->u.zToken;
78943 if( ExprHasProperty(p, EP_MemToken) ) sqlite3DbFree(db, p->u.zToken);
79024 ** of the Expr structure and a copy of the Expr.u.zToken string (if that
79029 if( !ExprHasProperty(p, EP_IntValue) && p->u.zToken ){
79030 nByte += sqlite3Strlen30(p->u.zToken)+1;
79041 ** itself and the buffer referred to by Expr.u.zToken, if any.
79062 ** to store the copy of expression p, the copies of p->u.zToken
79089 ** by the copy of the p->u.zToken string (if any).
79094 if( !ExprHasProperty(p, EP_IntValue) && p->u.zToken ){
79095 nToken = sqlite3Strlen30(p->u.zToken) + 1;
79113 /* Copy the p->u.zToken string, if any. */
79115 char *zToken = pNew->u.zToken = (char*)&zAlloc[nNewSize];
79116 memcpy(zToken, p->u.zToken, nToken);
79567 || sqlite3GetInt32(p->u.zToken, &rc)==0 );
80400 ** Expr.u.zToken is always UTF8 and zero-terminated.
80412 const char *z = pExpr->u.zToken;
80792 codeReal(v, pExpr->u.zToken, 0, target);
80798 sqlite3VdbeAddOp4(v, OP_String8, 0, target, 0, pExpr->u.zToken, 0);
80811 assert( pExpr->u.zToken[0]=='x' || pExpr->u.zToken[0]=='X' );
80812 assert( pExpr->u.zToken[1]=='\'' );
80813 z = &pExpr->u.zToken[2];
80823 assert( pExpr->u.zToken!=0 );
80824 assert( pExpr->u.zToken[0]!=0 );
80826 if( pExpr->u.zToken[1]!=0 ){
80827 assert( pExpr->u.zToken[0]=='?'
80828 || strcmp(pExpr->u.zToken, pParse->azVar[pExpr->iColumn-1])==0 );
80847 aff = sqlite3AffinityType(pExpr->u.zToken, 0);
80942 codeReal(v, pLeft->u.zToken, 1, target);
80985 sqlite3ErrorMsg(pParse, "misuse of aggregate: %s()", pExpr->u.zToken);
81010 zId = pExpr->u.zToken;
81339 v, OP_Halt, SQLITE_OK, OE_Ignore, 0, pExpr->u.zToken,0);
81343 pExpr->affinity, pExpr->u.zToken, 0, 0);
81514 sqlite3ExplainPrintf(pOut, "%s", pExpr->u.zToken);
81520 sqlite3ExplainPrintf(pOut,"%s", pExpr->u.zToken);
81525 sqlite3ExplainPrintf(pOut,"%Q", pExpr->u.zToken);
81534 sqlite3ExplainPrintf(pOut,"%s", pExpr->u.zToken);
81540 pExpr->u.zToken, pExpr->iColumn);
81555 switch( sqlite3AffinityType(pExpr->u.zToken, 0) ){
81598 sqlite3ExplainPrintf(pOut,".COLLATE(%s)",pExpr->u.zToken);
81612 pExpr->op2, pExpr->u.zToken);
81614 sqlite3ExplainPrintf(pOut, "FUNCTION:%s(", pExpr->u.zToken);
81701 sqlite3ExplainPrintf(pOut, "RAISE-%s(%s)", zType, pExpr->u.zToken);
82187 if( pA->op!=TK_COLUMN && ALWAYS(pA->op!=TK_AGG_COLUMN) && pA->u.zToken ){
82188 if( strcmp(pA->u.zToken,pB->u.zToken)!=0 ){
82471 pExpr->u.zToken, sqlite3Strlen30(pExpr->u.zToken),
85616 zAuthArg = pAuthArg->u.zToken;
89085 nExtra += (1 + sqlite3Strlen30(pExpr->u.zToken));
89154 zColl = pListItem->pExpr->u.zToken;
93311 pDef = sqlite3FindFunction(db, pExpr->u.zToken,
93312 sqlite3Strlen30(pExpr->u.zToken),
103042 zName = sqlite3MPrintf(db, "%s", pColExpr->u.zToken);
105051 const char *zFunc = pExpr->u.zToken;
105568 zTName = pE->pLeft->u.zToken;
111597 z = pRight->u.zToken;
111608 if( pPrefix ) pPrefix->u.zToken[cnt] = 0;
111613 if( *pisComplete && pRight->u.zToken[1] ){
111653 if( sqlite3StrICmp(pExpr->u.zToken,"match")!=0 ){
112180 pC = (u8*)&pStr2->u.zToken[sqlite3Strlen30(pStr2->u.zToken)-1];
133417 const char *zToken;
133421 rc = pModule->xNext(pCursor, &zToken, &nToken, &iStart, &iEnd, &iPosition);
133434 memcpy(pRet->pPhrase->aToken[0].z, zToken, nToken);
134937 char *zToken; /* storage for current token */
134938 int nAllocated; /* space allocated to zToken buffer */
134997 c->zToken = NULL; /* no space allocated, yet. */
135010 sqlite3_free(c->zToken);
135510 pNew = sqlite3_realloc(c->zToken, c->nAllocated);
135512 c->zToken = pNew;
135514 porter_stemmer(&z[iStartOffset], n, c->zToken, pnBytes);
135515 *pzToken = c->zToken;
135803 const char *zToken;
135849 while( SQLITE_OK==p->xNext(pCsr, &zToken, &nToken, &iStart, &iEnd, &iPos) ){
135851 Tcl_ListObjAppendElement(0, pRet, Tcl_NewStringObj(zToken, nToken));
135852 zToken = &zInput[iStart];
135854 Tcl_ListObjAppendElement(0, pRet, Tcl_NewStringObj(zToken, nToken));
136086 int nTokenAllocated; /* space allocated to zToken buffer */
136342 const char *zToken; /* Current 'token' value */
136343 int nToken; /* Size of zToken in bytes */
136563 pCsr->zToken = 0;
136592 &pCsr->zToken, &pCsr->nToken,
136646 return (pCsr->zToken==0);
136665 sqlite3_result_text(pCtx, pCsr->zToken, pCsr->nToken, SQLITE_TRANSIENT);
137481 const char *zToken,
137487 pList = (PendingList *)fts3HashFind(pHash, zToken, nToken);
137492 if( pList==fts3HashInsert(pHash, zToken, nToken, pList) ){
137496 assert( 0==fts3HashFind(pHash, zToken, nToken) );
137527 char const *zToken;
137553 && SQLITE_OK==(rc = xNext(pCsr, &zToken, &nToken, &iStart, &iEnd, &iPos))
137561 if( iPos<0 || !zToken || nToken<=0 ){
137568 p, iCol, iPos, &p->aIndex[0].hPending, zToken, nToken
137577 p, iCol, iPos, &pIndex->hPending, zToken, pIndex->nPrefix
141915 char const *zToken; /* Buffer containing token */
141920 rc = pModule->xNext(pT, &zToken, &nToken, &iDum1, &iDum2, &iPos);
141924 zToken, nToken, iLang, 0, iDocid, iCol, iPos
141929 zToken, p->aIndex[i].nPrefix, iLang, i, iDocid, iCol, iPos
142089 char const *zToken; /* Buffer containing token */
142094 rc = pModule->xNext(pTC, &zToken, &nToken, &iDum1, &iDum2, &iPos);
142100 && (0==memcmp(zToken, pPT->z, pPT->n))
144011 char *zToken; /* storage for current token */
144012 int nAlloc; /* space allocated at zToken */
144217 sqlite3_free(pCsr->zToken);
144253 zOut = pCsr->zToken;
144258 if( (zOut-pCsr->zToken)>=(pCsr->nAlloc-4) ){
144259 char *zNew = sqlite3_realloc(pCsr->zToken, pCsr->nAlloc+64);
144261 zOut = &zNew[zOut - pCsr->zToken];
144262 pCsr->zToken = zNew;
144282 *paToken = pCsr->zToken;
144283 *pnToken = (int)(zOut - pCsr->zToken);