Lines Matching refs:start_buf
364 size_t start_buf = buf->content - buf->contentIO; in xmlBufEmpty() local
366 buf->size += start_buf; in xmlBufEmpty()
409 size_t start_buf = buf->content - buf->contentIO; in xmlBufShrink() local
410 if (start_buf >= buf->size) { in xmlBufShrink()
414 buf->size += start_buf; in xmlBufShrink()
476 size_t start_buf = buf->content - buf->contentIO; in xmlBufGrowInternal() local
478 newbuf = (xmlChar *) xmlRealloc(buf->contentIO, start_buf + size); in xmlBufGrowInternal()
484 buf->content = newbuf + start_buf; in xmlBufGrowInternal()
749 size_t start_buf; in xmlBufResize() local
808 start_buf = buf->content - buf->contentIO; in xmlBufResize()
810 if (start_buf > newSize) { in xmlBufResize()
815 buf->size += start_buf; in xmlBufResize()
817 rebuf = (xmlChar *) xmlRealloc(buf->contentIO, start_buf + newSize); in xmlBufResize()
823 buf->content = rebuf + start_buf; in xmlBufResize()
957 size_t start_buf = buf->content - buf->contentIO; in xmlBufAddHead() local
959 if (start_buf > (unsigned int) len) { in xmlBufAddHead()