Home
last modified time | relevance | path

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

12

/PHP-7.2/ext/intl/spoofchecker/
H A Dspoofchecker_main.c32 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.2/ext/dom/
H A Ddomexception.c43 void php_dom_throw_error_with_message(int error_code, char *error_message, int strict_error) /* {{{… in php_dom_throw_error_with_message() argument
46 zend_throw_exception(dom_domexception_class_entry, error_message, error_code); in php_dom_throw_error_with_message()
54 void php_dom_throw_error(int error_code, int strict_error) in php_dom_throw_error() argument
58 switch (error_code) in php_dom_throw_error()
112 php_dom_throw_error_with_message(error_code, error_message, strict_error); in php_dom_throw_error()
H A Dphp_dom.h108 void php_dom_throw_error(int error_code, int strict_error);
109 void php_dom_throw_error_with_message(int error_code, char *error_message, int strict_error);
/PHP-7.2/ext/pdo/
H A Dphp_pdo_error.h29 strlcpy(dbh->error_code, PDO_ERR_NONE, sizeof(PDO_ERR_NONE)); \
35 #define PDO_STMT_CLEAR_ERR() strcpy(stmt->error_code, PDO_ERR_NONE)
36 #define PDO_HANDLE_DBH_ERR() if (strcmp(dbh->error_code, PDO_ERR_NONE)) { pdo_handle_error(dbh, …
37 #define PDO_HANDLE_STMT_ERR() if (strcmp(stmt->error_code, PDO_ERR_NONE)) { pdo_handle_error(stmt…
H A Dpdo_dbh.c43 pdo_error_type *pdo_err = &dbh->error_code; in pdo_raise_impl_error()
57 pdo_err = &stmt->error_code; in pdo_raise_impl_error()
103 pdo_error_type *pdo_err = &dbh->error_code; in pdo_handle_error()
115 pdo_err = &stmt->error_code; in pdo_handle_error()
989 RETURN_STRING(dbh->query_stmt->error_code); in PHP_METHOD()
992 if (dbh->error_code[0] == '\0') { in PHP_METHOD()
1000 RETURN_STRING(dbh->error_code); in PHP_METHOD()
1023 add_next_index_string(return_value, dbh->query_stmt->error_code); in PHP_METHOD()
1024 if(!strncmp(dbh->query_stmt->error_code, PDO_ERR_NONE, sizeof(PDO_ERR_NONE))) goto fill_array; in PHP_METHOD()
1026 add_next_index_string(return_value, dbh->error_code); in PHP_METHOD()
[all …]
H A Dpdo_sql_parser.c542 strncpy(stmt->error_code, stmt->dbh->error_code, 6); in pdo_parse_params()
594 strncpy(stmt->error_code, stmt->dbh->error_code, 6); in pdo_parse_params()
/PHP-7.2/ext/json/
H A Djson.c145 json_globals->error_code = 0; in PHP_GINIT_FUNCTION()
198 JSON_G(error_code) = encoder.error_code; in php_json_encode_ex()
217 JSON_G(error_code) = php_json_parser_error_code(&parser); in php_json_decode_ex()
246 JSON_G(error_code) = encoder.error_code; in PHP_FUNCTION()
248 if (encoder.error_code != PHP_JSON_ERROR_NONE && !(options & PHP_JSON_PARTIAL_OUTPUT_ON_ERROR)) { in PHP_FUNCTION()
280 JSON_G(error_code) = PHP_JSON_ERROR_NONE; in PHP_FUNCTION()
283 JSON_G(error_code) = PHP_JSON_ERROR_SYNTAX; in PHP_FUNCTION()
318 RETURN_LONG(JSON_G(error_code)); in PHP_FUNCTION()
330 switch(JSON_G(error_code)) { in PHP_FUNCTION()
H A Dphp_json_encoder.h30 php_json_error_code error_code; member
H A Djson_encoder.c144 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()
309 encoder->error_code = PHP_JSON_ERROR_UTF8; in php_json_escape_string()
454 encoder->error_code = PHP_JSON_ERROR_RECURSION; in php_json_encode_serializable_object()
532 encoder->error_code = PHP_JSON_ERROR_INF_OR_NAN; in php_json_encode_zval()
561 encoder->error_code = PHP_JSON_ERROR_UNSUPPORTED_TYPE; in php_json_encode_zval()
H A Dphp_json.h88 php_json_error_code error_code; variable
/PHP-7.2/ext/openssl/tests/
H A Dopenssl_error_string_basic.phpt13 $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.2/main/
H A Dnetwork.c303 int *error_code) argument
317 if (error_code) {
318 *error_code = error;
372 if (error_code) {
373 *error_code = error;
499 if (error_code) {
500 *error_code = err;
726 int *error_code, argument
761 if (error_code) {
762 *error_code = error;
[all …]
H A Dphp_network.h250 int *error_code, char *bindto, unsigned short bindport, long sockopts
259 int *error_code);
265 int socktype, long sockopts, zend_string **error_string, int *error_code
274 int *error_code,
/PHP-7.2/main/streams/
H A Dphp_stream_transport.h54 int *error_code
72 int *error_code
160 int error_code; member
H A Dtransports.c57 int *error_code in _php_stream_xport_create()
146 timeout, &error_text, error_code)) { in _php_stream_xport_create()
230 int *error_code in php_stream_xport_connect() argument
250 if (error_code) { in php_stream_xport_connect()
251 *error_code = param.outputs.error_code; in php_stream_xport_connect()
/PHP-7.2/ext/pdo_odbc/
H A Dodbc_driver.c68 pdo_error_type *pdo_err = &dbh->error_code; in pdo_odbc_error()
74 pdo_err = &stmt->error_code; in pdo_odbc_error()
168 strcpy(dbh->error_code, stmt->error_code); in odbc_handle_preparer()
213 strcpy(dbh->error_code, stmt->error_code); in odbc_handle_preparer()
/PHP-7.2/ext/date/lib/
H A Dtimelib.c48 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 Dtimelib.h273 int error_code; member
338 …timelib_tzinfo* (*timelib_tz_get_wrapper)(char *tzname, const timelib_tzdb *tzdb, int *error_code);
605 timelib_tzinfo *timelib_parse_tzfile(char *timezone, const timelib_tzdb *tzdb, int *error_code);
693 const char *timelib_get_error_message(int error_code);
H A Dparse_tz.c456 timelib_tzinfo *timelib_parse_tzfile(char *timezone, const timelib_tzdb *tzdb, int *error_code) in timelib_parse_tzfile() argument
469 *error_code = TIMELIB_ERROR_UNSUPPORTED_VERSION; in timelib_parse_tzfile()
478 *error_code = transitions_result; in timelib_parse_tzfile()
483 *error_code = types_result; in timelib_parse_tzfile()
490 *error_code = TIMELIB_ERROR_CORRUPT_NO_64BIT_PREAMBLE; in timelib_parse_tzfile()
505 *error_code = TIMELIB_ERROR_NO_SUCH_TIMEZONE; in timelib_parse_tzfile()
/PHP-7.2/ext/pdo_oci/
H A Doci_driver.c67 pdo_error_type *pdo_err = &dbh->error_code; in _oci_error()
72 pdo_err = &stmt->error_code; in _oci_error()
179 strcpy(dbh->error_code, stmt->error_code); in _oci_error()
272 strcpy(dbh->error_code, stmt->error_code); in oci_handle_preparer()
613 sb4 error_code = 0; in pdo_oci_check_liveness() local
640 OCIErrorGet (H->err, (ub4)1, NULL, &error_code, NULL, 0, OCI_HTYPE_ERROR); in pdo_oci_check_liveness()
642 if (error_code == 1010) { in pdo_oci_check_liveness()
/PHP-7.2/Zend/
H A Dzend_API.h740 int error_code = ZPP_ERROR_OK; \
756 error_code = ZPP_ERROR_FAILURE; \
809 error_code = ZPP_ERROR_WRONG_ARG; \
824 error_code = ZPP_ERROR_WRONG_ARG; \
839 error_code = ZPP_ERROR_WRONG_ARG; \
853 error_code = ZPP_ERROR_FAILURE; \
868 error_code = ZPP_ERROR_WRONG_ARG; \
905 error_code = ZPP_ERROR_WRONG_ARG; \
920 error_code = ZPP_ERROR_WRONG_ARG; \
935 error_code = ZPP_ERROR_WRONG_ARG; \
[all …]
/PHP-7.2/ext/pdo_firebird/
H A Dfirebird_statement.c175 strcpy(stmt->error_code, "HY000"); in firebird_stmt_fetch()
501 strcpy(stmt->error_code, "HY093"); in firebird_stmt_param_hook()
527 strcpy(stmt->error_code, "HY093"); in firebird_stmt_param_hook()
581 strcpy(stmt->error_code, "HY000"); in firebird_stmt_param_hook()
589 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook()
641 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook()
648 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook()
H A Dfirebird_driver.c40 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()
362 strcpy(dbh->error_code, "01004"); in firebird_alloc_prepare_stmt()
/PHP-7.2/ext/pcre/
H A Dphp_pcre.h81 int error_code; variable
/PHP-7.2/Zend/tests/
H A Dbug38047.phpt14 function kalus_error_handler($error_code, $error_string, $filename, $line, $symbols) {

Completed in 79 milliseconds

12