Lines Matching refs:errorcode
162 int errorcode = 0; in PHP_METHOD() local
179 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len); in PHP_METHOD()
180 if (errorcode == 0) { in PHP_METHOD()
183 nsptr = dom_get_ns(nodep, uri, &errorcode, prefix); in PHP_METHOD()
191 if (errorcode != 0) { in PHP_METHOD()
195 php_dom_throw_error(errorcode, 1); in PHP_METHOD()
746 int errorcode = 0, stricterror, is_xmlns = 0, name_valid; in PHP_FUNCTION() local
766 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len); in PHP_FUNCTION()
768 if (errorcode == 0) { in PHP_FUNCTION()
810 errorcode = NAMESPACE_ERR; in PHP_FUNCTION()
816 nsptr = dom_get_ns(elemp, uri, &errorcode, prefix); in PHP_FUNCTION()
829 if (errorcode == 0 && is_xmlns == 0) { in PHP_FUNCTION()
835 errorcode = INVALID_CHARACTER_ERR; in PHP_FUNCTION()
852 if (errorcode != 0) { in PHP_FUNCTION()
853 php_dom_throw_error(errorcode, stricterror); in PHP_FUNCTION()