Home
last modified time | relevance | path

Searched refs:errcode (Results 1 – 25 of 28) sorted by relevance

12

/PHP-5.3/ext/oci8/
H A Doci8_collection.c233 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_collection_create()
248 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_collection_size()
276 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_collection_trim()
294 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_collection_append_null()
314 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_collection_append_date()
330 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_collection_append_date()
358 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_collection_append_number()
374 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_collection_append_number()
393 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_collection_append_string()
409 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_collection_append_string()
[all …]
H A Doci8_lob.c78 OCI_G(errcode) = php_oci_error(OCI_G(err), OCI_G(errcode) TSRMLS_CC); in php_oci_lob_create()
129 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_lob_get_length()
138 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_lob_get_length()
149 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_lob_get_length()
220 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_lob_calculate_buffer()
292 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_lob_read()
302 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_lob_read()
395 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_lob_read()
467 if (connection->errcode) { in php_oci_lob_write()
886 if (connection->errcode) {
[all …]
H A Doci8_statement.c74 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_statement_create()
126 statement->errcode = php_oci_error(statement->err, statement->errcode TSRMLS_CC); in php_oci_statement_set_prefetch()
295 statement->errcode = php_oci_error(statement->err, statement->errcode TSRMLS_CC); in php_oci_statement_fetch()
436 statement->errcode = php_oci_error(statement->err, statement->errcode TSRMLS_CC); in php_oci_statement_execute()
464 statement->errcode = php_oci_error(statement->err, statement->errcode TSRMLS_CC); in php_oci_statement_execute()
493 statement->errcode = php_oci_error(statement->err, statement->errcode TSRMLS_CC); in php_oci_statement_execute()
513 statement->errcode = php_oci_error(statement->err, statement->errcode TSRMLS_CC); in php_oci_statement_execute()
523 statement->errcode = php_oci_error(statement->err, statement->errcode TSRMLS_CC); in php_oci_statement_execute()
533 statement->errcode = php_oci_error(statement->err, statement->errcode TSRMLS_CC); in php_oci_statement_execute()
543 statement->errcode = php_oci_error(statement->err, statement->errcode TSRMLS_CC); in php_oci_statement_execute()
[all …]
H A Doci8.c1299 OCI_G(errcode) = 0; in PHP_RINIT_FUNCTION()
1617 sb4 errcode = 0; in php_oci_error() local
1665 return errcode; in php_oci_error()
2195 if (OCI_G(errcode) == OCI_SUCCESS) { in php_oci_connection_ping()
2245 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_connection_rollback()
2262 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_connection_commit()
2433 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_password_change()
2476 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_server_get_version()
3327 return OCI_G(errcode); in php_oci_ping_init()
3334 return OCI_G(errcode); in php_oci_ping_init()
[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);
1679 if (errcode) {
1681 add_assoc_long(return_value, "code", errcode);
1771 if (OCI_G(errcode) != OCI_SUCCESS) {
1829 if (OCI_G(errcode) != OCI_SUCCESS) {
1860 if (OCI_G(errcode) != OCI_SUCCESS) {
[all …]
H A Dphp_oci8_int.h130 sword errcode; /* last errcode */ member
191 sword errcode; /* last errcode*/ member
285 #define PHP_OCI_HANDLE_ERROR(connection, errcode) \ argument
287 switch (errcode) { \
474 sword errcode; /* global last error code (used when connect fails, for example) */
/PHP-5.3/ext/sqlite/
H A Dpdo_sqlite2.c38 unsigned int errcode; member
96 if (S->einfo.errcode != SQLITE_OK) { in pdo_sqlite2_stmt_execute()
103 switch (S->einfo.errcode) { in pdo_sqlite2_stmt_execute()
152 switch (S->einfo.errcode) { in pdo_sqlite2_stmt_fetch()
252 if (einfo->errcode != SQLITE_OK) { in _pdo_sqlite2_error()
263 switch (einfo->errcode) { in _pdo_sqlite2_error()
295 return einfo->errcode; in _pdo_sqlite2_error()
310 if (einfo->errcode) { in pdo_sqlite2_fetch_error_func()
351 H->einfo.errcode = SQLITE_ERROR; in sqlite2_handle_preparer()
580 H->einfo.errcode = 0; in pdo_sqlite2_handle_factory()
[all …]
/PHP-5.3/ext/ereg/regex/
H A Dregerror.c66 int errcode, in regerror() argument
73 register int target = errcode &~ REG_ITOA; in regerror()
77 if (errcode == REG_ATOI) in regerror()
84 if (errcode&REG_ITOA) { in regerror()
/PHP-5.3/ext/ldap/tests/
H A Dldap_parse_result_basic.phpt21 $errcode = $dn = $errmsg = $refs = null;
23 ldap_parse_result($link, $result, $errcode, $dn, $errmsg, $refs),
24 $errcode, $dn, $errmsg, $refs
/PHP-5.3/ext/pdo_mysql/
H A Dmysql_driver.c77 einfo->errcode = mysql_stmt_errno(S->stmt); in _pdo_mysql_error()
82 einfo->errcode = mysql_errno(H->server); in _pdo_mysql_error()
93 if (einfo->errcode) { in _pdo_mysql_error()
94 if (einfo->errcode == 2014) { in _pdo_mysql_error()
101 } else if (einfo->errcode == 2057) { in _pdo_mysql_error()
131 *pdo_err, einfo->errcode, einfo->errmsg); in _pdo_mysql_error()
134 PDO_DBG_RETURN(einfo->errcode); in _pdo_mysql_error()
153 if (einfo->errcode) { in pdo_mysql_fetch_error_func()
154 add_next_index_long(info, einfo->errcode); in pdo_mysql_fetch_error_func()
296 PDO_DBG_RETURN(H->einfo.errcode ? -1 : 0); in mysql_handle_doer()
[all …]
H A Dphp_pdo_mysql_int.h95 unsigned int errcode; member
/PHP-5.3/ext/pdo_pgsql/
H A Dphp_pdo_pgsql_int.h35 unsigned int errcode; member
86 extern int _pdo_pgsql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, int errcode, const char *sqlstate, co…
H A Dpgsql_driver.c63 int _pdo_pgsql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, int errcode, const char *sqlstate, const cha… in _pdo_pgsql_error() argument
70 einfo->errcode = errcode; in _pdo_pgsql_error()
91 zend_throw_exception_ex(php_pdo_get_exception(), einfo->errcode TSRMLS_CC, "SQLSTATE[%s] [%d] %s", in _pdo_pgsql_error()
92 *pdo_err, einfo->errcode, einfo->errmsg); in _pdo_pgsql_error()
95 return errcode; in _pdo_pgsql_error()
110 if (einfo->errcode) { in pdo_pgsql_fetch_error_func()
111 add_next_index_long(info, einfo->errcode); in pdo_pgsql_fetch_error_func()
1037 H->einfo.errcode = 0; in pdo_pgsql_handle_factory()
/PHP-5.3/ext/pdo_sqlite/
H A Dsqlite_driver.c40 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()
824 H->einfo.errcode = 0; in pdo_sqlite_handle_factory()
H A Dphp_pdo_sqlite_int.h29 unsigned int errcode; member
/PHP-5.3/ext/pdo_oci/
H A Doci_driver.c51 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 Dphp_pdo_oci_int.h26 sb4 errcode; member
/PHP-5.3/ext/pcre/pcrelib/
H A Dpcreposix.c199 regerror(int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size) in regerror() argument
204 message = (errcode >= (int)(sizeof(pstring)/sizeof(char *)))? in regerror()
205 "unknown error code" : pstring[errcode]; in regerror()
/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->d…
1588 int sql_len, errcode; local
1615 errcode = sqlite3_prepare_v2(db_obj->db, sql, sql_len, &(stmt_obj->stmt), NULL);
[all …]
/PHP-5.3/ext/sqlite3/libsqlite/
H A Dsqlite3ext.h87 int (*errcode)(sqlite3*db); member
284 #define sqlite3_errcode sqlite3_api->errcode
/PHP-5.3/ext/mysqlnd/
H A Dmysqlnd_net.c103 …ar * const scheme, size_t scheme_len, zend_bool persistent, char **errstr, int * errcode TSRMLS_DC) in MYSQLND_METHOD()
142 NULL /*ctx*/, errstr, errcode); in MYSQLND_METHOD()
148 *errcode = CR_CONNECTION_ERROR; in MYSQLND_METHOD()
H A Dmysqlnd.c558 int errcode = 0, host_len; in MYSQLND_METHOD() local
655 …onnect(conn->net, conn->scheme, conn->scheme_len, conn->persistent, &errstr, &errcode TSRMLS_CC)) { in MYSQLND_METHOD()
843 DBG_ERR_FMT("[%u] %.128s (trying to connect via %s)", errcode, errstr, conn->scheme); in MYSQLND_METHOD()
844 …SET_CLIENT_ERROR(conn->error_info, errcode? errcode:CR_CONNECTION_ERROR, UNKNOWN_SQLSTATE, errstr); in MYSQLND_METHOD()
845 …php_error_docref(NULL TSRMLS_CC, E_WARNING, "[%u] %.128s (trying to connect via %s)", errcode, err… in MYSQLND_METHOD()
H A Dmysqlnd_structs.h254 …r * const scheme, size_t scheme_len, zend_bool persistent, char **errstr, int * errcode TSRMLS_DC);
/PHP-5.3/ext/ldap/
H A Dldap.c1828 zval *link, *result, *errcode, *matcheddn, *errmsg, *referrals; in PHP_FUNCTION() local
1835 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rrz|zzz", &link, &result, &errcode, &matched… in PHP_FUNCTION()
1853 zval_dtor(errcode); in PHP_FUNCTION()
1854 ZVAL_LONG(errcode, lerrcode); in PHP_FUNCTION()
2411 ZEND_ARG_INFO(1, errcode)
/PHP-5.3/ext/standard/
H A Dbasic_functions.c1953 ZEND_ARG_INFO(1, errcode)
1962 ZEND_ARG_INFO(1, errcode)

Completed in 180 milliseconds

12