Lines Matching refs:rebuf
734 xmlChar* rebuf = NULL; in xmlBufResize() local
794 rebuf = (xmlChar *) xmlRealloc(buf->contentIO, start_buf + newSize); in xmlBufResize()
795 if (rebuf == NULL) { in xmlBufResize()
799 buf->contentIO = rebuf; in xmlBufResize()
800 buf->content = rebuf + start_buf; in xmlBufResize()
804 rebuf = (xmlChar *) xmlMallocAtomic(newSize); in xmlBufResize()
806 rebuf = (xmlChar *) xmlRealloc(buf->content, newSize); in xmlBufResize()
813 rebuf = (xmlChar *) xmlMallocAtomic(newSize); in xmlBufResize()
814 if (rebuf != NULL) { in xmlBufResize()
815 memcpy(rebuf, buf->content, buf->use); in xmlBufResize()
817 rebuf[buf->use] = 0; in xmlBufResize()
820 if (rebuf == NULL) { in xmlBufResize()
824 buf->content = rebuf; in xmlBufResize()