• Home
  • Raw
  • Download

Lines Matching defs:u32

32 pub fn compute_raw_varint64_size(value: u64) -> u32 {  in compute_raw_varint64_size()
64 pub fn compute_raw_varint32_size(value: u32) -> u32 { in compute_raw_varint32_size()
71 fn len_varint(&self) -> u32; in len_varint()
77 fn len_varint_zigzag(&self) -> u32; in len_varint_zigzag()
81 fn len_varint(&self) -> u32 { in len_varint()
86 impl ProtobufVarint for u32 { implementation
87 fn len_varint(&self) -> u32 { in len_varint()
93 fn len_varint(&self) -> u32 { in len_varint()
100 fn len_varint_zigzag(&self) -> u32 { in len_varint_zigzag()
106 fn len_varint(&self) -> u32 { in len_varint()
113 fn len_varint_zigzag(&self) -> u32 { in len_varint_zigzag()
119 fn len_varint(&self) -> u32 { in len_varint()
133 pub fn vec_packed_varint_data_size<T: ProtobufVarint>(vec: &[T]) -> u32 { in vec_packed_varint_data_size()
138 pub fn vec_packed_varint_zigzag_data_size<T: ProtobufVarintZigzag>(vec: &[T]) -> u32 { in vec_packed_varint_zigzag_data_size()
145 pub fn vec_packed_enum_data_size<E: ProtobufEnum>(vec: &[E]) -> u32 { in vec_packed_enum_data_size()
152 pub fn vec_packed_varint_size<T: ProtobufVarint>(field_number: u32, vec: &[T]) -> u32 { in vec_packed_varint_size()
162 pub fn vec_packed_varint_zigzag_size<T: ProtobufVarintZigzag>(field_number: u32, vec: &[T]) -> u32 { in vec_packed_varint_zigzag_size()
172 pub fn vec_packed_enum_size<E: ProtobufEnum>(field_number: u32, vec: &[E]) -> u32 { in vec_packed_enum_size()
182 pub fn tag_size(field_number: u32) -> u32 { in tag_size()
188 fn value_size_no_tag<T: ProtobufVarint>(value: T, wt: WireType) -> u32 { in value_size_no_tag()
198 pub fn value_size<T: ProtobufVarint>(field_number: u32, value: T, wt: WireType) -> u32 { in value_size()
203 pub fn value_varint_zigzag_size_no_tag<T: ProtobufVarintZigzag>(value: T) -> u32 { in value_varint_zigzag_size_no_tag()
208 pub fn value_varint_zigzag_size<T: ProtobufVarintZigzag>(field_number: u32, value: T) -> u32 { in value_varint_zigzag_size()
212 fn enum_size_no_tag<E: ProtobufEnum>(value: E) -> u32 { in enum_size_no_tag()
217 pub fn enum_size<E: ProtobufEnum>(field_number: u32, value: E) -> u32 { in enum_size()
221 fn bytes_size_no_tag(bytes: &[u8]) -> u32 { in bytes_size_no_tag()
226 pub fn bytes_size(field_number: u32, bytes: &[u8]) -> u32 { in bytes_size()
230 fn string_size_no_tag(s: &str) -> u32 { in string_size_no_tag()
235 pub fn string_size(field_number: u32, s: &str) -> u32 { in string_size()
240 pub fn unknown_fields_size(unknown_fields: &UnknownFields) -> u32 { in unknown_fields_size()
295 target: &mut Vec<u32>, in read_repeated_uint32_into()
359 target: &mut Vec<u32>, in read_repeated_fixed32_into()
489 field_number: u32, in read_enum_with_unknown_fields_into()
506 field_number: u32, in read_repeated_packed_enum_with_unknown_fields_into()
528 field_number: u32, in read_repeated_enum_with_unknown_fields_into()
555 field_number: u32, in read_proto3_enum_with_unknown_fields_into()
575 field_number: u32, in read_proto2_enum_with_unknown_fields_into()
814 field_number: u32, in read_unknown_or_skip_group()
838 pub fn compute_map_size<K, V>(field_number: u32, map: &HashMap<K::Value, V::Value>) -> u32 in compute_map_size()
860 field_number: u32, in write_map_with_cached_sizes()