/PHP-7.0/ext/xmlrpc/libxmlrpc/ |
H A D | xml_element.c | 199 xml_element_attr* attrs = Q_Head(&root->attrs); in xml_elem_free_non_recurse() local 200 while(attrs) { in xml_elem_free_non_recurse() 201 my_free(attrs->key); in xml_elem_free_non_recurse() 202 my_free(attrs->val); in xml_elem_free_non_recurse() 203 my_free(attrs); in xml_elem_free_non_recurse() 204 attrs = Q_Next(&root->attrs); in xml_elem_free_non_recurse() 208 Q_Destroy(&root->attrs); in xml_elem_free_non_recurse() 269 Q_Init(&elem->attrs); in xml_elem_new() 421 if(Q_Size(&el->attrs)) { in xml_element_serialize() 431 iter = Q_Next(&el->attrs); in xml_element_serialize() [all …]
|
H A D | xml_element.h | 154 queue attrs; /* attribute list */ member 187 #define xml_elem_next_attr(el) ((el) ? (xml_element_attr *)Q_Next(&el->attrs) : NULL) 188 #define xml_elem_head_attr(el) ((el) ? (xml_element_attr *)Q_Head(&el->attrs) : NULL)
|
H A D | xml_to_soap.c | 253 xml_element_attr* attr_iter = Q_Head(&el->attrs); in xml_element_to_SOAP_REQUEST_worker() 286 attr_iter = Q_Next(&el->attrs); in xml_element_to_SOAP_REQUEST_worker() 462 Q_PushTail(&elem_val->attrs, attr_array_type); in SOAP_to_xml_element_worker() 549 Q_PushTail(&elem_val->attrs, new_attr(TOKEN_TYPE, pAttrType)); in SOAP_to_xml_element_worker() 591 Q_PushTail(&root->attrs, new_attr("xmlns:SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/")); in SOAP_REQUEST_to_xml_element() 592 Q_PushTail(&root->attrs, new_attr("xmlns:xsi", "http://www.w3.org/1999/XMLSchema-instance")); in SOAP_REQUEST_to_xml_element() 593 Q_PushTail(&root->attrs, new_attr("xmlns:xsd", "http://www.w3.org/1999/XMLSchema")); in SOAP_REQUEST_to_xml_element() 594 Q_PushTail(&root->attrs, new_attr("xmlns:SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/")); in SOAP_REQUEST_to_xml_element() 595 Q_PushTail(&root->attrs, new_attr("xmlns:si", "http://soapinterop.org/xsd")); in SOAP_REQUEST_to_xml_element() 596 Q_PushTail(&root->attrs, new_attr("xmlns:ns6", "http://testuri.org")); in SOAP_REQUEST_to_xml_element() [all …]
|
H A D | xml_to_dandarpc.c | 73 xml_element_attr* attr_iter = Q_Head(&el->attrs); in xml_element_to_DANDARPC_REQUEST_worker() 82 attr_iter = Q_Next(&el->attrs); in xml_element_to_DANDARPC_REQUEST_worker() 188 Q_PushTail(&elem_val->attrs, attr_type); in DANDARPC_to_xml_element_worker() 198 Q_PushTail(&elem_val->attrs, attr_id); in DANDARPC_to_xml_element_worker() 303 Q_PushTail(&root->attrs, version); in DANDARPC_REQUEST_to_xml_element()
|
H A D | xmlrpc_introspection.c | 319 xml_element_attr* attr_iter = Q_Head(&el->attrs); in xml_element_to_method_description() 343 attr_iter = Q_Next(&el->attrs); in xml_element_to_method_description()
|
/PHP-7.0/ext/dom/examples/ |
H A D | dom1.php | 59 $attrs = $rootnode->attributes; variable 60 print_node_list($attrs); 63 $children = $attrs->item(0)->childNodes;
|
/PHP-7.0/ext/xml/tests/ |
H A D | bug32001b.phpt | 28 function start_element($parser, $name, $attrs) { 29 $attrs = array_map('bin2hex', $attrs); 30 $this->tags[] = bin2hex($name).": ".implode(', ', $attrs);
|
H A D | bug32001.phpt | 27 function start_element($parser, $name, $attrs) { 28 $attrs = array_map('bin2hex', $attrs); 29 $this->tags[] = bin2hex($name).": ".implode(', ', $attrs);
|
H A D | bug26614.phpt | 56 function startElement($parser, $name, $attrs) {
|
H A D | bug26614_libxml.phpt | 56 function startElement($parser, $name, $attrs) {
|
/PHP-7.0/ext/xml/ |
H A D | compat.c | 94 xmlChar **attrs = NULL; in _start_element_handler_ns() local 173 attrs = safe_emalloc((nb_attributes * 2) + 1, sizeof(int *), 0); in _start_element_handler_ns() 182 attrs[z] = qualified_name_attr; in _start_element_handler_ns() 183 attrs[z + 1] = xmlStrndup(attributes[y + 3] , (int) (attributes[y + 4] - attributes[y + 3])); in _start_element_handler_ns() 188 attrs[z] = NULL; in _start_element_handler_ns() 190 …parser->h_start_element(parser->user, (const XML_Char *) qualified_name, (const XML_Char **) attrs… in _start_element_handler_ns() 191 if (attrs) { in _start_element_handler_ns() 193 xmlFree(attrs[i]); in _start_element_handler_ns() 195 efree(attrs); in _start_element_handler_ns()
|
H A D | xml.c | 725 const char **attrs = (const char **) attributes; in _xml_startElementHandler() local 774 attributes = (const XML_Char **) attrs; in _xml_startElementHandler()
|
/PHP-7.0/ext/pdo/tests/ |
H A D | bug_44159.phpt | 16 $attrs = array(PDO::ATTR_STATEMENT_CLASS, PDO::ATTR_STRINGIFY_FETCHES, PDO::NULL_TO_STRING); 18 foreach ($attrs as $attr) {
|
/PHP-7.0/ext/pdo_mysql/tests/ |
H A D | bug68371.phpt | 15 $attrs = array( 44 foreach ($attrs as $a => $vals) {
|
/PHP-7.0/ext/pdo_pgsql/tests/ |
H A D | bug68371.phpt | 17 $attrs = array( 45 foreach ($attrs as $a => $vals) {
|
/PHP-7.0/sapi/phpdbg/ |
H A D | phpdbg_info.c | 123 #define VARIABLEINFO(attrs, msg, ...) \ in PHPDBG_INFO() argument 125 "address=\"%p\" refcount=\"%d\" type=\"%s\" name=\"%.*s\" " attrs, \ in PHPDBG_INFO() 233 #define VARIABLEINFO(attrs, msg, ...) \ in phpdbg_print_symbols() argument 235 "address=\"%p\" refcount=\"%d\" type=\"%s\" refstatus=\"%s\" name=\"%.*s\" " attrs, \ in phpdbg_print_symbols()
|
/PHP-7.0/ext/dom/tests/ |
H A D | bug67081.phpt | 41 <!ENTITY % attrs "%coreattrs;">
|
H A D | dom001.phpt | 64 $attrs = $rootnode->attributes; 65 print_node_list($attrs); 68 $children = $attrs->item(0)->childNodes;
|
/PHP-7.0/ext/soap/ |
H A D | php_schema.c | 1362 xmlAttrPtr attrs, name, ns; in schema_complexType() local 1364 attrs = compType->properties; in schema_complexType() 1370 name = get_attribute(attrs, "name"); in schema_complexType() 1493 attrs = element->properties; in schema_element() 1499 name = get_attribute(attrs, "name"); in schema_element() 1591 attrs = element->properties; in schema_element() 1592 attr = get_attribute(attrs, "nillable"); in schema_element() 1607 attr = get_attribute(attrs, "fixed"); in schema_element() 1615 attr = get_attribute(attrs, "default"); in schema_element() 1626 attr = get_attribute(attrs, "form"); in schema_element() [all …]
|
/PHP-7.0/ext/ldap/ |
H A D | ldap.c | 709 zval *link, *base_dn, *filter, *attrs = NULL, *attr; in php_ldap_do_search() local 718 if (zend_parse_parameters(argcount, "zzz|allll", &link, &base_dn, &filter, &attrs, &attrsonly, in php_ldap_do_search() 734 num_attribs = zend_hash_num_elements(Z_ARRVAL_P(attrs)); in php_ldap_do_search() 738 if ((attr = zend_hash_index_find(Z_ARRVAL_P(attrs), i)) == NULL) { in php_ldap_do_search()
|