Home
last modified time | relevance | path

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

12

/PHP-7.1/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_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_dtor(error_code); in PHP_METHOD()
85 ZVAL_LONG(error_code, ret); in PHP_METHOD()
/PHP-7.1/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.1/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()
983 RETURN_STRING(dbh->query_stmt->error_code); in PHP_METHOD()
986 if (dbh->error_code[0] == '\0') { in PHP_METHOD()
994 RETURN_STRING(dbh->error_code); in PHP_METHOD()
1017 add_next_index_string(return_value, dbh->query_stmt->error_code); in PHP_METHOD()
1018 if(!strncmp(dbh->query_stmt->error_code, PDO_ERR_NONE, sizeof(PDO_ERR_NONE))) goto fill_array; in PHP_METHOD()
1020 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()
586 strncpy(stmt->error_code, stmt->dbh->error_code, 6); in pdo_parse_params()
/PHP-7.1/ext/json/
H A Djson.c143 json_globals->error_code = 0; in PHP_GINIT_FUNCTION()
194 encoder.error_code = PHP_JSON_ERROR_NONE; in php_json_encode()
197 JSON_G(error_code) = encoder.error_code; in php_json_encode()
210 JSON_G(error_code) = php_json_parser_error_code(&parser); in php_json_decode_ex()
235 encoder.error_code = PHP_JSON_ERROR_NONE; in PHP_FUNCTION()
237 JSON_G(error_code) = encoder.error_code; in PHP_FUNCTION()
239 if (encoder.error_code != PHP_JSON_ERROR_NONE && !(options & PHP_JSON_PARTIAL_OUTPUT_ON_ERROR)) { in PHP_FUNCTION()
266 JSON_G(error_code) = PHP_JSON_ERROR_NONE; in PHP_FUNCTION()
269 JSON_G(error_code) = PHP_JSON_ERROR_SYNTAX; in PHP_FUNCTION()
302 RETURN_LONG(JSON_G(error_code)); in PHP_FUNCTION()
[all …]
H A Djson_encoder.c146 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()
323 encoder->error_code = PHP_JSON_ERROR_UTF8; in php_json_escape_string()
347 encoder->error_code = PHP_JSON_ERROR_UTF8; in php_json_escape_string()
489 encoder->error_code = PHP_JSON_ERROR_RECURSION; in php_json_encode_serializable_object()
562 encoder->error_code = PHP_JSON_ERROR_INF_OR_NAN; in php_json_encode_zval()
583 encoder->error_code = PHP_JSON_ERROR_UNSUPPORTED_TYPE; in php_json_encode_zval()
H A Dphp_json_encoder.h30 php_json_error_code error_code; member
H A Dphp_json.h86 php_json_error_code error_code; variable
/PHP-7.1/ext/pdo_firebird/
H A Dfirebird_driver.c44 pdo_error_type *const error_code = stmt ? &stmt->error_code : &dbh->error_code; in _firebird_error() local
50 *error_code = PDO_ERR_NONE; in _firebird_error()
53 *error_code = PDO_ERR_CANT_MAP; in _firebird_error()
56 *error_code = PDO_ERR_SYNTAX; in _firebird_error()
60 *error_code = PDO_ERR_CONSTRAINT; in _firebird_error()
66 *error_code = PDO_ERR_NOT_FOUND; in _firebird_error()
76 *error_code = PDO_ERR_MISMATCH; in _firebird_error()
81 *error_code = PDO_ERR_TRUNCATED; in _firebird_error()
84 *error_code = PDO_ERR_DISCONNECTED; in _firebird_error()
88 strcpy(*error_code, "HY000"); in _firebird_error()
[all …]
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()
/PHP-7.1/main/
H A Dnetwork.c315 int *error_code) argument
329 if (error_code) {
330 *error_code = error;
384 if (error_code) {
385 *error_code = error;
511 if (error_code) {
512 *error_code = err;
736 int *error_code, argument
771 if (error_code) {
772 *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.1/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.1/ext/openssl/tests/
H A Dopenssl_error_string_basic.phpt12 $error_code = $m[1];
13 if (isset($expected_errors[$error_code])) {
14 $expected_errors[$error_code] = true;
20 foreach ($expected_errors as $error_code => $error_code_found) {
23 echo "$name: no error code $error_code\n";
/PHP-7.1/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()
185 strcpy(dbh->error_code, stmt->error_code); in _oci_error()
278 strcpy(dbh->error_code, stmt->error_code); in oci_handle_preparer()
542 sb4 error_code = 0; in pdo_oci_check_liveness() local
569 OCIErrorGet (H->err, (ub4)1, NULL, &error_code, NULL, 0, OCI_HTYPE_ERROR); in pdo_oci_check_liveness()
571 if (error_code == 1010) { in pdo_oci_check_liveness()
/PHP-7.1/Zend/
H A Dzend_API.h727 int error_code = ZPP_ERROR_OK; \
743 error_code = ZPP_ERROR_FAILURE; \
794 error_code = ZPP_ERROR_WRONG_ARG; \
806 error_code = ZPP_ERROR_WRONG_ARG; \
818 error_code = ZPP_ERROR_WRONG_ARG; \
829 error_code = ZPP_ERROR_FAILURE; \
841 error_code = ZPP_ERROR_WRONG_ARG; \
872 error_code = ZPP_ERROR_WRONG_ARG; \
884 error_code = ZPP_ERROR_WRONG_ARG; \
896 error_code = ZPP_ERROR_WRONG_ARG; \
[all …]
/PHP-7.1/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.1/ext/pcre/
H A Dphp_pcre.h81 int error_code; variable
/PHP-7.1/Zend/tests/
H A Dbug38047.phpt14 function kalus_error_handler($error_code, $error_string, $filename, $line, $symbols) {
/PHP-7.1/ext/intl/tests/
H A Dnormalizer_normalize.phpt73 $error_code = intl_get_error_code();
79 . "\terror info: '$error_message' ($error_code)\n"
83 $error_code = intl_get_error_code();
87 . "\terror info: '$error_message' ($error_code)\n"
/PHP-7.1/ext/pdo_mysql/
H A Dmysql_driver.c57 pdo_err = &stmt->error_code; in _pdo_mysql_error()
60 pdo_err = &dbh->error_code; in _pdo_mysql_error()
196 strcpy(dbh->error_code, stmt->error_code); in mysql_handle_preparer()
/PHP-7.1/ext/soap/
H A Dphp_soap.h166 char* error_code; variable

Completed in 73 milliseconds

12