Searched refs:errcode (Results 1 - 24 of 24) sorted by relevance

/PHP_TRUNK/ext/ereg/regex/
H A Dregerror.c66 int errcode,
73 register int target = errcode &~ REG_ITOA;
77 if (errcode == REG_ATOI)
84 if (errcode&REG_ITOA) {
/PHP_TRUNK/ext/oci8/
H A Doci8_dtrace.d20 probe oci8__check__connection(void *connection, char *client_id, int is_open, long errcode, unsigned long server_status);
24 probe oci8__error(int status, long errcode);
H A Doci8_collection.c226 connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */
235 connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC);
236 PHP_OCI_HANDLE_ERROR(connection, connection->errcode);
252 connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC);
253 PHP_OCI_HANDLE_ERROR(connection, connection->errcode);
256 connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */
285 PHP_OCI_HANDLE_ERROR(connection, connection->errcode);
288 connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */
306 PHP_OCI_HANDLE_ERROR(connection, connection->errcode);
309 connection->errcode
[all...]
H A Doci8_lob.c79 OCI_G(errcode) = php_oci_error(OCI_G(err), errstatus TSRMLS_CC);
80 PHP_OCI_HANDLE_ERROR(connection, OCI_G(errcode));
84 OCI_G(errcode) = 0; /* retain backwards compat with OCI8 1.4 */
135 connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC);
136 PHP_OCI_HANDLE_ERROR(connection, connection->errcode);
144 connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC);
145 PHP_OCI_HANDLE_ERROR(connection, connection->errcode);
155 connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC);
156 PHP_OCI_HANDLE_ERROR(connection, connection->errcode);
161 connection->errcode
[all...]
H A Doci8_statement.c51 connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */
83 connection->errcode = php_oci_error(connection->err, errstatus TSRMLS_CC);
87 PHP_OCI_HANDLE_ERROR(connection, connection->errcode);
157 statement2->errcode = 0;
197 statement->errcode = php_oci_error(statement->err, errstatus TSRMLS_CC);
198 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode);
203 statement->errcode = 0; /* retain backwards compat with OCI8 1.4 */
254 statement->errcode = 0; /* retain backwards compat with OCI8 1.4 */
369 statement->errcode = php_oci_error(statement->err, errstatus TSRMLS_CC);
370 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode);
[all...]
H A Dphp_oci8_int.h144 sb4 errcode; /* last ORA- error number */ member in struct:__anon2
219 sb4 errcode; /* last ORA- error number */ member in struct:__anon7
315 #define PHP_OCI_HANDLE_ERROR(connection, errcode) \
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 */ variable
H A Doci8.c1303 OCI_G(errcode) = 0;
1634 sb4 errcode = 0; /* Oracle error number */ local
1640 errcode = php_oci_fetch_errmsg(err_p, &errbuf TSRMLS_CC);
1652 errcode = php_oci_fetch_errmsg(err_p, &errbuf TSRMLS_CC);
1661 errcode = php_oci_fetch_errmsg(err_p, &errbuf TSRMLS_CC);
1685 DTRACE_OCI8_ERROR((int)errstatus, (long)errcode);
1689 return errcode;
1733 statement->errcode = php_oci_error(statement->err, errstatus TSRMLS_CC);
1734 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode);
1741 statement->errcode
3504 php_oci_dtrace_check_connection(php_oci_connection *connection, sb4 errcode, ub4 serverStatus) argument
[all...]
H A Doci8_interface.c1609 sb4 errcode = 0; local
1622 errcode = statement->errcode;
1633 errcode = connection->errcode;
1640 errcode = connection->errcode;
1645 errcode = OCI_G(errcode);
1649 if (errcode
[all...]
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c5072 PHP_IMAP_EXPORT long mm_diskerror(MAILSTREAM *stream, long errcode, long serious) argument
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_net.c160 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/pdo_mysql/
H A Dphp_pdo_mysql_int.h95 unsigned int errcode; member in struct:__anon164
H A Dmysql_driver.c65 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...]
/PHP_TRUNK/ext/pdo_oci/
H A Doci_driver.c51 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;
H A Dphp_pdo_oci_int.h26 sb4 errcode; member in struct:__anon169
/PHP_TRUNK/ext/pdo_sqlite/
H A Dphp_pdo_sqlite_int.h29 unsigned int errcode; member in struct:__anon186
H A Dsqlite_driver.c40 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/sqlite3/
H A Dsqlite3.c186 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 Dpcreposix.c207 regerror(int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size) argument
212 message = (errcode >= (int)(sizeof(pstring)/sizeof(char *)))?
213 "unknown error code" : pstring[errcode];
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3ext.h97 int (*errcode)(sqlite3*db); member in struct:sqlite3_api_routines
322 #define sqlite3_errcode sqlite3_api->errcode
H A Dsqlite3.c24781 int errcode, /* SQLite error code */
24824 sqlite3_log(errcode,
24829 return errcode;
24780 unixLogErrorAtLine( int errcode, const char *zFunc, const char *zPath, int iLine ) argument
33151 winLogErrorAtLine( int errcode, DWORD lastErrno, const char *zFunc, const char *zPath, int iLine ) argument
[all...]
/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_driver.c65 int _pdo_pgsql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, int errcode, const char *sqlstate, const char *msg, const char *file, int line TSRMLS_DC) /* {{{ */ argument
72 einfo->errcode = errcode;
96 zend_throw_exception_ex(php_pdo_get_exception(), einfo->errcode TSRMLS_CC, "SQLSTATE[%s] [%d] %s",
97 *pdo_err, einfo->errcode, einfo->errmsg);
100 return errcode;
115 if (einfo->errcode) {
116 add_next_index_long(info, einfo->errcode);
1160 H->einfo.errcode = 0;
H A Dphp_pdo_pgsql_int.h35 unsigned int errcode; member in struct:__anon1
82 extern int _pdo_pgsql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, int errcode, const char *sqlstate, const char *msg, const char *file, int line TSRMLS_DC);
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c1929 ZEND_ARG_INFO(1, errcode)
1938 ZEND_ARG_INFO(1, errcode)
/PHP_TRUNK/ext/ldap/
H A Dldap.c2198 /* {{{ proto bool ldap_parse_result(resource link, resource result, int errcode, string matcheddn, string errmsg, array referrals)
2202 zval *link, *result, *errcode, *matcheddn, *errmsg, *referrals; local
2209 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rrz|zzz", &link, &result, &errcode, &matcheddn, &errmsg, &referrals) != SUCCESS) {
2227 zval_dtor(errcode);
2228 ZVAL_LONG(errcode, lerrcode);
3071 ZEND_ARG_INFO(1, errcode)

Completed in 198 milliseconds