Searched defs:errcode (Results 1 - 16 of 16) sorted by relevance

/PHP_5_3/ext/sqlite3/libsqlite/
H A Dsqlite3.c25454 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 Dsqlite3ext.h87 int (*errcode)(sqlite3*db); member in struct:sqlite3_api_routines
284 #define sqlite3_errcode sqlite3_api->errcode
/PHP_5_3/ext/imap/
H A Dphp_imap.c5081 PHP_IMAP_EXPORT long mm_diskerror(MAILSTREAM *stream, long errcode, long serious) argument
/PHP_5_3/ext/ldap/
H A Dldap.c1824 /* {{{ 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);
2411 ZEND_ARG_INFO(1, errcode)
/PHP_5_3/ext/oci8/
H A Doci8.c1299 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 Doci8_interface.c1626 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 Dphp_oci8_int.h130 sword errcode; /* last errcode */ member in struct:__anon109
191 sword errcode; /* last errcode*/ member in struct:__anon114
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_5_3/ext/pdo_mysql/
H A Dphp_pdo_mysql_int.h95 unsigned int errcode; member in struct:__anon135
/PHP_5_3/ext/pdo_oci/
H A Dphp_pdo_oci_int.h26 sb4 errcode; member in struct:__anon140
/PHP_5_3/ext/pdo_pgsql/
H A Dphp_pdo_pgsql_int.h35 unsigned int errcode; member in struct:__anon151
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);
H A Dpgsql_driver.c63 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);
1037 H->einfo.errcode = 0;
/PHP_5_3/ext/pdo_sqlite/
H A Dphp_pdo_sqlite_int.h29 unsigned int errcode; member in struct:__anon157
/PHP_5_3/ext/sqlite/
H A Dpdo_sqlite2.c38 unsigned int errcode; member in struct:__anon201
95 S->einfo.errcode = sqlite_compile(S->H->db, stmt->active_query_string, &tail, &S->vm, &errmsg);
96 if (S->einfo.errcode != SQLITE_OK) {
102 S->einfo.errcode = sqlite_step(S->vm, &S->ncols, &S->rowdata, &S->colnames);
103 switch (S->einfo.errcode) {
112 S->einfo.errcode = sqlite_reset(S->vm, &errmsg);
113 if (S->einfo.errcode != SQLITE_OK) {
151 S->einfo.errcode = sqlite_step(S->vm, &S->ncols, &S->rowdata, &S->colnames);
152 switch (S->einfo.errcode) {
158 S->einfo.errcode
[all...]
/PHP_5_3/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));
1588 int sql_len, errcode; local
1615 errcode
[all...]
/PHP_5_3/ext/mysqlnd/
H A Dmysqlnd.c558 int errcode = 0, host_len; local
655 if (FAIL == conn->net->m.connect(conn->net, conn->scheme, conn->scheme_len, conn->persistent, &errstr, &errcode TSRMLS_CC)) {
843 DBG_ERR_FMT("[%u] %.128s (trying to connect via %s)", errcode, errstr, conn->scheme);
844 SET_CLIENT_ERROR(conn->error_info, errcode? errcode:CR_CONNECTION_ERROR, UNKNOWN_SQLSTATE, errstr);
845 php_error_docref(NULL TSRMLS_CC, E_WARNING, "[%u] %.128s (trying to connect via %s)", errcode, errstr, conn->scheme);
/PHP_5_3/ext/pcre/pcrelib/
H A Dpcreposix.c199 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];

Completed in 220 milliseconds