Home
last modified time | relevance | path

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

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

Completed in 17 milliseconds