Lines Matching refs:rebuf
749 xmlChar* rebuf = NULL; in xmlBufResize() local
822 rebuf = (xmlChar *) xmlRealloc(buf->contentIO, start_buf + newSize); in xmlBufResize()
823 if (rebuf == NULL) { in xmlBufResize()
827 buf->contentIO = rebuf; in xmlBufResize()
828 buf->content = rebuf + start_buf; in xmlBufResize()
832 rebuf = (xmlChar *) xmlMallocAtomic(newSize); in xmlBufResize()
834 rebuf = (xmlChar *) xmlRealloc(buf->content, newSize); in xmlBufResize()
841 rebuf = (xmlChar *) xmlMallocAtomic(newSize); in xmlBufResize()
842 if (rebuf != NULL) { in xmlBufResize()
843 memcpy(rebuf, buf->content, buf->use); in xmlBufResize()
845 rebuf[buf->use] = 0; in xmlBufResize()
848 if (rebuf == NULL) { in xmlBufResize()
852 buf->content = rebuf; in xmlBufResize()