Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 36) sorted by relevance

12

/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/
Derror.rs39 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()
140 fn code(&self) -> c_ulong { in code() method
141 self.code in code()
147 write!(f, "error:{:08X}", self.code())?; in fmt()
149 let lib_error = ERR_lib_error_string(self.code); in fmt()
[all …]
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ssl/
Derror.rs25 pub(crate) code: SslErrorCode, field
36 pub(crate) fn code(&self) -> SslErrorCode { in code() method
37 self.code in code()
67 match self.code { in fmt()
71 write!(f, "SslCode[{}], IO Error: {}", self.code, e) in fmt()
73 write!(f, "SslCode[{}], Unexpected EOF", self.code) in fmt()
80 write!(f, "SslCode: [{}]", self.code) in fmt()
85 write!(f, "SslCode[{}], IO Error: {}", self.code, e) in fmt()
90 self.code in fmt()
96 write!(f, "SslCode[{}], IO Error: {}", self.code, e) in fmt()
[all …]
Dstream.rs39 let code = self.ssl.get_error(err); in get_error() localVariable
40 let internal = match code { in get_error()
58 SslError { code, internal } in get_error()
175 Err(ref e) if e.code == SslErrorCode::ZERO_RETURN => return Ok(0), in read()
178 Err(ref e) if e.code == SslErrorCode::SYSCALL && e.get_io_error().is_none() => { in read()
182 Err(ref e) if e.code == SslErrorCode::WANT_READ && e.get_io_error().is_none() => {} in read()
201 Err(ref e) if e.code == SslErrorCode::WANT_READ && e.get_io_error().is_none() => {} in write()
Dssl_base.rs66 match error.code { in connect()
/commonlibrary/ets_utils/js_api_module/uri/src/
Djs_uri.ts43 code: number;
47 this.code = TypeErrorCodeId;
61 err.code = SyntaxErrorCodeId;
/commonlibrary/rust/ylong_http/ylong_http/src/huffman/
Dmod.rs76 let (nbits, code) = HUFFMAN_ENCODE[*byte as usize]; in huffman_encode()
79 state |= code << (unfilled - nbits); in huffman_encode()
83 state |= code; in huffman_encode()
100 let rotate = code.rotate_right((nbits - unfilled) as u32); in huffman_encode()
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/ssl_stream/
Dc_ssl_stream.rs133 Err(ref e) if e.code() == SslErrorCode::ZERO_RETURN => {} in poll_shutdown()
137 if e.code() == SslErrorCode::WANT_READ || e.code() == SslErrorCode::WANT_WRITE => in poll_shutdown()
157 Err(e) => match e.code() { in check_result_to_poll()
/commonlibrary/ets_utils/js_concurrent_module/common/helper/
Derror_helper.h42 napi_value code = nullptr; variable
43 napi_create_uint32(env, errCode, &code);
75 napi_set_named_property(env, concurrentError, "code", code);
/commonlibrary/ets_utils/js_api_module/convertxml/src/
Djs_convertxml.ts35 code: number;
39 this.code = TypeErrorCode;
/commonlibrary/rust/ylong_http/ylong_http/src/response/
Dstatus.rs51 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()
/commonlibrary/ets_utils/js_api_module/xml/src/
Djs_xml.ts44 code: number; property in BusinessError
48 this.code = TypeErrorCode;
/commonlibrary/rust/ylong_http/
DREADME.md42 …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_http/ylong_http_client/src/util/config/
Dsettings.rs542 let code = StatusCode::MOVED_PERMANENTLY; in ut_setting_is_redirect() localVariable
543 let res = Redirect::is_redirect(code, &mut request); in ut_setting_is_redirect()
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/
Dselector.rs403 let code = e.raw_os_error().unwrap(); in update() localVariable
404 if code != ERROR_IO_PENDING as i32 { in update()
407 return if code == ERROR_INVALID_HANDLE as i32 { in update()
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/
Dredirect.rs279 let code = StatusCode::MOVED_PERMANENTLY; in ut_check_redirect() localVariable
280 let res = Redirect::check_redirect(code, &mut request); in ut_check_redirect()
Ddispatcher.rs774 H2Error::StreamError(id, code) => { in poll_match_result()
775 let rest_payload = RstStream::new(code.clone().into_code()); in poll_match_result()
794 return Poll::Ready(Err(H2Error::StreamError(id, code).into())); in poll_match_result()
812 H2Error::ConnectionError(code) => { in poll_match_result()
825 Goaway::new(code.clone().into_code(), 0, vec![]); in poll_match_result()
846 return Poll::Ready(Err(H2Error::ConnectionError(code).into())); in poll_match_result()
/commonlibrary/c_utils/
DREADME.md19 │ └── test # Test code
DLICENSE28 including but not limited to software source code, documentation
33 not limited to compiled object code, generated documentation,
57 communication on electronic mailing lists, source code control systems,
/commonlibrary/ets_utils/js_concurrent_module/
Dmozilla_docs.txt86 onexit?: (code: number) => void;
/commonlibrary/memory_utils/
DLICENSE27 including but not limited to software source code, documentation
32 not limited to compiled object code, generated documentation,
56 communication on electronic mailing lists, source code control systems,
/commonlibrary/ets_utils/
DLICENSE28 including but not limited to software source code, documentation
33 not limited to compiled object code, generated documentation,
57 communication on electronic mailing lists, source code control systems,
/commonlibrary/utils_lite/
DLICENSE28 including but not limited to software source code, documentation
33 not limited to compiled object code, generated documentation,
57 communication on electronic mailing lists, source code control systems,
/commonlibrary/ets_utils/js_api_module/url/src/
Djs_url.ts85 code: number;
89 this.code = typeErrorCodeId;
657 err.code = syntaxErrorCodeId;
/commonlibrary/rust/ylong_http/ylong_http/src/h1/response/
Ddecoder.rs256 TokenStatus::Complete((code, unparsed)) => { in status_code_phase()
257 let code = self.take_value(code); in status_code_phase() localVariable
259 StatusCode::from_bytes(code.as_slice()) in status_code_phase()
/commonlibrary/rust/ylong_runtime/
DREADME.md80 | |── src # Source code of ylong_io
87 | |── src # Source code of ylong_runtime

12