Lines Matching refs:nbItems
299 (WXS_CONSTRUCTOR((ctx))->buckets->nbItems > 0) )
318 #define WXS_ILIST_IS_EMPTY(l) ((l == NULL) || ((l)->nbItems == 0))
361 int nbItems; /* used for dynamic addition of schemata */ member
3358 list->nbItems = 0; in xmlSchemaItemListClear()
3373 } else if (list->sizeItems <= list->nbItems) { in xmlSchemaItemListAdd()
3383 list->items[list->nbItems++] = item; in xmlSchemaItemListAdd()
3402 } else if (list->sizeItems <= list->nbItems) { in xmlSchemaItemListAddSize()
3412 list->items[list->nbItems++] = item; in xmlSchemaItemListAddSize()
3427 } else if (list->sizeItems <= list->nbItems) { in xmlSchemaItemListInsert()
3440 if (idx >= list->nbItems) { in xmlSchemaItemListInsert()
3441 list->items[list->nbItems++] = item; in xmlSchemaItemListInsert()
3444 for (i = list->nbItems; i > idx; i--) in xmlSchemaItemListInsert()
3447 list->nbItems++; in xmlSchemaItemListInsert()
3469 } else if (list->sizeItems <= list->nbItems) {
3482 if (idx >= list->nbItems) {
3483 list->items[list->nbItems++] = item;
3486 for (i = list->nbItems; i > idx; i--)
3489 list->nbItems++;
3499 if ((list->items == NULL) || (idx >= list->nbItems)) { in xmlSchemaItemListRemove()
3505 if (list->nbItems == 1) { in xmlSchemaItemListRemove()
3509 list->nbItems = 0; in xmlSchemaItemListRemove()
3511 } else if (list->nbItems -1 == idx) { in xmlSchemaItemListRemove()
3512 list->nbItems--; in xmlSchemaItemListRemove()
3514 for (i = idx; i < list->nbItems -1; i++) in xmlSchemaItemListRemove()
3516 list->nbItems--; in xmlSchemaItemListRemove()
4057 if ((list == NULL) || (list->nbItems == 0)) in xmlSchemaComponentListFree()
4064 for (i = 0; i < list->nbItems; i++) { in xmlSchemaComponentListFree()
4129 list->nbItems = 0; in xmlSchemaComponentListFree()
4172 for (i = 0; i < list->nbItems; i++) { in xmlSchemaFree()
4397 if ((uses == NULL) || (uses->nbItems == 0)) in xmlSchemaAttrUsesDump()
4401 for (i = 0; i < uses->nbItems; i++) { in xmlSchemaAttrUsesDump()
4614 if (bind->dupls && bind->dupls->nbItems) { in xmlSchemaDebugDumpIDCTable()
4615 fprintf(output, "IDC: dupls (%d):\n", bind->dupls->nbItems); in xmlSchemaDebugDumpIDCTable()
4616 for (i = 0; i < bind->dupls->nbItems; i++) { in xmlSchemaDebugDumpIDCTable()
5080 (bucket->globals->nbItems == 0)) in xmlSchemaFindRedefCompInGraph()
5085 for (i = 0; i < bucket->globals->nbItems; i++) { in xmlSchemaFindRedefCompInGraph()
7446 for (i = 0; i < uses->nbItems; i++) { in xmlSchemaParseLocalAttribute()
10067 if (list->nbItems == 0) in xmlSchemaGetSchemaBucket()
10071 for (i = 0; i < list->nbItems; i++) { in xmlSchemaGetSchemaBucket()
10090 if (list->nbItems == 0) in xmlSchemaGetChameleonSchemaBucket()
10094 for (i = 0; i < list->nbItems; i++) { in xmlSchemaGetChameleonSchemaBucket()
10119 if (list->nbItems == 0) in xmlSchemaGetSchemaBucketByTNS()
10123 for (i = 0; i < list->nbItems; i++) { in xmlSchemaGetSchemaBucketByTNS()
12632 for (i = 0; i < substGroup->members->nbItems; i++) { in xmlSchemaBuildContentModelForSubstGroup()
12648 for (i = 0; i < substGroup->members->nbItems; i++) { in xmlSchemaBuildContentModelForSubstGroup()
12686 for (i = 0; i < substGroup->members->nbItems; i++) { in xmlSchemaBuildContentModelForSubstGroup()
14164 for (i = 0; i < uses->nbItems; i++) { in xmlSchemaCheckDerivationOKRestriction2to4()
14169 for (j = 0; j < baseUses->nbItems; j++) { in xmlSchemaCheckDerivationOKRestriction2to4()
14323 for (j = 0; j < baseUses->nbItems; j++) { in xmlSchemaCheckDerivationOKRestriction2to4()
14329 for (i = 0; i < uses->nbItems; i++) { in xmlSchemaCheckDerivationOKRestriction2to4()
14489 if (pctxt->attrProhibs->nbItems != 0) in xmlSchemaFixupTypeAttributeUses()
14513 usesCount = uses->nbItems; in xmlSchemaFixupTypeAttributeUses()
14518 for (i = 0; i < baseUses->nbItems; i++) { in xmlSchemaFixupTypeAttributeUses()
14524 for (j = 0; j < prohibs->nbItems; j++) { in xmlSchemaFixupTypeAttributeUses()
14560 for (i = 0; i < baseUses->nbItems; i++) { in xmlSchemaFixupTypeAttributeUses()
14568 xmlSchemaItemListAddSize(uses, baseUses->nbItems, use); in xmlSchemaFixupTypeAttributeUses()
14576 if (uses->nbItems == 0) { in xmlSchemaFixupTypeAttributeUses()
15961 (((xmlSchemaItemListPtr) type->attrUses)->nbItems > 1)) in xmlSchemaCheckCTPropsCorrect()
15967 for (i = uses->nbItems -1; i >= 0; i--) { in xmlSchemaCheckCTPropsCorrect()
16217 for (i = 0; i < (WXS_LIST_CAST base->attrUses)->nbItems; i ++) { in xmlSchemaCheckCOSCTExtends()
16222 for (j = 0; j < (WXS_LIST_CAST type->attrUses)->nbItems; j ++) in xmlSchemaCheckCOSCTExtends()
19089 for (i = 0; i < list->nbItems; i++) { in xmlSchemaCheckAttrGroupCircularRecur()
19210 prohibs->nbItems = 0; in xmlSchemaExpandAttributeGroupRefs()
19212 for (i = 0; i < list->nbItems; i++) { in xmlSchemaExpandAttributeGroupRefs()
19294 if ((sublist == NULL) || sublist->nbItems == 0) { in xmlSchemaExpandAttributeGroupRefs()
19304 if (sublist->nbItems != 1) { in xmlSchemaExpandAttributeGroupRefs()
19305 for (j = 1; j < sublist->nbItems; j++) { in xmlSchemaExpandAttributeGroupRefs()
19318 if (prohibs && (prohibs->nbItems != 0) && (list->nbItems != 0)) { in xmlSchemaExpandAttributeGroupRefs()
19321 for (i = prohibs->nbItems -1; i >= 0; i--) { in xmlSchemaExpandAttributeGroupRefs()
19323 for (j = 0; j < list->nbItems; j++) { in xmlSchemaExpandAttributeGroupRefs()
19405 (WXS_LIST_CAST attrGr->attrUses)->nbItems > 1) in xmlSchemaCheckAGPropsCorrect()
19411 for (i = uses->nbItems -1; i >= 0; i--) { in xmlSchemaCheckAGPropsCorrect()
20775 for (i = 0; i < bucket->globals->nbItems; i++) { in xmlSchemaAddComponents()
20866 int nbItems, i, ret = 0; in xmlSchemaFixupComponents() local
20873 (con->pending->nbItems == 0)) in xmlSchemaFixupComponents()
20906 nbItems = con->pending->nbItems; in xmlSchemaFixupComponents()
20933 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21004 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21046 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21063 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21086 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21106 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21126 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21147 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21163 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21183 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21188 ( (WXS_LIST_CAST (WXS_ATTR_GROUP_CAST item)->attrUses)->nbItems > 1)) in xmlSchemaFixupComponents()
21212 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21233 nbItems = con->pending->nbItems; in xmlSchemaFixupComponents()
21238 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21279 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21311 con->pending->nbItems = 0; in xmlSchemaFixupComponents()
21993 for (i = 0; i < vctxt->nodeQNames->nbItems; i += 2) { in xmlSchemaVAddNodeQName()
22000 i = vctxt->nodeQNames->nbItems; in xmlSchemaVAddNodeQName()
22343 for (i = 0; i < matcher->targets->nbItems; i++) { in xmlSchemaIDCFreeMatcherList()
22392 for (i = 0; i < matcher->targets->nbItems; i++) { in xmlSchemaIDCReleaseMatcherList()
23030 (targets->nbItems != 0)) { in xmlSchemaXPathProcessHistory()
23062 } while (i < targets->nbItems); in xmlSchemaXPathProcessHistory()
23063 if (i != targets->nbItems) { in xmlSchemaXPathProcessHistory()
23372 nbDupls = bind->dupls->nbItems; in xmlSchemaIDCFillNodeTables()
23390 bind->nbNodes = matcher->targets->nbItems; in xmlSchemaIDCFillNodeTables()
23394 matcher->targets->nbItems = 0; in xmlSchemaIDCFillNodeTables()
23399 nbTargets = matcher->targets->nbItems; in xmlSchemaIDCFillNodeTables()
23590 oldDupls = parBind->dupls->nbItems; in xmlSchemaBubbleIDCNodeTables()
23837 matcher->targets->nbItems) in xmlSchemaCheckCVCIDCKeyRef()
23855 hasDupls = (bind && bind->dupls && bind->dupls->nbItems) ? 1 : 0; in xmlSchemaCheckCVCIDCKeyRef()
23859 for (i = 0; i < matcher->targets->nbItems; i++) { in xmlSchemaCheckCVCIDCKeyRef()
23886 for (j = 0; j < bind->dupls->nbItems; j++) { in xmlSchemaCheckCVCIDCKeyRef()
25274 nbUses = attrUseList->nbItems; in xmlSchemaVAttributesComplex()
25460 for (j = 0; j < attrUseList->nbItems; j++) { in xmlSchemaVAttributesComplex()