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.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;

Completed in 224 milliseconds