Home
last modified time | relevance | path

Searched refs:maxRanges (Results 1 – 1 of 1) sorted by relevance

/external/libxml2/
Dxmlregexp.c197 int maxRanges; member
1230 if (atom->maxRanges == 0) { in xmlRegAtomAddRange()
1231 atom->maxRanges = 4; in xmlRegAtomAddRange()
1232 atom->ranges = (xmlRegRangePtr *) xmlMalloc(atom->maxRanges * in xmlRegAtomAddRange()
1236 atom->maxRanges = 0; in xmlRegAtomAddRange()
1239 } else if (atom->nbRanges >= atom->maxRanges) { in xmlRegAtomAddRange()
1241 atom->maxRanges *= 2; in xmlRegAtomAddRange()
1242 tmp = (xmlRegRangePtr *) xmlRealloc(atom->ranges, atom->maxRanges * in xmlRegAtomAddRange()
1246 atom->maxRanges /= 2; in xmlRegAtomAddRange()