Home
last modified time | relevance | path

Searched defs:bytes (Results 1 – 16 of 16) sorted by relevance

/commonlibrary/rust/ylong_http/ylong_http/src/h3/
Doctets.rs29 let bytes: [u8; $len] = <[u8; $len]>::try_from($buf[..$len].as_ref()).unwrap(); localVariable
128 let mut bytes: [u8; $len] = $value.to_be_bytes(); localVariable
143 bytes: &'a mut [u8], field
239 let bytes = [ in ut_readable_bytes() localVariable
260 let bytes = [ in ut_writable_bytes() localVariable
/commonlibrary/rust/ylong_http/ylong_http/src/h2/
Dencoder.rs195 let bytes = self.encode_headers_frame(&mut buf[written_bytes..])?; in encode() localVariable
202 let bytes = self.encode_headers_payload(&mut buf[written_bytes..])?; in encode() localVariable
209 let bytes = self.encode_padding(&mut buf[written_bytes..])?; in encode() localVariable
216 let bytes = self.encode_continuation_frames(&mut buf[written_bytes..])?; in encode() localVariable
223 let bytes = self.encode_data_header(&mut buf[written_bytes..])?; in encode() localVariable
230 let bytes = self.encode_data_payload(&mut buf[written_bytes..])?; in encode() localVariable
237 let bytes = self.encode_padding(&mut buf[written_bytes..])?; in encode() localVariable
244 let bytes = self.encode_settings_frame(&mut buf[written_bytes..])?; in encode() localVariable
251 let bytes = self.encode_goaway_frame(&mut buf[written_bytes..])?; in encode() localVariable
258 let bytes = self.encode_window_update_frame(&mut buf[written_bytes..])?; in encode() localVariable
[all …]
/commonlibrary/rust/ylong_http/ylong_http/src/body/
Dtext.rs461 let bytes = b"Hello World!"; in ut_text_body_from_bytes() localVariable
497 let bytes = b"Hello World!"; in ut_text_body_from_bytes_syn_data() localVariable
533 let bytes = b"Hello World!"; in text_body_from_bytes_asyn_data() localVariable
622 let bytes = b"this is the text body! and this is remaining data"; in ut_text_body_decoder_decode() localVariable
645 let bytes = b"this is the text body! And this is remaining data"; in ut_text_body_decoder_decode() localVariable
Dmod.rs448 pub(crate) bytes: &'a [u8], field
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/
Derror.rs84 let bytes = CStr::from_ptr(data as *const _).to_bytes(); in get() localVariable
109 let bytes = CStr::from_ptr(data as *const _).to_bytes(); in get() localVariable
151 let bytes = CStr::from_ptr(lib_error as *const _).to_bytes(); in fmt() localVariable
162 let bytes = unsafe { core::ffi::CStr::from_ptr(func_error as *const _).to_bytes() }; in fmt() localVariable
181 let bytes = CStr::from_ptr(reason_error as *const _).to_bytes(); in fmt() localVariable
/commonlibrary/rust/ylong_http/ylong_http/src/huffman/
Dmod.rs114 let bytes = &state.to_be_bytes(); in huffman_encode() localVariable
371 let bytes = decode(cont).unwrap(); in ut_huffman_decoder() localVariable
/commonlibrary/ets_utils/js_api_module/buffer/
Djs_buffer.cpp165 void Buffer::WriteBE(int32_t value, uint32_t bytes) in WriteBE()
176 void Buffer::WriteLE(int32_t value, uint32_t bytes) in WriteLE()
187 uint32_t Buffer::ReadBE(uint32_t bytes) in ReadBE()
198 uint32_t Buffer::ReadLE(uint32_t bytes) in ReadLE()
/commonlibrary/rust/ylong_json/src/
Dencoder.rs288 let bytes = string.as_bytes(); in encode_string_inner() localVariable
350 let bytes = ch as u32; in encode_string_inner() localVariable
357 let bytes = ch as u32; in encode_string_inner() localVariable
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/uds/
Dsocket_addr.rs34 let bytes = path.as_os_str().as_bytes(); in socket_addr_trans_un() localVariable
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/io/
Dstdio.rs54 fn bytes(&self) -> &[u8] { in bytes() method
/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/
Dmimetype.rs45 bytes: &'a [u8], field
Dsimple.rs508 fn bytes(bytes: Vec<u8>) -> Self { in bytes() method
/commonlibrary/c_utils/base/src/
Dunicode_ex.cpp72 void Utf32CodePointToUtf8(uint8_t* dstP, char32_t srcChar, size_t bytes) in Utf32CodePointToUtf8()
Dparcel.cpp877 void Parcel::SkipBytes(size_t bytes) in SkipBytes()
/commonlibrary/rust/ylong_http/ylong_http/src/request/uri/
Dpercent_encoding.rs58 let bytes = UrlChars { in parse() localVariable
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ssl/
Dstream.rs367 let bytes = &user_bytes[begin..end]; in compare_pinned_digest() localVariable