• Home
  • Raw
  • Download

Lines Matching refs:zText

2240 ** For example, assume the string variable zText contains text as follows:
2243 ** char *zText = "It's a happy day!";
2249 ** char *zSQL = sqlite3_mprintf("INSERT INTO table VALUES('%q')", zText);
2254 ** Because the %q format string is used, the '\'' character in zText
2277 ** char *zSQL = sqlite3_mprintf("INSERT INTO table VALUES(%Q)", zText);
2283 ** variable even if the zText variable is a NULL pointer.
9845 char *zText; /* The string collected so far */
9847 int nAlloc; /* Amount of space allocated in zText */
9850 u8 useMalloc; /* True if zText is enlargeable using realloc */
17097 memcpy(zNew, p->zText, p->nChar);
17099 p->zText = zNew;
17107 memcpy(&p->zText[p->nChar], z, N);
17117 if( p->zText ){
17118 p->zText[p->nChar] = 0;
17119 if( p->useMalloc && p->zText==p->zBase ){
17120 p->zText = sqlite3DbMallocRaw(p->db, p->nChar+1 );
17121 if( p->zText ){
17122 memcpy(p->zText, p->zBase, p->nChar+1);
17128 return p->zText;
17135 if( p->zText!=p->zBase ){
17136 sqlite3DbFree(p->db, p->zText);
17138 p->zText = 0;
17145 p->zText = p->zBase = zBase;
72047 char *zText = 0;
72051 zText = (char *)contextMalloc(context, (2*(i64)nBlob)+4);
72052 if( zText ){
72055 zText[(i*2)+2] = hexdigits[(zBlob[i]>>4)&0x0F];
72056 zText[(i*2)+3] = hexdigits[(zBlob[i])&0x0F];
72058 zText[(nBlob*2)+2] = '\'';
72059 zText[(nBlob*2)+3] = '\0';
72060 zText[0] = 'X';
72061 zText[1] = '\'';
72062 sqlite3_result_text(context, zText, -1, SQLITE_TRANSIENT);
72063 sqlite3_free(zText);
76971 static const char zText[] = "onoffalseyestruefull";
76981 if( iLength[i]==n && sqlite3StrNICmp(&zText[iOffset[i]],z,n)==0 ){
94349 /* zText[] encodes 811 bytes of keywords in 541 bytes */
94360 static const char zText[540] = {
94473 if( aLen[i]==n && sqlite3StrNICmp(&zText[aOffset[i]],z,n)==0 ){
104263 ** Tokenize the nul-terminated string zText and add all tokens to the
104269 static int fts3PendingTermsAdd(Fts3Table *p, const char *zText, int iCol){
104286 rc = pModule->xOpen(pTokenizer, zText, -1, &pCsr);
104369 const char *zText = (const char *)sqlite3_value_text(apVal[i]);
104370 if( zText ){
104371 int rc = fts3PendingTermsAdd(p, zText, i-2);
104482 const char *zText = (const char *)sqlite3_column_text(pSelect, i);
104483 rc = fts3PendingTermsAdd(p, zText, -1);
110276 char *zText = 0;
110301 if( zText ){
110302 char *zTextNew = sqlite3_mprintf("%s {%s}", zText, zCell);
110303 sqlite3_free(zText);
110304 zText = zTextNew;
110306 zText = sqlite3_mprintf("{%s}", zCell);
110310 sqlite3_result_text(ctx, zText, -1, sqlite3_free);