/php-src/ext/xml/ |
H A D | compat.c | 58 qualified_name = xmlStrncat(qualified_name, (xmlChar *)att_string, att_len); in start_element_handler() 63 qualified_name = xmlStrncat(qualified_name, (xmlChar *)">", 1); in start_element_handler() 65 xmlFree(qualified_name); in start_element_handler() 96 qualified_name = xmlStrncat(qualified_name, (xmlChar *)":", 1); in start_element_handler_ns() 97 qualified_name = xmlStrncat(qualified_name, name, xmlStrlen(name)); in start_element_handler_ns() 116 qualified_name = xmlStrncat(qualified_name, (xmlChar *)ns_string, ns_len); in start_element_handler_ns() 139 qualified_name = xmlStrncat(qualified_name, (xmlChar *)att_string, att_len); in start_element_handler_ns() 141 qualified_name = xmlStrncat(qualified_name, (xmlChar *)"\"", 1); in start_element_handler_ns() 147 qualified_name = xmlStrncat(qualified_name, (xmlChar *)">", 1); in start_element_handler_ns() 181 xmlFree(qualified_name); in start_element_handler_ns() [all …]
|
/php-src/ext/dom/lexbor/lexbor/dom/interfaces/ |
H A D | element.h | 41 lxb_dom_attr_id_t qualified_name; member 85 const lxb_char_t *qualified_name, size_t qn_len, 90 const lxb_char_t *qualified_name, size_t qn_len, 95 const lxb_char_t *qualified_name, size_t qn_len); 99 const lxb_char_t *qualified_name, size_t qn_len); 109 const lxb_char_t *qualified_name, size_t length); 128 const lxb_char_t *qualified_name, size_t length); 137 const lxb_char_t *qualified_name, size_t len); 147 const lxb_char_t *qualified_name, size_t qname_len, 154 const lxb_char_t *qualified_name, size_t qname_len, [all …]
|
H A D | element.c | 152 element->qualified_name = (lxb_tag_id_t) tag_data; in lxb_dom_element_qualified_name_set() 256 attr = lxb_dom_element_attr_is_exist(element, qualified_name, qn_len); in lxb_dom_element_set_attribute() 304 attr = lxb_dom_element_attr_by_name(element, qualified_name, qn_len); in lxb_dom_element_get_attribute() 323 attr = lxb_dom_element_attr_by_name(element, qualified_name, qn_len); in lxb_dom_element_remove_attribute() 419 data = lxb_dom_attr_data_by_qualified_name(attrs, qualified_name, in lxb_dom_element_attr_by_name() 429 || attr->qualified_name == data->attr_id) in lxb_dom_element_attr_by_name() 482 || first->qualified_name != second->qualified_name) in lxb_dom_element_compare() 529 qualified_name, length); in lxb_dom_element_attr_is_exist() 536 || attr->qualified_name == data->attr_id) in lxb_dom_element_attr_is_exist() 653 if (element->qualified_name != 0) { in lxb_dom_element_qualified_name() [all …]
|
H A D | attr.c | 58 new->qualified_name = attr->qualified_name; in lxb_dom_attr_interface_clone() 62 attr->qualified_name); in lxb_dom_attr_interface_clone() 68 new->qualified_name = attr->qualified_name; in lxb_dom_attr_interface_clone() 78 new->qualified_name = (lxb_dom_attr_id_t) data; in lxb_dom_attr_interface_clone() 149 attr->qualified_name = (lxb_dom_attr_id_t) data; in lxb_dom_attr_set_name() 197 attr->qualified_name = (lxb_dom_attr_id_t) data; in lxb_dom_attr_set_name_ns() 289 attr_to->qualified_name = attr_from->qualified_name; in lxb_dom_attr_clone_name_value() 299 && first->qualified_name == second->qualified_name) in lxb_dom_attr_compare() 467 if (attr->qualified_name != 0) { in lxb_dom_attr_qualified_name() 469 attr->qualified_name); in lxb_dom_attr_qualified_name()
|
H A D | node.h | 128 const lxb_char_t *qualified_name, size_t len); 135 const lxb_char_t *qualified_name, size_t qname_len, 141 const lxb_char_t *qualified_name, size_t qname_len, 146 const lxb_char_t *qualified_name, size_t qname_len, 152 const lxb_char_t *qualified_name, size_t qname_len,
|
H A D | node.c | 628 const lxb_char_t *qualified_name, size_t len) in lxb_dom_node_by_tag_name() argument 636 if (len == 1 && *qualified_name == 0x2A) { in lxb_dom_node_by_tag_name() 643 qualified_name, len); in lxb_dom_node_by_tag_name() 799 const lxb_char_t *qualified_name, size_t qname_len, in lxb_dom_node_by_attr() argument 811 qualified_name, qname_len); in lxb_dom_node_by_attr() 835 const lxb_char_t *qualified_name, size_t qname_len, in lxb_dom_node_by_attr_begin() argument 847 qualified_name, qname_len); in lxb_dom_node_by_attr_begin() 871 const lxb_char_t *qualified_name, size_t qname_len, in lxb_dom_node_by_attr_end() argument 883 qualified_name, qname_len); in lxb_dom_node_by_attr_end() 907 const lxb_char_t *qualified_name, size_t qname_len, in lxb_dom_node_by_attr_contain() argument [all …]
|
H A D | attr.h | 40 lxb_dom_attr_id_t qualified_name; /* original, with prefix: Fix:Me */ member
|
/php-src/ext/dom/ |
H A D | xml_serializer.c | 932 dom_qname_pair qualified_name = { NULL, NULL }; in dom_xml_serialize_element_node() local 967 qualified_name.prefix = BAD_CAST "xml"; in dom_xml_serialize_element_node() 968 qualified_name.name = element->name; in dom_xml_serialize_element_node() 972 qualified_name.name = element->name; in dom_xml_serialize_element_node() 976 TRY_OR_CLEANUP(dom_xml_output_qname(ctx->out, &qualified_name)); in dom_xml_serialize_element_node() 1007 qualified_name.prefix = candidate_prefix; in dom_xml_serialize_element_node() 1008 qualified_name.name = element->name; in dom_xml_serialize_element_node() 1039 qualified_name.prefix = prefix; in dom_xml_serialize_element_node() 1040 qualified_name.name = element->name; in dom_xml_serialize_element_node() 1068 qualified_name.name = element->name; in dom_xml_serialize_element_node() [all …]
|
H A D | domimplementation.c | 257 zend_string *uri = NULL, *qualified_name = zend_empty_string; in PHP_METHOD() local 260 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "P!P|O!", &uri, &qualified_name, &dtd, dom_modern_docum… in PHP_METHOD() 284 if (ZSTR_LEN(qualified_name) != 0) { in PHP_METHOD() 285 int errorcode = dom_validate_and_extract(uri, qualified_name, &localname, &prefix); in PHP_METHOD()
|
H A D | element.c | 2097 zend_string *namespace_uri, *qualified_name; in PHP_METHOD() local 2100 Z_PARAM_STR(qualified_name) in PHP_METHOD() 2109 int errorcode = dom_validate_and_extract(namespace_uri, qualified_name, &localname, &prefix); in PHP_METHOD()
|
/php-src/ext/dom/lexbor/lexbor/html/ |
H A D | tree.c | 562 attr->qualified_name = data->attr_id; in lxb_html_tree_adjust_mathml_attributes() 596 attr->qualified_name = data->attr_id; in lxb_html_tree_adjust_svg_attributes() 638 attr->qualified_name = data->attr_id; in lxb_html_tree_adjust_foreign_attributes()
|