/PHP-7.2/ext/oci8/ |
H A D | oci8_collection.c | 236 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_create() 253 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_size() 285 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_trim() 306 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_null() 329 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_date() 345 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_date() 370 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_number() 386 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_number() 408 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_string() 424 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_string() [all …]
|
H A D | oci8_lob.c | 75 OCI_G(errcode) = php_oci_error(OCI_G(err), errstatus); in php_oci_lob_create() 76 PHP_OCI_HANDLE_ERROR(connection, OCI_G(errcode)); in php_oci_lob_create() 132 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_get_length() 141 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_get_length() 152 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_get_length() 223 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_calculate_buffer() 292 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_read() 366 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_read() 438 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_write() 484 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_set_buffering() [all …]
|
H A D | oci8.c | 1166 OCI_G(errcode) = 0; in PHP_RINIT_FUNCTION() 1521 if (errcode) { in php_oci_error() 1532 if (errcode) { in php_oci_error() 1540 if (errcode) { in php_oci_error() 1566 return errcode; in php_oci_error() 2128 OCI_G(errcode) = error_code; in php_oci_connection_ping() 2983 if (OCI_G(errcode) != OCI_SUCCESS) { in php_oci_create_env() 3028 if (OCI_G(errcode) != OCI_SUCCESS) { in php_oci_old_create_session() 3423 return OCI_G(errcode); in php_oci_ping_init() 3430 return OCI_G(errcode); in php_oci_ping_init() [all …]
|
H A D | oci8_statement.c | 87 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_statement_create() 91 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_statement_create() 162 statement2->errcode = 0; in php_oci_get_implicit_resultset() 202 statement->errcode = php_oci_error(statement->err, errstatus); in php_oci_statement_set_prefetch() 203 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_set_prefetch() 384 statement->errcode = php_oci_error(statement->err, errstatus); in php_oci_statement_fetch() 385 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_fetch() 1054 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_bind_post_exec() 1065 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_bind_post_exec() 1925 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_bind_array_helper_date() [all …]
|
H A D | oci8_dtrace.d | 20 …probe oci8__check__connection(void *connection, char *client_id, int is_open, long errcode, unsign… 24 probe oci8__error(int status, long errcode);
|
H A D | oci8_interface.c | 1712 sb4 errcode = 0; in PHP_FUNCTION() local 1726 errcode = statement->errcode; in PHP_FUNCTION() 1737 errcode = connection->errcode; in PHP_FUNCTION() 1744 errcode = connection->errcode; in PHP_FUNCTION() 1749 errcode = OCI_G(errcode); in PHP_FUNCTION() 1764 if (errcode) { in PHP_FUNCTION() 1766 add_assoc_long(return_value, "code", errcode); in PHP_FUNCTION() 2050 if (OCI_G(errcode) != OCI_SUCCESS) { in PHP_FUNCTION() 2051 php_oci_error(OCI_G(err), OCI_G(errcode)); in PHP_FUNCTION() 2080 if (OCI_G(errcode) != OCI_SUCCESS) { in PHP_FUNCTION() [all …]
|
H A D | php_oci8_int.h | 149 sb4 errcode; /* last ORA- error number */ member 226 sb4 errcode; /* last ORA- error number */ member 322 #define PHP_OCI_HANDLE_ERROR(connection, errcode) \ argument 325 switch (errcode) { \ 364 php_oci_dtrace_check_connection(connection, errcode, serverStatus); \ 436 void php_oci_dtrace_check_connection(php_oci_connection *connection, sb4 errcode, ub4 serverStatus); 513 sb4 errcode; /* global last ORA- error number. Used when connect fails, for example */
|
H A D | oci8_failover.c | 145 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_register_taf_callback()
|
/PHP-7.2/ext/ldap/tests/ |
H A D | ldap_parse_result_basic.phpt | 21 $errcode = $dn = $errmsg = $refs = null; 23 ldap_parse_result($link, $result, $errcode, $dn, $errmsg, $refs), 24 $errcode, $dn, $errmsg, $refs
|
/PHP-7.2/ext/json/ |
H A D | json_parser.y | 42 parser->scanner.errcode = PHP_JSON_ERROR_DEPTH; \ 123 parser->scanner.errcode = PHP_JSON_ERROR_STATE_MISMATCH; 191 parser->scanner.errcode = PHP_JSON_ERROR_STATE_MISMATCH; 277 parser->scanner.errcode = PHP_JSON_ERROR_INVALID_PROPERTY_NAME; in php_json_parser_object_update() 304 if (!parser->scanner.errcode) { in php_json_yyerror() 305 parser->scanner.errcode = PHP_JSON_ERROR_SYNTAX; in php_json_yyerror() 311 return parser->scanner.errcode; in php_json_parser_error_code()
|
H A D | json_scanner.re | 205 s->errcode = PHP_JSON_ERROR_CTRL_CHAR; 217 s->errcode = PHP_JSON_ERROR_CTRL_CHAR; 221 s->errcode = PHP_JSON_ERROR_SYNTAX; 225 s->errcode = PHP_JSON_ERROR_UTF8; 230 s->errcode = PHP_JSON_ERROR_CTRL_CHAR; 250 s->errcode = PHP_JSON_ERROR_UTF16; 258 s->errcode = PHP_JSON_ERROR_SYNTAX; 287 s->errcode = PHP_JSON_ERROR_UTF8; 297 s->errcode = PHP_JSON_ERROR_UTF8; 362 s->errcode = PHP_JSON_ERROR_SYNTAX; [all …]
|
H A D | php_json_scanner.h | 39 php_json_error_code errcode; /* error type if there is an error */ member
|
H A D | json_scanner.c | 257 s->errcode = PHP_JSON_ERROR_CTRL_CHAR; in php_json_scan() 264 s->errcode = PHP_JSON_ERROR_CTRL_CHAR; in php_json_scan() 287 s->errcode = PHP_JSON_ERROR_SYNTAX; in php_json_scan() 391 s->errcode = PHP_JSON_ERROR_UTF8; in php_json_scan() 577 s->errcode = PHP_JSON_ERROR_CTRL_CHAR; in php_json_scan() 635 s->errcode = PHP_JSON_ERROR_SYNTAX; in php_json_scan() 645 s->errcode = PHP_JSON_ERROR_UTF8; in php_json_scan() 655 s->errcode = PHP_JSON_ERROR_UTF8; in php_json_scan() 942 s->errcode = PHP_JSON_ERROR_UTF16; in php_json_scan() 1049 s->errcode = PHP_JSON_ERROR_SYNTAX; in php_json_scan() [all …]
|
H A D | json_parser.tab.c | 104 parser->scanner.errcode = PHP_JSON_ERROR_DEPTH; \ 1489 parser->scanner.errcode = PHP_JSON_ERROR_STATE_MISMATCH; in yyparse() 1576 parser->scanner.errcode = PHP_JSON_ERROR_STATE_MISMATCH; in yyparse() 1885 parser->scanner.errcode = PHP_JSON_ERROR_INVALID_PROPERTY_NAME; in php_json_parser_object_update() 1912 if (!parser->scanner.errcode) { in php_json_yyerror() 1913 parser->scanner.errcode = PHP_JSON_ERROR_SYNTAX; in php_json_yyerror() 1919 return parser->scanner.errcode; in php_json_parser_error_code()
|
/PHP-7.2/ext/pdo_mysql/ |
H A D | mysql_driver.c | 65 einfo->errcode = mysql_stmt_errno(S->stmt); in _pdo_mysql_error() 67 einfo->errcode = mysql_errno(H->server); in _pdo_mysql_error() 78 if (einfo->errcode) { in _pdo_mysql_error() 79 if (einfo->errcode == 2014) { in _pdo_mysql_error() 86 } else if (einfo->errcode == 2057) { in _pdo_mysql_error() 109 *pdo_err, einfo->errcode, einfo->errmsg); in _pdo_mysql_error() 112 PDO_DBG_RETURN(einfo->errcode); in _pdo_mysql_error() 131 if (einfo->errcode) { in pdo_mysql_fetch_error_func() 132 add_next_index_long(info, einfo->errcode); in pdo_mysql_fetch_error_func() 268 PDO_DBG_RETURN(H->einfo.errcode ? -1 : 0); in mysql_handle_doer() [all …]
|
H A D | php_pdo_mysql_int.h | 99 unsigned int errcode; member
|
/PHP-7.2/ext/pdo_pgsql/ |
H A D | php_pdo_pgsql_int.h | 35 unsigned int errcode; member 82 extern int _pdo_pgsql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, int errcode, const char *sqlstate, co…
|
H A D | pgsql_driver.c | 77 int _pdo_pgsql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, int errcode, const char *sqlstate, const cha… in _pdo_pgsql_error() argument 84 einfo->errcode = errcode; in _pdo_pgsql_error() 108 zend_throw_exception_ex(php_pdo_get_exception(), einfo->errcode, "SQLSTATE[%s] [%d] %s", in _pdo_pgsql_error() 109 *pdo_err, einfo->errcode, einfo->errmsg); in _pdo_pgsql_error() 112 return errcode; in _pdo_pgsql_error() 127 if (einfo->errcode) { in pdo_pgsql_fetch_error_func() 128 add_next_index_long(info, einfo->errcode); in pdo_pgsql_fetch_error_func() 1198 H->einfo.errcode = 0; in pdo_pgsql_handle_factory()
|
/PHP-7.2/ext/pdo_sqlite/ |
H A D | sqlite_driver.c | 40 einfo->errcode = sqlite3_errcode(H->db); in _pdo_sqlite_error() 44 if (einfo->errcode != SQLITE_OK) { in _pdo_sqlite_error() 53 switch (einfo->errcode) { in _pdo_sqlite_error() 81 zend_throw_exception_ex(php_pdo_get_exception(), einfo->errcode, "SQLSTATE[%s] [%d] %s", in _pdo_sqlite_error() 82 *pdo_err, einfo->errcode, einfo->errmsg); in _pdo_sqlite_error() 85 return einfo->errcode; in _pdo_sqlite_error() 94 if (einfo->errcode) { in pdo_sqlite_fetch_error_func() 95 add_next_index_long(info, einfo->errcode); in pdo_sqlite_fetch_error_func() 195 H->einfo.errcode = SQLITE_ERROR; in sqlite_handle_preparer() 799 H->einfo.errcode = 0; in pdo_sqlite_handle_factory()
|
H A D | php_pdo_sqlite_int.h | 29 unsigned int errcode; member
|
/PHP-7.2/ext/pdo_oci/ |
H A D | oci_driver.c | 51 if (einfo->errcode) { in pdo_oci_fetch_error_func() 52 add_next_index_long(info, einfo->errcode); in pdo_oci_fetch_error_func() 83 einfo->errcode = 0; in _oci_error() 98 OCIErrorGet(err, (ub4)1, NULL, &einfo->errcode, errbuf, (ub4)sizeof(errbuf), OCI_HTYPE_ERROR); in _oci_error() 103 OCIErrorGet(err, (ub4)1, NULL, &einfo->errcode, errbuf, (ub4)sizeof(errbuf), OCI_HTYPE_ERROR); in _oci_error() 129 if (einfo->errcode) { in _oci_error() 130 switch (einfo->errcode) { in _oci_error() 185 …zend_throw_exception_ex(php_pdo_get_exception(), einfo->errcode, "SQLSTATE[%s]: %s", *pdo_err, ein… in _oci_error() 188 return einfo->errcode; in _oci_error()
|
H A D | php_pdo_oci_int.h | 26 sb4 errcode; member
|
/PHP-7.2/ext/pcre/pcrelib/ |
H A D | pcreposix.c | 211 regerror(int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size) in regerror() argument 216 message = (errcode >= (int)(sizeof(pstring)/sizeof(char *)))? in regerror() 217 "unknown error code" : pstring[errcode]; in regerror()
|
/PHP-7.2/ext/sqlite3/ |
H A D | sqlite3.c | 190 int errcode; in PHP_METHOD() local 200 errcode = sqlite3_close(db_obj->db); in PHP_METHOD() 201 if (errcode != SQLITE_OK) { in PHP_METHOD() 202 …php_sqlite3_error(db_obj, "Unable to close database: %d, %s", errcode, sqlite3_errmsg(db_obj->db)); in PHP_METHOD() 474 int errcode; in PHP_METHOD() local 494 errcode = sqlite3_prepare_v2(db_obj->db, ZSTR_VAL(sql), ZSTR_LEN(sql), &(stmt_obj->stmt), NULL); in PHP_METHOD() 495 if (errcode != SQLITE_OK) { in PHP_METHOD() 496 …php_sqlite3_error(db_obj, "Unable to prepare statement: %d, %s", errcode, sqlite3_errmsg(db_obj->d… in PHP_METHOD() 1695 int errcode; in PHP_METHOD() local 1718 errcode = sqlite3_prepare_v2(db_obj->db, ZSTR_VAL(sql), ZSTR_LEN(sql), &(stmt_obj->stmt), NULL); in PHP_METHOD() [all …]
|
/PHP-7.2/ext/mysqlnd/ |
H A D | mysqlnd_vio.c | 165 int errcode = 0; in MYSQLND_METHOD() local 187 NULL /*ctx*/, &errstr, &errcode); in MYSQLND_METHOD() 193 errcode = CR_CONNECTION_ERROR; in MYSQLND_METHOD()
|