Lines Matching defs:cur

983     xmlNodePtr cur;
2519 const xmlChar *cur, *end;
2538 cur = values[i];
2539 if (cur == NULL)
2541 if ((cur[0] == 'n') && (cur[1] == 'o') && (cur[2] == 't') &&
2542 (cur[3] == ' ')) {
2543 cur += 4;
2551 end = cur;
2558 localName = xmlStrncat(localName, BAD_CAST cur, end - cur);
2570 cur = end;
2582 nsName = xmlStrncat(nsName, BAD_CAST cur, end - cur);
3508 xmlSchemaSchemaRelationPtr prev, cur = bucket->relations;
3510 prev = cur;
3511 cur = cur->next;
3513 } while (cur != NULL);
3869 xmlSchemaIDCSelectPtr cur, prev;
3883 cur = idcDef->fields;
3885 prev = cur;
3886 cur = cur->next;
3890 } while (cur != NULL);
5999 const xmlChar *val, *cur;
6020 cur = val;
6021 while (IS_BLANK_CH(*cur))
6022 cur++;
6023 if (*cur == 0) {
6031 while ((*cur >= '0') && (*cur <= '9')) {
6032 ret = ret * 10 + (*cur - '0');
6033 cur++;
6035 while (IS_BLANK_CH(*cur))
6036 cur++;
6040 if ((*cur != 0) || (ret < min) || ((max != -1) && (ret > max))) {
6064 const xmlChar *val, *cur;
6072 cur = val;
6073 while (IS_BLANK_CH(*cur))
6074 cur++;
6075 if (*cur == 0) {
6083 while ((*cur >= '0') && (*cur <= '9')) {
6084 ret = ret * 10 + (*cur - '0');
6085 cur++;
6087 while (IS_BLANK_CH(*cur))
6088 cur++;
6092 if ((*cur != 0) || (ret < min) || ((max != -1) && (ret > max))) {
6748 const xmlChar *end, *cur;
6750 cur = ns;
6752 while (IS_BLANK_CH(*cur))
6753 cur++;
6754 end = cur;
6757 if (end == cur)
6759 nsItem = xmlStrndup(cur, end - cur);
6809 cur = end;
6810 } while (*cur != 0);
7919 const xmlChar *end, *cur = value;
7923 while (IS_BLANK_CH(*cur))
7924 cur++;
7925 end = cur;
7928 if (end == cur)
7930 item = xmlStrndup(cur, end - cur);
7965 cur = end;
7966 } while ((ret == 0) && (*cur != 0));
8071 xmlSchemaAnnotPtr cur = item->annot; \
8076 cur = item->annot; \
8077 if (cur->next != NULL) { \
8078 cur = cur->next; \
8080 cur->next = annot;
8841 const xmlChar *cur = NULL;
8886 cur = xmlSchemaGetNodeContent(ctxt, (xmlNodePtr) attr);
8887 type->base = cur;
8889 while (IS_BLANK_CH(*cur))
8890 cur++;
8891 end = cur;
8894 if (end == cur)
8896 tmp = xmlStrndup(cur, end - cur);
8932 cur = end;
8933 } while (*cur != 0);
9519 xmlNodePtr delete, cur;
9527 cur = root;
9528 while (cur != NULL) {
9534 if (cur->type == XML_TEXT_NODE) {
9535 if (IS_BLANK_NODE(cur)) {
9536 if (xmlNodeGetSpacePreserve(cur) != 1) {
9537 delete = cur;
9540 } else if ((cur->type != XML_ELEMENT_NODE) &&
9541 (cur->type != XML_CDATA_SECTION_NODE)) {
9542 delete = cur;
9549 if (cur->children != NULL) {
9550 if ((cur->children->type != XML_ENTITY_DECL) &&
9551 (cur->children->type != XML_ENTITY_REF_NODE) &&
9552 (cur->children->type != XML_ENTITY_NODE)) {
9553 cur = cur->children;
9558 if (cur->next != NULL) {
9559 cur = cur->next;
9564 cur = cur->parent;
9565 if (cur == NULL)
9567 if (cur == root) {
9568 cur = NULL;
9571 if (cur->next != NULL) {
9572 cur = cur->next;
9575 } while (cur != NULL);
10005 xmlSchemaBucketPtr cur;
10014 cur = (xmlSchemaBucketPtr) list->items[i];
10016 if (cur->schemaLocation == schemaLocation)
10017 return(cur);
10028 xmlSchemaBucketPtr cur;
10037 cur = (xmlSchemaBucketPtr) list->items[i];
10039 if ((cur->origTargetNamespace == NULL) &&
10040 (cur->schemaLocation == schemaLocation) &&
10041 (cur->targetNamespace == targetNamespace))
10042 return(cur);
10057 xmlSchemaBucketPtr cur;
10066 cur = (xmlSchemaBucketPtr) list->items[i];
10067 if ((! IS_BAD_SCHEMA_DOC(cur)) &&
10068 (cur->origTargetNamespace == targetNamespace) &&
10069 ((imported && cur->imported) ||
10070 ((!imported) && (!cur->imported))))
10071 return(cur);
10207 xmlSchemaSchemaRelationPtr cur = bucket->relations;
10209 if (cur == NULL) {
10213 while (cur->next != NULL)
10214 cur = cur->next;
10215 cur->next = rel;
13388 xmlSchemaWildcardNsPtr cur, tmp, last;
13393 cur = source->nsSet;
13395 while (cur != NULL) {
13399 tmp->value = cur->value;
13405 cur = cur->next;
13435 xmlSchemaWildcardNsPtr cur, curB, tmp;
13454 cur = completeWild->nsSet;
13455 while (cur != NULL) {
13459 if (cur->value == curB->value) {
13467 cur = cur->next;
13500 cur = curWild->nsSet;
13502 while (cur != NULL) {
13506 if (cur->value == curB->value) {
13516 tmp->value = cur->value;
13520 cur = cur->next;
13549 cur = completeWild->nsSet;
13552 cur = curWild->nsSet;
13556 while (cur != NULL) {
13557 if (cur->value == NULL)
13559 else if (cur->value == curB->value)
13563 cur = cur->next;
13636 cur = completeWild->nsSet;
13638 cur = curWild->nsSet;
13640 while (cur != NULL) {
13641 if (cur->value == NULL) {
13657 cur = cur->next;
13695 xmlSchemaWildcardNsPtr cur, curB, prev, tmp;
13714 cur = completeWild->nsSet;
13715 while (cur != NULL) {
13719 if (cur->value == curB->value) {
13727 cur = cur->next;
13763 cur = completeWild->nsSet;
13764 while (cur != NULL) {
13765 if (cur->value == NULL) {
13767 completeWild->nsSet = cur->next;
13769 prev->next = cur->next;
13770 xmlFree(cur);
13773 prev = cur;
13774 cur = cur->next;
13778 cur = completeWild->nsSet;
13779 while (cur != NULL) {
13780 if (cur->value == neg) {
13782 completeWild->nsSet = cur->next;
13784 prev->next = cur->next;
13785 xmlFree(cur);
13788 prev = cur;
13789 cur = cur->next;
13802 cur = completeWild->nsSet;
13804 while (cur != NULL) {
13808 if (cur->value == curB->value) {
13816 completeWild->nsSet = cur->next;
13818 prev->next = cur->next;
13819 tmp = cur->next;
13820 xmlFree(cur);
13821 cur = tmp;
13824 prev = cur;
13825 cur = cur->next;
13893 xmlSchemaWildcardNsPtr cur, curB;
13896 cur = sub->nsSet;
13897 while (cur != NULL) {
13901 if (cur->value == curB->value) {
13909 cur = cur->next;
13914 xmlSchemaWildcardNsPtr cur;
13919 cur = sub->nsSet;
13920 while (cur != NULL) {
13921 if (cur->value == super->negNsSet->value)
13923 cur = cur->next;
13981 xmlSchemaWildcardNsPtr cur;
13983 cur = wild->nsSet;
13984 while (cur != NULL) {
13985 if (xmlStrEqual(cur->value, ns))
13987 cur = cur->next;
14023 xmlSchemaAttributeUsePtr cur = NULL, bcur;
14030 cur = uses->items[i];
14036 if ((WXS_ATTRUSE_DECL_NAME(cur) ==
14038 (WXS_ATTRUSE_DECL_TNS(cur) ==
14049 if ((cur->occurs == XML_SCHEMAS_ATTR_USE_OPTIONAL) &&
14060 WXS_ITEM_NODE(item), item, cur,
14070 WXS_ATTRUSE_TYPEDEF(cur),
14083 WXS_ITEM_NODE(item), item, cur,
14089 WXS_ATTRUSE_TYPEDEF(cur)),
14134 WXS_ITEM_NODE(item), item, cur,
14161 (WXS_ATTRUSE_DECL(cur))->targetNamespace) != 0))
14167 WXS_ITEM_NODE(item), item, cur,
14195 cur = uses->items[i];
14196 if ((WXS_ATTRUSE_DECL_NAME(cur) ==
14198 (WXS_ATTRUSE_DECL_TNS(cur) ==
14560 int min = -1, cur;
14569 cur = part->minOccurs;
14571 cur = xmlSchemaGetParticleTotalRangeMin(part);
14572 if (cur == 0)
14574 if ((min > cur) || (min == -1))
14575 min = cur;
14615 int max = -1, cur;
14624 cur = part->maxOccurs;
14626 cur = xmlSchemaGetParticleTotalRangeMax(part);
14627 if (cur == UNBOUNDED)
14629 if ((max < cur) || (max == -1))
14630 max = cur;
14636 int sum = 0, cur;
14645 cur = part->maxOccurs;
14647 cur = xmlSchemaGetParticleTotalRangeMax(part);
14648 if (cur == UNBOUNDED)
14650 if ((cur > 0) && (particle->maxOccurs == UNBOUNDED))
14652 sum += cur;
14769 xmlSchemaTypeLinkPtr cur;
14771 cur = baseType->memberTypes;
14772 while (cur != NULL) {
14773 if (WXS_IS_TYPE_NOT_FIXED(cur->type))
14774 if (xmlSchemaTypeFixup(cur->type, actxt) == -1)
14777 type, cur->type, subset) == 0)
14785 cur = cur->next;
17122 xmlSchemaFacetLinkPtr link, cur, last = NULL;
17166 for (cur = type->facetSet; cur != NULL; cur = cur->next) {
17167 facet = cur->facet;
17191 for (cur = base->facetSet; cur != NULL; cur = cur->next) {
17192 facet = cur->facet;
17584 for (cur = base->facetSet; cur != NULL; cur = cur->next) {
17585 bfacet = cur->facet;
17638 link->facet = cur->facet;
19785 xmlSchemaParticlePtr cur = curParticle;
19796 while (cur != NULL) {
19797 switch (WXS_PARTICLE_TERM(cur)->type) {
19803 ctxtComponent, ctxtParticle, cur, ctxtParticle, 1);
19808 WXS_ELEM_CAST(WXS_PARTICLE_TERM(cur));
19819 if (xmlStrEqual(WXS_PARTICLE_TERM_AS_ELEM(cur)->name,
19821 xmlStrEqual(WXS_PARTICLE_TERM_AS_ELEM(cur)->targetNamespace,
19829 WXS_ITEM_NODE(cur), NULL,
19836 WXS_PARTICLE_TERM_AS_ELEM(cur)->targetNamespace,
19837 WXS_PARTICLE_TERM_AS_ELEM(cur)->name));
19870 WXS_ITEM_TYPE_NAME(WXS_PARTICLE_TERM(cur)), NULL);
19873 cur = (xmlSchemaParticlePtr) cur->next;
21631 const xmlChar *cur, *end;
21652 cur = iattr->value;
21661 while (IS_BLANK_CH(*cur))
21662 cur++;
21663 end = cur;
21666 if (end == cur)
21669 nsname = xmlDictLookup(vctxt->schema->dict, cur, end - cur);
21670 cur = end;
21675 while (IS_BLANK_CH(*cur))
21676 cur++;
21677 end = cur;
21680 if (end == cur) {
21696 location = xmlDictLookup(vctxt->schema->dict, cur, end - cur);
21697 cur = end;
21705 } while (*cur != 0);
24527 const xmlChar *cur, *end;
24545 cur = value;
24547 while (IS_BLANK_CH(*cur))
24548 cur++;
24549 end = cur;
24552 if (end == cur)
24554 tmpValue = xmlStrndup(cur, end - cur);
24584 cur = end;
24585 } while (*cur != 0);
27406 xmlSchemaIDCAugPtr cur = vctxt->aidcs, next;
27408 next = cur->next;
27409 xmlFree(cur);
27410 cur = next;
27411 } while (cur != NULL);
27523 xmlSchemaIDCAugPtr cur = ctxt->aidcs, next;
27525 next = cur->next;
27526 xmlFree(cur);
27527 cur = next;
27528 } while (cur != NULL);