/PHP-8.0/ext/json/ |
H A D | json.c | 102 json_globals->error_code = 0; in PHP_GINIT_FUNCTION() 109 JSON_G(error_code) = 0; in PHP_RINIT_FUNCTION() 157 JSON_G(error_code) = encoder.error_code; in php_json_encode_ex() 171 switch(error_code) { in php_json_get_error_msg() 209 JSON_G(error_code) = error_code; in php_json_decode_ex() 211 zend_throw_exception(php_json_exception_ce, php_json_get_error_msg(error_code), error_code); in php_json_decode_ex() 242 JSON_G(error_code) = encoder.error_code; in PHP_FUNCTION() 250 …w_exception(php_json_exception_ce, php_json_get_error_msg(encoder.error_code), encoder.error_code); in PHP_FUNCTION() 282 JSON_G(error_code) = PHP_JSON_ERROR_NONE; in PHP_FUNCTION() 287 JSON_G(error_code) = PHP_JSON_ERROR_SYNTAX; in PHP_FUNCTION() [all …]
|
H A D | php_json_encoder.h | 28 php_json_error_code error_code; member
|
H A D | json_encoder.c | 143 encoder->error_code = PHP_JSON_ERROR_RECURSION; in php_json_encode_array() 230 encoder->error_code = PHP_JSON_ERROR_DEPTH; in php_json_encode_array() 330 encoder->error_code = PHP_JSON_ERROR_UTF8; in php_json_escape_string() 477 encoder->error_code = PHP_JSON_ERROR_RECURSION; in php_json_encode_serializable_object() 555 encoder->error_code = PHP_JSON_ERROR_INF_OR_NAN; in php_json_encode_zval() 584 encoder->error_code = PHP_JSON_ERROR_UNSUPPORTED_TYPE; in php_json_encode_zval()
|
/PHP-8.0/ext/dom/ |
H A D | domexception.c | 35 void php_dom_throw_error_with_message(int error_code, char *error_message, int strict_error) /* {{{… in php_dom_throw_error_with_message() argument 38 zend_throw_exception(dom_domexception_class_entry, error_message, error_code); in php_dom_throw_error_with_message() 46 void php_dom_throw_error(int error_code, int strict_error) in php_dom_throw_error() argument 50 switch (error_code) in php_dom_throw_error() 104 php_dom_throw_error_with_message(error_code, error_message, strict_error); in php_dom_throw_error()
|
H A D | php_dom.h | 106 void php_dom_throw_error(int error_code, int strict_error); 107 void php_dom_throw_error_with_message(int error_code, char *error_message, int strict_error);
|
/PHP-8.0/ext/intl/spoofchecker/ |
H A D | spoofchecker_main.c | 28 zval *error_code = NULL; in PHP_METHOD() local 31 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "s|z", &text, &text_len, &error_code)) { in PHP_METHOD() 44 if (error_code) { in PHP_METHOD() 45 zval_ptr_dtor(error_code); in PHP_METHOD() 46 ZVAL_LONG(error_code, ret); in PHP_METHOD() 58 zval *error_code = NULL; in PHP_METHOD() local 62 &s2, &s2_len, &error_code)) { in PHP_METHOD() 77 if (error_code) { in PHP_METHOD() 78 zval_ptr_dtor(error_code); in PHP_METHOD() 79 ZVAL_LONG(error_code, ret); in PHP_METHOD()
|
/PHP-8.0/ext/pdo/ |
H A D | php_pdo_error.h | 25 strlcpy(dbh->error_code, PDO_ERR_NONE, sizeof(PDO_ERR_NONE)); \ 31 #define PDO_STMT_CLEAR_ERR() strcpy(stmt->error_code, PDO_ERR_NONE) 32 #define PDO_HANDLE_DBH_ERR() if (strcmp(dbh->error_code, PDO_ERR_NONE)) { pdo_handle_error(dbh, … 33 #define PDO_HANDLE_STMT_ERR() if (strcmp(stmt->error_code, PDO_ERR_NONE)) { pdo_handle_error(stmt…
|
/PHP-8.0/ext/sysvmsg/ |
H A D | sysvmsg.stub.php | 13 * @param int $error_code 15 …essage_type, $message, bool $serialize = true, bool $blocking = true, &$error_code = null): bool {} argument 19 * @param int $error_code 29 &$error_code = null argument
|
H A D | sysvmsg_arginfo.h | 15 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, error_code, "null") 26 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, error_code, "null")
|
/PHP-8.0/ext/opcache/jit/vtune/ |
H A D | ittnotify_config.h | 300 int error_code = pthread_mutexattr_init(&mutex_attr); \ 301 if (error_code) \ 303 error_code); \ 304 error_code = pthread_mutexattr_settype(&mutex_attr, \ 306 if (error_code) \ 308 error_code); \ 309 error_code = pthread_mutex_init(mutex, &mutex_attr); \ 310 if (error_code) \ 312 error_code); \ 313 error_code = pthread_mutexattr_destroy(&mutex_attr); \ [all …]
|
/PHP-8.0/ext/curl/ |
H A D | curl.stub.php | 62 function curl_multi_strerror(int $error_code): ?string {} argument 82 function curl_share_strerror(int $error_code): ?string {} argument 84 function curl_strerror(int $error_code): ?string {} argument
|
/PHP-8.0/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-8.0/main/streams/ |
H A D | php_stream_transport.h | 51 int *error_code 69 int *error_code 157 int error_code; member
|
H A D | transports.c | 57 int *error_code in _php_stream_xport_create() 145 timeout, &error_text, error_code)) { in _php_stream_xport_create() 229 int *error_code in php_stream_xport_connect() argument 249 if (error_code) { in php_stream_xport_connect() 250 *error_code = param.outputs.error_code; in php_stream_xport_connect()
|
/PHP-8.0/main/ |
H A D | network.c | 307 int *error_code) argument 320 if (error_code) { 321 *error_code = error; 375 if (error_code) { 376 *error_code = error; 496 if (error_code) { 497 *error_code = err; 725 int *error_code, argument 760 if (error_code) { 761 *error_code = error; [all …]
|
H A D | php_network.h | 263 int *error_code, const char *bindto, unsigned short bindport, long sockopts 272 int *error_code); 278 int socktype, long sockopts, zend_string **error_string, int *error_code 287 int *error_code,
|
/PHP-8.0/ext/intl/tests/ |
H A D | normalizer_normalize_kc_cf.phpt | 62 $error_code = intl_get_error_code(); 68 . "\terror info: '$error_message' ($error_code)\n" 72 $error_code = intl_get_error_code(); 76 . "\terror info: '$error_message' ($error_code)\n"
|
H A D | normalizer_get_raw_decomposition.phpt | 28 $error_code = intl_get_error_code(); 39 $result .= "error info: '$error_message' ($error_code)\n";
|
/PHP-8.0/ext/soap/tests/ |
H A D | gh9720.phpt | 34 …nResponse><status xsi:type="xsd:string">OK</status><error_code xsi:type="xsd:string">200</error_co…
|
/PHP-8.0/ext/pdo_odbc/ |
H A D | odbc_driver.c | 64 pdo_error_type *pdo_err = &dbh->error_code; in pdo_odbc_error() 70 pdo_err = &stmt->error_code; in pdo_odbc_error() 164 strcpy(dbh->error_code, stmt->error_code); in odbc_handle_preparer() 210 strcpy(dbh->error_code, stmt->error_code); in odbc_handle_preparer()
|
/PHP-8.0/ext/date/lib/ |
H A D | timelib.c | 49 const char *timelib_get_error_message(int error_code) in timelib_get_error_message() argument 53 if (error_code >= 0 && error_code < entries) { in timelib_get_error_message() 54 return timelib_error_messages[error_code]; in timelib_get_error_message()
|
H A D | parse_tz.c | 517 …melib_tzinfo *timelib_parse_tzfile(const char *timezone, const timelib_tzdb *tzdb, int *error_code) in timelib_parse_tzfile() argument 525 *error_code = TIMELIB_ERROR_NO_ERROR; in timelib_parse_tzfile() 532 *error_code = TIMELIB_ERROR_UNSUPPORTED_VERSION; in timelib_parse_tzfile() 543 *error_code = TIMELIB_ERROR_SLIM_FILE; in timelib_parse_tzfile() 548 *error_code = TIMELIB_ERROR_CORRUPT_NO_64BIT_PREAMBLE; in timelib_parse_tzfile() 555 *error_code = transitions_result; in timelib_parse_tzfile() 560 *error_code = types_result; in timelib_parse_tzfile() 572 *error_code = TIMELIB_ERROR_NO_SUCH_TIMEZONE; in timelib_parse_tzfile()
|
/PHP-8.0/ext/pdo_oci/ |
H A D | oci_driver.c | 63 pdo_error_type *pdo_err = &dbh->error_code; in _oci_error() 68 pdo_err = &stmt->error_code; in _oci_error() 175 strcpy(dbh->error_code, stmt->error_code); in _oci_error() 268 strcpy(dbh->error_code, stmt->error_code); in oci_handle_preparer() 659 sb4 error_code = 0; in pdo_oci_check_liveness() local 686 OCIErrorGet (H->err, (ub4)1, NULL, &error_code, NULL, 0, OCI_HTYPE_ERROR); in pdo_oci_check_liveness() 688 if (error_code == 1010) { in pdo_oci_check_liveness()
|
/PHP-8.0/ext/standard/tests/streams/ |
H A D | gh8409.phpt | 19 stream_socket_client('tcp://9999.9999.9999.9999:9999', $error_code, $error_message, 0.2, STREAM_CLI…
|
/PHP-8.0/ext/pdo_firebird/ |
H A D | firebird_statement.c | 183 strcpy(stmt->error_code, "HY000"); in firebird_stmt_fetch() 527 strcpy(stmt->error_code, "HY093"); in firebird_stmt_param_hook() 553 strcpy(stmt->error_code, "HY093"); in firebird_stmt_param_hook() 607 strcpy(stmt->error_code, "HY000"); in firebird_stmt_param_hook() 615 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook() 659 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook() 671 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook() 721 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook() 728 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook()
|