Searched refs:xml_element (Results 1 – 14 of 14) sorted by relevance
/PHP-5.6/ext/simplexml/tests/ |
H A D | bug44478.phpt | 7 $xml_element = new simpleXMLElement('<root></root>'); 8 $xml_element->node1 = 'a & b'; 9 print $xml_element->node1."\n"; 10 $xml_element->node1 = 'a & b'; 11 print $xml_element->node1."\n"; 12 $xml_element->addChild('node2','a & b'); 13 print $xml_element->node2."\n"; 14 $xml_element->node2 = 'a & b'; 15 print $xml_element->node2."\n"; 17 print $xml_element->asXML();
|
/PHP-5.6/ext/xmlrpc/libxmlrpc/ |
H A D | xml_to_xmlrpc.c | 80 xml_element* fault_value = (xml_element*)Q_Head(&el->children); in xml_element_to_XMLRPC_REQUEST_worker() 84 xml_element* fault_struct = (xml_element*)Q_Head(&fault_value->children); in xml_element_to_XMLRPC_REQUEST_worker() 86 xml_element* iter = (xml_element*)Q_Head(&fault_struct->children); in xml_element_to_XMLRPC_REQUEST_worker() 100 xml_element* iter = (xml_element*)Q_Head(&el->children); in xml_element_to_XMLRPC_REQUEST_worker() 111 xml_element* iter = (xml_element*)Q_Head(&el->children); in xml_element_to_XMLRPC_REQUEST_worker() 147 xml_element* iter; in xml_element_to_XMLRPC_REQUEST_worker() 192 xml_element* root = NULL; in XMLRPC_to_xml_element_worker() 197 xml_element* elem_val = xml_elem_new(); in XMLRPC_to_xml_element_worker() 373 xml_element* wrapper = NULL; in XMLRPC_REQUEST_to_xml_element() 395 xml_element* method = xml_elem_new(); in XMLRPC_REQUEST_to_xml_element() [all …]
|
H A D | xml_element.h | 156 } xml_element; typedef 159 void xml_elem_free(xml_element* root); 160 void xml_elem_free_non_recurse(xml_element* root); 161 xml_element* xml_elem_new(void); 162 char* xml_elem_serialize_to_string(xml_element *el, XML_ELEM_OUTPUT_OPTIONS options, int *buf_len); 163 void xml_elem_serialize_to_stream(xml_element *el, FILE *output, XML_ELEM_OUTPUT_OPTIONS options); 164 xml_element* xml_elem_parse_buf(const char* in_buf, int len, XML_ELEM_INPUT_OPTIONS options, XML_EL… 185 #define xml_elem_next_element(el) ((el) ? (xml_element *)Q_Next(&el->children) : NULL) 186 #define xml_elem_head_element(el) ((el) ? (xml_element *)Q_Head(&el->children) : NULL)
|
H A D | xml_to_dandarpc.h | 39 XMLRPC_VALUE xml_element_to_DANDARPC_VALUE(xml_element* el); 40 XMLRPC_VALUE xml_element_to_DANDARPC_REQUEST(XMLRPC_REQUEST request, xml_element* el); 41 xml_element* DANDARPC_VALUE_to_xml_element(XMLRPC_VALUE node); 42 xml_element* DANDARPC_REQUEST_to_xml_element(XMLRPC_REQUEST request);
|
H A D | xml_to_soap.h | 39 XMLRPC_VALUE xml_element_to_SOAP_VALUE(xml_element* el); 40 XMLRPC_VALUE xml_element_to_SOAP_REQUEST(XMLRPC_REQUEST request, xml_element* el); 41 xml_element* SOAP_VALUE_to_xml_element(XMLRPC_VALUE node); 42 xml_element* SOAP_REQUEST_to_xml_element(XMLRPC_REQUEST request);
|
H A D | xml_to_xmlrpc.h | 40 XMLRPC_VALUE xml_element_to_XMLRPC_VALUE(xml_element* el); 41 XMLRPC_VALUE xml_element_to_XMLRPC_REQUEST(XMLRPC_REQUEST request, xml_element* el); 42 xml_element* XMLRPC_VALUE_to_xml_element(XMLRPC_VALUE node); 43 xml_element* XMLRPC_REQUEST_to_xml_element(XMLRPC_REQUEST request);
|
H A D | xml_to_dandarpc.c | 113 xml_element* iter = (xml_element*)Q_Head(&el->children); in xml_element_to_DANDARPC_REQUEST_worker() 128 iter = (xml_element*)Q_Next(&el->children); in xml_element_to_DANDARPC_REQUEST_worker() 132 xml_element* iter = (xml_element*)Q_Head(&el->children); in xml_element_to_DANDARPC_REQUEST_worker() 135 iter = (xml_element*)Q_Next(&el->children); in xml_element_to_DANDARPC_REQUEST_worker() 158 XMLRPC_VALUE xml_element_to_DANDARPC_VALUE(xml_element* el) in xml_element_to_DANDARPC_VALUE() 173 xml_element* root = NULL; in DANDARPC_to_xml_element_worker() 180 xml_element* elem_val = xml_elem_new(); in DANDARPC_to_xml_element_worker() 275 xml_element* DANDARPC_VALUE_to_xml_element(XMLRPC_VALUE node) { in DANDARPC_VALUE_to_xml_element() 280 xml_element* wrapper = NULL; in DANDARPC_REQUEST_to_xml_element() 281 xml_element* root = NULL; in DANDARPC_REQUEST_to_xml_element() [all …]
|
H A D | xml_to_soap.c | 237 xml_element* el, in xml_element_to_SOAP_REQUEST_worker() 374 xml_element* iter = (xml_element*)Q_Head(&el->children); in xml_element_to_SOAP_REQUEST_worker() 406 iter = (xml_element*)Q_Next(&el->children); in xml_element_to_SOAP_REQUEST_worker() 418 XMLRPC_VALUE xml_element_to_SOAP_VALUE(xml_element* el) in xml_element_to_SOAP_VALUE() 436 xml_element* elem_val = NULL; in SOAP_to_xml_element_worker() 577 xml_element* SOAP_VALUE_to_xml_element(XMLRPC_VALUE node) { in SOAP_VALUE_to_xml_element() 583 xml_element* root = xml_elem_new(); in SOAP_REQUEST_to_xml_element() 587 xml_element* body = xml_elem_new(); in SOAP_REQUEST_to_xml_element() 604 xml_element* el_serialized = in SOAP_REQUEST_to_xml_element() 614 xml_element* rpc = xml_elem_new(); in SOAP_REQUEST_to_xml_element() [all …]
|
H A D | xml_element.c | 197 void xml_elem_free_non_recurse(xml_element* root) { in xml_elem_free_non_recurse() 236 void xml_elem_free(xml_element* root) { in xml_elem_free() 238 xml_element* kids = Q_Head(&root->children); in xml_elem_free() 265 xml_element* xml_elem_new() { in xml_elem_new() 266 xml_element* elem = calloc(1, sizeof(xml_element)); in xml_elem_new() 474 xml_element *kids = Q_Head(&el->children); in xml_element_serialize() 587 xml_element* root; 588 xml_element* current; 597 xml_element *c; in _xmlrpc_startElement() 689 xml_element* xReturn = NULL; in xml_elem_parse_buf() [all …]
|
H A D | xmlrpc_introspection.c | 309 XMLRPC_VALUE xml_element_to_method_description(xml_element* el, XMLRPC_ERROR err) { in xml_element_to_method_description() 356 xml_element* elem_iter = Q_Head(&el->children); in xml_element_to_method_description() 373 xml_element* elem_iter = Q_Head(&el->children); in xml_element_to_method_description() 387 xml_element* elem_iter = Q_Head(&el->children); in xml_element_to_method_description() 406 xml_element* elem_iter = Q_Head(&el->children); in xml_element_to_method_description() 460 xml_element* root = xml_elem_parse_buf(xml, 0, 0, err ? &err->xml_elem_error : NULL); in XMLRPC_IntrospectionCreateDescription()
|
H A D | xmlrpc.c | 664 xml_element *root_elem = XMLRPC_VALUE_to_xml_element(val); in XMLRPC_VALUE_ToXML() 700 xml_element *root_elem = NULL; in XMLRPC_REQUEST_ToXML() 810 xml_element *root_elem = in XMLRPC_REQUEST_FromXML()
|
/PHP-5.6/ext/xmlrpc/ |
H A D | config.w32 | 13 queue.c xml_element.c xmlrpc.c xml_to_soap.c", "xmlrpc");
|
H A D | xmlrpc.dsp | 155 SOURCE=.\libxmlrpc\xml_element.c 159 SOURCE=.\libxmlrpc\xml_element.h
|
H A D | config.m4 | 87 libxmlrpc/queue.c libxmlrpc/xml_element.c libxmlrpc/xmlrpc.c \
|
Completed in 33 milliseconds