Lines Matching refs:zText

2614 ** For example, assume the string variable zText contains text as follows:
2617 ** char *zText = "It's a happy day!";
2623 ** char *zSQL = sqlite3_mprintf("INSERT INTO table VALUES('%q')", zText);
2628 ** Because the %q format string is used, the '\'' character in zText
2651 ** char *zSQL = sqlite3_mprintf("INSERT INTO table VALUES(%Q)", zText);
2657 ** variable even if the zText variable is a NULL pointer.
11310 char *zText; /* The string collected so far */
11312 int nAlloc; /* Amount of space allocated in zText */
20059 assert( p->zText!=0 || p->nChar==0 );
20075 char *zOld = (p->zText==p->zBase ? 0 : p->zText);
20091 if( zOld==0 && p->nChar>0 ) memcpy(zNew, p->zText, p->nChar);
20092 p->zText = zNew;
20100 assert( p->zText );
20101 memcpy(&p->zText[p->nChar], z, N);
20111 if( p->zText ){
20112 p->zText[p->nChar] = 0;
20113 if( p->useMalloc && p->zText==p->zBase ){
20115 p->zText = sqlite3DbMallocRaw(p->db, p->nChar+1 );
20117 p->zText = sqlite3_malloc(p->nChar+1);
20119 if( p->zText ){
20120 memcpy(p->zText, p->zBase, p->nChar+1);
20126 return p->zText;
20133 if( p->zText!=p->zBase ){
20135 sqlite3DbFree(p->db, p->zText);
20137 sqlite3_free(p->zText);
20140 p->zText = 0;
20147 p->zText = p->zBase = zBase;
64280 return p && p->str.zText && p->str.nChar
64281 && p->str.zText[p->str.nChar-1]=='\n';
64319 if( p->str.zText && p->nIndent<ArraySize(p->aIndent) ){
64320 const char *z = p->str.zText;
87031 char *zText = 0;
87035 zText = (char *)contextMalloc(context, (2*(i64)nBlob)+4);
87036 if( zText ){
87039 zText[(i*2)+2] = hexdigits[(zBlob[i]>>4)&0x0F];
87040 zText[(i*2)+3] = hexdigits[(zBlob[i])&0x0F];
87042 zText[(nBlob*2)+2] = '\'';
87043 zText[(nBlob*2)+3] = '\0';
87044 zText[0] = 'X';
87045 zText[1] = '\'';
87046 sqlite3_result_text(context, zText, -1, SQLITE_TRANSIENT);
87047 sqlite3_free(zText);
92128 static const char zText[] = "onoffalseyestruefull";
92138 if( iLength[i]==n && sqlite3StrNICmp(&zText[iOffset[i]],z,n)==0 ){
111379 /* zText[] encodes 811 bytes of keywords in 541 bytes */
111390 static const char zText[540] = {
111503 if( aLen[i]==n && sqlite3StrNICmp(&zText[aOffset[i]],z,n)==0 ){
125781 ** Tokenize the nul-terminated string zText and add all tokens to the
125790 const char *zText, /* Text of document to be inserted */
125812 ** zText==0. In this case, add zero token entries to the hash table and
125814 if( zText==0 ){
125819 rc = sqlite3Fts3OpenTokenizer(pTokenizer, iLangid, zText, -1, &pCsr);
125923 const char *zText = (const char *)sqlite3_value_text(apVal[i]);
125924 int rc = fts3PendingTermsAdd(p, iLangid, zText, i-2, &aSz[i-2]);
126073 const char *zText = (const char *)sqlite3_column_text(pSelect, i);
126074 rc = fts3PendingTermsAdd(p, iLangid, zText, -1, &aSz[i-1]);
128360 const char *zText = (const char *)sqlite3_column_text(pCsr->pStmt, i+1);
128363 rc = sqlite3Fts3OpenTokenizer(pT, pCsr->iLangid, zText, -1, &pTC);
128368 int iPos; /* Position of token in zText */
133294 char *zText = 0;
133320 if( zText ){
133321 char *zTextNew = sqlite3_mprintf("%s {%s}", zText, zCell);
133322 sqlite3_free(zText);
133323 zText = zTextNew;
133325 zText = sqlite3_mprintf("{%s}", zCell);
133329 sqlite3_result_text(ctx, zText, -1, sqlite3_free);