Home
last modified time | relevance | path

Searched refs:my_size (Results 1 – 19 of 19) sorted by relevance

/external/rust/crates/protobuf/src/well_known_types/
Dwrappers.rs88 let mut my_size = 0; in compute_size() localVariable
90 my_size += 9; in compute_size()
92 my_size += crate::rt::unknown_fields_size(self.get_unknown_fields()); in compute_size()
93 self.cached_size.set(my_size); in compute_size()
94 my_size in compute_size()
243 let mut my_size = 0; in compute_size() localVariable
245 my_size += 5; in compute_size()
247 my_size += crate::rt::unknown_fields_size(self.get_unknown_fields()); in compute_size()
248 self.cached_size.set(my_size); in compute_size()
249 my_size in compute_size()
[all …]
Dapi.rs288 let mut my_size = 0; in compute_size() localVariable
290 my_size += crate::rt::string_size(1, &self.name); 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()
301 my_size += crate::rt::string_size(4, &self.version); 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()
312 my_size += crate::rt::enum_size(7, self.syntax); in compute_size()
314 my_size += crate::rt::unknown_fields_size(self.get_unknown_fields()); in compute_size()
315 self.cached_size.set(my_size); in compute_size()
[all …]
Dtype_pb.rs253 let mut my_size = 0; in compute_size() localVariable
255 my_size += crate::rt::string_size(1, &self.name); in compute_size()
259 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()
262 my_size += crate::rt::string_size(3, &value); 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()
273 my_size += crate::rt::enum_size(6, self.syntax); in compute_size()
275 my_size += crate::rt::unknown_fields_size(self.get_unknown_fields()); in compute_size()
276 self.cached_size.set(my_size); in compute_size()
277 my_size in compute_size()
[all …]
Dstruct_pb.rs94 let mut my_size = 0; in compute_size() localVariable
95my_size += crate::rt::compute_map_size::<crate::types::ProtobufTypeString, crate::types::ProtobufT… in compute_size()
96 my_size += crate::rt::unknown_fields_size(self.get_unknown_fields()); in compute_size()
97 self.cached_size.set(my_size); in compute_size()
98 my_size in compute_size()
502 let mut my_size = 0; in compute_size() localVariable
506 my_size += crate::rt::enum_size(1, v); in compute_size()
509 my_size += 9; in compute_size()
512 my_size += crate::rt::string_size(3, &v); in compute_size()
515 my_size += 2; in compute_size()
[all …]
Dduration.rs111 let mut my_size = 0; in compute_size() localVariable
113 my_size += crate::rt::value_size(1, self.seconds, crate::wire_format::WireTypeVarint); in compute_size()
116 my_size += crate::rt::value_size(2, self.nanos, crate::wire_format::WireTypeVarint); in compute_size()
118 my_size += crate::rt::unknown_fields_size(self.get_unknown_fields()); in compute_size()
119 self.cached_size.set(my_size); in compute_size()
120 my_size in compute_size()
Dtimestamp.rs111 let mut my_size = 0; in compute_size() localVariable
113 my_size += crate::rt::value_size(1, self.seconds, crate::wire_format::WireTypeVarint); in compute_size()
116 my_size += crate::rt::value_size(2, self.nanos, crate::wire_format::WireTypeVarint); in compute_size()
118 my_size += crate::rt::unknown_fields_size(self.get_unknown_fields()); in compute_size()
119 self.cached_size.set(my_size); in compute_size()
120 my_size in compute_size()
Dany.rs125 let mut my_size = 0; in compute_size() localVariable
127 my_size += crate::rt::string_size(1, &self.type_url); in compute_size()
130 my_size += crate::rt::bytes_size(2, &self.value); in compute_size()
132 my_size += crate::rt::unknown_fields_size(self.get_unknown_fields()); in compute_size()
133 self.cached_size.set(my_size); in compute_size()
134 my_size in compute_size()
Dsource_context.rs95 let mut my_size = 0; in compute_size() localVariable
97 my_size += crate::rt::string_size(1, &self.file_name); in compute_size()
99 my_size += crate::rt::unknown_fields_size(self.get_unknown_fields()); in compute_size()
100 self.cached_size.set(my_size); in compute_size()
101 my_size in compute_size()
Dfield_mask.rs94 let mut my_size = 0; in compute_size() localVariable
96 my_size += crate::rt::string_size(1, &value); in compute_size()
98 my_size += crate::rt::unknown_fields_size(self.get_unknown_fields()); in compute_size()
99 self.cached_size.set(my_size); in compute_size()
100 my_size in compute_size()
Dempty.rs64 let mut my_size = 0; in compute_size() localVariable
65 my_size += crate::rt::unknown_fields_size(self.get_unknown_fields()); in compute_size()
66 self.cached_size.set(my_size); in compute_size()
67 my_size in compute_size()
/external/rust/crates/protobuf/src/
Ddescriptor.rs99 let mut my_size = 0; in compute_size() localVariable
102 my_size += 1 + crate::rt::compute_raw_varint32_size(len) + len; in compute_size()
104 my_size += crate::rt::unknown_fields_size(self.get_unknown_fields()); in compute_size()
105 self.cached_size.set(my_size); in compute_size()
106 my_size in compute_size()
661 let mut my_size = 0; in compute_size() localVariable
663 my_size += crate::rt::string_size(1, &v); in compute_size()
666 my_size += crate::rt::string_size(2, &v); in compute_size()
669 my_size += crate::rt::string_size(3, &value); in compute_size()
672 my_size += crate::rt::value_size(10, *value, crate::wire_format::WireTypeVarint); in compute_size()
[all …]
Dplugin.rs186 let mut my_size = 0; in compute_size() localVariable
188 my_size += crate::rt::value_size(1, v, crate::wire_format::WireTypeVarint); in compute_size()
191 my_size += crate::rt::value_size(2, v, crate::wire_format::WireTypeVarint); in compute_size()
194 my_size += crate::rt::value_size(3, v, crate::wire_format::WireTypeVarint); in compute_size()
197 my_size += crate::rt::string_size(4, &v); in compute_size()
199 my_size += crate::rt::unknown_fields_size(self.get_unknown_fields()); in compute_size()
200 self.cached_size.set(my_size); in compute_size()
201 my_size in compute_size()
499 let mut my_size = 0; in compute_size() localVariable
501 my_size += crate::rt::string_size(1, &value); in compute_size()
[all …]
/external/puffin/src/
Dpuffpatch.cc81 uint64_t my_size; in GetSize() local
82 TEST_AND_RETURN_FALSE(stream_->GetSize(&my_size)); in GetSize()
83 *size = my_size; in GetSize()
/external/openscreen/third_party/abseil/src/absl/strings/
Dcord.cc1430 size_t my_size = size(); in EndsWith() local
1433 if (my_size < rhs_size) return false; in EndsWith()
1436 tmp.RemovePrefix(my_size - rhs_size); in EndsWith()
1441 size_t my_size = size(); in EndsWith() local
1444 if (my_size < rhs_size) return false; in EndsWith()
1447 tmp.RemovePrefix(my_size - rhs_size); in EndsWith()
/external/webrtc/third_party/abseil-cpp/absl/strings/
Dcord.cc1456 size_t my_size = size(); in EndsWith() local
1459 if (my_size < rhs_size) return false; in EndsWith()
1462 tmp.RemovePrefix(my_size - rhs_size); in EndsWith()
1467 size_t my_size = size(); in EndsWith() local
1470 if (my_size < rhs_size) return false; in EndsWith()
1473 tmp.RemovePrefix(my_size - rhs_size); in EndsWith()
/external/libtextclassifier/abseil-cpp/absl/strings/
Dcord.cc1433 size_t my_size = size(); in EndsWith() local
1436 if (my_size < rhs_size) return false; in EndsWith()
1439 tmp.RemovePrefix(my_size - rhs_size); in EndsWith()
1444 size_t my_size = size(); in EndsWith() local
1447 if (my_size < rhs_size) return false; in EndsWith()
1450 tmp.RemovePrefix(my_size - rhs_size); in EndsWith()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Dcord.cc1433 size_t my_size = size(); in EndsWith() local
1436 if (my_size < rhs_size) return false; in EndsWith()
1439 tmp.RemovePrefix(my_size - rhs_size); in EndsWith()
1444 size_t my_size = size(); in EndsWith() local
1447 if (my_size < rhs_size) return false; in EndsWith()
1450 tmp.RemovePrefix(my_size - rhs_size); in EndsWith()
/external/abseil-cpp/absl/strings/
Dcord.cc1456 size_t my_size = size(); in EndsWith() local
1459 if (my_size < rhs_size) return false; in EndsWith()
1462 tmp.RemovePrefix(my_size - rhs_size); in EndsWith()
1467 size_t my_size = size(); in EndsWith() local
1470 if (my_size < rhs_size) return false; in EndsWith()
1473 tmp.RemovePrefix(my_size - rhs_size); in EndsWith()
/external/angle/third_party/abseil-cpp/absl/strings/
Dcord.cc1397 size_t my_size = size(); in EndsWith() local
1400 if (my_size < rhs_size) return false; in EndsWith()
1403 tmp.RemovePrefix(my_size - rhs_size); in EndsWith()
1408 size_t my_size = size(); in EndsWith() local
1411 if (my_size < rhs_size) return false; in EndsWith()
1414 tmp.RemovePrefix(my_size - rhs_size); in EndsWith()