Lines Matching defs:link
3829 * @alink: a type link
3834 xmlSchemaFreeTypeLinkList(xmlSchemaTypeLinkPtr link)
3838 while (link != NULL) {
3839 next = link->next;
3840 xmlFree(link);
3841 link = next;
3963 xmlSchemaFacetLinkPtr next, link;
3965 link = type->facetSet;
3967 next = link->next;
3968 xmlFree(link);
3969 link = next;
3970 } while (link != NULL);
8881 xmlSchemaTypeLinkPtr link, lastLink = NULL;
8898 * Create the member type link.
8900 link = (xmlSchemaTypeLinkPtr)
8902 if (link == NULL) {
8904 "allocating a type link", NULL);
8907 link->type = NULL;
8908 link->next = NULL;
8910 type->memberTypes = link;
8912 lastLink->next = link;
8913 lastLink = link;
8924 * Assign the reference to the link, it will be resolved
8927 link->type = (xmlSchemaTypePtr) ref;
11688 xmlSchemaPErrMemory(ctxt, "allocating a facet link", NULL);
13258 xmlSchemaTypeLinkPtr link, lastLink, newLink;
13271 link = type->memberTypes;
13273 while (link != NULL) {
13276 name = ((xmlSchemaQNameRefPtr) link->type)->name;
13277 nsName = ((xmlSchemaQNameRefPtr) link->type)->targetNamespace;
13285 * Remove the member type link.
13288 type->memberTypes = link->next;
13290 lastLink->next = link->next;
13291 newLink = link;
13292 link = link->next;
13295 link->type = memberType;
13296 lastLink = link;
13297 link = link->next;
13305 link = (xmlSchemaTypeLinkPtr) xmlMalloc(sizeof(xmlSchemaTypeLink));
13306 if (link == NULL) {
13307 xmlSchemaPErrMemory(ctxt, "allocating a type link", NULL);
13310 link->type = memberType;
13311 link->next = NULL;
13313 type->memberTypes = link;
13315 lastLink->next = link;
13316 lastLink = link;
17194 xmlSchemaFacetLinkPtr link, cur, last = NULL;
17668 link = type->facetSet;
17671 while (link != NULL) {
17672 facet = link->facet;
17696 link = link->next;
17702 if (link == NULL) {
17703 link = (xmlSchemaFacetLinkPtr)
17705 if (link == NULL) {
17707 "deriving facets, creating a facet link", NULL);
17710 link->facet = cur->facet;
17711 link->next = NULL;
17713 type->facetSet = link;
17715 last->next = link;
17716 last = link;
17732 xmlSchemaTypeLinkPtr link, lastLink, prevLink, subLink, newLink;
17742 link = type->memberTypes;
17743 while (link != NULL) {
17745 if (WXS_IS_TYPE_NOT_FIXED(link->type))
17746 xmlSchemaTypeFixup(link->type, ACTXT_CAST pctxt);
17748 if (WXS_IS_UNION(link->type)) {
17749 subLink = xmlSchemaGetUnionSimpleTypeMemberTypes(link->type);
17751 link->type = subLink->type;
17753 lastLink = link->next;
17755 prevLink = link;
17760 xmlSchemaPErrMemory(pctxt, "allocating a type link",
17774 link = link->next;
23120 * Link it to the pool of reusable state objects.