Lines Matching refs:attr

292 			xmlAttrPtr attr = node_ptr->properties;  in soap_check_zval_ref()  local
301 attr = get_attribute(attr, "id"); in soap_check_zval_ref()
302 if (attr == NULL || attr->ns == NULL) { in soap_check_zval_ref()
305 attr = attr->next; in soap_check_zval_ref()
307 if (attr) { in soap_check_zval_ref()
308 id = (char*)attr->children->content; in soap_check_zval_ref()
323 attr = get_attribute_ex(attr, "id", SOAP_1_2_ENC_NAMESPACE); in soap_check_zval_ref()
324 if (attr) { in soap_check_zval_ref()
325 id = (char*)attr->children->content; in soap_check_zval_ref()
1497 sdlAttributePtr attr; in to_zval_object_ex() local
1499 ZEND_HASH_FOREACH_PTR(sdlType->attributes, attr) { in to_zval_object_ex()
1500 if (attr->name) { in to_zval_object_ex()
1501 xmlAttrPtr val = get_attribute(data->properties, attr->name); in to_zval_object_ex()
1506 if (attr->fixed && strcmp(attr->fixed, str_val) != 0) { in to_zval_object_ex()
1507 …: Attribute '%s' has fixed value '%s' (value '%s' is not allowed)", attr->name, attr->fixed, str_v… in to_zval_object_ex()
1509 } else if (attr->fixed) { in to_zval_object_ex()
1510 str_val = attr->fixed; in to_zval_object_ex()
1511 } else if (attr->def) { in to_zval_object_ex()
1512 str_val = attr->def; in to_zval_object_ex()
1524 master_to_zval(&data, attr->encode, dummy); in to_zval_object_ex()
1530 set_zval_property(ret, attr->name, &data); in to_zval_object_ex()
1892 sdlAttributePtr attr; in to_xml_object() local
1895 ZEND_HASH_FOREACH_PTR(sdlType->attributes, attr) { in to_xml_object()
1896 if (attr->name) { in to_xml_object()
1897 zattr = get_zval_property(data, attr->name, &rv); in to_xml_object()
1901 dummy = master_to_xml(attr->encode, zattr, SOAP_LITERAL, xmlParam); in to_xml_object()
1903 if (attr->fixed && strcmp(attr->fixed, (char*)dummy->children->content) != 0) { in to_xml_object()
1904 …: Attribute '%s' has fixed value '%s' (value '%s' is not allowed)", attr->name, attr->fixed, dummy… in to_xml_object()
1909 if (attr->namens && in to_xml_object()
1910 (!strncmp(attr->namens, XML_NAMESPACE, sizeof(XML_NAMESPACE)) || in to_xml_object()
1911 attr->form == XSD_FORM_QUALIFIED)) { in to_xml_object()
1912 xmlNsPtr nsp = encode_add_ns(xmlParam, attr->namens); in to_xml_object()
1914 xmlSetNsProp(xmlParam, nsp, BAD_CAST(attr->name), dummy->children->content); in to_xml_object()
1916 xmlSetProp(xmlParam, BAD_CAST(attr->name), dummy->children->content); in to_xml_object()
2440 xmlAttrPtr attr; in to_zval_array() local
2449 (attr = get_attribute(data->properties,"arrayType")) && in to_zval_array()
2450 attr->children && attr->children->content) { in to_zval_array()
2454 parse_namespace(attr->children->content, &type, &ns); in to_zval_array()
2455 nsptr = xmlSearchNs(attr->doc, attr->parent, BAD_CAST(ns)); in to_zval_array()
2469 } else if ((attr = get_attribute(data->properties,"itemType")) && in to_zval_array()
2470 attr->children && in to_zval_array()
2471 attr->children->content) { in to_zval_array()
2475 parse_namespace(attr->children->content, &type, &ns); in to_zval_array()
2476 nsptr = xmlSearchNs(attr->doc, attr->parent, BAD_CAST(ns)); in to_zval_array()
2483 if ((attr = get_attribute(data->properties,"arraySize")) && in to_zval_array()
2484 attr->children && attr->children->content) { in to_zval_array()
2485 dimension = calc_dimension_12((char*)attr->children->content); in to_zval_array()
2486 dims = get_position_12(dimension, (char*)attr->children->content); in to_zval_array()
2492 } else if ((attr = get_attribute(data->properties,"arraySize")) && in to_zval_array()
2493 attr->children && attr->children->content) { in to_zval_array()
2495 dimension = calc_dimension_12((char*)attr->children->content); in to_zval_array()
2496 dims = get_position_12(dimension, (char*)attr->children->content); in to_zval_array()
2571 (attr = get_attribute(data->properties,"offset")) && in to_zval_array()
2572 attr->children && attr->children->content) { in to_zval_array()
2573 char* tmp = strrchr((char*)attr->children->content,'['); in to_zval_array()
2576 tmp = (char*)attr->children->content; in to_zval_array()