Lines Matching refs:ref

1061 	xmlAttrPtr ns, name, ref = NULL;  in schema_group()  local
1071 name = ref = get_attribute(groupType->properties, "ref"); in schema_group()
1077 if (ref) { in schema_group()
1081 parse_namespace(ref->children->content, &type, &ns); in schema_group()
1152 if (ref != NULL) { in schema_group()
1159 if (ref != NULL) { in schema_group()
1166 if (ref != NULL) { in schema_group()
1490 xmlAttrPtr attrs, attr, ns, name, type, ref = NULL; in schema_element() local
1500 name = ref = get_attribute(attrs, "ref"); in schema_element()
1511 if (ref) { in schema_element()
1516 parse_namespace(ref->children->content, &type, &ns); in schema_element()
1536 newType->ref = estrndup(ZSTR_VAL(nscat.s), ZSTR_LEN(nscat.s)); in schema_element()
1593 if (ref != NULL) { in schema_element()
1608 if (ref != NULL) { in schema_element()
1616 if (ref != NULL) { in schema_element()
1661 if (ref != NULL) { in schema_element()
1680 if (ref != NULL) { in schema_element()
1688 if (ref != NULL) { in schema_element()
1730 xmlAttrPtr attr, name, ref = NULL, type = NULL; in schema_attribute() local
1735 name = ref = get_attribute(attrType->properties, "ref"); in schema_attribute()
1744 if (ref) { in schema_attribute()
1748 parse_namespace(ref->children->content, &attr_name, &ns); in schema_attribute()
1765 newAttr->ref = estrndup(ZSTR_VAL(key.s), ZSTR_LEN(key.s)); in schema_attribute()
1808 if (ref != NULL) { in schema_attribute()
1918 if (ref != NULL) { in schema_attribute()
1951 xmlAttrPtr name, ref = NULL; in schema_attributeGroup() local
1956 name = ref = get_attribute(attrGroup->properties, "ref"); in schema_attributeGroup()
1983 } else if (ref) { in schema_attributeGroup()
1996 parse_namespace(ref->children->content, &group_name, &ns); in schema_attributeGroup()
2004 newAttr->ref = estrndup(ZSTR_VAL(key.s), ZSTR_LEN(key.s)); in schema_attributeGroup()
2023 if (ref != NULL) { in schema_attributeGroup()
2028 if (ref != NULL) { in schema_attributeGroup()
2033 if (ref != NULL) { in schema_attributeGroup()
2065 static void* schema_find_by_ref(HashTable *ht, char *ref) in schema_find_by_ref() argument
2069 if ((tmp = zend_hash_str_find_ptr(ht, ref, strlen(ref))) != NULL) { in schema_find_by_ref()
2072 ref = strrchr(ref, ':'); in schema_find_by_ref()
2073 if (ref) { in schema_find_by_ref()
2074 if ((tmp = zend_hash_str_find_ptr(ht, ref, strlen(ref))) != NULL) { in schema_find_by_ref()
2086 if (attr->ref != NULL) { in schema_attribute_fixup()
2088 tmp = (sdlAttributePtr)schema_find_by_ref(ctx->attributes, attr->ref); in schema_attribute_fixup()
2117 if (attr->name == NULL && attr->ref != NULL) { in schema_attribute_fixup()
2118 char *name = strrchr(attr->ref, ':'); in schema_attribute_fixup()
2122 attr->name = estrdup(attr->ref); in schema_attribute_fixup()
2125 efree(attr->ref); in schema_attribute_fixup()
2126 attr->ref = NULL; in schema_attribute_fixup()
2135 if (attr->ref != NULL) { in schema_attributegroup_fixup()
2137 tmp = (sdlTypePtr)schema_find_by_ref(ctx->attributeGroups, attr->ref); in schema_attributegroup_fixup()
2176 efree(attr->ref); in schema_attributegroup_fixup()
2177 attr->ref = NULL; in schema_attributegroup_fixup()
2230 if (type->ref != NULL) { in schema_type_fixup()
2232 tmp = (sdlTypePtr)schema_find_by_ref(ctx->sdl->elements, type->ref); in schema_type_fixup()
2246 } else if (strcmp(type->ref, SCHEMA_NAMESPACE ":schema") == 0) { in schema_type_fixup()
2249 soap_error1(E_ERROR, "Parsing Schema: unresolved element 'ref' attribute '%s'", type->ref); in schema_type_fixup()
2252 efree(type->ref); in schema_type_fixup()
2253 type->ref = NULL; in schema_type_fixup()
2506 if (attr->ref) { in delete_attribute()
2507 efree(attr->ref); in delete_attribute()
2532 if (attr->ref) { in delete_attribute_persistent()
2533 free(attr->ref); in delete_attribute_persistent()