Lines Matching refs:rebuf
748 xmlChar* rebuf = NULL; in xmlBufResize() local
817 rebuf = (xmlChar *) xmlRealloc(buf->contentIO, start_buf + newSize); in xmlBufResize()
818 if (rebuf == NULL) { in xmlBufResize()
822 buf->contentIO = rebuf; in xmlBufResize()
823 buf->content = rebuf + start_buf; in xmlBufResize()
827 rebuf = (xmlChar *) xmlMallocAtomic(newSize); in xmlBufResize()
829 rebuf = (xmlChar *) xmlRealloc(buf->content, newSize); in xmlBufResize()
836 rebuf = (xmlChar *) xmlMallocAtomic(newSize); in xmlBufResize()
837 if (rebuf != NULL) { in xmlBufResize()
838 memcpy(rebuf, buf->content, buf->use); in xmlBufResize()
840 rebuf[buf->use] = 0; in xmlBufResize()
843 if (rebuf == NULL) { in xmlBufResize()
847 buf->content = rebuf; in xmlBufResize()