Lines Matching refs:errorcode
162 int errorcode = 0, uri_len = 0; in PHP_METHOD() local
182 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len); in PHP_METHOD()
183 if (errorcode == 0) { in PHP_METHOD()
186 nsptr = dom_get_ns(nodep, uri, &errorcode, prefix); in PHP_METHOD()
194 if (errorcode != 0) { in PHP_METHOD()
198 php_dom_throw_error(errorcode, 1 TSRMLS_CC); in PHP_METHOD()
751 int errorcode = 0, stricterror, is_xmlns = 0, name_valid; in PHP_FUNCTION() local
771 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len); in PHP_FUNCTION()
773 if (errorcode == 0) { in PHP_FUNCTION()
815 errorcode = NAMESPACE_ERR; in PHP_FUNCTION()
821 nsptr = dom_get_ns(elemp, uri, &errorcode, prefix); in PHP_FUNCTION()
834 if (errorcode == 0 && is_xmlns == 0) { in PHP_FUNCTION()
840 errorcode = INVALID_CHARACTER_ERR; in PHP_FUNCTION()
857 if (errorcode != 0) { in PHP_FUNCTION()
858 php_dom_throw_error(errorcode, stricterror TSRMLS_CC); in PHP_FUNCTION()