Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libsqlite/src/
H A Dprintf.c649 char *zText; /* The string collected so far */ member
670 if( pM->zText==pM->zBase ){ in mout()
671 pM->zText = pM->xRealloc(0, pM->nAlloc); in mout()
672 if( pM->zText && pM->nChar ){ in mout()
673 memcpy(pM->zText, pM->zBase, pM->nChar); in mout()
676 pM->zText = pM->xRealloc(pM->zText, pM->nAlloc); in mout()
680 if( pM->zText ){ in mout()
682 memcpy(&pM->zText[pM->nChar], zNewText, nNewChar); in mout()
685 pM->zText[pM->nChar] = 0; in mout()
702 sM.zBase = sM.zText = zInitBuf; in base_vprintf()
[all …]
H A Dvacuum.c54 static void appendText(dynStr *p, const char *zText, int nText){ in appendText() argument
55 if( nText<0 ) nText = strlen(zText); in appendText()
67 memcpy(&p->z[p->nUsed], zText, nText+1); in appendText()
74 static void appendQuoted(dynStr *p, const char *zText){ in appendQuoted() argument
77 for(i=j=0; zText[i]; i++){ in appendQuoted()
78 if( zText[i]=='\'' ){ in appendQuoted()
79 appendText(p, &zText[j], i-j+1); in appendQuoted()
85 appendText(p, &zText[j], i-j); in appendQuoted()
H A Dsqlite.h.in369 ** char *zText = "It's a happy day!";
374 ** callback1, 0, 0, zText);
376 ** Because the %q format string is used, the '\'' character in zText