Lines Matching refs:nbItems
293 (WXS_CONSTRUCTOR((ctx))->buckets->nbItems > 0) )
312 #define WXS_ILIST_IS_EMPTY(l) ((l == NULL) || ((l)->nbItems == 0))
355 int nbItems; /* used for dynamic addition of schemata */ member
3336 list->nbItems = 0; in xmlSchemaItemListClear()
3351 } else if (list->sizeItems <= list->nbItems) { in xmlSchemaItemListAdd()
3361 list->items[list->nbItems++] = item; in xmlSchemaItemListAdd()
3380 } else if (list->sizeItems <= list->nbItems) { in xmlSchemaItemListAddSize()
3390 list->items[list->nbItems++] = item; in xmlSchemaItemListAddSize()
3405 } else if (list->sizeItems <= list->nbItems) { in xmlSchemaItemListInsert()
3418 if (idx >= list->nbItems) { in xmlSchemaItemListInsert()
3419 list->items[list->nbItems++] = item; in xmlSchemaItemListInsert()
3422 for (i = list->nbItems; i > idx; i--) in xmlSchemaItemListInsert()
3425 list->nbItems++; in xmlSchemaItemListInsert()
3447 } else if (list->sizeItems <= list->nbItems) {
3460 if (idx >= list->nbItems) {
3461 list->items[list->nbItems++] = item;
3464 for (i = list->nbItems; i > idx; i--)
3467 list->nbItems++;
3477 if ((list->items == NULL) || (idx >= list->nbItems)) { in xmlSchemaItemListRemove()
3483 if (list->nbItems == 1) { in xmlSchemaItemListRemove()
3487 list->nbItems = 0; in xmlSchemaItemListRemove()
3489 } else if (list->nbItems -1 == idx) { in xmlSchemaItemListRemove()
3490 list->nbItems--; in xmlSchemaItemListRemove()
3492 for (i = idx; i < list->nbItems -1; i++) in xmlSchemaItemListRemove()
3494 list->nbItems--; in xmlSchemaItemListRemove()
4029 if ((list == NULL) || (list->nbItems == 0)) in xmlSchemaComponentListFree()
4036 for (i = 0; i < list->nbItems; i++) { in xmlSchemaComponentListFree()
4101 list->nbItems = 0; in xmlSchemaComponentListFree()
4145 for (i = 0; i < list->nbItems; i++) { in xmlSchemaFree()
4368 if ((uses == NULL) || (uses->nbItems == 0)) in xmlSchemaAttrUsesDump()
4372 for (i = 0; i < uses->nbItems; i++) { in xmlSchemaAttrUsesDump()
4580 if (bind->dupls && bind->dupls->nbItems) { in xmlSchemaDebugDumpIDCTable()
4581 fprintf(output, "IDC: dupls (%d):\n", bind->dupls->nbItems); in xmlSchemaDebugDumpIDCTable()
4582 for (i = 0; i < bind->dupls->nbItems; i++) { in xmlSchemaDebugDumpIDCTable()
5046 (bucket->globals->nbItems == 0)) in xmlSchemaFindRedefCompInGraph()
5051 for (i = 0; i < bucket->globals->nbItems; i++) { in xmlSchemaFindRedefCompInGraph()
7406 for (i = 0; i < uses->nbItems; i++) { in xmlSchemaParseLocalAttribute()
10028 if (list->nbItems == 0) in xmlSchemaGetSchemaBucket()
10032 for (i = 0; i < list->nbItems; i++) { in xmlSchemaGetSchemaBucket()
10051 if (list->nbItems == 0) in xmlSchemaGetChameleonSchemaBucket()
10055 for (i = 0; i < list->nbItems; i++) { in xmlSchemaGetChameleonSchemaBucket()
10080 if (list->nbItems == 0) in xmlSchemaGetSchemaBucketByTNS()
10084 for (i = 0; i < list->nbItems; i++) { in xmlSchemaGetSchemaBucketByTNS()
12593 for (i = 0; i < substGroup->members->nbItems; i++) { in xmlSchemaBuildContentModelForSubstGroup()
12609 for (i = 0; i < substGroup->members->nbItems; i++) { in xmlSchemaBuildContentModelForSubstGroup()
12647 for (i = 0; i < substGroup->members->nbItems; i++) { in xmlSchemaBuildContentModelForSubstGroup()
14125 for (i = 0; i < uses->nbItems; i++) { in xmlSchemaCheckDerivationOKRestriction2to4()
14130 for (j = 0; j < baseUses->nbItems; j++) { in xmlSchemaCheckDerivationOKRestriction2to4()
14284 for (j = 0; j < baseUses->nbItems; j++) { in xmlSchemaCheckDerivationOKRestriction2to4()
14290 for (i = 0; i < uses->nbItems; i++) { in xmlSchemaCheckDerivationOKRestriction2to4()
14450 if (pctxt->attrProhibs->nbItems != 0) in xmlSchemaFixupTypeAttributeUses()
14474 usesCount = uses->nbItems; in xmlSchemaFixupTypeAttributeUses()
14479 for (i = 0; i < baseUses->nbItems; i++) { in xmlSchemaFixupTypeAttributeUses()
14485 for (j = 0; j < prohibs->nbItems; j++) { in xmlSchemaFixupTypeAttributeUses()
14521 for (i = 0; i < baseUses->nbItems; i++) { in xmlSchemaFixupTypeAttributeUses()
14529 xmlSchemaItemListAddSize(uses, baseUses->nbItems, use); in xmlSchemaFixupTypeAttributeUses()
14537 if (uses->nbItems == 0) { in xmlSchemaFixupTypeAttributeUses()
15922 (((xmlSchemaItemListPtr) type->attrUses)->nbItems > 1)) in xmlSchemaCheckCTPropsCorrect()
15928 for (i = uses->nbItems -1; i >= 0; i--) { in xmlSchemaCheckCTPropsCorrect()
16178 for (i = 0; i < (WXS_LIST_CAST base->attrUses)->nbItems; i ++) { in xmlSchemaCheckCOSCTExtends()
16183 for (j = 0; j < (WXS_LIST_CAST type->attrUses)->nbItems; j ++) in xmlSchemaCheckCOSCTExtends()
19050 for (i = 0; i < list->nbItems; i++) { in xmlSchemaCheckAttrGroupCircularRecur()
19171 prohibs->nbItems = 0; in xmlSchemaExpandAttributeGroupRefs()
19173 for (i = 0; i < list->nbItems; i++) { in xmlSchemaExpandAttributeGroupRefs()
19255 if ((sublist == NULL) || sublist->nbItems == 0) { in xmlSchemaExpandAttributeGroupRefs()
19265 if (sublist->nbItems != 1) { in xmlSchemaExpandAttributeGroupRefs()
19266 for (j = 1; j < sublist->nbItems; j++) { in xmlSchemaExpandAttributeGroupRefs()
19279 if (prohibs && (prohibs->nbItems != 0) && (list->nbItems != 0)) { in xmlSchemaExpandAttributeGroupRefs()
19282 for (i = prohibs->nbItems -1; i >= 0; i--) { in xmlSchemaExpandAttributeGroupRefs()
19284 for (j = 0; j < list->nbItems; j++) { in xmlSchemaExpandAttributeGroupRefs()
19366 (WXS_LIST_CAST attrGr->attrUses)->nbItems > 1) in xmlSchemaCheckAGPropsCorrect()
19372 for (i = uses->nbItems -1; i >= 0; i--) { in xmlSchemaCheckAGPropsCorrect()
20736 for (i = 0; i < bucket->globals->nbItems; i++) { in xmlSchemaAddComponents()
20827 int nbItems, i, ret = 0; in xmlSchemaFixupComponents() local
20834 (con->pending->nbItems == 0)) in xmlSchemaFixupComponents()
20867 nbItems = con->pending->nbItems; in xmlSchemaFixupComponents()
20894 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
20965 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21007 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21024 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21047 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21067 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21087 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21108 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21124 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21144 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21149 ( (WXS_LIST_CAST (WXS_ATTR_GROUP_CAST item)->attrUses)->nbItems > 1)) in xmlSchemaFixupComponents()
21173 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21194 nbItems = con->pending->nbItems; in xmlSchemaFixupComponents()
21199 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21240 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21272 con->pending->nbItems = 0; in xmlSchemaFixupComponents()
21955 for (i = 0; i < vctxt->nodeQNames->nbItems; i += 2) { in xmlSchemaVAddNodeQName()
21962 i = vctxt->nodeQNames->nbItems; in xmlSchemaVAddNodeQName()
22301 for (i = 0; i < matcher->targets->nbItems; i++) { in xmlSchemaIDCFreeMatcherList()
22350 for (i = 0; i < matcher->targets->nbItems; i++) { in xmlSchemaIDCReleaseMatcherList()
22988 (targets->nbItems != 0)) { in xmlSchemaXPathProcessHistory()
23020 } while (i < targets->nbItems); in xmlSchemaXPathProcessHistory()
23021 if (i != targets->nbItems) { in xmlSchemaXPathProcessHistory()
23330 nbDupls = bind->dupls->nbItems; in xmlSchemaIDCFillNodeTables()
23348 bind->nbNodes = matcher->targets->nbItems; in xmlSchemaIDCFillNodeTables()
23352 matcher->targets->nbItems = 0; in xmlSchemaIDCFillNodeTables()
23357 nbTargets = matcher->targets->nbItems; in xmlSchemaIDCFillNodeTables()
23548 oldDupls = parBind->dupls->nbItems; in xmlSchemaBubbleIDCNodeTables()
23795 matcher->targets->nbItems) in xmlSchemaCheckCVCIDCKeyRef()
23813 hasDupls = (bind && bind->dupls && bind->dupls->nbItems) ? 1 : 0; in xmlSchemaCheckCVCIDCKeyRef()
23817 for (i = 0; i < matcher->targets->nbItems; i++) { in xmlSchemaCheckCVCIDCKeyRef()
23844 for (j = 0; j < bind->dupls->nbItems; j++) { in xmlSchemaCheckCVCIDCKeyRef()
25232 nbUses = attrUseList->nbItems; in xmlSchemaVAttributesComplex()
25418 for (j = 0; j < attrUseList->nbItems; j++) { in xmlSchemaVAttributesComplex()