Lines Matching refs:rebuf
7362 xmlChar* rebuf = NULL; in xmlBufferResize() local
7421 rebuf = (xmlChar *) xmlRealloc(buf->contentIO, start_buf + newSize); in xmlBufferResize()
7422 if (rebuf == NULL) { in xmlBufferResize()
7426 buf->contentIO = rebuf; in xmlBufferResize()
7427 buf->content = rebuf + start_buf; in xmlBufferResize()
7431 rebuf = (xmlChar *) xmlMallocAtomic(newSize); in xmlBufferResize()
7433 rebuf = (xmlChar *) xmlRealloc(buf->content, newSize); in xmlBufferResize()
7440 rebuf = (xmlChar *) xmlMallocAtomic(newSize); in xmlBufferResize()
7441 if (rebuf != NULL) { in xmlBufferResize()
7442 memcpy(rebuf, buf->content, buf->use); in xmlBufferResize()
7444 rebuf[buf->use] = 0; in xmlBufferResize()
7447 if (rebuf == NULL) { in xmlBufferResize()
7451 buf->content = rebuf; in xmlBufferResize()