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()
921 int errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len); in dom_set_attribute_ns_legacy() local
923 if (errorcode == 0) { in dom_set_attribute_ns_legacy()
965 nsptr = dom_get_ns(elemp, uri, &errorcode, prefix); in dom_set_attribute_ns_legacy()
977 if (errorcode == 0 && is_xmlns == 0) { in dom_set_attribute_ns_legacy()
983 errorcode = INVALID_CHARACTER_ERR; in dom_set_attribute_ns_legacy()
1000 if (errorcode != 0) { in dom_set_attribute_ns_legacy()
1001 php_dom_throw_error(errorcode, stricterror); in dom_set_attribute_ns_legacy()
1009 int errorcode = dom_validate_and_extract(uri, name, &localname, &prefix); in dom_set_attribute_ns_modern() local
1011 if (errorcode == 0) { in dom_set_attribute_ns_modern()
1021 php_dom_throw_error(errorcode, /* strict */ true); in dom_set_attribute_ns_modern()
2003 int errorcode = dom_validate_and_extract(namespace_uri, qualified_name, &localname, &prefix); in PHP_METHOD() local
2004 if (UNEXPECTED(errorcode != 0)) { in PHP_METHOD()
2005 php_dom_throw_error(errorcode, /* strict */ true); in PHP_METHOD()