Home
last modified time | relevance | path

Searched refs:rebuf (Results 1 – 2 of 2) sorted by relevance

/external/libxml2/
Dbuf.c734 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()
[all …]
Dtree.c7362 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()
[all …]