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

/PHP_5_4/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_5_4/ext/sqlite3/libsqlite/
H A Dsqlite3ext.h87 int (*errcode)(sqlite3*db); member in struct:sqlite3_api_routines
284 #define sqlite3_errcode sqlite3_api->errcode
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...]
/PHP_5_4/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];
/PHP_5_4/ext/pdo_mysql/
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...]
H A Dphp_pdo_mysql_int.h95 unsigned int errcode; member in struct:__anon161
/PHP_5_4/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:__anon166
/PHP_5_4/ext/pdo_pgsql/
H A Dphp_pdo_pgsql_int.h35 unsigned int errcode; member in struct:__anon177
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);
1048 H->einfo.errcode = 0;
/PHP_5_4/ext/pdo_sqlite/
H A Dphp_pdo_sqlite_int.h29 unsigned int errcode; member in struct:__anon183
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_5_4/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_5_4/ext/imap/
H A Dphp_imap.c5072 PHP_IMAP_EXPORT long mm_diskerror(MAILSTREAM *stream, long errcode, long serious) argument
/PHP_5_4/ext/mysqlnd/
H A Dmysqlnd_net.c156 int errcode = 0; local
174 NULL /*ctx*/, &errstr, &errcode);
180 errcode = CR_CONNECTION_ERROR;
181 SET_CLIENT_ERROR(*error_info, errcode? errcode:CR_CONNECTION_ERROR, UNKNOWN_SQLSTATE, errstr);
/PHP_5_4/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_collection.c61 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 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 Doci8_lob.c75 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 Doci8_statement.c60 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 Dphp_oci8_int.h130 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_5_4/ext/standard/
H A Dbasic_functions.c1954 ZEND_ARG_INFO(1, errcode)
1963 ZEND_ARG_INFO(1, errcode)
/PHP_5_4/ext/ldap/
H A Dldap.c2211 /* {{{ proto bool ldap_parse_result(resource link, resource result, int errcode, string matcheddn, string errmsg, array referrals)
2215 zval *link, *result, *errcode, *matcheddn, *errmsg, *referrals; local
2222 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rrz|zzz", &link, &result, &errcode, &matcheddn, &errmsg, &referrals) != SUCCESS) {
2240 zval_dtor(errcode);
2241 ZVAL_LONG(errcode, lerrcode);
3007 ZEND_ARG_INFO(1, errcode)

Completed in 179 milliseconds