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

/external/chromium_org/third_party/libxml/src/
H A Dxmlregexp.c194 int maxRanges; member in struct:_xmlRegAtom
1226 if (atom->maxRanges == 0) {
1227 atom->maxRanges = 4;
1228 atom->ranges = (xmlRegRangePtr *) xmlMalloc(atom->maxRanges *
1232 atom->maxRanges = 0;
1235 } else if (atom->nbRanges >= atom->maxRanges) {
1237 atom->maxRanges *= 2;
1238 tmp = (xmlRegRangePtr *) xmlRealloc(atom->ranges, atom->maxRanges *
1242 atom->maxRanges /= 2;
/external/libxml2/
H A Dxmlregexp.c197 int maxRanges; member in struct:_xmlRegAtom
1230 if (atom->maxRanges == 0) {
1231 atom->maxRanges = 4;
1232 atom->ranges = (xmlRegRangePtr *) xmlMalloc(atom->maxRanges *
1236 atom->maxRanges = 0;
1239 } else if (atom->nbRanges >= atom->maxRanges) {
1241 atom->maxRanges *= 2;
1242 tmp = (xmlRegRangePtr *) xmlRealloc(atom->ranges, atom->maxRanges *
1246 atom->maxRanges /= 2;

Completed in 185 milliseconds