Searched refs:u16 (Results 1 - 8 of 8) sorted by relevance
/base/update/updater/services/rust/hash_signed_data/src/ |
H A D | img_hash_check.rs | 30 tlv_type: u16, 32 algorithm: u16, 33 algo_size: u16, 34 component_count: u16, 57 hash_num: u16, 71 tlv_type: u16, 102 self.tlv_type = u16::from_le_bytes(buffer[0..2].try_into().unwrap()); in read_from_le_bytes() 104 self.algorithm = u16::from_le_bytes(buffer[6..8].try_into().unwrap()); in read_from_le_bytes() 105 self.algo_size = u16::from_le_bytes(buffer[8..10].try_into().unwrap()); in read_from_le_bytes() 106 self.component_count = u16 in read_from_le_bytes() [all...] |
/base/request/request/services/src/service/client/ |
H A D | mod.rs | 31 const HEADERS_MAX_SIZE: u16 = 8 * 1024; 235 let message_type = MessageType::HttpResponse as u16; 238 let message_body_size: u16 = 0; 263 let mut size = response.len() as u16; 288 let message_type = MessageType::NotifyData as u16; 291 let message_body_size: u16 = 0; 335 let size = message.len() as u16;
|
/base/msdp/device_status/rust/subsystem/dsoftbus/sys/src/ |
H A D | binding.rs | 52 pub device_type_id: u16, 69 pub fast_trans_data_size: u16,
|
/base/msdp/device_status/rust/subsystem/distributed_hardware/sys/src/interaction/ |
H A D | dm_device_info.rs | 64 pub fn device_type_id(&self) -> u16 { in device_type_id()
|
/base/hiviewdfx/hisysevent/interfaces/rust/innerkits/src/ |
H A D | sys_event.rs | 38 pub u16_: u16,
|
/base/request/request/test/rustest/src/ |
H A D | lib.rs | 432 let msg_type: u16 = input.take_value(); in deserialize() 433 let body_size: u16 = input.take_value(); in deserialize() 486 impl Take<u16> for &[u8] { 487 fn take_value(&mut self) -> u16 { in take_value() 488 let (left, right) = self.split_at(std::mem::size_of::<u16>()); in take_value() 490 u16::from_le_bytes(left.try_into().unwrap()) in take_value()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/ |
H A D | dwarf_op.h | 100 uint16_t u16; in OpDerefSize() local 101 memory_->ReadU16(addr, &u16, true); in OpDerefSize() 102 value = static_cast<AddressType>(u16); in OpDerefSize()
|
/base/msdp/device_status/rust/subsystem/distributed_hardware/sys/src/ |
H A D | dm_binding.rs | 56 pub device_type_id: u16,
|
Completed in 4 milliseconds