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

/external/chromium_org/third_party/libxml/src/
H A Dxmlregexp.c251 int maxAtoms; member in struct:_xmlAutomata
1289 if (ctxt->maxAtoms == 0) {
1290 ctxt->maxAtoms = 4;
1291 ctxt->atoms = (xmlRegAtomPtr *) xmlMalloc(ctxt->maxAtoms *
1295 ctxt->maxAtoms = 0;
1298 } else if (ctxt->nbAtoms >= ctxt->maxAtoms) {
1300 ctxt->maxAtoms *= 2;
1301 tmp = (xmlRegAtomPtr *) xmlRealloc(ctxt->atoms, ctxt->maxAtoms *
1305 ctxt->maxAtoms /= 2;
/external/libxml2/
H A Dxmlregexp.c255 int maxAtoms; member in struct:_xmlAutomata
1293 if (ctxt->maxAtoms == 0) {
1294 ctxt->maxAtoms = 4;
1295 ctxt->atoms = (xmlRegAtomPtr *) xmlMalloc(ctxt->maxAtoms *
1299 ctxt->maxAtoms = 0;
1302 } else if (ctxt->nbAtoms >= ctxt->maxAtoms) {
1304 ctxt->maxAtoms *= 2;
1305 tmp = (xmlRegAtomPtr *) xmlRealloc(ctxt->atoms, ctxt->maxAtoms *
1309 ctxt->maxAtoms /= 2;

Completed in 193 milliseconds