Searched refs:maxAtoms (Results 1 – 1 of 1) sorted by relevance
255 int maxAtoms; member1293 if (ctxt->maxAtoms == 0) { in xmlRegAtomPush()1294 ctxt->maxAtoms = 4; in xmlRegAtomPush()1295 ctxt->atoms = (xmlRegAtomPtr *) xmlMalloc(ctxt->maxAtoms * in xmlRegAtomPush()1299 ctxt->maxAtoms = 0; in xmlRegAtomPush()1302 } else if (ctxt->nbAtoms >= ctxt->maxAtoms) { in xmlRegAtomPush()1304 ctxt->maxAtoms *= 2; in xmlRegAtomPush()1305 tmp = (xmlRegAtomPtr *) xmlRealloc(ctxt->atoms, ctxt->maxAtoms * in xmlRegAtomPush()1309 ctxt->maxAtoms /= 2; in xmlRegAtomPush()