Home
last modified time | relevance | path

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

/php-src/ext/dom/
H A Ddomimplementation.c157 int errorcode = 0; in PHP_METHOD() local
184 errorcode = dom_check_qname(name, &localname, &prefix, 1, name_len); in PHP_METHOD()
185 if (errorcode == 0 && uri_len > 0 in PHP_METHOD()
188 errorcode = NAMESPACE_ERR; in PHP_METHOD()
196 if (errorcode != 0) { in PHP_METHOD()
200 php_dom_throw_error(errorcode, true); in PHP_METHOD()
285 int errorcode = dom_validate_and_extract(uri, qualified_name, &localname, &prefix); in PHP_METHOD() local
287 if (EXPECTED(errorcode == 0)) { in PHP_METHOD()
298 php_dom_throw_error(errorcode, /* strict */ true); in PHP_METHOD()
H A Delement.c46 int errorcode = 0; in PHP_METHOD() local
64 if (errorcode == 0) { in PHP_METHOD()
75 if (errorcode != 0) { in PHP_METHOD()
79 php_dom_throw_error(errorcode, true); in PHP_METHOD()
927 if (errorcode == 0) { 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()
1015 if (errorcode == 0) { in dom_set_attribute_ns_modern()
[all …]
H A Ddocument.c788 int errorcode; in PHP_METHOD() local
858 int errorcode; in PHP_METHOD() local
871 if (errorcode == 0) { in PHP_METHOD()
887 errorcode = INVALID_CHARACTER_ERR; in PHP_METHOD()
894 if (errorcode != 0) { in PHP_METHOD()
919 if (errorcode == 0) { in PHP_METHOD()
960 int errorcode; in PHP_METHOD() local
972 if (UNEXPECTED(errorcode != 0)) { in PHP_METHOD()
975 errorcode = NAMESPACE_ERR; in PHP_METHOD()
1002 errorcode = NAMESPACE_ERR; in PHP_METHOD()
[all …]
H A Dphp_dom.h140 xmlNsPtr dom_get_ns(xmlNodePtr node, char *uri, int *errorcode, char *prefix);
H A Dphp_dom.c2213 xmlNsPtr dom_get_ns(xmlNodePtr nodep, char *uri, int *errorcode, char *prefix) { in dom_get_ns() argument
2227 *errorcode = 0; in dom_get_ns()
2230 *errorcode = NAMESPACE_ERR; in dom_get_ns()
/php-src/ext/pcre/pcre2lib/
H A Dpcre2_compile.c2793 int errorcode = 0; in parse_regex() local
3442 &errorcode)) in parse_regex()
4983 errorcode = ERR60; in parse_regex()
5020 errorcode = ERR14; in parse_regex()
5026 return errorcode; in parse_regex()
5037 errorcode = ERR79; in parse_regex()
9969 int errorcode = 0; in check_lookbehinds() local
10388 errorcode = ERR32; in pcre2_compile()
10424 errorcode = ERR75; in pcre2_compile()
10468 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 64 milliseconds