Searched refs:needSize (Results 1 – 2 of 2) sorted by relevance
869 unsigned int needSize; in xmlBufAdd() local891 needSize = buf->use + len + 2; in xmlBufAdd()892 if (needSize > buf->size){ in xmlBufAdd()897 if (needSize >= XML_MAX_TEXT_LENGTH) { in xmlBufAdd()902 if (!xmlBufResize(buf, needSize)){ in xmlBufAdd()929 unsigned int needSize; in xmlBufAddHead() local971 needSize = buf->use + len + 2; in xmlBufAddHead()972 if (needSize > buf->size){ in xmlBufAddHead()977 if (needSize >= XML_MAX_TEXT_LENGTH) { in xmlBufAddHead()982 if (!xmlBufResize(buf, needSize)){ in xmlBufAddHead()
7492 unsigned int needSize; in xmlBufferAdd() local7513 needSize = buf->use + len + 2; in xmlBufferAdd()7514 if (needSize > buf->size){ in xmlBufferAdd()7515 if (!xmlBufferResize(buf, needSize)){ in xmlBufferAdd()7541 unsigned int needSize; in xmlBufferAddHead() local7581 needSize = buf->use + len + 2; in xmlBufferAddHead()7582 if (needSize > buf->size){ in xmlBufferAddHead()7583 if (!xmlBufferResize(buf, needSize)){ in xmlBufferAddHead()