| /PHP_TRUNK/ext/ereg/regex/ |
| H A D | regerror.c | 66 int errcode, 73 register int target = errcode &~ REG_ITOA; 77 if (errcode == REG_ATOI) 84 if (errcode®_ITOA) {
|
| /PHP_TRUNK/ext/sqlite3/libsqlite/ |
| H A D | sqlite3.c | 25454 int errcode, /* SQLite error code */ 25496 assert( errcode!=SQLITE_OK ); 25498 sqlite3_log(errcode, 25503 return errcode; 25453 unixLogErrorAtLine( int errcode, const char *zFunc, const char *zPath, int iLine ) argument 31804 winLogErrorAtLine( int errcode, const char *zFunc, const char *zPath, int iLine ) argument [all...] |
| H A D | sqlite3ext.h | 87 int (*errcode)(sqlite3*db); member in struct:sqlite3_api_routines 284 #define sqlite3_errcode sqlite3_api->errcode
|
| /PHP_TRUNK/ext/imap/ |
| H A D | php_imap.c | 5073 PHP_IMAP_EXPORT long mm_diskerror(MAILSTREAM *stream, long errcode, long serious) argument
|
| /PHP_TRUNK/ext/ldap/ |
| H A D | ldap.c | 1824 /* {{{ proto bool ldap_parse_result(resource link, resource result, int errcode, string matcheddn, string errmsg, array referrals) 1828 zval *link, *result, *errcode, *matcheddn, *errmsg, *referrals; local 1835 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rrz|zzz", &link, &result, &errcode, &matcheddn, &errmsg, &referrals) != SUCCESS) { 1853 zval_dtor(errcode); 1854 ZVAL_LONG(errcode, lerrcode); 2613 ZEND_ARG_INFO(1, errcode)
|
| /PHP_TRUNK/ext/oci8/ |
| H A D | oci8.c | 1299 OCI_G(errcode) = 0; 1617 sb4 errcode = 0; local 1623 errcode = php_oci_fetch_errmsg(err_p, &errbuf TSRMLS_CC); 1635 errcode = php_oci_fetch_errmsg(err_p, &errbuf TSRMLS_CC); 1644 errcode = php_oci_fetch_errmsg(err_p, &errbuf TSRMLS_CC); 1665 return errcode; 1708 statement->errcode = php_oci_error(statement->err, errstatus TSRMLS_CC); 1709 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); 1716 statement->errcode = php_oci_error(statement->err, errstatus TSRMLS_CC); 1717 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); [all...] |
| H A D | oci8_collection.c | 61 PHP_OCI_CALL_RETURN(connection->errcode, OCITypeByName, 78 if (connection->errcode != OCI_SUCCESS) { 83 PHP_OCI_CALL_RETURN(connection->errcode, OCIHandleAlloc, (connection->env, (dvoid **) &dschp1, (ub4) OCI_HTYPE_DESCRIBE, (size_t) 0, (dvoid **) 0)); 85 if (connection->errcode != OCI_SUCCESS) { 90 PHP_OCI_CALL_RETURN(connection->errcode, OCIDescribeAny, 103 if (connection->errcode != OCI_SUCCESS) { 108 PHP_OCI_CALL_RETURN(connection->errcode, OCIAttrGet, ((dvoid *) dschp1, (ub4) OCI_HTYPE_DESCRIBE, (dvoid *)&parmp1, (ub4 *)0, (ub4)OCI_ATTR_PARAM, connection->err)); 110 if (connection->errcode != OCI_SUCCESS) { 115 PHP_OCI_CALL_RETURN(connection->errcode, OCIAttrGet, 126 if (connection->errcode ! [all...] |
| H A D | oci8_interface.c | 1626 sb4 errcode = 0; local 1641 error = statement->errcode; 1652 error = connection->errcode; 1659 error = connection->errcode; 1664 error = OCI_G(errcode); 1677 errcode = php_oci_fetch_errmsg(errh, &errbuf TSRMLS_CC); 1679 if (errcode) { 1681 add_assoc_long(return_value, "code", errcode); 1769 PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIAttrSet, ((dvoid *) connection->session, (ub4) OCI_HTYPE_SESSION, (dvoid *) client_id, (ub4) client_id_len, (ub4) OCI_ATTR_CLIENT_IDENTIFIER, OCI_G(err))); 1771 if (OCI_G(errcode) ! [all...] |
| H A D | oci8_lob.c | 75 PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIDescriptorAlloc, (connection->env, (dvoid*)&(descriptor->descriptor), descriptor->type, (size_t) 0, (dvoid **) 0)); 77 if (OCI_G(errcode) != OCI_SUCCESS) { 78 OCI_G(errcode) = php_oci_error(OCI_G(err), OCI_G(errcode) TSRMLS_CC); 79 PHP_OCI_HANDLE_ERROR(connection, OCI_G(errcode)); 127 PHP_OCI_CALL_RETURN(connection->errcode, OCILobFileOpen, (connection->svc, connection->err, descriptor->descriptor, OCI_FILE_READONLY)); 128 if (connection->errcode != OCI_SUCCESS) { 129 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); 130 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); [all...] |
| H A D | oci8_statement.c | 60 PHP_OCI_CALL_RETURN(connection->errcode, OCIStmtPrepare2, 73 if (connection->errcode != OCI_SUCCESS) { 74 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); 76 PHP_OCI_CALL(OCIStmtRelease, (statement->stmt, statement->err, NULL, 0, statement->errcode ? OCI_STRLS_CACHE_DELETE : OCI_DEFAULT)); 80 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); 123 PHP_OCI_CALL_RETURN(statement->errcode, OCIAttrSet, (statement->stmt, OCI_HTYPE_STMT, &prefetch, 0, OCI_ATTR_PREFETCH_ROWS, statement->err)); 125 if (statement->errcode != OCI_SUCCESS) { 126 statement->errcode = php_oci_error(statement->err, statement->errcode TSRMLS_C [all...] |
| H A D | php_oci8_int.h | 130 sword errcode; /* last errcode */ member in struct:__anon2 191 sword errcode; /* last errcode*/ member in struct:__anon7 285 #define PHP_OCI_HANDLE_ERROR(connection, errcode) \ 287 switch (errcode) { \ 474 sword errcode; /* global last error code (used when connect fails, for example) */ variable
|
| /PHP_TRUNK/ext/pdo_mysql/ |
| H A D | mysql_driver.c | 65 einfo->errcode = mysql_stmt_errno(S->stmt); 67 einfo->errcode = mysql_errno(H->server); 78 if (einfo->errcode) { 79 if (einfo->errcode == 2014) { 86 } else if (einfo->errcode == 2057) { 108 zend_throw_exception_ex(php_pdo_get_exception(), einfo->errcode TSRMLS_CC, "SQLSTATE[%s] [%d] %s", 109 *pdo_err, einfo->errcode, einfo->errmsg); 112 PDO_DBG_RETURN(einfo->errcode); 131 if (einfo->errcode) { 132 add_next_index_long(info, einfo->errcode); [all...] |
| H A D | php_pdo_mysql_int.h | 95 unsigned int errcode; member in struct:__anon153
|
| /PHP_TRUNK/ext/pdo_oci/ |
| H A D | php_pdo_oci_int.h | 26 sb4 errcode; member in struct:__anon158
|
| H A D | oci_driver.c | 51 if (einfo->errcode) { 52 add_next_index_long(info, einfo->errcode); 83 einfo->errcode = 0; 98 OCIErrorGet(err, (ub4)1, NULL, &einfo->errcode, errbuf, (ub4)sizeof(errbuf), OCI_HTYPE_ERROR); 103 OCIErrorGet(err, (ub4)1, NULL, &einfo->errcode, errbuf, (ub4)sizeof(errbuf), OCI_HTYPE_ERROR); 129 if (einfo->errcode) { 130 switch (einfo->errcode) { 191 zend_throw_exception_ex(php_pdo_get_exception(), einfo->errcode TSRMLS_CC, "SQLSTATE[%s]: %s", *pdo_err, einfo->errmsg); 194 return einfo->errcode;
|
| /PHP_TRUNK/ext/pdo_pgsql/ |
| H A D | pgsql_driver.c | 63 int _pdo_pgsql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, int errcode, const char *sqlstate, const char *file, int line TSRMLS_DC) /* {{{ */ argument 70 einfo->errcode = errcode; 91 zend_throw_exception_ex(php_pdo_get_exception(), einfo->errcode TSRMLS_CC, "SQLSTATE[%s] [%d] %s", 92 *pdo_err, einfo->errcode, einfo->errmsg); 95 return errcode; 110 if (einfo->errcode) { 111 add_next_index_long(info, einfo->errcode); 1047 H->einfo.errcode = 0;
|
| H A D | php_pdo_pgsql_int.h | 35 unsigned int errcode; member in struct:__anon169 86 extern int _pdo_pgsql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, int errcode, const char *sqlstate, const char *file, int line TSRMLS_DC);
|
| /PHP_TRUNK/ext/pdo_sqlite/ |
| H A D | php_pdo_sqlite_int.h | 29 unsigned int errcode; member in struct:__anon175
|
| H A D | sqlite_driver.c | 40 einfo->errcode = sqlite3_errcode(H->db); 44 if (einfo->errcode != SQLITE_OK) { 53 switch (einfo->errcode) { 81 zend_throw_exception_ex(php_pdo_get_exception(), einfo->errcode TSRMLS_CC, "SQLSTATE[%s] [%d] %s", 82 *pdo_err, einfo->errcode, einfo->errmsg); 85 return einfo->errcode; 94 if (einfo->errcode) { 95 add_next_index_long(info, einfo->errcode); 191 H->einfo.errcode = SQLITE_ERROR; 819 H->einfo.errcode [all...] |
| /PHP_TRUNK/ext/mysqlnd/ |
| H A D | mysqlnd_net.c | 160 int errcode = 0; local 181 NULL /*ctx*/, &errstr, &errcode); 187 errcode = CR_CONNECTION_ERROR; 188 SET_CLIENT_ERROR(*error_info, errcode? errcode:CR_CONNECTION_ERROR, UNKNOWN_SQLSTATE, errstr);
|
| /PHP_TRUNK/ext/sqlite3/ |
| H A D | sqlite3.c | 186 int errcode; local 195 errcode = sqlite3_close(db_obj->db); 196 if (errcode != SQLITE_OK) { 197 php_sqlite3_error(db_obj, "Unable to close database: %d, %s", errcode, sqlite3_errmsg(db_obj->db)); 454 int sql_len, errcode; local 476 errcode = sqlite3_prepare_v2(db_obj->db, sql, sql_len, &(stmt_obj->stmt), NULL); 477 if (errcode != SQLITE_OK) { 478 php_sqlite3_error(db_obj, "Unable to prepare statement: %d, %s", errcode, sqlite3_errmsg(db_obj->db)); 1600 int sql_len, errcode; local 1627 errcode [all...] |
| /PHP_TRUNK/ext/pcre/pcrelib/ |
| H A D | pcreposix.c | 199 regerror(int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size) argument 204 message = (errcode >= (int)(sizeof(pstring)/sizeof(char *)))? 205 "unknown error code" : pstring[errcode];
|
| /PHP_TRUNK/ext/standard/ |
| H A D | basic_functions.c | 1969 ZEND_ARG_INFO(1, errcode) 1978 ZEND_ARG_INFO(1, errcode)
|