Home | History | Annotate | Download | only in dist

Lines Matching refs:zText

2425 ** For example, assume the string variable zText contains text as follows:
2428 ** char *zText = "It's a happy day!";
2434 ** char *zSQL = sqlite3_mprintf("INSERT INTO table VALUES('%q')", zText);
2439 ** Because the %q format string is used, the '\'' character in zText
2462 ** char *zSQL = sqlite3_mprintf("INSERT INTO table VALUES(%Q)", zText);
2468 ** variable even if the zText variable is a NULL pointer.
10513 char *zText; /* The string collected so far */
10515 int nAlloc; /* Amount of space allocated in zText */
19014 memcpy(zNew, p->zText, p->nChar);
19016 p->zText = zNew;
19024 memcpy(&p->zText[p->nChar], z, N);
19034 if( p->zText ){
19035 p->zText[p->nChar] = 0;
19036 if( p->useMalloc && p->zText==p->zBase ){
19038 p->zText = sqlite3DbMallocRaw(p->db, p->nChar+1 );
19040 p->zText = sqlite3_malloc(p->nChar+1);
19042 if( p->zText ){
19043 memcpy(p->zText, p->zBase, p->nChar+1);
19049 return p->zText;
19056 if( p->zText!=p->zBase ){
19058 sqlite3DbFree(p->db, p->zText);
19060 sqlite3_free(p->zText);
19063 p->zText = 0;
19070 p->zText = p->zBase = zBase;
80489 char *zText = 0;
80493 zText = (char *)contextMalloc(context, (2*(i64)nBlob)+4);
80494 if( zText ){
80497 zText[(i*2)+2] = hexdigits[(zBlob[i]>>4)&0x0F];
80498 zText[(i*2)+3] = hexdigits[(zBlob[i])&0x0F];
80500 zText[(nBlob*2)+2] = '\'';
80501 zText[(nBlob*2)+3] = '\0';
80502 zText[0] = 'X';
80503 zText[1] = '\'';
80504 sqlite3_result_text(context, zText, -1, SQLITE_TRANSIENT);
80505 sqlite3_free(zText);
85508 static const char zText[] = "onoffalseyestruefull";
85518 if( iLength[i]==n && sqlite3StrNICmp(&zText[iOffset[i]],z,n)==0 ){
103720 /* zText[] encodes 811 bytes of keywords in 541 bytes */
103731 static const char zText[540] = {
103844 if( aLen[i]==n && sqlite3StrNICmp(&zText[aOffset[i]],z,n)==0 ){
115104 ** Tokenize the nul-terminated string zText and add all tokens to the
115112 const char *zText, /* Text of document to be inserted */
115133 rc = pModule->xOpen(pTokenizer, zText, -1, &pCsr);
115222 const char *zText = (const char *)sqlite3_value_text(apVal[i]);
115223 if( zText ){
115224 int rc = fts3PendingTermsAdd(p, zText, i-2, &aSz[i-2]);
115344 const char *zText = (const char *)sqlite3_column_text(pSelect, i);
115345 rc = fts3PendingTermsAdd(p, zText, -1, &aSz[i-1]);
117313 const char *zText = (const char *)sqlite3_column_text(pCsr->pStmt, i+1);
117316 rc = pModule->xOpen(pT, zText, -1, &pTC);
117321 int iPos; /* Position of token in zText */
122233 char *zText = 0;
122259 if( zText ){
122260 char *zTextNew = sqlite3_mprintf("%s {%s}", zText, zCell);
122261 sqlite3_free(zText);
122262 zText = zTextNew;
122264 zText = sqlite3_mprintf("{%s}", zCell);
122268 sqlite3_result_text(ctx, zText, -1, sqlite3_free);