Lines Matching full:newsize
7206 unsigned int newSize;
7224 newSize = (buf->size ? buf->size*2 : size + 10);
7225 while (size > newSize) {
7226 if (newSize > UINT_MAX / 2) {
7230 newSize *= 2;
7234 newSize = size+10;
7237 newSize = size+10;
7244 if (start_buf > newSize) {
7251 rebuf = (xmlChar *) xmlRealloc(buf->contentIO, start_buf + newSize);
7261 rebuf = (xmlChar *) xmlMallocAtomic(newSize);
7263 rebuf = (xmlChar *) xmlRealloc(buf->content, newSize);
7270 rebuf = (xmlChar *) xmlMallocAtomic(newSize);
7283 buf->size = newSize;