Home
last modified time | relevance | path

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

12

/PHP-7.0/ext/oci8/
H A Doci8_collection.c232 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_create()
249 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_size()
281 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_trim()
302 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_null()
325 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_date()
341 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_date()
366 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_number()
382 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_number()
404 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_string()
420 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_string()
[all …]
H A Doci8_lob.c75 OCI_G(errcode) = php_oci_error(OCI_G(err), errstatus); in php_oci_lob_create()
76 PHP_OCI_HANDLE_ERROR(connection, OCI_G(errcode)); in php_oci_lob_create()
132 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_get_length()
141 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_get_length()
152 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_get_length()
223 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_calculate_buffer()
292 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_read()
366 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_read()
438 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_write()
484 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_lob_set_buffering()
[all …]
H A Doci8.c1165 OCI_G(errcode) = 0; in PHP_RINIT_FUNCTION()
1520 if (errcode) { in php_oci_error()
1531 if (errcode) { in php_oci_error()
1539 if (errcode) { in php_oci_error()
1565 return errcode; in php_oci_error()
2116 OCI_G(errcode) = error_code; in php_oci_connection_ping()
2958 if (OCI_G(errcode) != OCI_SUCCESS) { in php_oci_create_env()
3003 if (OCI_G(errcode) != OCI_SUCCESS) { in php_oci_old_create_session()
3398 return OCI_G(errcode); in php_oci_ping_init()
3405 return OCI_G(errcode); in php_oci_ping_init()
[all …]
H A Doci8_statement.c87 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_statement_create()
91 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_statement_create()
162 statement2->errcode = 0; in php_oci_get_implicit_resultset()
202 statement->errcode = php_oci_error(statement->err, errstatus); in php_oci_statement_set_prefetch()
203 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_set_prefetch()
376 statement->errcode = php_oci_error(statement->err, errstatus); in php_oci_statement_fetch()
377 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_fetch()
1046 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_bind_post_exec()
1057 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_bind_post_exec()
1912 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_bind_array_helper_date()
[all …]
H A Doci8_dtrace.d20 …probe oci8__check__connection(void *connection, char *client_id, int is_open, long errcode, unsign…
24 probe oci8__error(int status, long errcode);
H A Dphp_oci8_int.h149 sb4 errcode; /* last ORA- error number */ member
226 sb4 errcode; /* last ORA- error number */ member
322 #define PHP_OCI_HANDLE_ERROR(connection, errcode) \ argument
325 switch (errcode) { \
362 php_oci_dtrace_check_connection(connection, errcode, serverStatus); \
434 void php_oci_dtrace_check_connection(php_oci_connection *connection, sb4 errcode, ub4 serverStatus);
511 sb4 errcode; /* global last ORA- error number. Used when connect fails, for example */
H A Doci8_interface.c1662 sb4 errcode = 0; in PHP_FUNCTION() local
1675 errcode = statement->errcode; in PHP_FUNCTION()
1686 errcode = connection->errcode; in PHP_FUNCTION()
1693 errcode = connection->errcode; in PHP_FUNCTION()
1698 errcode = OCI_G(errcode); in PHP_FUNCTION()
1702 if (errcode == 0) { /* no error set in the handle */ in PHP_FUNCTION()
1711 errcode = php_oci_fetch_errmsg(errh, errbuf, sizeof(errbuf)); in PHP_FUNCTION()
1713 if (errcode) { in PHP_FUNCTION()
1715 add_assoc_long(return_value, "code", errcode); in PHP_FUNCTION()
1992 if (OCI_G(errcode) != OCI_SUCCESS) { in PHP_FUNCTION()
[all …]
H A Doci8_failover.c145 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_register_taf_callback()
/PHP-7.0/ext/json/
H A Djson_parser.y83 parser->scanner.errcode = PHP_JSON_ERROR_DEPTH; \
116 parser->scanner.errcode = PHP_JSON_ERROR_STATE_MISMATCH;
172 parser->scanner.errcode = PHP_JSON_ERROR_STATE_MISMATCH;
241 return parser->scanner.errcode; in php_json_parser_error_code()
264 parser->scanner.errcode = PHP_JSON_ERROR_INVALID_PROPERTY_NAME; in php_json_parser_object_update()
301 if (!parser->scanner.errcode) { in php_json_yyerror()
302 parser->scanner.errcode = PHP_JSON_ERROR_SYNTAX; in php_json_yyerror()
H A Djson_scanner.re193 s->errcode = PHP_JSON_ERROR_CTRL_CHAR;
204 s->errcode = PHP_JSON_ERROR_CTRL_CHAR;
208 s->errcode = PHP_JSON_ERROR_SYNTAX;
212 s->errcode = PHP_JSON_ERROR_UTF8;
217 s->errcode = PHP_JSON_ERROR_CTRL_CHAR;
237 s->errcode = PHP_JSON_ERROR_UTF16;
245 s->errcode = PHP_JSON_ERROR_SYNTAX;
272 s->errcode = PHP_JSON_ERROR_UTF8;
338 s->errcode = PHP_JSON_ERROR_SYNTAX;
353 s->errcode = PHP_JSON_ERROR_SYNTAX;
H A Dphp_json_scanner.h39 php_json_error_code errcode; /* error type if there is an error */ member
H A Djson_scanner.c241 s->errcode = PHP_JSON_ERROR_CTRL_CHAR; in php_json_scan()
248 s->errcode = PHP_JSON_ERROR_CTRL_CHAR; in php_json_scan()
271 s->errcode = PHP_JSON_ERROR_SYNTAX; in php_json_scan()
374 s->errcode = PHP_JSON_ERROR_UTF8; in php_json_scan()
560 s->errcode = PHP_JSON_ERROR_CTRL_CHAR; in php_json_scan()
619 s->errcode = PHP_JSON_ERROR_SYNTAX; in php_json_scan()
626 s->errcode = PHP_JSON_ERROR_UTF8; in php_json_scan()
913 s->errcode = PHP_JSON_ERROR_UTF16; in php_json_scan()
1000 s->errcode = PHP_JSON_ERROR_SYNTAX; in php_json_scan()
H A Djson_parser.tab.c214 parser->scanner.errcode = PHP_JSON_ERROR_DEPTH; \
1484 parser->scanner.errcode = PHP_JSON_ERROR_STATE_MISMATCH; in yyparse()
1561 parser->scanner.errcode = PHP_JSON_ERROR_STATE_MISMATCH; in yyparse()
1853 return parser->scanner.errcode; in php_json_parser_error_code()
1876 parser->scanner.errcode = PHP_JSON_ERROR_INVALID_PROPERTY_NAME; in php_json_parser_object_update()
1913 if (!parser->scanner.errcode) { in php_json_yyerror()
1914 parser->scanner.errcode = PHP_JSON_ERROR_SYNTAX; in php_json_yyerror()
/PHP-7.0/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-7.0/ext/pdo_mysql/
H A Dmysql_driver.c65 einfo->errcode = mysql_stmt_errno(S->stmt); in _pdo_mysql_error()
67 einfo->errcode = mysql_errno(H->server); in _pdo_mysql_error()
78 if (einfo->errcode) { in _pdo_mysql_error()
79 if (einfo->errcode == 2014) { in _pdo_mysql_error()
86 } else if (einfo->errcode == 2057) { in _pdo_mysql_error()
109 *pdo_err, einfo->errcode, einfo->errmsg); in _pdo_mysql_error()
112 PDO_DBG_RETURN(einfo->errcode); in _pdo_mysql_error()
131 if (einfo->errcode) { in pdo_mysql_fetch_error_func()
132 add_next_index_long(info, einfo->errcode); in pdo_mysql_fetch_error_func()
268 PDO_DBG_RETURN(H->einfo.errcode ? -1 : 0); in mysql_handle_doer()
[all …]
H A Dphp_pdo_mysql_int.h99 unsigned int errcode; member
/PHP-7.0/ext/pdo_pgsql/
H A Dphp_pdo_pgsql_int.h35 unsigned int errcode; member
82 extern int _pdo_pgsql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, int errcode, const char *sqlstate, co…
H A Dpgsql_driver.c79 int _pdo_pgsql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, int errcode, const char *sqlstate, const cha… in _pdo_pgsql_error() argument
86 einfo->errcode = errcode; in _pdo_pgsql_error()
110 zend_throw_exception_ex(php_pdo_get_exception(), einfo->errcode, "SQLSTATE[%s] [%d] %s", in _pdo_pgsql_error()
111 *pdo_err, einfo->errcode, einfo->errmsg); in _pdo_pgsql_error()
114 return errcode; in _pdo_pgsql_error()
129 if (einfo->errcode) { in pdo_pgsql_fetch_error_func()
130 add_next_index_long(info, einfo->errcode); in pdo_pgsql_fetch_error_func()
1214 H->einfo.errcode = 0; in pdo_pgsql_handle_factory()
/PHP-7.0/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, "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()
793 H->einfo.errcode = 0; in pdo_sqlite_handle_factory()
H A Dphp_pdo_sqlite_int.h29 unsigned int errcode; member
/PHP-7.0/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, "SQLSTATE[%s]: %s", *pdo_err, ein… in _oci_error()
194 return einfo->errcode; in _oci_error()
H A Dphp_pdo_oci_int.h26 sb4 errcode; member
/PHP-7.0/ext/pcre/pcrelib/
H A Dpcreposix.c208 regerror(int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size) in regerror() argument
213 message = (errcode >= (int)(sizeof(pstring)/sizeof(char *)))? in regerror()
214 "unknown error code" : pstring[errcode]; in regerror()
/PHP-7.0/ext/sqlite3/
H A Dsqlite3.c193 int errcode; local
203 errcode = sqlite3_close(db_obj->db);
204 if (errcode != SQLITE_OK) {
205 …php_sqlite3_error(db_obj, "Unable to close database: %d, %s", errcode, sqlite3_errmsg(db_obj->db));
471 int errcode; local
491 errcode = sqlite3_prepare_v2(db_obj->db, ZSTR_VAL(sql), ZSTR_LEN(sql), &(stmt_obj->stmt), NULL);
492 if (errcode != SQLITE_OK) {
493 …php_sqlite3_error(db_obj, "Unable to prepare statement: %d, %s", errcode, sqlite3_errmsg(db_obj->d…
1664 int errcode; local
1687 errcode = sqlite3_prepare_v2(db_obj->db, ZSTR_VAL(sql), ZSTR_LEN(sql), &(stmt_obj->stmt), NULL);
[all …]
/PHP-7.0/ext/sqlite3/libsqlite/
H A Dsqlite3ext.h95 int (*errcode)(sqlite3*db); member
364 #define sqlite3_errcode sqlite3_api->errcode

Completed in 111 milliseconds

12