Searched refs:defMax (Results 1 – 2 of 2) sorted by relevance
229 int defMax; /* number of defines aloocated */ member894 if (ctxt->defMax == 0) { in xmlRelaxNGNewDefine()895 ctxt->defMax = 16; in xmlRelaxNGNewDefine()898 xmlMalloc(ctxt->defMax * sizeof(xmlRelaxNGDefinePtr)); in xmlRelaxNGNewDefine()903 } else if (ctxt->defMax <= ctxt->defNr) { in xmlRelaxNGNewDefine()906 ctxt->defMax *= 2; in xmlRelaxNGNewDefine()908 ctxt->defMax * in xmlRelaxNGNewDefine()