Home
last modified time | relevance | path

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

123

/PHP-8.2/ext/json/
H A Djson.c60 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 Djson_encoder.c133 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 Dphp_json_encoder.h28 php_json_error_code error_code; member
/PHP-8.2/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.2/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.2/ext/intl/spoofchecker/
H A Dspoofchecker_main.c28 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 Dsysvmsg.stub.php43 * @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 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.2/ext/sockets/tests/
H A Dgh16267.phpt21 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 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.2/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.2/main/
H A Dnetwork.c313 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 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.2/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()
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 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.2/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.2/ext/pdo_firebird/
H A Dfirebird_statement.c212 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 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.2/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.2/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.2/ext/pdo_odbc/
H A Dodbc_driver.c64 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 Dphp_pcre.c136 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 …]

Completed in 43 milliseconds

123