Home
last modified time | relevance | path

Searched refs:compute_raw_varint32_size (Results 1 – 18 of 18) sorted by relevance

/external/rust/crates/protobuf/src/
Dzigzag.rs4 use crate::rt::compute_raw_varint32_size;
37 compute_raw_varint32_size(encode_zig_zag_32(*self)) in len_varint_zigzag()
/external/rust/crates/protobuf/2.27.1/src/
Dtypes.rs45 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()
Drt.rs63 pub fn compute_raw_varint32_size(value: u32) -> u32 { in compute_raw_varint32_size() function
113 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()
Ddescriptor.rs102 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 …]
Dplugin.rs508 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()
/external/rust/crates/protobuf/src/rt/
Dpacked.rs2 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()
Dmod.rs54 pub(crate) fn compute_raw_varint32_size(value: u32) -> u64 { in compute_raw_varint32_size() function
/external/rust/crates/protobuf/2.27.1/src/well_known_types/
Dtype_pb.rs259 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()
Dapi.rs294 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()
Dstruct_pb.rs519 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()
/external/crosvm/system_api/src/protos/
Dauth_factor.rs1292 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 …]
Dfido.rs562 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 …]
Dkey.rs304 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()
DUserDataAuth.rs149 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 …]
Drpc.rs539 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()
/external/rust/crates/protobuf/src/reflect/
Dtypes.rs75 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()
/external/crosvm/metrics/out/
Devent_details.rs198 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()
/external/rust/crates/protobuf/src/reflect/dynamic/
Dmod.rs26 use crate::rt::compute_raw_varint32_size;
479 + compute_raw_varint32_size(entry_data_size as u32) in compute_size_dyn()