Lines Matching refs:attr

302 			xmlAttrPtr attr = (*node_ptr)->properties;  in soap_check_zval_ref()  local
313 attr = get_attribute(attr, "id"); in soap_check_zval_ref()
314 if (attr == NULL || attr->ns == NULL) { in soap_check_zval_ref()
317 attr = attr->next; in soap_check_zval_ref()
319 if (attr) { in soap_check_zval_ref()
320 id = (char*)attr->children->content; in soap_check_zval_ref()
335 attr = get_attribute_ex(attr, "id", SOAP_1_2_ENC_NAMESPACE); in soap_check_zval_ref()
336 if (attr) { in soap_check_zval_ref()
337 id = (char*)attr->children->content; in soap_check_zval_ref()
1605 sdlAttributePtr *attr; in to_zval_object_ex() local
1609 while (zend_hash_get_current_data_ex(sdlType->attributes, (void**)&attr, &pos) == SUCCESS) { in to_zval_object_ex()
1610 if ((*attr)->name) { in to_zval_object_ex()
1611 xmlAttrPtr val = get_attribute(data->properties, (*attr)->name); in to_zval_object_ex()
1616 if ((*attr)->fixed && strcmp((*attr)->fixed, str_val) != 0) { in to_zval_object_ex()
1617 …ttribute '%s' has fixed value '%s' (value '%s' is not allowed)", (*attr)->name, (*attr)->fixed, st… in to_zval_object_ex()
1619 } else if ((*attr)->fixed) { in to_zval_object_ex()
1620 str_val = (*attr)->fixed; in to_zval_object_ex()
1621 } else if ((*attr)->def) { in to_zval_object_ex()
1622 str_val = (*attr)->def; in to_zval_object_ex()
1631 data = master_to_zval((*attr)->encode, dummy TSRMLS_CC); in to_zval_object_ex()
1633 set_zval_property(ret, (*attr)->name, data TSRMLS_CC); in to_zval_object_ex()
2008 sdlAttributePtr *attr; in to_xml_object() local
2013 while (zend_hash_get_current_data_ex(sdlType->attributes, (void**)&attr, &pos) == SUCCESS) { in to_xml_object()
2014 if ((*attr)->name) { in to_xml_object()
2015 zattr = get_zval_property(data, (*attr)->name TSRMLS_CC); in to_xml_object()
2019 dummy = master_to_xml((*attr)->encode, zattr, SOAP_LITERAL, xmlParam TSRMLS_CC); in to_xml_object()
2021 if ((*attr)->fixed && strcmp((*attr)->fixed, (char*)dummy->children->content) != 0) { in to_xml_object()
2022 …ttribute '%s' has fixed value '%s' (value '%s' is not allowed)", (*attr)->name, (*attr)->fixed, du… in to_xml_object()
2027 if ((*attr)->namens && in to_xml_object()
2028 (!strncmp((*attr)->namens, XML_NAMESPACE, sizeof(XML_NAMESPACE)) || in to_xml_object()
2029 (*attr)->form == XSD_FORM_QUALIFIED)) { in to_xml_object()
2030 xmlNsPtr nsp = encode_add_ns(xmlParam, (*attr)->namens); in to_xml_object()
2032 xmlSetNsProp(xmlParam, nsp, BAD_CAST((*attr)->name), dummy->children->content); in to_xml_object()
2034 xmlSetProp(xmlParam, BAD_CAST((*attr)->name), dummy->children->content); in to_xml_object()
2572 xmlAttrPtr attr; in to_zval_array() local
2583 (attr = get_attribute(data->properties,"arrayType")) && in to_zval_array()
2584 attr->children && attr->children->content) { in to_zval_array()
2588 parse_namespace(attr->children->content, &type, &ns); in to_zval_array()
2589 nsptr = xmlSearchNs(attr->doc, attr->parent, BAD_CAST(ns)); in to_zval_array()
2603 } else if ((attr = get_attribute(data->properties,"itemType")) && in to_zval_array()
2604 attr->children && in to_zval_array()
2605 attr->children->content) { in to_zval_array()
2609 parse_namespace(attr->children->content, &type, &ns); in to_zval_array()
2610 nsptr = xmlSearchNs(attr->doc, attr->parent, BAD_CAST(ns)); in to_zval_array()
2617 if ((attr = get_attribute(data->properties,"arraySize")) && in to_zval_array()
2618 attr->children && attr->children->content) { in to_zval_array()
2619 dimension = calc_dimension_12((char*)attr->children->content); in to_zval_array()
2620 dims = get_position_12(dimension, (char*)attr->children->content); in to_zval_array()
2626 } else if ((attr = get_attribute(data->properties,"arraySize")) && in to_zval_array()
2627 attr->children && attr->children->content) { in to_zval_array()
2629 dimension = calc_dimension_12((char*)attr->children->content); in to_zval_array()
2630 dims = get_position_12(dimension, (char*)attr->children->content); in to_zval_array()
2711 (attr = get_attribute(data->properties,"offset")) && in to_zval_array()
2712 attr->children && attr->children->content) { in to_zval_array()
2713 char* tmp = strrchr((char*)attr->children->content,'['); in to_zval_array()
2716 tmp = (char*)attr->children->content; in to_zval_array()