Lines Matching refs:errorcode
46 int errorcode = 0; in PHP_METHOD() local
63 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len); in PHP_METHOD()
64 if (errorcode == 0) { in PHP_METHOD()
67 nsptr = dom_get_ns(nodep, uri, &errorcode, prefix); in PHP_METHOD()
75 if (errorcode != 0) { in PHP_METHOD()
79 php_dom_throw_error(errorcode, true); in PHP_METHOD()
925 int errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len); in dom_set_attribute_ns_legacy() local
927 if (errorcode == 0) { in dom_set_attribute_ns_legacy()
969 nsptr = dom_get_ns(elemp, uri, &errorcode, prefix); in dom_set_attribute_ns_legacy()
981 if (errorcode == 0 && is_xmlns == 0) { in dom_set_attribute_ns_legacy()
987 errorcode = INVALID_CHARACTER_ERR; in dom_set_attribute_ns_legacy()
1004 if (errorcode != 0) { in dom_set_attribute_ns_legacy()
1005 php_dom_throw_error(errorcode, stricterror); in dom_set_attribute_ns_legacy()
1013 int errorcode = dom_validate_and_extract(uri, name, &localname, &prefix); in dom_set_attribute_ns_modern() local
1015 if (errorcode == 0) { in dom_set_attribute_ns_modern()
1025 php_dom_throw_error(errorcode, /* strict */ true); in dom_set_attribute_ns_modern()
2109 int errorcode = dom_validate_and_extract(namespace_uri, qualified_name, &localname, &prefix); in PHP_METHOD() local
2110 if (UNEXPECTED(errorcode != 0)) { in PHP_METHOD()
2111 php_dom_throw_error(errorcode, /* strict */ true); in PHP_METHOD()