Home
last modified time | relevance | path

Searched refs:error_code (Results 1 – 25 of 43) sorted by relevance

12

/PHP-5.3/ext/dom/
H A Ddomexception.c43 void php_dom_throw_error_with_message(int error_code, char *error_message, int strict_error TSRMLS_… in php_dom_throw_error_with_message() argument
46 zend_throw_exception(dom_domexception_class_entry, error_message, error_code TSRMLS_CC); in php_dom_throw_error_with_message()
54 void php_dom_throw_error(int error_code, int strict_error TSRMLS_DC) in php_dom_throw_error() argument
58 switch (error_code) in php_dom_throw_error()
112 php_dom_throw_error_with_message(error_code, error_message, strict_error TSRMLS_CC); in php_dom_throw_error()
H A Dphp_dom.h105 void php_dom_throw_error(int error_code, int strict_error TSRMLS_DC);
106 void php_dom_throw_error_with_message(int error_code, char *error_message, int strict_error TSRMLS_…
/PHP-5.3/ext/pdo/
H A Dphp_pdo_int.h61 strncpy(dbh->error_code, PDO_ERR_NONE, sizeof(PDO_ERR_NONE)); \
67 #define PDO_STMT_CLEAR_ERR() strcpy(stmt->error_code, PDO_ERR_NONE)
68 #define PDO_HANDLE_DBH_ERR() if (strcmp(dbh->error_code, PDO_ERR_NONE)) { pdo_handle_error(dbh, NUL…
69 #define PDO_HANDLE_STMT_ERR() if (strcmp(stmt->error_code, PDO_ERR_NONE)) { pdo_handle_error(stmt->…
H A Dpdo_dbh.c43 pdo_error_type *pdo_err = &dbh->error_code; in pdo_raise_impl_error()
57 pdo_err = &stmt->error_code; in pdo_raise_impl_error()
106 pdo_error_type *pdo_err = &dbh->error_code; in pdo_handle_error()
118 pdo_err = &stmt->error_code; in pdo_handle_error()
1014 RETURN_STRING(dbh->query_stmt->error_code, 1); in PHP_METHOD()
1017 if (dbh->error_code[0] == '\0') { in PHP_METHOD()
1025 RETURN_STRING(dbh->error_code, 1); in PHP_METHOD()
1048 add_next_index_string(return_value, dbh->query_stmt->error_code, 1); in PHP_METHOD()
1050 add_next_index_string(return_value, dbh->error_code, 1); in PHP_METHOD()
H A Dpdo_sql_parser.c568 strncpy(stmt->error_code, stmt->dbh->error_code, 6); in pdo_parse_params()
609 strncpy(stmt->error_code, stmt->dbh->error_code, 6); in pdo_parse_params()
H A Dphp_pdo_driver.h483 pdo_error_type error_code; member
602 pdo_error_type error_code; member
/PHP-5.3/ext/pdo_firebird/
H A Dfirebird_driver.c48 pdo_error_type *const error_code = stmt ? &stmt->error_code : &dbh->error_code; in _firebird_error() local
54 *error_code = PDO_ERR_NONE; in _firebird_error()
57 *error_code = PDO_ERR_CANT_MAP; in _firebird_error()
60 *error_code = PDO_ERR_SYNTAX; in _firebird_error()
64 *error_code = PDO_ERR_CONSTRAINT; in _firebird_error()
70 *error_code = PDO_ERR_NOT_FOUND; in _firebird_error()
80 *error_code = PDO_ERR_MISMATCH; in _firebird_error()
85 *error_code = PDO_ERR_TRUNCATED; in _firebird_error()
88 *error_code = PDO_ERR_DISCONNECTED; in _firebird_error()
92 strcpy(*error_code, "HY000"); in _firebird_error()
[all …]
H A Dfirebird_statement.c164 strcpy(stmt->error_code, "HY000"); in firebird_stmt_fetch()
464 strcpy(stmt->error_code, "HY093"); in firebird_stmt_param_hook()
490 strcpy(stmt->error_code, "HY093"); in firebird_stmt_param_hook()
524 strcpy(stmt->error_code, "HY000"); in firebird_stmt_param_hook()
574 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook()
581 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook()
/PHP-5.3/ext/json/
H A Djson.c92 json_globals->error_code = 0; in PHP_GINIT_FUNCTION()
322 JSON_G(error_code) = PHP_JSON_ERROR_UTF8; in json_escape_string()
503 JSON_G(error_code) = PHP_JSON_ERROR_UTF8; in php_json_decode()
528 jp->error_code = PHP_JSON_ERROR_NONE; in php_json_decode()
546 jp->error_code = PHP_JSON_ERROR_NONE; in php_json_decode()
553 JSON_G(error_code) = jp->error_code; in php_json_decode()
570 JSON_G(error_code) = PHP_JSON_ERROR_NONE; in PHP_FUNCTION()
593 JSON_G(error_code) = 0; in PHP_FUNCTION()
611 RETURN_LONG(JSON_G(error_code)); in PHP_FUNCTION()
H A DJSON_parser.h15 int error_code; member
H A Dphp_json.h41 int error_code;
H A DJSON_parser.c206 jp->error_code = PHP_JSON_ERROR_DEPTH; in push()
222 jp->error_code = PHP_JSON_ERROR_STATE_MISMATCH; in pop()
248 jp->error_code = PHP_JSON_ERROR_NONE; in new_JSON_parser()
445 jp->error_code = PHP_JSON_ERROR_CTRL_CHAR; in parse_JSON()
659 jp->error_code = PHP_JSON_ERROR_SYNTAX; in parse_JSON()
699 jp->error_code = PHP_JSON_ERROR_SYNTAX; in parse_JSON()
717 jp->error_code = PHP_JSON_ERROR_SYNTAX; in parse_JSON()
730 jp->error_code = PHP_JSON_ERROR_SYNTAX; in parse_JSON()
/PHP-5.3/main/
H A Dnetwork.c306 int *error_code) argument
320 if (error_code) {
321 *error_code = error;
375 if (error_code) {
376 *error_code = error;
483 if (error_code) {
484 *error_code = err;
711 int *error_code
740 if (error_code) {
741 *error_code = error;
[all …]
H A Dphp_network.h225 int *error_code, char *bindto, unsigned short bindport
234 int *error_code);
240 int socktype, char **error_string, int *error_code
249 int *error_code
/PHP-5.3/main/streams/
H A Dphp_stream_transport.h54 int *error_code
72 int *error_code
162 int error_code; member
H A Dtransports.c57 int *error_code in _php_stream_xport_create()
145 timeout, &error_text, error_code TSRMLS_CC)) { in _php_stream_xport_create()
229 int *error_code in php_stream_xport_connect()
249 if (error_code) { in php_stream_xport_connect()
250 *error_code = param.outputs.error_code; in php_stream_xport_connect()
/PHP-5.3/ext/pdo_oci/
H A Doci_driver.c67 pdo_error_type *pdo_err = &dbh->error_code; in _oci_error()
72 pdo_err = &stmt->error_code; in _oci_error()
185 strcpy(dbh->error_code, stmt->error_code); in _oci_error()
276 strcpy(dbh->error_code, stmt->error_code); in oci_handle_preparer()
537 sb4 error_code = 0; in pdo_oci_check_liveness() local
562 OCIErrorGet (H->err, (ub4)1, NULL, &error_code, NULL, 0, OCI_HTYPE_ERROR); in pdo_oci_check_liveness()
564 if (error_code == 1010) { in pdo_oci_check_liveness()
/PHP-5.3/ext/pdo_odbc/
H A Dodbc_driver.c68 pdo_error_type *pdo_err = &dbh->error_code; in pdo_odbc_error()
74 pdo_err = &stmt->error_code; in pdo_odbc_error()
168 strcpy(dbh->error_code, stmt->error_code); in odbc_handle_preparer()
213 strcpy(dbh->error_code, stmt->error_code); in odbc_handle_preparer()
/PHP-5.3/ext/pcre/
H A Dphp_pcre.h73 int error_code; variable
/PHP-5.3/Zend/tests/
H A Dbug38047.phpt14 function kalus_error_handler($error_code, $error_string, $filename, $line, $symbols) {
/PHP-5.3/ext/pdo_dblib/
H A Ddblib_driver.c100 S->err.sqlstate = stmt->error_code; in dblib_handle_preparer()
201 H->err.sqlstate = dbh->error_code; in pdo_dblib_handle_factory()
/PHP-5.3/ext/intl/tests/
H A Dnormalizer_normalize.phpt73 $error_code = intl_get_error_code();
79 . "\terror info: '$error_message' ($error_code)\n"
83 $error_code = intl_get_error_code();
87 . "\terror info: '$error_message' ($error_code)\n"
/PHP-5.3/ext/pdo_mysql/
H A Dmysql_statement.c450 strcpy(stmt->error_code, "HYC00"); in pdo_mysql_stmt_next_rowset()
485 strcpy(stmt->error_code, "HY093"); in pdo_mysql_stmt_param_hook()
503 strcpy(stmt->error_code, "HY093"); in pdo_mysql_stmt_param_hook()
652 strcpy(stmt->error_code, "HY000");
769 strcpy(stmt->error_code, "01004"); /* truncated */
H A Dmysql_driver.c68 pdo_err = &stmt->error_code; in _pdo_mysql_error()
71 pdo_err = &dbh->error_code; in _pdo_mysql_error()
223 strcpy(dbh->error_code, stmt->error_code); in mysql_handle_preparer()
/PHP-5.3/ext/soap/
H A Dphp_soap.h161 char* error_code; variable

Completed in 77 milliseconds

12