Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libsqlite/src/
H A Dprintf.c663 struct sgMprintf *pM = (struct sgMprintf*)arg; in mout() local
664 pM->nTotal += nNewChar; in mout()
665 if( pM->nChar + nNewChar + 1 > pM->nAlloc ){ in mout()
666 if( pM->xRealloc==0 ){ in mout()
667 nNewChar = pM->nAlloc - pM->nChar - 1; in mout()
669 pM->nAlloc = pM->nChar + nNewChar*2 + 1; in mout()
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()
[all …]