/PHP-7.3/ext/json/ |
H A D | json.c | 150 json_globals->error_code = 0; in PHP_GINIT_FUNCTION() 203 JSON_G(error_code) = encoder.error_code; in php_json_encode_ex() 217 switch(error_code) { in php_json_get_error_msg() 255 JSON_G(error_code) = error_code; in php_json_decode_ex() 257 zend_throw_exception(php_json_exception_ce, php_json_get_error_msg(error_code), error_code); in php_json_decode_ex() 289 JSON_G(error_code) = encoder.error_code; in PHP_FUNCTION() 295 if (encoder.error_code != PHP_JSON_ERROR_NONE) { in PHP_FUNCTION() 297 …w_exception(php_json_exception_ce, php_json_get_error_msg(encoder.error_code), encoder.error_code); in PHP_FUNCTION() 330 JSON_G(error_code) = PHP_JSON_ERROR_NONE; in PHP_FUNCTION() 335 JSON_G(error_code) = PHP_JSON_ERROR_SYNTAX; in PHP_FUNCTION() [all …]
|
H A D | php_json_encoder.h | 30 php_json_error_code error_code; member
|
H A D | json_encoder.c | 144 encoder->error_code = PHP_JSON_ERROR_RECURSION; in php_json_encode_array() 229 encoder->error_code = PHP_JSON_ERROR_DEPTH; in php_json_encode_array() 317 encoder->error_code = PHP_JSON_ERROR_UTF8; in php_json_escape_string() 479 encoder->error_code = PHP_JSON_ERROR_RECURSION; in php_json_encode_serializable_object() 557 encoder->error_code = PHP_JSON_ERROR_INF_OR_NAN; in php_json_encode_zval() 586 encoder->error_code = PHP_JSON_ERROR_UNSUPPORTED_TYPE; in php_json_encode_zval()
|
H A D | php_json.h | 89 php_json_error_code error_code; variable
|
/PHP-7.3/ext/intl/spoofchecker/ |
H A D | spoofchecker_main.c | 32 zval *error_code = NULL; in PHP_METHOD() local 35 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "s|z", &text, &text_len, &error_code)) { in PHP_METHOD() 48 if (error_code) { in PHP_METHOD() 49 zval_ptr_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() 83 if (error_code) { in PHP_METHOD() 84 zval_ptr_dtor(error_code); in PHP_METHOD() 85 ZVAL_LONG(error_code, ret); in PHP_METHOD()
|
/PHP-7.3/ext/dom/ |
H A D | domexception.c | 41 void php_dom_throw_error_with_message(int error_code, char *error_message, int strict_error) /* {{{… in php_dom_throw_error_with_message() argument 44 zend_throw_exception(dom_domexception_class_entry, error_message, error_code); in php_dom_throw_error_with_message() 52 void php_dom_throw_error(int error_code, int strict_error) in php_dom_throw_error() argument 56 switch (error_code) in php_dom_throw_error() 110 php_dom_throw_error_with_message(error_code, error_message, strict_error); in php_dom_throw_error()
|
H A D | php_dom.h | 107 void php_dom_throw_error(int error_code, int strict_error); 108 void php_dom_throw_error_with_message(int error_code, char *error_message, int strict_error);
|
/PHP-7.3/ext/pdo/ |
H A D | php_pdo_error.h | 27 strlcpy(dbh->error_code, PDO_ERR_NONE, sizeof(PDO_ERR_NONE)); \ 33 #define PDO_STMT_CLEAR_ERR() strcpy(stmt->error_code, PDO_ERR_NONE) 34 #define PDO_HANDLE_DBH_ERR() if (strcmp(dbh->error_code, PDO_ERR_NONE)) { pdo_handle_error(dbh, … 35 #define PDO_HANDLE_STMT_ERR() if (strcmp(stmt->error_code, PDO_ERR_NONE)) { pdo_handle_error(stmt…
|
H A D | pdo_dbh.c | 68 pdo_error_type *pdo_err = &dbh->error_code; in pdo_raise_impl_error() 82 pdo_err = &stmt->error_code; in pdo_raise_impl_error() 128 pdo_error_type *pdo_err = &dbh->error_code; in pdo_handle_error() 140 pdo_err = &stmt->error_code; in pdo_handle_error() 1005 RETURN_STRING(dbh->query_stmt->error_code); in PHP_METHOD() 1008 if (dbh->error_code[0] == '\0') { in PHP_METHOD() 1016 RETURN_STRING(dbh->error_code); in PHP_METHOD() 1039 add_next_index_string(return_value, dbh->query_stmt->error_code); in PHP_METHOD() 1040 if(!strncmp(dbh->query_stmt->error_code, PDO_ERR_NONE, sizeof(PDO_ERR_NONE))) goto fill_array; in PHP_METHOD() 1042 add_next_index_string(return_value, dbh->error_code); in PHP_METHOD() [all …]
|
/PHP-7.3/ext/openssl/tests/ |
H A D | openssl_error_string_basic.phpt | 13 $error_code = $m[1]; 14 if (isset($expected_errors[$error_code])) { 15 $expected_errors[$error_code] = true; 17 $all_errors[$error_code] = $error_string; 24 foreach ($expected_errors as $error_code => $error_code_found) { 27 echo "$name: no error code $error_code\n";
|
/PHP-7.3/main/ |
H A D | network.c | 310 int *error_code) argument 323 if (error_code) { 324 *error_code = error; 378 if (error_code) { 379 *error_code = error; 499 if (error_code) { 500 *error_code = err; 728 int *error_code, argument 763 if (error_code) { 764 *error_code = error; [all …]
|
H A D | php_network.h | 248 int *error_code, char *bindto, unsigned short bindport, long sockopts 257 int *error_code); 263 int socktype, long sockopts, zend_string **error_string, int *error_code 272 int *error_code,
|
/PHP-7.3/main/streams/ |
H A D | php_stream_transport.h | 53 int *error_code 71 int *error_code 159 int error_code; member
|
H A D | transports.c | 59 int *error_code in _php_stream_xport_create() 145 timeout, &error_text, error_code)) { in _php_stream_xport_create() 223 int *error_code in php_stream_xport_connect() argument 243 if (error_code) { in php_stream_xport_connect() 244 *error_code = param.outputs.error_code; in php_stream_xport_connect()
|
/PHP-7.3/ext/intl/tests/ |
H A D | normalizer_get_raw_decomposition.phpt | 28 $error_code = intl_get_error_code(); 39 $result .= "error info: '$error_message' ($error_code)\n";
|
H A D | normalizer_normalize_kc_cf.phpt | 67 $error_code = intl_get_error_code(); 73 . "\terror info: '$error_message' ($error_code)\n" 77 $error_code = intl_get_error_code(); 81 . "\terror info: '$error_message' ($error_code)\n"
|
/PHP-7.3/ext/pdo_odbc/ |
H A D | odbc_driver.c | 66 pdo_error_type *pdo_err = &dbh->error_code; in pdo_odbc_error() 72 pdo_err = &stmt->error_code; in pdo_odbc_error() 166 strcpy(dbh->error_code, stmt->error_code); in odbc_handle_preparer() 212 strcpy(dbh->error_code, stmt->error_code); in odbc_handle_preparer()
|
/PHP-7.3/ext/date/lib/ |
H A D | timelib.c | 48 const char *timelib_get_error_message(int error_code) in timelib_get_error_message() argument 52 if (error_code >= 0 && error_code < entries) { in timelib_get_error_message() 53 return timelib_error_messages[error_code]; in timelib_get_error_message()
|
H A D | timelib.h | 285 int error_code; member 404 …timelib_tzinfo* (*timelib_tz_get_wrapper)(char *tzname, const timelib_tzdb *tzdb, int *error_code); 685 timelib_tzinfo *timelib_parse_tzfile(char *timezone, const timelib_tzdb *tzdb, int *error_code); 773 const char *timelib_get_error_message(int error_code);
|
H A D | parse_tz.c | 494 timelib_tzinfo *timelib_parse_tzfile(char *timezone, const timelib_tzdb *tzdb, int *error_code) in timelib_parse_tzfile() argument 507 *error_code = TIMELIB_ERROR_UNSUPPORTED_VERSION; in timelib_parse_tzfile() 519 *error_code = TIMELIB_ERROR_CORRUPT_NO_64BIT_PREAMBLE; in timelib_parse_tzfile() 526 *error_code = transitions_result; in timelib_parse_tzfile() 531 *error_code = types_result; in timelib_parse_tzfile() 543 *error_code = TIMELIB_ERROR_NO_SUCH_TIMEZONE; in timelib_parse_tzfile()
|
/PHP-7.3/ext/pdo_oci/ |
H A D | oci_driver.c | 65 pdo_error_type *pdo_err = &dbh->error_code; in _oci_error() 70 pdo_err = &stmt->error_code; in _oci_error() 177 strcpy(dbh->error_code, stmt->error_code); in _oci_error() 270 strcpy(dbh->error_code, stmt->error_code); in oci_handle_preparer() 611 sb4 error_code = 0; in pdo_oci_check_liveness() local 638 OCIErrorGet (H->err, (ub4)1, NULL, &error_code, NULL, 0, OCI_HTYPE_ERROR); in pdo_oci_check_liveness() 640 if (error_code == 1010) { in pdo_oci_check_liveness()
|
/PHP-7.3/Zend/ |
H A D | zend_API.h | 729 int error_code = ZPP_ERROR_OK; \ 749 error_code = ZPP_ERROR_FAILURE; \ 821 error_code = ZPP_ERROR_WRONG_ARG; \ 836 error_code = ZPP_ERROR_WRONG_ARG; \ 851 error_code = ZPP_ERROR_WRONG_ARG; \ 865 error_code = ZPP_ERROR_FAILURE; \ 880 error_code = ZPP_ERROR_WRONG_ARG; \ 917 error_code = ZPP_ERROR_WRONG_ARG; \ 932 error_code = ZPP_ERROR_WRONG_ARG; \ 947 error_code = ZPP_ERROR_WRONG_ARG; \ [all …]
|
/PHP-7.3/ext/pdo_firebird/ |
H A D | firebird_statement.c | 182 strcpy(stmt->error_code, "HY000"); in firebird_stmt_fetch() 524 strcpy(stmt->error_code, "HY093"); in firebird_stmt_param_hook() 550 strcpy(stmt->error_code, "HY093"); in firebird_stmt_param_hook() 604 strcpy(stmt->error_code, "HY000"); in firebird_stmt_param_hook() 612 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook() 664 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook() 671 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook()
|
H A D | firebird_driver.c | 40 pdo_error_type *const error_code = stmt ? &stmt->error_code : &dbh->error_code; in _firebird_error() local 42 strcpy(*error_code, "HY000"); in _firebird_error() 371 strcpy(dbh->error_code, "01004"); in firebird_alloc_prepare_stmt()
|
/PHP-7.3/ext/pcre/ |
H A D | php_pcre.c | 142 PCRE_G(error_code) = preg_code; in pcre_handle_exec_error() 263 pcre_globals->error_code = PHP_PCRE_NO_ERROR; in PHP_GINIT_FUNCTION() 1104 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in php_pcre_match_impl() 1111 PCRE_G(error_code) = PHP_PCRE_INTERNAL_ERROR; in php_pcre_match_impl() 1426 if (PCRE_G(error_code) == PHP_PCRE_NO_ERROR) { in php_pcre_match_impl() 1598 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in php_pcre_replace_impl() 1850 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in php_pcre_replace_func_impl() 2522 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in php_pcre_split_impl() 2660 if (PCRE_G(error_code) != PHP_PCRE_NO_ERROR) { in php_pcre_split_impl() 2869 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in php_pcre_grep_impl() [all …]
|