Home
last modified time | relevance | path

Searched refs:zText (Results 1 – 4 of 4) sorted by relevance

/external/sqlite/dist/
Dshell.c2015 const char *zText = (const char *)sqlite3_column_text(pTableInfo, 1); in dump_callback() local
2017 zSelect = appendText(zSelect, zText, '"'); in dump_callback()
Dsqlite3.c9850 char *zText; /* The string collected so far */ member
17102 memcpy(zNew, p->zText, p->nChar); in sqlite3StrAccumAppend()
17104 p->zText = zNew; in sqlite3StrAccumAppend()
17112 memcpy(&p->zText[p->nChar], z, N); in sqlite3StrAccumAppend()
17122 if( p->zText ){ in sqlite3StrAccumFinish()
17123 p->zText[p->nChar] = 0; in sqlite3StrAccumFinish()
17124 if( p->useMalloc && p->zText==p->zBase ){ in sqlite3StrAccumFinish()
17125 p->zText = sqlite3DbMallocRaw(p->db, p->nChar+1 ); in sqlite3StrAccumFinish()
17126 if( p->zText ){ in sqlite3StrAccumFinish()
17127 memcpy(p->zText, p->zBase, p->nChar+1); in sqlite3StrAccumFinish()
[all …]
Dsqlite3.h.orig1716 ** For example, assume the string variable zText contains text as follows:
1719 ** char *zText = "It's a happy day!";
1725 ** char *zSQL = sqlite3_mprintf("INSERT INTO table VALUES('%q')", zText);
1730 ** Because the %q format string is used, the '\'' character in zText
1753 ** char *zSQL = sqlite3_mprintf("INSERT INTO table VALUES(%Q)", zText);
1759 ** variable even if the zText variable is a NULL pointer.
Dsqlite3.c.orig2240 ** 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);
[all …]