Lines Matching refs:zText

2479 ** For example, assume the string variable zText contains text as follows:
2482 ** char *zText = "It's a happy day!";
2488 ** char *zSQL = sqlite3_mprintf("INSERT INTO table VALUES('%q')", zText);
2493 ** Because the %q format string is used, the '\'' character in zText
2516 ** char *zSQL = sqlite3_mprintf("INSERT INTO table VALUES(%Q)", zText);
2522 ** variable even if the zText variable is a NULL pointer.
10739 char *zText; /* The string collected so far */
10741 int nAlloc; /* Amount of space allocated in zText */
19253 char *zOld = (p->zText==p->zBase ? 0 : p->zText);
19269 if( zOld==0 ) memcpy(zNew, p->zText, p->nChar);
19270 p->zText = zNew;
19278 memcpy(&p->zText[p->nChar], z, N);
19288 if( p->zText ){
19289 p->zText[p->nChar] = 0;
19290 if( p->useMalloc && p->zText==p->zBase ){
19292 p->zText = sqlite3DbMallocRaw(p->db, p->nChar+1 );
19294 p->zText = sqlite3_malloc(p->nChar+1);
19296 if( p->zText ){
19297 memcpy(p->zText, p->zBase, p->nChar+1);
19303 return p->zText;
19310 if( p->zText!=p->zBase ){
19312 sqlite3DbFree(p->db, p->zText);
19314 sqlite3_free(p->zText);
19317 p->zText = 0;
19324 p->zText = p->zBase = zBase;
82550 char *zText = 0;
82554 zText = (char *)contextMalloc(context, (2*(i64)nBlob)+4);
82555 if( zText ){
82558 zText[(i*2)+2] = hexdigits[(zBlob[i]>>4)&0x0F];
82559 zText[(i*2)+3] = hexdigits[(zBlob[i])&0x0F];
82561 zText[(nBlob*2)+2] = '\'';
82562 zText[(nBlob*2)+3] = '\0';
82563 zText[0] = 'X';
82564 zText[1] = '\'';
82565 sqlite3_result_text(context, zText, -1, SQLITE_TRANSIENT);
82566 sqlite3_free(zText);
87568 static const char zText[] = "onoffalseyestruefull";
87578 if( iLength[i]==n && sqlite3StrNICmp(&zText[iOffset[i]],z,n)==0 ){
106151 /* zText[] encodes 811 bytes of keywords in 541 bytes */
106162 static const char zText[540] = {
106275 if( aLen[i]==n && sqlite3StrNICmp(&zText[aOffset[i]],z,n)==0 ){
112115 /* Find the next word in zText and place the endpoints in pzWord*.
112119 static int findWord(const char *zText,
112122 while( ascii_isspace(*zText) ){
112123 zText++;
112125 *pzWordStart = zText;
112126 while( ascii_isalnum(*zText) || *zText=='_' ){
112127 zText++;
112129 r = zText>*pzWordStart; /* In case pzWordStart==pzWordEnd */
112130 *pzWordEnd = zText;
112134 /* Return true if the next word in zText is zWord, also setting
112137 static int expectWord(const char *zText, const char *zWord,
112140 if( findWord(zText, &zWordStart, &zWordEnd) &&
120422 ** Tokenize the nul-terminated string zText and add all tokens to the
120430 const char *zText, /* Text of document to be inserted */
120451 rc = pModule->xOpen(pTokenizer, zText, -1, &pCsr);
120540 const char *zText = (const char *)sqlite3_value_text(apVal[i]);
120541 if( zText ){
120542 int rc = fts3PendingTermsAdd(p, zText, i-2, &aSz[i-2]);
120662 const char *zText = (const char *)sqlite3_column_text(pSelect, i);
120663 rc = fts3PendingTermsAdd(p, zText, -1, &aSz[i-1]);
122469 const char *zText = (const char *)sqlite3_column_text(pCsr->pStmt, i+1);
122472 rc = pModule->xOpen(pT, zText, -1, &pTC);
122477 int iPos; /* Position of token in zText */
127345 char *zText = 0;
127371 if( zText ){
127372 char *zTextNew = sqlite3_mprintf("%s {%s}", zText, zCell);
127373 sqlite3_free(zText);
127374 zText = zTextNew;
127376 zText = sqlite3_mprintf("{%s}", zCell);
127380 sqlite3_result_text(ctx, zText, -1, sqlite3_free);