Home
last modified time | relevance | path

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

123

/PHP-8.1/ext/json/
H A Djson.c99 json_globals->error_code = 0; in PHP_GINIT_FUNCTION()
106 JSON_G(error_code) = 0; in PHP_RINIT_FUNCTION()
169 JSON_G(error_code) = encoder.error_code; in php_json_encode_ex()
183 switch(error_code) { in php_json_get_error_msg()
223 JSON_G(error_code) = error_code; in php_json_decode_ex()
225 zend_throw_exception(php_json_exception_ce, php_json_get_error_msg(error_code), error_code); in php_json_decode_ex()
256 JSON_G(error_code) = encoder.error_code; in PHP_FUNCTION()
264 …w_exception(php_json_exception_ce, php_json_get_error_msg(encoder.error_code), encoder.error_code); in PHP_FUNCTION()
296 JSON_G(error_code) = PHP_JSON_ERROR_NONE; in PHP_FUNCTION()
301 JSON_G(error_code) = PHP_JSON_ERROR_SYNTAX; in PHP_FUNCTION()
[all …]
H A Djson_encoder.c126 encoder->error_code = PHP_JSON_ERROR_RECURSION; in php_json_encode_array()
180 encoder->error_code = PHP_JSON_ERROR_DEPTH; in php_json_encode_array()
199 encoder->error_code = PHP_JSON_ERROR_RECURSION; in php_json_encode_array()
286 encoder->error_code = PHP_JSON_ERROR_DEPTH; in php_json_encode_array()
386 encoder->error_code = PHP_JSON_ERROR_UTF8; in php_json_escape_string()
533 encoder->error_code = PHP_JSON_ERROR_RECURSION; in php_json_encode_serializable_object()
591 encoder->error_code = PHP_JSON_ERROR_NON_BACKED_ENUM; in php_json_encode_serializable_enum()
624 encoder->error_code = PHP_JSON_ERROR_INF_OR_NAN; in php_json_encode_zval()
657 encoder->error_code = PHP_JSON_ERROR_UNSUPPORTED_TYPE; in php_json_encode_zval()
H A Dphp_json_encoder.h28 php_json_error_code error_code; member
/PHP-8.1/ext/intl/spoofchecker/
H A Dspoofchecker_main.c28 zval *error_code = NULL; in PHP_METHOD() local
44 if (error_code) { in PHP_METHOD()
45 zval_ptr_dtor(error_code); in PHP_METHOD()
46 ZVAL_LONG(Z_REFVAL_P(error_code), ret); in PHP_METHOD()
47 Z_TRY_ADDREF_P(error_code); in PHP_METHOD()
59 zval *error_code = NULL; in PHP_METHOD() local
63 &s2, &s2_len, &error_code)) { in PHP_METHOD()
78 if (error_code) { in PHP_METHOD()
79 zval_ptr_dtor(error_code); in PHP_METHOD()
80 ZVAL_LONG(Z_REFVAL_P(error_code), ret); in PHP_METHOD()
[all …]
/PHP-8.1/ext/dom/
H A Ddomexception.c35 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.1/ext/pdo/
H A Dphp_pdo_error.h25 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.1/ext/sysvmsg/
H A Dsysvmsg.stub.php17 * @param int $error_code
19 …essage_type, $message, bool $serialize = true, bool $blocking = true, &$error_code = null): bool {} argument
23 * @param int $error_code
33 &$error_code = null argument
H A Dsysvmsg_arginfo.h15 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, error_code, "null")
26 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, error_code, "null")
/PHP-8.1/ext/opcache/jit/vtune/
H A Dittnotify_config.h300 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.1/ext/curl/
H A Dcurl.stub.php83 function curl_multi_strerror(int $error_code): ?string {} argument
103 function curl_share_strerror(int $error_code): ?string {} argument
106 function curl_strerror(int $error_code): ?string {} argument
/PHP-8.1/ext/openssl/tests/
H A Dopenssl_error_string_basic.phpt17 $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 Dopenssl_error_string_basic_openssl3.phpt17 $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.1/main/
H A Dnetwork.c311 int *error_code) argument
324 if (error_code) {
325 *error_code = error;
379 if (error_code) {
380 *error_code = error;
495 if (error_code) {
496 *error_code = err;
732 int *error_code, argument
767 if (error_code) {
768 *error_code = error;
[all …]
H A Dphp_network.h270 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.1/main/streams/
H A Dphp_stream_transport.h51 int *error_code
69 int *error_code
157 int error_code; member
H A Dtransports.c57 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.1/ext/intl/tests/
H A Dnormalizer_get_raw_decomposition.phpt29 $error_code = intl_get_error_code();
40 $result .= "error info: '$error_message' ($error_code)\n";
H A Dnormalizer_normalize_kc_cf.phpt63 $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.1/ext/soap/tests/
H A Dgh9720.phpt34 …nResponse><status xsi:type="xsd:string">OK</status><error_code xsi:type="xsd:string">200</error_co…
/PHP-8.1/ext/pdo_firebird/
H A Dfirebird_statement.c207 strcpy(stmt->error_code, "HY000"); in firebird_stmt_fetch()
554 strcpy(stmt->error_code, "HY093"); in firebird_stmt_param_hook()
580 strcpy(stmt->error_code, "HY093"); in firebird_stmt_param_hook()
631 strcpy(stmt->error_code, "HY000"); in firebird_stmt_param_hook()
639 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook()
688 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook()
700 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook()
751 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook()
758 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook()
/PHP-8.1/ext/date/lib/
H A Dtimelib.c51 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.1/ext/pdo_odbc/
H A Dodbc_driver.c62 pdo_error_type *pdo_err = &dbh->error_code; in pdo_odbc_error()
68 pdo_err = &stmt->error_code; in pdo_odbc_error()
159 strcpy(dbh->error_code, stmt->error_code); in odbc_handle_preparer()
205 strcpy(dbh->error_code, stmt->error_code); in odbc_handle_preparer()
/PHP-8.1/ext/pdo_oci/
H A Doci_driver.c61 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.1/ext/standard/tests/streams/
H A Dgh8409.phpt19 stream_socket_client('tcp://9999.9999.9999.9999:9999', $error_code, $error_message, 0.2, STREAM_CLI…
/PHP-8.1/ext/pcre/
H A Dphp_pcre.c127 PCRE_G(error_code) = preg_code; in pcre_handle_exec_error()
133 switch (error_code) { in php_pcre_get_error_msg()
498 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in PHP_RINIT_FUNCTION()
1276 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in php_pcre_match_impl()
1283 PCRE_G(error_code) = PHP_PCRE_INTERNAL_ERROR; in php_pcre_match_impl()
1485 if (PCRE_G(error_code) == PHP_PCRE_NO_ERROR) { in php_pcre_match_impl()
1647 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in php_pcre_replace_impl()
1897 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in php_pcre_replace_func_impl()
2567 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in php_pcre_split_impl()
2913 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in php_pcre_grep_impl()
[all …]

Completed in 103 milliseconds

123