Lines Matching refs:minOccurs
676 int minOccurs; member
4268 if ((elem->minOccurs != 1) || (elem->maxOccurs != 1)) { in xmlSchemaElementDump()
4269 fprintf(output, " min %d ", elem->minOccurs); in xmlSchemaElementDump()
4405 if (particle->minOccurs != 1) in xmlSchemaContentModelDump()
4406 fprintf(output, " min: %d", particle->minOccurs); in xmlSchemaContentModelDump()
5606 ret->minOccurs = min; in xmlSchemaAddParticle()
6929 int minOccurs, in xmlSchemaPCheckParticleCorrect_2() argument
6932 if ((maxOccurs == 0) && ( minOccurs == 0)) in xmlSchemaPCheckParticleCorrect_2()
6954 } else if (minOccurs > maxOccurs) { in xmlSchemaPCheckParticleCorrect_2()
11403 if (part->minOccurs > 1) { in xmlSchemaParseModelGroup()
11410 part->minOccurs = 1; in xmlSchemaParseModelGroup()
11490 } else if (((WXS_PARTICLE(part))->minOccurs != 1) || in xmlSchemaParseModelGroup()
12722 int minOccurs = particle->minOccurs < 1 ? 0 : particle->minOccurs - 1; in xmlSchemaBuildContentModelForSubstGroup() local
12725 xmlAutomataNewCounter(pctxt->am, minOccurs, in xmlSchemaBuildContentModelForSubstGroup()
12748 if (particle->minOccurs == 0) { in xmlSchemaBuildContentModelForSubstGroup()
12786 (particle->minOccurs < 2)) { in xmlSchemaBuildContentModelForElement()
12797 int minOccurs = particle->minOccurs < 1 ? in xmlSchemaBuildContentModelForElement() local
12798 0 : particle->minOccurs - 1; in xmlSchemaBuildContentModelForElement()
12801 counter = xmlAutomataNewCounter(ctxt->am, minOccurs, maxOccurs); in xmlSchemaBuildContentModelForElement()
12808 if (particle->minOccurs == 0) { in xmlSchemaBuildContentModelForElement()
12895 int minOccurs = in xmlSchemaBuildAContentModel() local
12896 particle->minOccurs < 1 ? 0 : particle->minOccurs - 1; in xmlSchemaBuildAContentModel()
12898 counter = xmlAutomataNewCounter(pctxt->am, minOccurs, maxOccurs); in xmlSchemaBuildAContentModel()
12927 if (particle->minOccurs == 0) { in xmlSchemaBuildAContentModel()
12945 if ((particle->minOccurs == 1) && (particle->maxOccurs == 1)) { in xmlSchemaBuildAContentModel()
12958 if (particle->minOccurs > 1) { in xmlSchemaBuildAContentModel()
12967 particle->minOccurs - 1, UNBOUNDED); in xmlSchemaBuildAContentModel()
13007 if (particle->minOccurs == 0) { in xmlSchemaBuildAContentModel()
13014 || (particle->minOccurs > 1)) { in xmlSchemaBuildAContentModel()
13023 particle->minOccurs - 1, in xmlSchemaBuildAContentModel()
13039 if ((particle->minOccurs == 0) || (ret == 1)) { in xmlSchemaBuildAContentModel()
13061 if (particle->minOccurs == 0) { in xmlSchemaBuildAContentModel()
13097 int minOccurs = in xmlSchemaBuildAContentModel() local
13098 particle->minOccurs < 1 ? 0 : particle->minOccurs - 1; in xmlSchemaBuildAContentModel()
13105 xmlAutomataNewCounter(pctxt->am, minOccurs, maxOccurs); in xmlSchemaBuildAContentModel()
13124 if (particle->minOccurs == 0) { in xmlSchemaBuildAContentModel()
13172 sub->minOccurs, sub->maxOccurs); in xmlSchemaBuildAContentModel()
13176 if ((sub->minOccurs == 1) && in xmlSchemaBuildAContentModel()
13183 } else if ((sub->minOccurs == 0) && in xmlSchemaBuildAContentModel()
13199 if (particle->minOccurs == 0) { in xmlSchemaBuildAContentModel()
14755 (particle->minOccurs == 0))
14767 cur = part->minOccurs;
14776 return (particle->minOccurs * min);
14788 sum += part->minOccurs;
14793 return (particle->minOccurs * sum);
14870 if ((particle->children == NULL) || (particle->minOccurs == 0)) in xmlSchemaGetParticleEmptiable()
14880 emptiable = (part->minOccurs == 0); in xmlSchemaGetParticleEmptiable()
14915 if ((particle == NULL) || (particle->minOccurs == 0) || in xmlSchemaIsParticleEmptiable()
16968 if (xmlSchemaCheckParticleRangeOK(r->minOccurs, r->maxOccurs, in xmlSchemaCheckRCaseNameAndTypeOK()
16969 b->minOccurs, b->maxOccurs) != 0) in xmlSchemaCheckRCaseNameAndTypeOK()
17072 if (xmlSchemaCheckParticleRangeOK(r->minOccurs, r->maxOccurs, in xmlSchemaCheckRCaseNSCompat()
17073 b->minOccurs, b->maxOccurs) != 0) in xmlSchemaCheckRCaseNSCompat()
17132 if (xmlSchemaCheckParticleRangeOK(r->minOccurs, r->maxOccurs, in xmlSchemaCheckRCaseNSSubset()
17133 b->minOccurs, b->maxOccurs)) in xmlSchemaCheckRCaseNSSubset()
17243 b->minOccurs, b->maxOccurs) != 0)
17284 if (xmlSchemaCheckParticleRangeOK(r->minOccurs, r->maxOccurs, in xmlSchemaCheckRCaseRecurse()
17285 b->minOccurs, b->maxOccurs)) in xmlSchemaCheckRCaseRecurse()
18486 (particle->minOccurs == 0))) && in xmlSchemaFixupComplexType()
18650 ((xmlSchemaParticlePtr) baseType->subtypes)->minOccurs, in xmlSchemaFixupComplexType()