| /commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ |
| D | error.rs | 39 code: c_ulong, field 53 code: self.code, in clone() 82 code => { in get() 96 code, in get() 107 code => { in get() 128 code, in get() 139 /// Returns the raw OpenSSL error code for this error. 140 fn code(&self) -> c_ulong { in code() method 141 self.code in code() 147 write!(f, "error:{:08X}", self.code())?; in fmt() [all …]
|
| D | x509.rs | 194 .field("code", &self.0) in fmt() 363 /// 1. Creates a `X509VerifyResult` using a known error code. 375 /// 1. Creates a `X509VerifyResult` using a raw error code. 376 /// 2. Verify that the error code is correct. 379 let code = 20; in ut_from_raw() localVariable 380 let res = X509VerifyResult::from_raw(code); in ut_from_raw() 381 assert_eq!(res.0, code); in ut_from_raw() 384 /// UT test code for `fmt::Display` and `fmt::Debug`. 387 /// 1. Creates a `X509VerifyResult` using an error code. 398 assert!(dbg_dis.contains("code")); in ut_fmt_display()
|
| /commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ssl/ |
| D | error.rs | 26 pub(crate) code: SslErrorCode, field 38 pub(crate) fn code(&self) -> SslErrorCode { in code() method 39 self.code in code() 70 match self.code { in fmt() 74 write!(f, "SslCode[{}], IO Error: {}", self.code, e) in fmt() 76 write!(f, "SslCode[{}], Unexpected EOF", self.code) in fmt() 83 write!(f, "SslCode: [{}]", self.code) in fmt() 88 write!(f, "SslCode[{}], IO Error: {}", self.code, e) in fmt() 93 self.code in fmt() 99 write!(f, "SslCode[{}], IO Error: {}", self.code, e) in fmt() [all …]
|
| D | stream.rs | 49 let code = self.ssl.get_error(err); in get_error() localVariable 50 let internal = match code { in get_error() 68 SslError { code, internal } in get_error() 197 Err(ref e) if e.code == SslErrorCode::ZERO_RETURN => return Ok(0), in read() 200 Err(ref e) if e.code == SslErrorCode::SYSCALL && e.get_io_error().is_none() => { in read() 204 Err(ref e) if e.code == SslErrorCode::WANT_READ && e.get_io_error().is_none() => {} in read() 223 Err(ref e) if e.code == SslErrorCode::WANT_READ && e.get_io_error().is_none() => {} in write() 265 code: SslErrorCode::SSL, in verify_server_root_cert() 272 code: SslErrorCode::SSL, in verify_server_root_cert() 298 code: SslErrorCode::SSL, in verify_server_cert() [all …]
|
| /commonlibrary/ets_utils/tools/ |
| D | ets_error.h | 37 // err-code in ThrowError() 38 napi_value code = nullptr; in ThrowError() local 39 napi_create_int32(env, errCode, &code); in ThrowError() 45 napi_set_named_property(env, errorValue, "code", code); in ThrowError() 59 // err-code in CreateError() 60 napi_value code = nullptr; in CreateError() local 61 napi_create_int32(env, errCode, &code); in CreateError() 67 napi_set_named_property(env, errorValue, "code", code); in CreateError()
|
| /commonlibrary/rust/ylong_http/ylong_http/src/h3/ |
| D | frame.rs | 16 /// Data Frame type code. 18 /// HEADERS Frame type code. 20 /// CANCEL_PUSH Frame type code. 22 /// SETTINGS Frame type code. 24 /// PUSH_PROMISE Frame type code. 26 /// GOAWAY Frame type code. 28 /// MAX_PUSH_ID Frame type code. 30 /// SETTING_QPACK_MAX_TABLE_CAPACITY setting code. 32 /// SETTING_MAX_FIELD_SECTION_SIZE setting code. 34 /// SETTING_QPACK_BLOCKED_STREAMS setting code. [all …]
|
| D | stream.rs | 18 /// HTTP3 control stream type code. 20 /// HTTP3 push stream type code. 22 /// qpack encoder stream type code. 24 /// qpack decoder stream type code.
|
| /commonlibrary/rust/ylong_http/ylong_http/src/huffman/ |
| D | mod.rs | 19 //! In computer science and information theory, a `Huffman code` is a particular 20 //! type of optimal prefix code that is commonly used for lossless data 21 //! compression. The process of finding or using such a code proceeds by means 26 //! # Huffman code in Http/2 27 //! There is a table of Huffman code in `RFC7541`. This [Huffman code] was 29 //! a canonical Huffman code with some tweaking to ensure that no symbol has a 30 //! unique code length. 32 //! [Huffman Code]: https://www.rfc-editor.org/rfc/rfc7541.html#ref-HUFFMAN 34 // TODO: Introduction of `Huffman code in Http/3`. 42 /// Converts a string to a Huffman code, and then put it into the [all …]
|
| /commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ffi/ |
| D | err.rs | 19 /// If there is no text string registered for the given error code, 20 /// the error string will contain the numeric code. 28 /// Returns the earliest error code from the thread's error queue and
|
| /commonlibrary/rust/ylong_http/ylong_http/src/h2/ |
| D | error.rs | 23 //! Error codes share a common code space. Some error codes apply only to either 52 /// a `GOAWAY` might include this code to indicate graceful shutdown of a 57 /// use when a more specific error code is not available. 80 /// The endpoint uses this error code to indicate that the stream is no 105 /// Gets the error code of the `ErrorCode` enum.
|
| /commonlibrary/ets_utils/ |
| D | hisysevent.yaml | 24 CODE: {type: INT32, desc: Error code}
|
| /commonlibrary/c_utils/base/include/ |
| D | common_timer_errors.h | 19 * @brief Provides the values of the <b>Code</b> segment in <b>ErrCode</b> 39 …* |Field|Reserved| Subsystem | Module | Code … 56 * @brief Enumerates the values of the <b>Code</b> segment in <b>ErrCode</b>
|
| D | semaphore_ex.h | 25 * calling of a critical piece of code or restricts the maximum number 26 * of threads entering the code section.
|
| D | common_event_sys_errors.h | 19 * @brief Provide value of 'Code' segment of ErrCode for 'EventSystem' module in 39 …* |Field|Reserved| Subsystem | Module | Code …
|
| D | common_mapped_file_errors.h | 19 * @brief Provides the values of the <b>Code</b> segment in <b>ErrCode</b> 39 …* |Field|Reserved| Subsystem | Module | Code …
|
| /commonlibrary/utils_lite/include/ |
| D | ohos_errno.h | 23 * Definition of error code. The error codes are applicable to both the application and kernel 54 EC_LLERRTOP = -127, /* Low level function error code max value */ 55 EC_HLERRBASE = -128 /* High level function error code baseline */
|
| /commonlibrary/rust/ylong_http/ylong_http_client/src/util/h2/ |
| D | manager.rs | 526 H2Error::StreamError(id, code) => self.manage_stream_error(cx, id, code), in manage_resp_error() 527 H2Error::ConnectionError(code) => self.manage_conn_error(cx, code), in manage_resp_error() 546 code: ErrorCode, in manage_stream_error() 548 let rest_payload = RstStream::new(code.into_code()); in manage_stream_error() 586 code: ErrorCode, in manage_conn_error() 591 code.into_code(), in manage_conn_error() 614 self.exit_with_error(cx, DispatchErrorKind::H2(H2Error::ConnectionError(code))); in manage_conn_error() 618 self.next_state = ManagerState::Exit(H2Error::ConnectionError(code).into()); in manage_conn_error() 624 Poll::Ready(Err(H2Error::ConnectionError(code).into())) in manage_conn_error()
|
| /commonlibrary/ets_utils/js_concurrent_module/taskpool/ |
| D | dfx_hisys_event.cpp | 33 "CODE", hisyseventParams->code, in WriteFfrtAndUv()
|
| /commonlibrary/rust/ylong_http/ |
| D | README.md | 42 …so users can switch between synchronous and asynchronous logic with a small amount of code changes. 52 - `Redirect`: HTTP automatic redirection capability. When the HTTP response returns a status code r… 91 │ ├── src # Source code ylong_http 103 ├── src # Source code of ylong_http_client
|
| /commonlibrary/rust/ylong_json/docs/ |
| D | user_guide.md | 148 // After executing this code, the contents of the table are as follows: 157 // After executing this code, the contents of the table are as follows: 167 // After executing this code, the json_value member "no_such_key" has been added, 180 // After executing this code, the length of the array member of `json_value` becomes 4, 193 // After executing this code, the array member of `json_value` becomes of type Object 207 // After executing this code, the key member of `json_value` becomes of type Array,
|
| /commonlibrary/rust/ylong_http/ylong_http/src/response/ |
| D | status.rs | 16 //! The status code of a response is a three-digit integer code that describes 51 pub fn from_u16(code: u16) -> Result<StatusCode, HttpError> { in from_u16() 53 if !(100..1000).contains(&code) { in from_u16() 57 Ok(StatusCode(code)) in from_u16() 95 // Valid status code: 1 <= a <= 9 && 0 <= b <= 9 && 0 <= c <= 9 in from_bytes() 117 /// The 1xx (Informational) class of status code indicates an interim 136 /// The 2xx (Successful) class of status code indicates that the client's 154 /// The 3xx (Redirection) class of status code indicates that further action 172 /// The 4xx (Client Error) class of status code indicates that the client 190 /// The 5xx (Server Error) class of status code indicates that the server is [all …]
|
| /commonlibrary/c_utils/base/src/rust/ |
| D | ashmem.rs | 20 /// Memory protection corresponding to PROT_NONE in C code. 22 /// Memory protection corresponding to PROT_READ in C code. 24 /// Memory protection corresponding to PROT_WRITE in C code. 26 /// Memory protection corresponding to PROT_EXEC in C code.
|
| /commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/ssl_stream/ |
| D | c_ssl_stream.rs | 144 Err(ref e) if e.code() == SslErrorCode::ZERO_RETURN => {} in poll_shutdown() 148 if e.code() == SslErrorCode::WANT_READ || e.code() == SslErrorCode::WANT_WRITE => in poll_shutdown() 168 Err(e) => match e.code() { in check_result_to_poll()
|
| /commonlibrary/ets_utils/js_sys_module/process/ |
| D | native_module_process.cpp | 503 napi_value code = nullptr; in ThrowError() local 504 uint32_t errCode = 401; // 401:The code parameter of this error is 401 in ThrowError() 505 napi_create_uint32(env, errCode, &code); in ThrowError() 512 napi_set_named_property(env, processError, "code", code); in ThrowError() 553 return ThrowError(env, "Parameter error. The type of code must be number."); in ExitOfProcess() 583 return ThrowError(env, "Parameter error. The type of code must be number."); in GetThreadPriorityOfProcess() 597 return ThrowError(env, "Parameter error. The type of code must be string."); in GetUidForNameOfProcess() 611 return ThrowError(env, "Parameter error. The type of code must be number."); in IsAppUidOfProcess()
|
| /commonlibrary/ets_utils/js_concurrent_module/common/helper/ |
| D | error_helper.h | 42 napi_value code = nullptr; variable 43 napi_create_uint32(env, errCode, &code); 150 napi_set_named_property(env, concurrentError, "code", code);
|