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 */
61835 zVal = sqlite3MPrintf(db, "%s%s", zNeg, pExpr->u.zToken);
61871 assert( pExpr->u.zToken[0]=='x' || pExpr->u.zToken[0]=='X' );
61872 assert( pExpr->u.zToken[1]=='\'' );
61875 zVal = &pExpr->u.zToken[2];
76884 pDup = sqlite3ExprAddCollateString(pParse, pDup, pExpr->u.zToken);
76890 ** The pExpr->u.zToken might point into memory that will be freed by the
76897 if( !ExprHasProperty(pExpr, EP_IntValue) && pExpr->u.zToken!=0 ){
76899 pExpr->u.zToken = sqlite3DbStrDup(db, pExpr->u.zToken);
77351 sqlite3AtoF(p->u.zToken, &r, sqlite3Strlen30(p->u.zToken), SQLITE_UTF8);
77412 return lookupName(pParse, 0, 0, pExpr->u.zToken, pNC, pExpr);
77428 zTable = pExpr->pLeft->u.zToken;
77429 zColumn = pRight->u.zToken;
77432 zDb = pExpr->pLeft->u.zToken;
77433 zTable = pRight->pLeft->u.zToken;
77434 zColumn = pRight->pRight->u.zToken;
77455 zId = pExpr->u.zToken;
77584 char *zCol = pE->u.zToken;
78271 return sqlite3AffinityType(pExpr->u.zToken, 0);
78358 pColl = sqlite3GetCollSeq(pParse, ENC(db), 0, p->u.zToken);
78636 ** stored in u.zToken. Instead, the integer values is written
78667 pNew->u.zToken = (char*)&pNew[1];
78669 if( pToken->n ) memcpy(pNew->u.zToken, pToken->z, pToken->n);
78670 pNew->u.zToken[pToken->n] = 0;
78673 sqlite3Dequote(pNew->u.zToken);
78692 const char *zToken /* Token argument. Might be NULL */
78695 x.z = zToken;
78696 x.n = zToken ? sqlite3Strlen30(zToken) : 0;
78849 z = pExpr->u.zToken;
78923 if( ExprHasProperty(p, EP_MemToken) ) sqlite3DbFree(db, p->u.zToken);
79004 ** of the Expr structure and a copy of the Expr.u.zToken string (if that
79009 if( !ExprHasProperty(p, EP_IntValue) && p->u.zToken ){
79010 nByte += sqlite3Strlen30(p->u.zToken)+1;
79021 ** itself and the buffer referred to by Expr.u.zToken, if any.
79042 ** to store the copy of expression p, the copies of p->u.zToken
79069 ** by the copy of the p->u.zToken string (if any).
79074 if( !ExprHasProperty(p, EP_IntValue) && p->u.zToken ){
79075 nToken = sqlite3Strlen30(p->u.zToken) + 1;
79093 /* Copy the p->u.zToken string, if any. */
79095 char *zToken = pNew->u.zToken = (char*)&zAlloc[nNewSize];
79096 memcpy(zToken, p->u.zToken, nToken);
79547 || sqlite3GetInt32(p->u.zToken, &rc)==0 );
80380 ** Expr.u.zToken is always UTF8 and zero-terminated.
80392 const char *z = pExpr->u.zToken;
80772 codeReal(v, pExpr->u.zToken, 0, target);
80778 sqlite3VdbeAddOp4(v, OP_String8, 0, target, 0, pExpr->u.zToken, 0);
80791 assert( pExpr->u.zToken[0]=='x' || pExpr->u.zToken[0]=='X' );
80792 assert( pExpr->u.zToken[1]=='\'' );
80793 z = &pExpr->u.zToken[2];
80803 assert( pExpr->u.zToken!=0 );
80804 assert( pExpr->u.zToken[0]!=0 );
80806 if( pExpr->u.zToken[1]!=0 ){
80807 assert( pExpr->u.zToken[0]=='?'
80808 || strcmp(pExpr->u.zToken, pParse->azVar[pExpr->iColumn-1])==0 );
80827 aff = sqlite3AffinityType(pExpr->u.zToken, 0);
80922 codeReal(v, pLeft->u.zToken, 1, target);
80965 sqlite3ErrorMsg(pParse, "misuse of aggregate: %s()", pExpr->u.zToken);
80990 zId = pExpr->u.zToken;
81319 v, OP_Halt, SQLITE_OK, OE_Ignore, 0, pExpr->u.zToken,0);
81323 pExpr->affinity, pExpr->u.zToken, 0, 0);
81494 sqlite3ExplainPrintf(pOut, "%s", pExpr->u.zToken);
81500 sqlite3ExplainPrintf(pOut,"%s", pExpr->u.zToken);
81505 sqlite3ExplainPrintf(pOut,"%Q", pExpr->u.zToken);
81514 sqlite3ExplainPrintf(pOut,"%s", pExpr->u.zToken);
81520 pExpr->u.zToken, pExpr->iColumn);
81535 switch( sqlite3AffinityType(pExpr->u.zToken, 0) ){
81578 sqlite3ExplainPrintf(pOut,".COLLATE(%s)",pExpr->u.zToken);
81592 pExpr->op2, pExpr->u.zToken);
81594 sqlite3ExplainPrintf(pOut, "FUNCTION:%s(", pExpr->u.zToken);
81681 sqlite3ExplainPrintf(pOut, "RAISE-%s(%s)", zType, pExpr->u.zToken);
82167 if( pA->op!=TK_COLUMN && ALWAYS(pA->op!=TK_AGG_COLUMN) && pA->u.zToken ){
82168 if( strcmp(pA->u.zToken,pB->u.zToken)!=0 ){
82451 pExpr->u.zToken, sqlite3Strlen30(pExpr->u.zToken),
85596 zAuthArg = pAuthArg->u.zToken;
89065 zToken));
89134 zColl = pListItem->pExpr->u.zToken;
93291 pDef = sqlite3FindFunction(db, pExpr->u.zToken,
93292 sqlite3Strlen30(pExpr->u.zToken),
103022 zName = sqlite3MPrintf(db, "%s", pColExpr->u.zToken);
105031 const char *zFunc = pExpr->u.zToken;
105548 zTName = pE->pLeft->u.zToken;
111577 z = pRight->u.zToken;
111588 if( pPrefix ) pPrefix->u.zToken[cnt] = 0;
111593 if( *pisComplete && pRight->u.zToken[1] ){
111633 if( sqlite3StrICmp(pExpr->u.zToken,"match")!=0 ){
112160 pC = (u8*)&pStr2->u.zToken[sqlite3Strlen30(pStr2->u.zToken)-1];
133385 const char *zToken;
133389 rc = pModule->xNext(pCursor, &zToken, &nToken, &iStart, &iEnd, &iPosition);
133402 memcpy(pRet->pPhrase->aToken[0].z, zToken, nToken);
134905 char *zToken; /* storage for current token */
134906 int nAllocated; /* space allocated to zToken buffer */
134965 c->zToken = NULL; /* no space allocated, yet. */
134978 sqlite3_free(c->zToken);
135478 pNew = sqlite3_realloc(c->zToken, c->nAllocated);
135480 c->zToken = pNew;
135482 porter_stemmer(&z[iStartOffset], n, c->zToken, pnBytes);
135483 *pzToken = c->zToken;
135771 const char *zToken;
135817 while( SQLITE_OK==p->xNext(pCsr, &zToken, &nToken, &iStart, &iEnd, &iPos) ){
135819 Tcl_ListObjAppendElement(0, pRet, Tcl_NewStringObj(zToken, nToken));
135820 zToken = &zInput[iStart];
135822 Tcl_ListObjAppendElement(0, pRet, Tcl_NewStringObj(zToken, nToken));
136054 int nTokenAllocated; /* space allocated to zToken buffer */
136310 const char *zToken; /* Current 'token' value */
136311 int nToken; /* Size of zToken in bytes */
136531 pCsr->zToken = 0;
136560 &pCsr->zToken, &pCsr->nToken,
136614 return (pCsr->zToken==0);
136633 sqlite3_result_text(pCtx, pCsr->zToken, pCsr->nToken, SQLITE_TRANSIENT);
137449 const char *zToken,
137455 pList = (PendingList *)fts3HashFind(pHash, zToken, nToken);
137460 if( pList==fts3HashInsert(pHash, zToken, nToken, pList) ){
137464 assert( 0==fts3HashFind(pHash, zToken, nToken) );
137495 char const *zToken;
137521 && SQLITE_OK==(rc = xNext(pCsr, &zToken, &nToken, &iStart, &iEnd, &iPos))
137529 if( iPos<0 || !zToken || nToken<=0 ){
137536 p, iCol, iPos, &p->aIndex[0].hPending, zToken, nToken
137545 p, iCol, iPos, &pIndex->hPending, zToken, pIndex->nPrefix
141883 char const *zToken; /* Buffer containing token */
141888 rc = pModule->xNext(pT, &zToken, &nToken, &iDum1, &iDum2, &iPos);
141892 zToken, nToken, iLang, 0, iDocid, iCol, iPos
141897 zToken, p->aIndex[i].nPrefix, iLang, i, iDocid, iCol, iPos
142057 char const *zToken; /* Buffer containing token */
142062 rc = pModule->xNext(pTC, &zToken, &nToken, &iDum1, &iDum2, &iPos);
142068 && (0==memcmp(zToken, pPT->z, pPT->n))
143979 char *zToken; /* storage for current token */
143980 int nAlloc; /* space allocated at zToken */
144185 sqlite3_free(pCsr->zToken);
144221 zOut = pCsr->zToken;
144226 if( (zOut-pCsr->zToken)>=(pCsr->nAlloc-4) ){
144227 char *zNew = sqlite3_realloc(pCsr->zToken, pCsr->nAlloc+64);
144229 zOut = &zNew[zOut - pCsr->zToken];
144230 pCsr->zToken = zNew;
144250 *paToken = pCsr->zToken;
144251 *pnToken = (int)(zOut - pCsr->zToken);