Searched refs:LengthMapper (Results 1 – 8 of 8) sorted by relevance
/external/rust/beto-rust/nearby/presence/np_adv/src/legacy/data_elements/ |
D | tx_power.rs | 20 DeserializeDataElement, DirectMapPredicate, DirectMapper, LengthMapper, SerializeDataElement, 55 <Self as DeserializeDataElement>::LengthMapper::map_actual_len_to_encoded_len(actual_len) in map_actual_len_to_encoded_len() 73 type LengthMapper = DirectMapper<TxPowerLengthPredicate>; typedef 101 use crate::legacy::data_elements::{DeserializeDataElement, LengthMapper}; 114 …<TxPowerDataElement as DeserializeDataElement>::LengthMapper::map_actual_len_to_encoded_len(actual) in actual_length_must_be_1() 121 … <TxPowerDataElement as DeserializeDataElement>::LengthMapper::map_actual_len_to_encoded_len( in actual_length_must_be_1() 133 … <TxPowerDataElement as DeserializeDataElement>::LengthMapper::map_encoded_len_to_actual_len( in encoded_length_must_be_1() 142 … <TxPowerDataElement as DeserializeDataElement>::LengthMapper::map_encoded_len_to_actual_len( in encoded_length_must_be_1()
|
D | mod.rs | 44 type LengthMapper: LengthMapper; typedef 214 pub(in crate::legacy) trait LengthMapper { interface 246 impl<P: DirectMapPredicate> LengthMapper for DirectMapper<P> {
|
D | tests.rs | 157 DeserializeDataElement, LengthMapper, SerializeDataElement, 178 …<ShortDataElement as DeserializeDataElement>::LengthMapper::map_encoded_len_to_actual_len(encoded_… in map_encoded_len_to_actual_len() 183 …<LongDataElement as DeserializeDataElement>::LengthMapper::map_encoded_len_to_actual_len(encoded_l… in map_encoded_len_to_actual_len()
|
/external/rust/beto-rust/nearby/presence/np_adv/src/legacy/serialize/tests/ |
D | helpers.rs | 23 LengthMapper, 64 <Self as DeserializeDataElement>::LengthMapper::map_actual_len_to_encoded_len(actual_len) in map_actual_len_to_encoded_len() 80 type LengthMapper = OffsetMapper<{ Self::OFFSET }>; typedef 98 impl<const O: usize> LengthMapper for OffsetMapper<O> { 137 <Self as DeserializeDataElement>::LengthMapper::map_actual_len_to_encoded_len(actual_len) in map_actual_len_to_encoded_len() 154 type LengthMapper = DirectMapper<YoloLengthPredicate>; typedef
|
/external/rust/beto-rust/nearby/presence/np_adv/src/legacy/data_elements/de_type/ |
D | tests.rs | 20 use crate::legacy::data_elements::{DeserializeDataElement, LengthMapper}; 92 D::LengthMapper::map_encoded_len_to_actual_len(encoded) in de_length_actual_encoded_round_trip()
|
/external/rust/beto-rust/nearby/presence/np_adv/src/legacy/deserialize/ |
D | mod.rs | 29 DataElementDeserializeError, DeserializeDataElement, LengthMapper, 310 …<TxPowerDataElement as DeserializeDataElement>::LengthMapper::map_encoded_len_to_actual_len(encode… in map_encoded_len_to_actual_len() 315 …<ActionsDataElement<Plaintext> as DeserializeDataElement>::LengthMapper::map_encoded_len_to_actual… in map_encoded_len_to_actual_len()
|
/external/rust/beto-rust/nearby/presence/np_adv/src/legacy/data_elements/actions/ |
D | mod.rs | 20 use crate::legacy::data_elements::{DirectMapPredicate, DirectMapper, LengthMapper}; 104 <Self as DeserializeDataElement>::LengthMapper::map_actual_len_to_encoded_len(actual_len) in map_actual_len_to_encoded_len() 123 type LengthMapper = DirectMapper<ActionsLengthPredicate>; typedef
|
D | tests.rs | 481 …<ActionsDataElement<Plaintext> as DeserializeDataElement>::LengthMapper::map_encoded_len_to_actual… in encoded_length_must_be_in_range() 491 …<ActionsDataElement<Plaintext> as DeserializeDataElement>::LengthMapper::map_encoded_len_to_actual… in encoded_length_must_be_in_range()
|