Lines Matching defs:newSize
6884 unsigned int newSize;
6900 newSize = (buf->size ? buf->size*2 : size + 10);
6901 while (size > newSize) {
6902 if (newSize > UINT_MAX / 2) {
6906 newSize *= 2;
6910 newSize = size+10;
6913 newSize = size+10;
6918 rebuf = (xmlChar *) xmlMallocAtomic(newSize * sizeof(xmlChar));
6921 newSize * sizeof(xmlChar));
6928 rebuf = (xmlChar *) xmlMallocAtomic(newSize * sizeof(xmlChar));
6940 buf->size = newSize;