Home
last modified time | relevance | path

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

12

/PHP-7.4/ext/oci8/
H A Doci8_collection.c236 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_create()
253 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_size()
285 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_trim()
306 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_null()
329 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_date()
345 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_date()
370 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_number()
386 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_number()
408 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_string()
424 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.c1166 OCI_G(errcode) = 0; in PHP_RINIT_FUNCTION()
1521 if (errcode) { in php_oci_error()
1532 if (errcode) { in php_oci_error()
1540 if (errcode) { in php_oci_error()
1566 return errcode; in php_oci_error()
2128 OCI_G(errcode) = error_code; in php_oci_connection_ping()
2983 if (OCI_G(errcode) != OCI_SUCCESS) { in php_oci_create_env()
3028 if (OCI_G(errcode) != OCI_SUCCESS) { in php_oci_old_create_session()
3423 return OCI_G(errcode); in php_oci_ping_init()
3430 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()
384 statement->errcode = php_oci_error(statement->err, errstatus); in php_oci_statement_fetch()
385 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_fetch()
1054 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_bind_post_exec()
1065 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_bind_post_exec()
1950 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 Doci8_interface.c1717 sb4 errcode = 0; in PHP_FUNCTION() local
1731 errcode = statement->errcode; in PHP_FUNCTION()
1742 errcode = connection->errcode; in PHP_FUNCTION()
1749 errcode = connection->errcode; in PHP_FUNCTION()
1754 errcode = OCI_G(errcode); in PHP_FUNCTION()
1769 if (errcode) { in PHP_FUNCTION()
1771 add_assoc_long(return_value, "code", errcode); in PHP_FUNCTION()
2055 if (OCI_G(errcode) != OCI_SUCCESS) { in PHP_FUNCTION()
2056 php_oci_error(OCI_G(err), OCI_G(errcode)); in PHP_FUNCTION()
2085 if (OCI_G(errcode) != OCI_SUCCESS) { in PHP_FUNCTION()
[all …]
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) { \
364 php_oci_dtrace_check_connection(connection, errcode, serverStatus); \
436 void php_oci_dtrace_check_connection(php_oci_connection *connection, sb4 errcode, ub4 serverStatus);
513 sb4 errcode; /* global last ORA- error number. Used when connect fails, for example */
H A Doci8_failover.c145 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_register_taf_callback()
/PHP-7.4/ext/ldap/tests/
H A Dldap_bind_ext.phpt21 ldap_parse_result($link, $result, $errcode, $matcheddn, $errmsg, $referrals, $ctrls),
22 $errcode,
26 ldap_parse_result($link, $result, $errcode, $matcheddn, $errmsg, $referrals, $ctrls),
27 $errcode,
35 ldap_parse_result($link, $result, $errcode, $matcheddn, $errmsg, $referrals, $ctrls),
36 $errcode,
40 ldap_parse_result($link, $result, $errcode, $matcheddn, $errmsg, $referrals, $ctrls),
41 $errcode,
H A Dldap_search_sort_controls.phpt34 ldap_parse_result($link, $result, $errcode , $matcheddn , $errmsg , $referrals, $controls),
35 $errcode,
64 ldap_parse_result($link, $result, $errcode , $matcheddn , $errmsg , $referrals, $controls),
69 $controls[LDAP_CONTROL_VLVRESPONSE]['value']['errcode'],
145 ["errcode"]=>
199 ["errcode"]=>
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
H A Dldap_mod_ext.phpt32 ldap_parse_result($link, $result, $errcode, $matcheddn, $errmsg, $referrals, $ctrls),
33 $errcode,
46 ldap_parse_result($link, $result, $errcode, $matcheddn, $errmsg, $referrals, $ctrls),
47 $errcode,
H A Dldap_delete_ext.phpt30 ldap_parse_result($link, $result, $errcode, $matcheddn, $errmsg, $referrals, $ctrls),
31 $errcode,
H A Dldap_add_ext.phpt25 ldap_parse_result($link, $result, $errcode, $matcheddn, $errmsg, $referrals, $ctrls),
26 $errcode,
H A Dldap_rename_ext.phpt27 ldap_parse_result($link, $result, $errcode, $matcheddn, $errmsg, $referrals, $ctrls),
28 $errcode,
H A Dldap_parse_result_controls.phpt24 ldap_parse_result($link, $result, $errcode, $dn, $errmsg, $refs, $ctrls),
/PHP-7.4/ext/json/
H A Djson_parser.y38 parser->scanner.errcode = PHP_JSON_ERROR_DEPTH; \
117 parser->scanner.errcode = PHP_JSON_ERROR_STATE_MISMATCH;
181 parser->scanner.errcode = PHP_JSON_ERROR_STATE_MISMATCH;
260 parser->scanner.errcode = PHP_JSON_ERROR_INVALID_PROPERTY_NAME; in php_json_parser_object_update()
284 if (!parser->scanner.errcode) { in php_json_yyerror()
285 parser->scanner.errcode = PHP_JSON_ERROR_SYNTAX; in php_json_yyerror()
291 return parser->scanner.errcode; in php_json_parser_error_code()
H A Djson_scanner.re205 s->errcode = PHP_JSON_ERROR_CTRL_CHAR;
217 s->errcode = PHP_JSON_ERROR_CTRL_CHAR;
221 s->errcode = PHP_JSON_ERROR_SYNTAX;
225 s->errcode = PHP_JSON_ERROR_UTF8;
230 s->errcode = PHP_JSON_ERROR_CTRL_CHAR;
250 s->errcode = PHP_JSON_ERROR_UTF16;
258 s->errcode = PHP_JSON_ERROR_SYNTAX;
287 s->errcode = PHP_JSON_ERROR_UTF8;
297 s->errcode = PHP_JSON_ERROR_UTF8;
362 s->errcode = PHP_JSON_ERROR_SYNTAX;
[all …]
H A Dphp_json_scanner.h39 php_json_error_code errcode; /* error type if there is an error */ member
/PHP-7.4/ext/pdo_pgsql/
H A Dphp_pdo_pgsql_int.h33 unsigned int errcode; member
80 extern int _pdo_pgsql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, int errcode, const char *sqlstate, co…
/PHP-7.4/ext/pdo_mysql/
H A Dmysql_driver.c63 einfo->errcode = mysql_stmt_errno(S->stmt); in _pdo_mysql_error()
65 einfo->errcode = mysql_errno(H->server); in _pdo_mysql_error()
76 if (einfo->errcode) { in _pdo_mysql_error()
77 if (einfo->errcode == 2014) { in _pdo_mysql_error()
84 } else if (einfo->errcode == 2057) { in _pdo_mysql_error()
110 pdo_throw_exception(einfo->errcode, einfo->errmsg, pdo_err); in _pdo_mysql_error()
113 PDO_DBG_RETURN(einfo->errcode); in _pdo_mysql_error()
132 if (einfo->errcode) { in pdo_mysql_fetch_error_func()
133 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 …]
/PHP-7.4/ext/pdo_sqlite/
H A Dsqlite_driver.c38 einfo->errcode = sqlite3_errcode(H->db); in _pdo_sqlite_error()
42 if (einfo->errcode != SQLITE_OK) { in _pdo_sqlite_error()
51 switch (einfo->errcode) { in _pdo_sqlite_error()
79 pdo_throw_exception(einfo->errcode, einfo->errmsg, pdo_err); in _pdo_sqlite_error()
82 return einfo->errcode; in _pdo_sqlite_error()
91 if (einfo->errcode) { in pdo_sqlite_fetch_error_func()
92 add_next_index_long(info, einfo->errcode); in pdo_sqlite_fetch_error_func()
192 H->einfo.errcode = SQLITE_ERROR; in sqlite_handle_preparer()
805 H->einfo.errcode = 0; in pdo_sqlite_handle_factory()
H A Dphp_pdo_sqlite_int.h27 unsigned int errcode; member
/PHP-7.4/ext/pdo_oci/
H A Doci_driver.c49 if (einfo->errcode) { in pdo_oci_fetch_error_func()
50 add_next_index_long(info, einfo->errcode); in pdo_oci_fetch_error_func()
81 einfo->errcode = 0; in _oci_error()
96 OCIErrorGet(err, (ub4)1, NULL, &einfo->errcode, errbuf, (ub4)sizeof(errbuf), OCI_HTYPE_ERROR); in _oci_error()
101 OCIErrorGet(err, (ub4)1, NULL, &einfo->errcode, errbuf, (ub4)sizeof(errbuf), OCI_HTYPE_ERROR); in _oci_error()
127 if (einfo->errcode) { in _oci_error()
128 switch (einfo->errcode) { in _oci_error()
183 …zend_throw_exception_ex(php_pdo_get_exception(), einfo->errcode, "SQLSTATE[%s]: %s", *pdo_err, ein… in _oci_error()
186 return einfo->errcode; in _oci_error()
H A Dphp_pdo_oci_int.h24 sb4 errcode; member

Completed in 114 milliseconds

12