Searched refs:compute_raw_varint32_size (Results 1 – 18 of 18) sorted by relevance
4 use crate::rt::compute_raw_varint32_size;37 compute_raw_varint32_size(encode_zig_zag_32(*self)) in len_varint_zigzag()
45 rt::compute_raw_varint32_size(size) + size in compute_size_with_length_delimiter()62 rt::compute_raw_varint32_size(size) + size in get_cached_size_with_length_delimiter()203 rt::compute_raw_varint32_size(*value as u32) in compute_size()263 rt::compute_raw_varint32_size(*value) in compute_size()633 rt::compute_raw_varint32_size(value.value() as u32) // TODO: wrap in compute_size()
63 pub fn compute_raw_varint32_size(value: u32) -> u32 { in compute_raw_varint32_size() function113 compute_raw_varint32_size(encode_zig_zag_32(*self)) in len_varint_zigzag()146 .map(|e| compute_raw_varint32_size(e.value() as u32)) in vec_packed_enum_data_size()852 sum += tag_size(field_number) + compute_raw_varint32_size(entry_len) + entry_len; in compute_map_size()
102 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()679 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()683 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()687 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()691 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()695 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()699 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()1298 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()1302 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()1306 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()[all …]
508 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()512 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()783 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()1107 my_size += 2 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()
2 use crate::rt::compute_raw_varint32_size;22 .map(|e| compute_raw_varint32_size(e.value() as u32)) in vec_packed_enum_or_unknown_data_size()
54 pub(crate) fn compute_raw_varint32_size(value: u32) -> u64 { in compute_raw_varint32_size() function
259 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()266 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()270 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()739 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()1282 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()1286 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()1290 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()1561 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()1789 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()
294 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()298 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()305 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()309 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()711 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()
519 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()523 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()745 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()
1292 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()1296 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()1300 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()1304 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()1308 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()1312 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()2756 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()2762 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()2766 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()2770 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()[all …]
562 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()877 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()1129 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()1384 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()2285 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()2295 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()3014 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()3018 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()3025 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()3032 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()[all …]
304 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()1245 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()1252 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()1256 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()1260 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()1530 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()
149 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()964 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()1348 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()1352 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()1359 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()1642 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()1835 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()2015 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()2212 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()2216 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()[all …]
539 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()543 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()726 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()1145 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()
75 rt::compute_raw_varint32_size(size) as u32 + size in get_cached_size_with_length_delimiter()239 rt::compute_raw_varint32_size(*value as u32) in compute_size()304 rt::compute_raw_varint32_size(*value) in compute_size()
198 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()202 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()206 my_size += 2 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()489 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()493 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()497 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len; in compute_size()
26 use crate::rt::compute_raw_varint32_size;479 + compute_raw_varint32_size(entry_data_size as u32) in compute_size_dyn()