/PHP-7.0/ext/intl/spoofchecker/ |
H A D | spoofchecker_main.c | 32 zval *error_code = NULL; in PHP_METHOD() local 35 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "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() 83 if (error_code) { in PHP_METHOD() 84 zval_dtor(error_code); in PHP_METHOD() 85 ZVAL_LONG(error_code, ret); in PHP_METHOD()
|
/PHP-7.0/ext/dom/ |
H A D | domexception.c | 43 void php_dom_throw_error_with_message(int error_code, char *error_message, int strict_error) /* {{{… in php_dom_throw_error_with_message() argument 46 zend_throw_exception(dom_domexception_class_entry, error_message, error_code); in php_dom_throw_error_with_message() 54 void php_dom_throw_error(int error_code, int strict_error) 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); in php_dom_throw_error()
|
H A D | php_dom.h | 108 void php_dom_throw_error(int error_code, int strict_error); 109 void php_dom_throw_error_with_message(int error_code, char *error_message, int strict_error);
|
/PHP-7.0/ext/pdo/ |
H A D | php_pdo_error.h | 29 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 D | pdo_dbh.c | 43 pdo_error_type *pdo_err = &dbh->error_code; in pdo_raise_impl_error() 57 pdo_err = &stmt->error_code; in pdo_raise_impl_error() 103 pdo_error_type *pdo_err = &dbh->error_code; in pdo_handle_error() 115 pdo_err = &stmt->error_code; in pdo_handle_error() 985 RETURN_STRING(dbh->query_stmt->error_code); in PHP_METHOD() 988 if (dbh->error_code[0] == '\0') { in PHP_METHOD() 996 RETURN_STRING(dbh->error_code); in PHP_METHOD() 1019 add_next_index_string(return_value, dbh->query_stmt->error_code); in PHP_METHOD() 1020 if(!strncmp(dbh->query_stmt->error_code, PDO_ERR_NONE, sizeof(PDO_ERR_NONE))) goto fill_array; in PHP_METHOD() 1022 add_next_index_string(return_value, dbh->error_code); in PHP_METHOD() [all …]
|
H A D | pdo_sql_parser.c | 541 strncpy(stmt->error_code, stmt->dbh->error_code, 6); in pdo_parse_params() 585 strncpy(stmt->error_code, stmt->dbh->error_code, 6); in pdo_parse_params()
|
H A D | php_pdo_driver.h | 473 pdo_error_type error_code; member 605 pdo_error_type error_code; member
|
/PHP-7.0/ext/json/ |
H A D | json.c | 150 json_globals->error_code = 0; in PHP_GINIT_FUNCTION() 207 JSON_G(error_code) = php_json_parser_error_code(&parser); in php_json_decode_ex() 226 JSON_G(error_code) = PHP_JSON_ERROR_NONE; in PHP_FUNCTION() 232 if (JSON_G(error_code) != PHP_JSON_ERROR_NONE && !(options & PHP_JSON_PARTIAL_OUTPUT_ON_ERROR)) { in PHP_FUNCTION() 256 JSON_G(error_code) = PHP_JSON_ERROR_NONE; in PHP_FUNCTION() 259 JSON_G(error_code) = PHP_JSON_ERROR_SYNTAX; in PHP_FUNCTION() 292 RETURN_LONG(JSON_G(error_code)); in PHP_FUNCTION() 304 switch(JSON_G(error_code)) { in PHP_FUNCTION()
|
H A D | json_encoder.c | 132 JSON_G(error_code) = PHP_JSON_ERROR_RECURSION; in php_json_encode_array() 223 JSON_G(error_code) = PHP_JSON_ERROR_DEPTH; in php_json_encode_array() 309 JSON_G(error_code) = PHP_JSON_ERROR_UTF8; in php_json_escape_string() 331 JSON_G(error_code) = PHP_JSON_ERROR_UTF8; in php_json_escape_string() 460 JSON_G(error_code) = PHP_JSON_ERROR_RECURSION; in php_json_encode_serializable_object() 468 origin_error_code = JSON_G(error_code); in php_json_encode_serializable_object() 478 JSON_G(error_code) = origin_error_code; in php_json_encode_serializable_object() 525 JSON_G(error_code) = PHP_JSON_ERROR_INF_OR_NAN; in php_json_encode_zval() 549 JSON_G(error_code) = PHP_JSON_ERROR_UNSUPPORTED_TYPE; in php_json_encode_zval()
|
H A D | php_json.h | 85 php_json_error_code error_code; variable
|
/PHP-7.0/ext/pdo_firebird/ |
H A D | firebird_driver.c | 44 pdo_error_type *const error_code = stmt ? &stmt->error_code : &dbh->error_code; in _firebird_error() local 50 *error_code = PDO_ERR_NONE; in _firebird_error() 53 *error_code = PDO_ERR_CANT_MAP; in _firebird_error() 56 *error_code = PDO_ERR_SYNTAX; in _firebird_error() 60 *error_code = PDO_ERR_CONSTRAINT; in _firebird_error() 66 *error_code = PDO_ERR_NOT_FOUND; in _firebird_error() 76 *error_code = PDO_ERR_MISMATCH; in _firebird_error() 81 *error_code = PDO_ERR_TRUNCATED; in _firebird_error() 84 *error_code = PDO_ERR_DISCONNECTED; in _firebird_error() 88 strcpy(*error_code, "HY000"); in _firebird_error() [all …]
|
H A D | firebird_statement.c | 175 strcpy(stmt->error_code, "HY000"); in firebird_stmt_fetch() 501 strcpy(stmt->error_code, "HY093"); in firebird_stmt_param_hook() 527 strcpy(stmt->error_code, "HY093"); in firebird_stmt_param_hook() 581 strcpy(stmt->error_code, "HY000"); in firebird_stmt_param_hook() 589 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook() 641 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook() 648 strcpy(stmt->error_code, "HY105"); in firebird_stmt_param_hook()
|
/PHP-7.0/main/ |
H A D | network.c | 315 int *error_code) argument 329 if (error_code) { 330 *error_code = error; 384 if (error_code) { 385 *error_code = error; 506 if (error_code) { 507 *error_code = err; 731 int *error_code argument 760 if (error_code) { 761 *error_code = error; [all …]
|
H A D | php_network.h | 248 int *error_code, char *bindto, unsigned short bindport, long sockopts 257 int *error_code); 263 int socktype, long sockopts, zend_string **error_string, int *error_code 272 int *error_code
|
/PHP-7.0/main/streams/ |
H A D | php_stream_transport.h | 54 int *error_code 72 int *error_code 160 int error_code; member
|
H A D | transports.c | 57 int *error_code in _php_stream_xport_create() 145 timeout, &error_text, error_code)) { in _php_stream_xport_create() 229 int *error_code in php_stream_xport_connect() argument 249 if (error_code) { in php_stream_xport_connect() 250 *error_code = param.outputs.error_code; in php_stream_xport_connect()
|
/PHP-7.0/ext/openssl/tests/ |
H A D | openssl_error_string_basic.phpt | 12 $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-7.0/ext/pdo_oci/ |
H A D | oci_driver.c | 67 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() 542 sb4 error_code = 0; in pdo_oci_check_liveness() local 569 OCIErrorGet (H->err, (ub4)1, NULL, &error_code, NULL, 0, OCI_HTYPE_ERROR); in pdo_oci_check_liveness() 571 if (error_code == 1010) { in pdo_oci_check_liveness()
|
/PHP-7.0/Zend/ |
H A D | zend_API.h | 716 int error_code = ZPP_ERROR_OK; \ 732 error_code = ZPP_ERROR_FAILURE; \ 783 error_code = ZPP_ERROR_WRONG_ARG; \ 795 error_code = ZPP_ERROR_WRONG_ARG; \ 807 error_code = ZPP_ERROR_WRONG_ARG; \ 818 error_code = ZPP_ERROR_FAILURE; \ 830 error_code = ZPP_ERROR_WRONG_ARG; \ 861 error_code = ZPP_ERROR_WRONG_ARG; \ 873 error_code = ZPP_ERROR_WRONG_ARG; \ 885 error_code = ZPP_ERROR_WRONG_ARG; \ [all …]
|
/PHP-7.0/ext/pdo_odbc/ |
H A D | odbc_driver.c | 68 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-7.0/Zend/tests/ |
H A D | bug38047.phpt | 14 function kalus_error_handler($error_code, $error_string, $filename, $line, $symbols) {
|
/PHP-7.0/ext/pcre/ |
H A D | php_pcre.h | 81 int error_code; variable
|
/PHP-7.0/ext/intl/tests/ |
H A D | normalizer_normalize.phpt | 73 $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-7.0/ext/pdo_mysql/ |
H A D | mysql_driver.c | 57 pdo_err = &stmt->error_code; in _pdo_mysql_error() 60 pdo_err = &dbh->error_code; in _pdo_mysql_error() 196 strcpy(dbh->error_code, stmt->error_code); in mysql_handle_preparer()
|
/PHP-7.0/ext/soap/ |
H A D | php_soap.h | 166 char* error_code; variable
|