/PHP-8.2/ext/json/ |
H A D | json.c | 60 json_globals->error_code = 0; in PHP_GINIT_FUNCTION() 67 JSON_G(error_code) = 0; in PHP_RINIT_FUNCTION() 130 JSON_G(error_code) = encoder.error_code; in php_json_encode_ex() 144 switch(error_code) { in php_json_get_error_msg() 184 JSON_G(error_code) = error_code; in php_json_decode_ex() 186 zend_throw_exception(php_json_exception_ce, php_json_get_error_msg(error_code), error_code); in php_json_decode_ex() 217 JSON_G(error_code) = encoder.error_code; in PHP_FUNCTION() 225 …w_exception(php_json_exception_ce, php_json_get_error_msg(encoder.error_code), encoder.error_code); in PHP_FUNCTION() 253 JSON_G(error_code) = PHP_JSON_ERROR_NONE; in PHP_FUNCTION() 258 JSON_G(error_code) = PHP_JSON_ERROR_SYNTAX; in PHP_FUNCTION() [all …]
|
H A D | json_encoder.c | 133 encoder->error_code = PHP_JSON_ERROR_RECURSION; in php_json_encode_array() 187 encoder->error_code = PHP_JSON_ERROR_DEPTH; in php_json_encode_array() 206 encoder->error_code = PHP_JSON_ERROR_RECURSION; in php_json_encode_array() 293 encoder->error_code = PHP_JSON_ERROR_DEPTH; in php_json_encode_array() 392 encoder->error_code = PHP_JSON_ERROR_UTF8; in php_json_escape_string() 539 encoder->error_code = PHP_JSON_ERROR_RECURSION; in php_json_encode_serializable_object() 597 encoder->error_code = PHP_JSON_ERROR_NON_BACKED_ENUM; in php_json_encode_serializable_enum() 630 encoder->error_code = PHP_JSON_ERROR_INF_OR_NAN; in php_json_encode_zval() 663 encoder->error_code = PHP_JSON_ERROR_UNSUPPORTED_TYPE; in php_json_encode_zval()
|
H A D | php_json_encoder.h | 28 php_json_error_code error_code; member
|
/PHP-8.2/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()
|
/PHP-8.2/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.2/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 ZEND_TRY_ASSIGN_REF_LONG(error_code, ret); in PHP_METHOD() 57 zval *error_code = NULL; in PHP_METHOD() local 61 &s2, &s2_len, &error_code)) { in PHP_METHOD() 76 if (error_code) { in PHP_METHOD() 77 ZEND_TRY_ASSIGN_REF_LONG(error_code, ret); in PHP_METHOD()
|
/PHP-8.2/ext/sysvmsg/ |
H A D | sysvmsg.stub.php | 43 * @param int $error_code 45 …essage_type, $message, bool $serialize = true, bool $blocking = true, &$error_code = null): bool {} argument 49 * @param int $error_code 59 &$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.2/ext/sockets/tests/ |
H A D | gh16267.phpt | 21 socket_strerror(): Argument #1 ($error_code) must be between %s and %s 22 socket_strerror(): Argument #1 ($error_code) must be between %s and %s
|
/PHP-8.2/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.2/ext/openssl/tests/ |
H A D | openssl_error_string_basic.phpt | 17 $error_code = $m[1]; 18 if (isset($expected_errors[$error_code])) { 19 $expected_errors[$error_code] = true; 21 $all_errors[$error_code] = $error_string; 28 foreach ($expected_errors as $error_code => $error_code_found) { 31 echo "$name: no error code $error_code\n";
|
H A D | openssl_error_string_basic_openssl3.phpt | 17 $error_code = $m[1]; 18 if (isset($expected_errors[$error_code])) { 19 $expected_errors[$error_code] = true; 21 $all_errors[$error_code] = $error_string; 28 foreach ($expected_errors as $error_code => $error_code_found) { 31 echo "$name: no error code $error_code\n";
|
/PHP-8.2/main/ |
H A D | network.c | 313 int *error_code) argument 326 if (error_code) { 327 *error_code = error; 381 if (error_code) { 382 *error_code = error; 497 if (error_code) { 498 *error_code = err; 734 int *error_code, argument 769 if (error_code) { 770 *error_code = error; [all …]
|
H A D | php_network.h | 270 int *error_code, const char *bindto, unsigned short bindport, long sockopts 279 int *error_code); 285 int socktype, long sockopts, zend_string **error_string, int *error_code 294 int *error_code,
|
/PHP-8.2/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() 232 int *error_code in php_stream_xport_connect() argument 252 if (error_code) { in php_stream_xport_connect() 253 *error_code = param.outputs.error_code; in php_stream_xport_connect()
|
/PHP-8.2/ext/intl/tests/ |
H A D | normalizer_get_raw_decomposition.phpt | 29 $error_code = intl_get_error_code(); 40 $result .= "error info: '$error_message' ($error_code)\n";
|
H A D | normalizer_normalize_kc_cf.phpt | 63 $error_code = intl_get_error_code(); 69 . "\terror info: '$error_message' ($error_code)\n" 73 $error_code = intl_get_error_code(); 77 . "\terror info: '$error_message' ($error_code)\n"
|
/PHP-8.2/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.2/ext/pdo_firebird/ |
H A D | firebird_statement.c | 212 strcpy(stmt->error_code, "HY000"); in firebird_stmt_fetch() 562 strcpy(stmt->error_code, "HY093"); in firebird_stmt_param_hook() 588 strcpy(stmt->error_code, "HY093"); in firebird_stmt_param_hook() 639 strcpy(stmt->error_code, "HY000"); in firebird_stmt_param_hook() 647 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook() 696 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook() 708 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook() 759 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook() 766 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook()
|
/PHP-8.2/ext/date/lib/ |
H A D | timelib.c | 51 const char *timelib_get_error_message(int error_code) in timelib_get_error_message() argument 55 if (error_code >= 0 && error_code < entries) { in timelib_get_error_message() 56 return timelib_error_messages[error_code]; in timelib_get_error_message()
|
/PHP-8.2/ext/pdo_oci/ |
H A D | oci_driver.c | 61 pdo_error_type *pdo_err = &dbh->error_code; in _oci_error() 66 pdo_err = &stmt->error_code; in _oci_error() 173 strcpy(dbh->error_code, stmt->error_code); in _oci_error() 262 strcpy(dbh->error_code, stmt->error_code); in oci_handle_preparer() 670 sb4 error_code = 0; in pdo_oci_check_liveness() local 697 OCIErrorGet (H->err, (ub4)1, NULL, &error_code, NULL, 0, OCI_HTYPE_ERROR); in pdo_oci_check_liveness() 699 if (error_code == 1010) { in pdo_oci_check_liveness()
|
/PHP-8.2/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.2/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() 161 strcpy(dbh->error_code, stmt->error_code); in odbc_handle_preparer() 207 strcpy(dbh->error_code, stmt->error_code); in odbc_handle_preparer()
|
/PHP-8.2/ext/pcre/ |
H A D | php_pcre.c | 136 PCRE_G(error_code) = preg_code; in pcre_handle_exec_error() 142 switch (error_code) { in php_pcre_get_error_msg() 483 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in PHP_RINIT_FUNCTION() 1265 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in php_pcre_match_impl() 1272 PCRE_G(error_code) = PHP_PCRE_INTERNAL_ERROR; in php_pcre_match_impl() 1474 if (PCRE_G(error_code) == PHP_PCRE_NO_ERROR) { in php_pcre_match_impl() 1636 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in php_pcre_replace_impl() 1888 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in php_pcre_replace_func_impl() 2556 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in php_pcre_split_impl() 2902 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in php_pcre_grep_impl() [all …]
|