Lines Matching refs:start_buf
393 size_t start_buf = buf->content - buf->contentIO; in xmlBufEmpty() local
395 buf->size += start_buf; in xmlBufEmpty()
438 size_t start_buf = buf->content - buf->contentIO; in xmlBufShrink() local
439 if (start_buf >= buf->size) { in xmlBufShrink()
443 buf->size += start_buf; in xmlBufShrink()
505 size_t start_buf = buf->content - buf->contentIO; in xmlBufGrowInternal() local
507 newbuf = (xmlChar *) xmlRealloc(buf->contentIO, start_buf + size); in xmlBufGrowInternal()
513 buf->content = newbuf + start_buf; in xmlBufGrowInternal()
778 size_t start_buf; in xmlBufResize() local
837 start_buf = buf->content - buf->contentIO; in xmlBufResize()
839 if (start_buf > newSize) { in xmlBufResize()
844 buf->size += start_buf; in xmlBufResize()
846 rebuf = (xmlChar *) xmlRealloc(buf->contentIO, start_buf + newSize); in xmlBufResize()
852 buf->content = rebuf + start_buf; in xmlBufResize()
986 size_t start_buf = buf->content - buf->contentIO; in xmlBufAddHead() local
988 if (start_buf > (unsigned int) len) { in xmlBufAddHead()