Lines Matching refs:rebuf
7438 xmlChar* rebuf = NULL; in xmlBufferResize() local
7502 rebuf = (xmlChar *) xmlRealloc(buf->contentIO, start_buf + newSize); in xmlBufferResize()
7503 if (rebuf == NULL) { in xmlBufferResize()
7507 buf->contentIO = rebuf; in xmlBufferResize()
7508 buf->content = rebuf + start_buf; in xmlBufferResize()
7512 rebuf = (xmlChar *) xmlMallocAtomic(newSize); in xmlBufferResize()
7514 rebuf = (xmlChar *) xmlRealloc(buf->content, newSize); in xmlBufferResize()
7521 rebuf = (xmlChar *) xmlMallocAtomic(newSize); in xmlBufferResize()
7522 if (rebuf != NULL) { in xmlBufferResize()
7523 memcpy(rebuf, buf->content, buf->use); in xmlBufferResize()
7525 rebuf[buf->use] = 0; in xmlBufferResize()
7528 if (rebuf == NULL) { in xmlBufferResize()
7532 buf->content = rebuf; in xmlBufferResize()