/PHP-5.6/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 | 80 PHP_OCI_HANDLE_ERROR(connection, OCI_G(errcode)); in php_oci_lob_create() 136 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_get_length() 145 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_get_length() 156 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_get_length() 228 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_calculate_buffer() 297 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_read() 307 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_read() 371 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_read() 443 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_write() 489 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_set_buffering() [all …]
|
H A D | oci8_statement.c | 51 connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ in php_oci_statement_create() 87 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_statement_create() 157 statement2->errcode = 0; in php_oci_get_implicit_resultset() 198 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_set_prefetch() 203 statement->errcode = 0; /* retain backwards compat with OCI8 1.4 */ in php_oci_statement_set_prefetch() 254 statement->errcode = 0; /* retain backwards compat with OCI8 1.4 */ in php_oci_statement_fetch() 370 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_fetch() 1034 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_bind_post_exec() 1045 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_bind_post_exec() 1822 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_bind_array_helper_date() [all …]
|
H A D | oci8.c | 1305 OCI_G(errcode) = 0; in PHP_RINIT_FUNCTION() 1691 return errcode; in php_oci_error() 2239 OCI_G(errcode) = error_code; in php_oci_connection_ping() 3045 if (OCI_G(errcode) != OCI_SUCCESS) { in php_oci_create_env() 3083 if (OCI_G(errcode) != OCI_SUCCESS) { in php_oci_old_create_session() 3092 if (OCI_G(errcode) != OCI_SUCCESS) { in php_oci_old_create_session() 3102 if (OCI_G(errcode) != OCI_SUCCESS) { in php_oci_old_create_session() 3111 if (OCI_G(errcode) != OCI_SUCCESS) { in php_oci_old_create_session() 3471 return OCI_G(errcode); in php_oci_ping_init() 3478 return OCI_G(errcode); in php_oci_ping_init() [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 | php_oci8_int.h | 144 sb4 errcode; /* last ORA- error number */ member 219 sb4 errcode; /* last ORA- error number */ member 315 #define PHP_OCI_HANDLE_ERROR(connection, errcode) \ argument 318 switch (errcode) { \ 355 php_oci_dtrace_check_connection(connection, errcode, serverStatus); \ 419 void php_oci_dtrace_check_connection(php_oci_connection *connection, sb4 errcode, ub4 serverStatus); 496 sb4 errcode; /* global last ORA- error number. Used when connect fails, for example */
|
H A D | oci8_interface.c | 1609 sb4 errcode = 0; local 1622 errcode = statement->errcode; 1633 errcode = connection->errcode; 1640 errcode = connection->errcode; 1645 errcode = OCI_G(errcode); 1649 if (errcode == 0) { /* no error set in the handle */ 1658 errcode = php_oci_fetch_errmsg(errh, &errbuf TSRMLS_CC); 1660 if (errcode) { 1662 add_assoc_long(return_value, "code", errcode); 1938 if (OCI_G(errcode) != OCI_SUCCESS) { [all …]
|
/PHP-5.6/ext/ereg/regex/ |
H A D | regerror.c | 66 int errcode, in regerror() argument 73 register int target = errcode &~ REG_ITOA; in regerror() 77 if (errcode == REG_ATOI) in regerror() 84 if (errcode®_ITOA) { in regerror()
|
/PHP-5.6/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-5.6/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() 270 PDO_DBG_RETURN(H->einfo.errcode ? -1 : 0); in mysql_handle_doer() [all …]
|
H A D | php_pdo_mysql_int.h | 95 unsigned int errcode; member
|
/PHP-5.6/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 | 79 int _pdo_pgsql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, int errcode, const char *sqlstate, const cha… in _pdo_pgsql_error() argument 86 einfo->errcode = errcode; in _pdo_pgsql_error() 110 zend_throw_exception_ex(php_pdo_get_exception(), einfo->errcode TSRMLS_CC, "SQLSTATE[%s] [%d] %s", in _pdo_pgsql_error() 111 *pdo_err, einfo->errcode, einfo->errmsg); in _pdo_pgsql_error() 114 return errcode; in _pdo_pgsql_error() 129 if (einfo->errcode) { in pdo_pgsql_fetch_error_func() 130 add_next_index_long(info, einfo->errcode); in pdo_pgsql_fetch_error_func() 1215 H->einfo.errcode = 0; in pdo_pgsql_handle_factory()
|
/PHP-5.6/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 TSRMLS_CC, "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() 191 H->einfo.errcode = SQLITE_ERROR; in sqlite_handle_preparer() 819 H->einfo.errcode = 0; in pdo_sqlite_handle_factory()
|
H A D | php_pdo_sqlite_int.h | 29 unsigned int errcode; member
|
/PHP-5.6/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() 191 …zend_throw_exception_ex(php_pdo_get_exception(), einfo->errcode TSRMLS_CC, "SQLSTATE[%s]: %s", *pd… in _oci_error() 194 return einfo->errcode; in _oci_error()
|
H A D | php_pdo_oci_int.h | 26 sb4 errcode; member
|
/PHP-5.6/ext/ereg/ |
H A D | regex.patch | 15 if (errcode == REG_ATOI) 23 if (errcode®_ITOA) {
|
/PHP-5.6/ext/pcre/pcrelib/ |
H A D | pcreposix.c | 210 regerror(int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size) in regerror() argument 215 message = (errcode >= (int)(sizeof(pstring)/sizeof(char *)))? in regerror() 216 "unknown error code" : pstring[errcode]; in regerror()
|
/PHP-5.6/ext/sqlite3/ |
H A D | sqlite3.c | 192 int errcode; local 202 errcode = sqlite3_close(db_obj->db); 203 if (errcode != SQLITE_OK) { 204 …php_sqlite3_error(db_obj, "Unable to close database: %d, %s", errcode, sqlite3_errmsg(db_obj->db)); 470 int sql_len, errcode; local 492 errcode = sqlite3_prepare_v2(db_obj->db, sql, sql_len, &(stmt_obj->stmt), NULL); 493 if (errcode != SQLITE_OK) { 494 …php_sqlite3_error(db_obj, "Unable to prepare statement: %d, %s", errcode, sqlite3_errmsg(db_obj->d… 1670 int sql_len, errcode; local 1697 errcode = sqlite3_prepare_v2(db_obj->db, sql, sql_len, &(stmt_obj->stmt), NULL); [all …]
|
/PHP-5.6/ext/sqlite3/libsqlite/ |
H A D | sqlite3ext.h | 97 int (*errcode)(sqlite3*db); member 339 #define sqlite3_errcode sqlite3_api->errcode
|
/PHP-5.6/ext/ldap/ |
H A D | ldap.c | 2332 zval *link, *result, *errcode, *matcheddn, *errmsg, *referrals; in PHP_FUNCTION() local 2339 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rrz|zzz", &link, &result, &errcode, &matched… in PHP_FUNCTION() 2357 zval_dtor(errcode); in PHP_FUNCTION() 2358 ZVAL_LONG(errcode, lerrcode); in PHP_FUNCTION() 3201 ZEND_ARG_INFO(1, errcode)
|
/PHP-5.6/ext/mysqlnd/ |
H A D | mysqlnd_net.c | 182 int errcode = 0; in MYSQLND_METHOD() local 203 NULL /*ctx*/, &errstr, &errcode); in MYSQLND_METHOD()
|
/PHP-5.6/ext/standard/ |
H A D | basic_functions.c | 1944 ZEND_ARG_INFO(1, errcode) 1953 ZEND_ARG_INFO(1, errcode)
|
/PHP-5.6/ext/imap/ |
H A D | php_imap.c | 5096 PHP_IMAP_EXPORT long mm_diskerror(MAILSTREAM *stream, long errcode, long serious) in mm_diskerror() argument
|