Searched refs:maxRanges (Results 1 – 1 of 1) sorted by relevance
203 int maxRanges; member1262 if (atom->maxRanges == 0) { in xmlRegAtomAddRange()1263 atom->maxRanges = 4; in xmlRegAtomAddRange()1264 atom->ranges = (xmlRegRangePtr *) xmlMalloc(atom->maxRanges * in xmlRegAtomAddRange()1268 atom->maxRanges = 0; in xmlRegAtomAddRange()1271 } else if (atom->nbRanges >= atom->maxRanges) { in xmlRegAtomAddRange()1273 atom->maxRanges *= 2; in xmlRegAtomAddRange()1274 tmp = (xmlRegRangePtr *) xmlRealloc(atom->ranges, atom->maxRanges * in xmlRegAtomAddRange()1278 atom->maxRanges /= 2; in xmlRegAtomAddRange()