Home
last modified time | relevance | path

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

12

/PHP-5.6/ext/intl/spoofchecker/
H A Dspoofchecker_main.c32 zval *error_code = NULL; in PHP_METHOD() local
35 …AILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|z", &text, &text_len, &error_code)) { in PHP_METHOD()
48 if (error_code) { in PHP_METHOD()
49 zval_dtor(error_code); in PHP_METHOD()
50 ZVAL_LONG(error_code, ret); in PHP_METHOD()
64 zval *error_code = NULL; in PHP_METHOD() local
68 &s2, &s2_len, &error_code)) { in PHP_METHOD()
81 if (error_code) { in PHP_METHOD()
82 zval_dtor(error_code); in PHP_METHOD()
83 ZVAL_LONG(error_code, ret); in PHP_METHOD()
/PHP-5.6/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.6/ext/pdo/
H A Dphp_pdo_error.h29 strlcpy(dbh->error_code, PDO_ERR_NONE, sizeof(PDO_ERR_NONE)); \
35 #define PDO_STMT_CLEAR_ERR() strcpy(stmt->error_code, PDO_ERR_NONE)
36 #define PDO_HANDLE_DBH_ERR() if (strcmp(dbh->error_code, PDO_ERR_NONE)) { pdo_handle_error(dbh, …
37 #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()
1017 RETURN_STRING(dbh->query_stmt->error_code, 1); in PHP_METHOD()
1020 if (dbh->error_code[0] == '\0') { in PHP_METHOD()
1028 RETURN_STRING(dbh->error_code, 1); in PHP_METHOD()
1051 add_next_index_string(return_value, dbh->query_stmt->error_code, 1); in PHP_METHOD()
1052 if(!strncmp(dbh->query_stmt->error_code, PDO_ERR_NONE, sizeof(PDO_ERR_NONE))) goto fill_array; in PHP_METHOD()
1054 add_next_index_string(return_value, dbh->error_code, 1); in PHP_METHOD()
[all …]
H A Dpdo_sql_parser.c529 strncpy(stmt->error_code, stmt->dbh->error_code, 6); in pdo_parse_params()
572 strncpy(stmt->error_code, stmt->dbh->error_code, 6); in pdo_parse_params()
H A Dphp_pdo_driver.h491 pdo_error_type error_code; member
607 pdo_error_type error_code; member
/PHP-5.6/ext/json/
H A Djson.c138 json_globals->error_code = 0; in PHP_GINIT_FUNCTION()
354 JSON_G(error_code) = PHP_JSON_ERROR_DEPTH; in json_encode_array()
456 JSON_G(error_code) = PHP_JSON_ERROR_UTF8; in json_escape_string()
699 JSON_G(error_code) = PHP_JSON_ERROR_UTF8; in php_json_decode_ex()
744 jp->error_code = PHP_JSON_ERROR_NONE; in php_json_decode_ex()
787 jp->error_code = PHP_JSON_ERROR_NONE; in php_json_decode_ex()
794 JSON_G(error_code) = jp->error_code; in php_json_decode_ex()
813 JSON_G(error_code) = PHP_JSON_ERROR_NONE; in PHP_FUNCTION()
843 JSON_G(error_code) = 0; in PHP_FUNCTION()
868 RETURN_LONG(JSON_G(error_code)); in PHP_FUNCTION()
[all …]
H A DJSON_parser.h16 int error_code; member
H A Dphp_json.h42 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()
462 jp->error_code = PHP_JSON_ERROR_CTRL_CHAR; in parse_JSON_ex()
676 jp->error_code = PHP_JSON_ERROR_SYNTAX; in parse_JSON_ex()
716 jp->error_code = PHP_JSON_ERROR_SYNTAX; in parse_JSON_ex()
734 jp->error_code = PHP_JSON_ERROR_SYNTAX; in parse_JSON_ex()
747 jp->error_code = PHP_JSON_ERROR_SYNTAX; in parse_JSON_ex()
/PHP-5.6/ext/pdo_firebird/
H A Dfirebird_driver.c46 pdo_error_type *const error_code = stmt ? &stmt->error_code : &dbh->error_code; in _firebird_error() local
52 *error_code = PDO_ERR_NONE; in _firebird_error()
55 *error_code = PDO_ERR_CANT_MAP; in _firebird_error()
58 *error_code = PDO_ERR_SYNTAX; in _firebird_error()
62 *error_code = PDO_ERR_CONSTRAINT; in _firebird_error()
68 *error_code = PDO_ERR_NOT_FOUND; in _firebird_error()
78 *error_code = PDO_ERR_MISMATCH; in _firebird_error()
83 *error_code = PDO_ERR_TRUNCATED; in _firebird_error()
86 *error_code = PDO_ERR_DISCONNECTED; in _firebird_error()
90 strcpy(*error_code, "HY000"); in _firebird_error()
[all …]
H A Dfirebird_statement.c162 strcpy(stmt->error_code, "HY000"); in firebird_stmt_fetch()
462 strcpy(stmt->error_code, "HY093"); in firebird_stmt_param_hook()
488 strcpy(stmt->error_code, "HY093"); in firebird_stmt_param_hook()
522 strcpy(stmt->error_code, "HY000"); in firebird_stmt_param_hook()
572 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook()
579 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook()
/PHP-5.6/main/
H A Dnetwork.c314 int *error_code) argument
328 if (error_code) {
329 *error_code = error;
383 if (error_code) {
384 *error_code = error;
491 if (error_code) {
492 *error_code = err;
719 int *error_code
748 if (error_code) {
749 *error_code = error;
[all …]
H A Dphp_network.h232 int *error_code, char *bindto, unsigned short bindport
241 int *error_code);
247 int socktype, char **error_string, int *error_code
256 int *error_code
/PHP-5.6/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.6/ext/openssl/tests/
H A Dopenssl_error_string_basic.phpt12 $error_code = substr($error_string, 6, 8);
13 if (isset($expected_errors[$error_code])) {
14 $expected_errors[$error_code] = true;
20 foreach ($expected_errors as $error_code => $error_code_found) {
23 echo "$name: no error code $error_code\n";
/PHP-5.6/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()
278 strcpy(dbh->error_code, stmt->error_code); in oci_handle_preparer()
539 sb4 error_code = 0; in pdo_oci_check_liveness() local
566 OCIErrorGet (H->err, (ub4)1, NULL, &error_code, NULL, 0, OCI_HTYPE_ERROR); in pdo_oci_check_liveness()
568 if (error_code == 1010) { in pdo_oci_check_liveness()
/PHP-5.6/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.6/ext/pcre/
H A Dphp_pcre.h73 int error_code; variable
/PHP-5.6/Zend/tests/
H A Dbug38047.phpt14 function kalus_error_handler($error_code, $error_string, $filename, $line, $symbols) {
/PHP-5.6/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.6/ext/pdo_mysql/
H A Dmysql_driver.c57 pdo_err = &stmt->error_code; in _pdo_mysql_error()
60 pdo_err = &dbh->error_code; in _pdo_mysql_error()
198 strcpy(dbh->error_code, stmt->error_code); in mysql_handle_preparer()
/PHP-5.6/ext/soap/
H A Dphp_soap.h168 char* error_code; variable

Completed in 104 milliseconds

12