Home
last modified time | relevance | path

Searched refs:error_code (Results 1 – 25 of 42) sorted by relevance

12

/PHP-5.5/ext/intl/spoofchecker/
H A Dspoofchecker_main.c32 zval *error_code = NULL; in PHP_METHOD() local
35 …AILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|z", &text, &text_len, &error_code)) { in PHP_METHOD()
48 if (error_code) { in PHP_METHOD()
49 zval_dtor(error_code); in PHP_METHOD()
50 ZVAL_LONG(error_code, ret); in PHP_METHOD()
64 zval *error_code = NULL; in PHP_METHOD() local
68 &s2, &s2_len, &error_code)) { in PHP_METHOD()
81 if (error_code) { in PHP_METHOD()
82 zval_dtor(error_code); in PHP_METHOD()
83 ZVAL_LONG(error_code, ret); in PHP_METHOD()
/PHP-5.5/ext/dom/
H A Ddomexception.c43 void php_dom_throw_error_with_message(int error_code, char *error_message, int strict_error TSRMLS_… in php_dom_throw_error_with_message() argument
46 zend_throw_exception(dom_domexception_class_entry, error_message, error_code TSRMLS_CC); in php_dom_throw_error_with_message()
54 void php_dom_throw_error(int error_code, int strict_error TSRMLS_DC) in php_dom_throw_error() argument
58 switch (error_code) in php_dom_throw_error()
112 php_dom_throw_error_with_message(error_code, error_message, strict_error TSRMLS_CC); in php_dom_throw_error()
H A Dphp_dom.h105 void php_dom_throw_error(int error_code, int strict_error TSRMLS_DC);
106 void php_dom_throw_error_with_message(int error_code, char *error_message, int strict_error TSRMLS_…
/PHP-5.5/ext/pdo/
H A Dphp_pdo_int.h61 strlcpy(dbh->error_code, PDO_ERR_NONE, sizeof(PDO_ERR_NONE)); \
67 #define PDO_STMT_CLEAR_ERR() strcpy(stmt->error_code, PDO_ERR_NONE)
68 #define PDO_HANDLE_DBH_ERR() if (strcmp(dbh->error_code, PDO_ERR_NONE)) { pdo_handle_error(dbh, NUL…
69 #define PDO_HANDLE_STMT_ERR() if (strcmp(stmt->error_code, PDO_ERR_NONE)) { pdo_handle_error(stmt->…
H A Dpdo_sql_parser.c573 strncpy(stmt->error_code, stmt->dbh->error_code, 6); in pdo_parse_params()
616 strncpy(stmt->error_code, stmt->dbh->error_code, 6); in pdo_parse_params()
H A Dpdo_dbh.c43 pdo_error_type *pdo_err = &dbh->error_code; in pdo_raise_impl_error()
57 pdo_err = &stmt->error_code; in pdo_raise_impl_error()
106 pdo_error_type *pdo_err = &dbh->error_code; in pdo_handle_error()
118 pdo_err = &stmt->error_code; in pdo_handle_error()
1023 RETURN_STRING(dbh->query_stmt->error_code, 1); in PHP_METHOD()
1026 if (dbh->error_code[0] == '\0') { in PHP_METHOD()
1034 RETURN_STRING(dbh->error_code, 1); in PHP_METHOD()
1057 add_next_index_string(return_value, dbh->query_stmt->error_code, 1); in PHP_METHOD()
1059 add_next_index_string(return_value, dbh->error_code, 1); in PHP_METHOD()
H A Dphp_pdo_driver.h481 pdo_error_type error_code; member
597 pdo_error_type error_code; member
/PHP-5.5/ext/json/
H A Djson.c129 json_globals->error_code = 0; in PHP_GINIT_FUNCTION()
345 JSON_G(error_code) = PHP_JSON_ERROR_DEPTH; in json_encode_array()
440 JSON_G(error_code) = PHP_JSON_ERROR_UTF8; in json_escape_string()
676 JSON_G(error_code) = PHP_JSON_ERROR_UTF8; in php_json_decode_ex()
715 jp->error_code = PHP_JSON_ERROR_NONE; in php_json_decode_ex()
758 jp->error_code = PHP_JSON_ERROR_NONE; in php_json_decode_ex()
765 JSON_G(error_code) = jp->error_code; in php_json_decode_ex()
784 JSON_G(error_code) = PHP_JSON_ERROR_NONE; in PHP_FUNCTION()
814 JSON_G(error_code) = 0; in PHP_FUNCTION()
839 RETURN_LONG(JSON_G(error_code)); in PHP_FUNCTION()
[all …]
H A DJSON_parser.h16 int error_code; member
H A Dphp_json.h42 int error_code;
H A DJSON_parser.c206 jp->error_code = PHP_JSON_ERROR_DEPTH; in push()
222 jp->error_code = PHP_JSON_ERROR_STATE_MISMATCH; in pop()
248 jp->error_code = PHP_JSON_ERROR_NONE; in new_JSON_parser()
462 jp->error_code = PHP_JSON_ERROR_CTRL_CHAR; in parse_JSON_ex()
676 jp->error_code = PHP_JSON_ERROR_SYNTAX; in parse_JSON_ex()
716 jp->error_code = PHP_JSON_ERROR_SYNTAX; in parse_JSON_ex()
734 jp->error_code = PHP_JSON_ERROR_SYNTAX; in parse_JSON_ex()
747 jp->error_code = PHP_JSON_ERROR_SYNTAX; in parse_JSON_ex()
/PHP-5.5/ext/pdo_firebird/
H A Dfirebird_driver.c46 pdo_error_type *const error_code = stmt ? &stmt->error_code : &dbh->error_code; in _firebird_error() local
52 *error_code = PDO_ERR_NONE; in _firebird_error()
55 *error_code = PDO_ERR_CANT_MAP; in _firebird_error()
58 *error_code = PDO_ERR_SYNTAX; in _firebird_error()
62 *error_code = PDO_ERR_CONSTRAINT; in _firebird_error()
68 *error_code = PDO_ERR_NOT_FOUND; in _firebird_error()
78 *error_code = PDO_ERR_MISMATCH; in _firebird_error()
83 *error_code = PDO_ERR_TRUNCATED; in _firebird_error()
86 *error_code = PDO_ERR_DISCONNECTED; in _firebird_error()
90 strcpy(*error_code, "HY000"); in _firebird_error()
[all …]
H A Dfirebird_statement.c162 strcpy(stmt->error_code, "HY000"); in firebird_stmt_fetch()
462 strcpy(stmt->error_code, "HY093"); in firebird_stmt_param_hook()
488 strcpy(stmt->error_code, "HY093"); in firebird_stmt_param_hook()
522 strcpy(stmt->error_code, "HY000"); in firebird_stmt_param_hook()
572 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook()
579 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook()
/PHP-5.5/main/
H A Dnetwork.c314 int *error_code) argument
328 if (error_code) {
329 *error_code = error;
383 if (error_code) {
384 *error_code = error;
491 if (error_code) {
492 *error_code = err;
719 int *error_code
748 if (error_code) {
749 *error_code = error;
[all …]
H A Dphp_network.h232 int *error_code, char *bindto, unsigned short bindport
241 int *error_code);
247 int socktype, char **error_string, int *error_code
256 int *error_code
/PHP-5.5/main/streams/
H A Dphp_stream_transport.h54 int *error_code
72 int *error_code
162 int error_code; member
H A Dtransports.c57 int *error_code in _php_stream_xport_create()
145 timeout, &error_text, error_code TSRMLS_CC)) { in _php_stream_xport_create()
229 int *error_code in php_stream_xport_connect()
249 if (error_code) { in php_stream_xport_connect()
250 *error_code = param.outputs.error_code; in php_stream_xport_connect()
/PHP-5.5/ext/pdo_oci/
H A Doci_driver.c67 pdo_error_type *pdo_err = &dbh->error_code; in _oci_error()
72 pdo_err = &stmt->error_code; in _oci_error()
185 strcpy(dbh->error_code, stmt->error_code); in _oci_error()
278 strcpy(dbh->error_code, stmt->error_code); in oci_handle_preparer()
539 sb4 error_code = 0; in pdo_oci_check_liveness() local
566 OCIErrorGet (H->err, (ub4)1, NULL, &error_code, NULL, 0, OCI_HTYPE_ERROR); in pdo_oci_check_liveness()
568 if (error_code == 1010) { in pdo_oci_check_liveness()
/PHP-5.5/ext/pdo_odbc/
H A Dodbc_driver.c68 pdo_error_type *pdo_err = &dbh->error_code; in pdo_odbc_error()
74 pdo_err = &stmt->error_code; in pdo_odbc_error()
168 strcpy(dbh->error_code, stmt->error_code); in odbc_handle_preparer()
213 strcpy(dbh->error_code, stmt->error_code); in odbc_handle_preparer()
/PHP-5.5/ext/pcre/
H A Dphp_pcre.h73 int error_code; variable
H A Dphp_pcre.c85 PCRE_G(error_code) = preg_code; in ZEND_DECLARE_MODULE_GLOBALS()
107 pcre_globals->error_code = PHP_PCRE_NO_ERROR; in PHP_GINIT_FUNCTION()
678 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in php_pcre_match_impl()
818 if (PCRE_G(error_code) == PHP_PCRE_NO_ERROR) { in php_pcre_match_impl()
1116 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in php_pcre_replace_impl()
1569 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in php_pcre_split_impl()
1834 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in php_pcre_grep_impl()
1900 RETURN_LONG(PCRE_G(error_code)); in PHP_FUNCTION()
/PHP-5.5/Zend/tests/
H A Dbug38047.phpt14 function kalus_error_handler($error_code, $error_string, $filename, $line, $symbols) {
/PHP-5.5/ext/intl/tests/
H A Dnormalizer_normalize.phpt73 $error_code = intl_get_error_code();
79 . "\terror info: '$error_message' ($error_code)\n"
83 $error_code = intl_get_error_code();
87 . "\terror info: '$error_message' ($error_code)\n"
/PHP-5.5/ext/pdo_mysql/
H A Dmysql_driver.c57 pdo_err = &stmt->error_code; in _pdo_mysql_error()
60 pdo_err = &dbh->error_code; in _pdo_mysql_error()
198 strcpy(dbh->error_code, stmt->error_code); in mysql_handle_preparer()
/PHP-5.5/ext/soap/
H A Dphp_soap.h168 char* error_code; variable

Completed in 103 milliseconds

12