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
3349 list->nbItems = 0; in xmlSchemaItemListClear()
3364 } else if (list->sizeItems <= list->nbItems) { in xmlSchemaItemListAdd()
3374 list->items[list->nbItems++] = item; in xmlSchemaItemListAdd()
3393 } else if (list->sizeItems <= list->nbItems) { in xmlSchemaItemListAddSize()
3403 list->items[list->nbItems++] = item; in xmlSchemaItemListAddSize()
3418 } else if (list->sizeItems <= list->nbItems) { in xmlSchemaItemListInsert()
3431 if (idx >= list->nbItems) { in xmlSchemaItemListInsert()
3432 list->items[list->nbItems++] = item; in xmlSchemaItemListInsert()
3435 for (i = list->nbItems; i > idx; i--) in xmlSchemaItemListInsert()
3438 list->nbItems++; in xmlSchemaItemListInsert()
3460 } else if (list->sizeItems <= list->nbItems) {
3473 if (idx >= list->nbItems) {
3474 list->items[list->nbItems++] = item;
3477 for (i = list->nbItems; i > idx; i--)
3480 list->nbItems++;
3490 if ((list->items == NULL) || (idx >= list->nbItems)) { in xmlSchemaItemListRemove()
3496 if (list->nbItems == 1) { in xmlSchemaItemListRemove()
3500 list->nbItems = 0; in xmlSchemaItemListRemove()
3502 } else if (list->nbItems -1 == idx) { in xmlSchemaItemListRemove()
3503 list->nbItems--; in xmlSchemaItemListRemove()
3505 for (i = idx; i < list->nbItems -1; i++) in xmlSchemaItemListRemove()
3507 list->nbItems--; in xmlSchemaItemListRemove()
4042 if ((list == NULL) || (list->nbItems == 0)) in xmlSchemaComponentListFree()
4049 for (i = 0; i < list->nbItems; i++) { in xmlSchemaComponentListFree()
4114 list->nbItems = 0; in xmlSchemaComponentListFree()
4158 for (i = 0; i < list->nbItems; i++) { in xmlSchemaFree()
4381 if ((uses == NULL) || (uses->nbItems == 0)) in xmlSchemaAttrUsesDump()
4385 for (i = 0; i < uses->nbItems; i++) { in xmlSchemaAttrUsesDump()
4593 if (bind->dupls && bind->dupls->nbItems) { in xmlSchemaDebugDumpIDCTable()
4594 fprintf(output, "IDC: dupls (%d):\n", bind->dupls->nbItems); in xmlSchemaDebugDumpIDCTable()
4595 for (i = 0; i < bind->dupls->nbItems; i++) { in xmlSchemaDebugDumpIDCTable()
5059 (bucket->globals->nbItems == 0)) in xmlSchemaFindRedefCompInGraph()
5064 for (i = 0; i < bucket->globals->nbItems; i++) { in xmlSchemaFindRedefCompInGraph()
7419 for (i = 0; i < uses->nbItems; i++) { in xmlSchemaParseLocalAttribute()
10041 if (list->nbItems == 0) in xmlSchemaGetSchemaBucket()
10045 for (i = 0; i < list->nbItems; i++) { in xmlSchemaGetSchemaBucket()
10064 if (list->nbItems == 0) in xmlSchemaGetChameleonSchemaBucket()
10068 for (i = 0; i < list->nbItems; i++) { in xmlSchemaGetChameleonSchemaBucket()
10093 if (list->nbItems == 0) in xmlSchemaGetSchemaBucketByTNS()
10097 for (i = 0; i < list->nbItems; i++) { in xmlSchemaGetSchemaBucketByTNS()
12606 for (i = 0; i < substGroup->members->nbItems; i++) { in xmlSchemaBuildContentModelForSubstGroup()
12622 for (i = 0; i < substGroup->members->nbItems; i++) { in xmlSchemaBuildContentModelForSubstGroup()
12660 for (i = 0; i < substGroup->members->nbItems; i++) { in xmlSchemaBuildContentModelForSubstGroup()
14138 for (i = 0; i < uses->nbItems; i++) { in xmlSchemaCheckDerivationOKRestriction2to4()
14143 for (j = 0; j < baseUses->nbItems; j++) { in xmlSchemaCheckDerivationOKRestriction2to4()
14297 for (j = 0; j < baseUses->nbItems; j++) { in xmlSchemaCheckDerivationOKRestriction2to4()
14303 for (i = 0; i < uses->nbItems; i++) { in xmlSchemaCheckDerivationOKRestriction2to4()
14463 if (pctxt->attrProhibs->nbItems != 0) in xmlSchemaFixupTypeAttributeUses()
14487 usesCount = uses->nbItems; in xmlSchemaFixupTypeAttributeUses()
14492 for (i = 0; i < baseUses->nbItems; i++) { in xmlSchemaFixupTypeAttributeUses()
14498 for (j = 0; j < prohibs->nbItems; j++) { in xmlSchemaFixupTypeAttributeUses()
14534 for (i = 0; i < baseUses->nbItems; i++) { in xmlSchemaFixupTypeAttributeUses()
14542 xmlSchemaItemListAddSize(uses, baseUses->nbItems, use); in xmlSchemaFixupTypeAttributeUses()
14550 if (uses->nbItems == 0) { in xmlSchemaFixupTypeAttributeUses()
15935 (((xmlSchemaItemListPtr) type->attrUses)->nbItems > 1)) in xmlSchemaCheckCTPropsCorrect()
15941 for (i = uses->nbItems -1; i >= 0; i--) { in xmlSchemaCheckCTPropsCorrect()
16191 for (i = 0; i < (WXS_LIST_CAST base->attrUses)->nbItems; i ++) { in xmlSchemaCheckCOSCTExtends()
16196 for (j = 0; j < (WXS_LIST_CAST type->attrUses)->nbItems; j ++) in xmlSchemaCheckCOSCTExtends()
19063 for (i = 0; i < list->nbItems; i++) { in xmlSchemaCheckAttrGroupCircularRecur()
19184 prohibs->nbItems = 0; in xmlSchemaExpandAttributeGroupRefs()
19186 for (i = 0; i < list->nbItems; i++) { in xmlSchemaExpandAttributeGroupRefs()
19268 if ((sublist == NULL) || sublist->nbItems == 0) { in xmlSchemaExpandAttributeGroupRefs()
19278 if (sublist->nbItems != 1) { in xmlSchemaExpandAttributeGroupRefs()
19279 for (j = 1; j < sublist->nbItems; j++) { in xmlSchemaExpandAttributeGroupRefs()
19292 if (prohibs && (prohibs->nbItems != 0) && (list->nbItems != 0)) { in xmlSchemaExpandAttributeGroupRefs()
19295 for (i = prohibs->nbItems -1; i >= 0; i--) { in xmlSchemaExpandAttributeGroupRefs()
19297 for (j = 0; j < list->nbItems; j++) { in xmlSchemaExpandAttributeGroupRefs()
19379 (WXS_LIST_CAST attrGr->attrUses)->nbItems > 1) in xmlSchemaCheckAGPropsCorrect()
19385 for (i = uses->nbItems -1; i >= 0; i--) { in xmlSchemaCheckAGPropsCorrect()
20749 for (i = 0; i < bucket->globals->nbItems; i++) { in xmlSchemaAddComponents()
20840 int nbItems, i, ret = 0; in xmlSchemaFixupComponents() local
20847 (con->pending->nbItems == 0)) in xmlSchemaFixupComponents()
20880 nbItems = con->pending->nbItems; in xmlSchemaFixupComponents()
20907 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
20978 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21020 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21037 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21060 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21080 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21100 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21121 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21137 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21157 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21162 ( (WXS_LIST_CAST (WXS_ATTR_GROUP_CAST item)->attrUses)->nbItems > 1)) in xmlSchemaFixupComponents()
21186 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21207 nbItems = con->pending->nbItems; in xmlSchemaFixupComponents()
21212 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21253 for (i = 0; i < nbItems; i++) { in xmlSchemaFixupComponents()
21285 con->pending->nbItems = 0; in xmlSchemaFixupComponents()
21968 for (i = 0; i < vctxt->nodeQNames->nbItems; i += 2) { in xmlSchemaVAddNodeQName()
21975 i = vctxt->nodeQNames->nbItems; in xmlSchemaVAddNodeQName()
22314 for (i = 0; i < matcher->targets->nbItems; i++) { in xmlSchemaIDCFreeMatcherList()
22363 for (i = 0; i < matcher->targets->nbItems; i++) { in xmlSchemaIDCReleaseMatcherList()
23001 (targets->nbItems != 0)) { in xmlSchemaXPathProcessHistory()
23033 } while (i < targets->nbItems); in xmlSchemaXPathProcessHistory()
23034 if (i != targets->nbItems) { in xmlSchemaXPathProcessHistory()
23343 nbDupls = bind->dupls->nbItems; in xmlSchemaIDCFillNodeTables()
23361 bind->nbNodes = matcher->targets->nbItems; in xmlSchemaIDCFillNodeTables()
23365 matcher->targets->nbItems = 0; in xmlSchemaIDCFillNodeTables()
23370 nbTargets = matcher->targets->nbItems; in xmlSchemaIDCFillNodeTables()
23561 oldDupls = parBind->dupls->nbItems; in xmlSchemaBubbleIDCNodeTables()
23808 matcher->targets->nbItems) in xmlSchemaCheckCVCIDCKeyRef()
23826 hasDupls = (bind && bind->dupls && bind->dupls->nbItems) ? 1 : 0; in xmlSchemaCheckCVCIDCKeyRef()
23830 for (i = 0; i < matcher->targets->nbItems; i++) { in xmlSchemaCheckCVCIDCKeyRef()
23857 for (j = 0; j < bind->dupls->nbItems; j++) { in xmlSchemaCheckCVCIDCKeyRef()
25245 nbUses = attrUseList->nbItems; in xmlSchemaVAttributesComplex()
25431 for (j = 0; j < attrUseList->nbItems; j++) { in xmlSchemaVAttributesComplex()