Lines Matching refs:qname
1832 bool dom_match_qualified_name_according_to_spec(const xmlChar *qname, const xmlNode *nodep) in dom_match_qualified_name_according_to_spec() argument
1844 if (strncmp((const char *) qname, prefix, prefix_len) != 0) { in dom_match_qualified_name_according_to_spec()
1848 if (qname[prefix_len] != ':') { in dom_match_qualified_name_according_to_spec()
1852 return xmlStrEqual(qname + prefix_len + 1, node_local); in dom_match_qualified_name_according_to_spec()
1854 return xmlStrEqual(node_local, qname); in dom_match_qualified_name_according_to_spec()
2077 int dom_validate_and_extract(const zend_string *namespace, const zend_string *qname, xmlChar **loca… in dom_validate_and_extract() argument
2087 if (xmlValidateQName(BAD_CAST ZSTR_VAL(qname), /* allow spaces */ 0) != 0) { in dom_validate_and_extract()
2092 *localName = xmlSplitQName2(BAD_CAST ZSTR_VAL(qname), prefix); in dom_validate_and_extract()
2106 …if (UNEXPECTED((zend_string_equals_literal(qname, "xmlns") || xmlStrEqual(*prefix, BAD_CAST "xmlns… in dom_validate_and_extract()
2111 …amespace, "http://www.w3.org/2000/xmlns/") && !zend_string_equals_literal(qname, "xmlns") && !xmlS… in dom_validate_and_extract()
2116 *localName = xmlStrdup(BAD_CAST ZSTR_VAL(qname)); in dom_validate_and_extract()
2132 int dom_check_qname(char *qname, char **localname, char **prefix, int uri_len, int name_len) { in dom_check_qname() argument
2137 *localname = (char *)xmlSplitQName2(BAD_CAST qname, (xmlChar **) prefix); in dom_check_qname()
2139 *localname = (char *)xmlStrdup(BAD_CAST qname); in dom_check_qname()
2146 if (xmlValidateQName(BAD_CAST qname, 0) != 0) { in dom_check_qname()