Home
last modified time | relevance | path

Searched refs:errorcode (Results 1 – 7 of 7) sorted by relevance

/php-src/ext/dom/
H A Ddomimplementation.c156 int errorcode = 0; in PHP_METHOD() local
183 errorcode = dom_check_qname(name, &localname, &prefix, 1, name_len); in PHP_METHOD()
184 if (errorcode == 0 && uri_len > 0 in PHP_METHOD()
187 errorcode = NAMESPACE_ERR; in PHP_METHOD()
195 if (errorcode != 0) { in PHP_METHOD()
199 php_dom_throw_error(errorcode, true); in PHP_METHOD()
283 int errorcode = dom_validate_and_extract(uri, qualified_name, &localname, &prefix); in PHP_METHOD() local
285 if (EXPECTED(errorcode == 0)) { in PHP_METHOD()
296 php_dom_throw_error(errorcode, /* strict */ true); in PHP_METHOD()
H A Delement.c43 int errorcode = 0; in PHP_METHOD() local
61 if (errorcode == 0) { in PHP_METHOD()
64 nsptr = dom_get_ns(nodep, uri, &errorcode, prefix); in PHP_METHOD()
72 if (errorcode != 0) { in PHP_METHOD()
76 php_dom_throw_error(errorcode, true); in PHP_METHOD()
872 if (errorcode == 0) { in dom_set_attribute_ns_legacy()
924 if (errorcode == 0 && is_xmlns == 0) { in dom_set_attribute_ns_legacy()
930 errorcode = INVALID_CHARACTER_ERR; in dom_set_attribute_ns_legacy()
947 if (errorcode != 0) { in dom_set_attribute_ns_legacy()
948 php_dom_throw_error(errorcode, stricterror); in dom_set_attribute_ns_legacy()
[all …]
H A Ddocument.c786 int errorcode; in PHP_METHOD() local
851 int errorcode; in PHP_METHOD() local
864 if (errorcode == 0) { in PHP_METHOD()
880 errorcode = INVALID_CHARACTER_ERR; in PHP_METHOD()
887 if (errorcode != 0) { in PHP_METHOD()
912 if (errorcode == 0) { in PHP_METHOD()
953 int errorcode; in PHP_METHOD() local
965 if (UNEXPECTED(errorcode != 0)) { in PHP_METHOD()
968 errorcode = NAMESPACE_ERR; in PHP_METHOD()
995 errorcode = NAMESPACE_ERR; in PHP_METHOD()
[all …]
H A Dphp_dom.h138 xmlNsPtr dom_get_ns(xmlNodePtr node, char *uri, int *errorcode, char *prefix);
H A Dphp_dom.c2088 xmlNsPtr dom_get_ns(xmlNodePtr nodep, char *uri, int *errorcode, char *prefix) { in dom_get_ns() argument
2102 *errorcode = 0; in dom_get_ns()
2105 *errorcode = NAMESPACE_ERR; in dom_get_ns()
/php-src/ext/pcre/pcre2lib/
H A Dpcre2_compile.c2792 int errorcode = 0; in parse_regex() local
3441 &errorcode)) in parse_regex()
4982 errorcode = ERR60; in parse_regex()
5019 errorcode = ERR14; in parse_regex()
5025 return errorcode; in parse_regex()
5036 errorcode = ERR79; in parse_regex()
9967 int errorcode = 0; in check_lookbehinds() local
10386 errorcode = ERR32; in pcre2_compile()
10422 errorcode = ERR75; in pcre2_compile()
10466 errorcode = ERR56; in pcre2_compile()
[all …]
H A Dpcre2_substitute.c118 int errorcode; in find_text_end() local
132 erc = PRIV(check_escape)(&ptr, ptrend, &ch, &errorcode, in find_text_end()
135 if (errorcode != 0) in find_text_end()
137 rc = errorcode; in find_text_end()
822 int errorcode; in pcre2_substitute() local
853 rc = PRIV(check_escape)(&ptr, repend, &ch, &errorcode, in pcre2_substitute()
855 if (errorcode != 0) goto BADESCAPE; in pcre2_substitute()

Completed in 52 milliseconds