Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dprintf.c646 char *zText; /* The string collected so far */ member
667 if( pM->zText==pM->zBase ){ in mout()
668 pM->zText = pM->xRealloc(0, pM->nAlloc); in mout()
669 if( pM->zText && pM->nChar ){ in mout()
670 memcpy(pM->zText, pM->zBase, pM->nChar); in mout()
673 pM->zText = pM->xRealloc(pM->zText, pM->nAlloc); in mout()
677 if( pM->zText ){ in mout()
679 memcpy(&pM->zText[pM->nChar], zNewText, nNewChar); in mout()
682 pM->zText[pM->nChar] = 0; in mout()
699 sM.zBase = sM.zText = zInitBuf; in base_vprintf()
[all …]
H A Dvacuum.c51 static void appendText(dynStr *p, const char *zText, int nText){ in appendText() argument
52 if( nText<0 ) nText = strlen(zText); in appendText()
64 memcpy(&p->z[p->nUsed], zText, nText+1); in appendText()
71 static void appendQuoted(dynStr *p, const char *zText){ in appendQuoted() argument
74 for(i=j=0; zText[i]; i++){ in appendQuoted()
75 if( zText[i]=='\'' ){ in appendQuoted()
76 appendText(p, &zText[j], i-j+1); in appendQuoted()
82 appendText(p, &zText[j], i-j); in appendQuoted()
H A Dsqlite.h.in366 ** char *zText = "It's a happy day!";
371 ** callback1, 0, 0, zText);
373 ** Because the %q format string is used, the '\'' character in zText