Home
last modified time | relevance | path

Searched refs:new_attr (Results 1 – 2 of 2) sorted by relevance

/PHP-7.3/ext/xmlrpc/libxmlrpc/
H A Dxml_to_soap.c65 static xml_element_attr* new_attr(const char* key, const char* val) { in new_attr() function
457 attr_array_type = new_attr(TOKEN_ARRAY_TYPE, buf); in SOAP_to_xml_element_worker()
546 Q_PushTail(&elem_val->attrs, new_attr(TOKEN_TYPE, pAttrType)); in SOAP_to_xml_element_worker()
588 Q_PushTail(&root->attrs, new_attr("xmlns:SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/")); in SOAP_REQUEST_to_xml_element()
589 Q_PushTail(&root->attrs, new_attr("xmlns:xsi", "http://www.w3.org/1999/XMLSchema-instance")); in SOAP_REQUEST_to_xml_element()
590 Q_PushTail(&root->attrs, new_attr("xmlns:xsd", "http://www.w3.org/1999/XMLSchema")); in SOAP_REQUEST_to_xml_element()
591 Q_PushTail(&root->attrs, new_attr("xmlns:SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/")); in SOAP_REQUEST_to_xml_element()
592 Q_PushTail(&root->attrs, new_attr("xmlns:si", "http://soapinterop.org/xsd")); in SOAP_REQUEST_to_xml_element()
593 Q_PushTail(&root->attrs, new_attr("xmlns:ns6", "http://testuri.org")); in SOAP_REQUEST_to_xml_element()
594 …Q_PushTail(&root->attrs, new_attr("SOAP-ENV:encodingStyle", "http://schemas.xmlsoap.org/soap/encod… in SOAP_REQUEST_to_xml_element()
/PHP-7.3/ext/soap/
H A Dphp_schema.c2052 sdlExtraAttributePtr new_attr; in copy_extra_attribute() local
2054 new_attr = emalloc(sizeof(sdlExtraAttribute)); in copy_extra_attribute()
2055 memcpy(new_attr, Z_PTR_P(zv), sizeof(sdlExtraAttribute)); in copy_extra_attribute()
2056 Z_PTR_P(zv) = new_attr; in copy_extra_attribute()
2057 if (new_attr->ns) { in copy_extra_attribute()
2058 new_attr->ns = estrdup(new_attr->ns); in copy_extra_attribute()
2060 if (new_attr->val) { in copy_extra_attribute()
2061 new_attr->val = estrdup(new_attr->val); in copy_extra_attribute()

Completed in 19 milliseconds