Home
last modified time | relevance | path

Searched refs:WireTypeVarint (Results 1 – 15 of 15) sorted by relevance

/external/rust/crates/protobuf/src/
Drt.rs192 WireType::WireTypeVarint => value.len_varint(), in value_size_no_tag()
267 WireType::WireTypeVarint => { in read_repeated_int32_into()
283 WireType::WireTypeVarint => { in read_repeated_int64_into()
299 WireType::WireTypeVarint => { in read_repeated_uint32_into()
315 WireType::WireTypeVarint => { in read_repeated_uint64_into()
331 WireType::WireTypeVarint => { in read_repeated_sint32_into()
347 WireType::WireTypeVarint => { in read_repeated_sint64_into()
459 WireType::WireTypeVarint => { in read_repeated_bool_into()
476 WireType::WireTypeVarint => { in read_repeated_enum_into()
538 WireType::WireTypeVarint => { in read_repeated_enum_with_unknown_fields_into()
[all …]
Dcoded_output_stream.rs372 self.write_tag(field_number, wire_format::WireTypeVarint)?; in write_uint64()
379 self.write_tag(field_number, wire_format::WireTypeVarint)?; in write_uint32()
386 self.write_tag(field_number, wire_format::WireTypeVarint)?; in write_int64()
393 self.write_tag(field_number, wire_format::WireTypeVarint)?; in write_int32()
400 self.write_tag(field_number, wire_format::WireTypeVarint)?; in write_sint64()
407 self.write_tag(field_number, wire_format::WireTypeVarint)?; in write_sint32()
442 self.write_tag(field_number, wire_format::WireTypeVarint)?; in write_bool()
449 self.write_tag(field_number, wire_format::WireTypeVarint)?; in write_enum()
594 test_write("08", |os| os.write_tag(1, wire_format::WireTypeVarint)); in test_output_stream_write_tag()
Dtypes.rs191 WireType::WireTypeVarint in wire_type()
223 WireType::WireTypeVarint in wire_type()
251 WireType::WireTypeVarint in wire_type()
279 WireType::WireTypeVarint in wire_type()
307 WireType::WireTypeVarint in wire_type()
335 WireType::WireTypeVarint in wire_type()
475 WireType::WireTypeVarint in wire_type()
619 WireType::WireTypeVarint in wire_type()
Dwire_format.rs17 WireTypeVarint = 0, enumerator
36 0 => Some(WireTypeVarint), in new()
Dplugin.rs152 if wire_type != crate::wire_format::WireTypeVarint { in merge_from()
159 if wire_type != crate::wire_format::WireTypeVarint { in merge_from()
166 if wire_type != crate::wire_format::WireTypeVarint { in merge_from()
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()
754 if wire_type != crate::wire_format::WireTypeVarint { in merge_from()
779 my_size += crate::rt::value_size(2, v, crate::wire_format::WireTypeVarint); in compute_size()
Ddescriptor.rs672 my_size += crate::rt::value_size(10, *value, crate::wire_format::WireTypeVarint); in compute_size()
675 my_size += crate::rt::value_size(11, *value, crate::wire_format::WireTypeVarint); in compute_size()
1625 if wire_type != crate::wire_format::WireTypeVarint { in merge_from()
1632 if wire_type != crate::wire_format::WireTypeVarint { in merge_from()
1654 my_size += crate::rt::value_size(1, v, crate::wire_format::WireTypeVarint); in compute_size()
1657 my_size += crate::rt::value_size(2, v, crate::wire_format::WireTypeVarint); in compute_size()
1841 if wire_type != crate::wire_format::WireTypeVarint { in merge_from()
1848 if wire_type != crate::wire_format::WireTypeVarint { in merge_from()
1867 my_size += crate::rt::value_size(1, v, crate::wire_format::WireTypeVarint); in compute_size()
1870 my_size += crate::rt::value_size(2, v, crate::wire_format::WireTypeVarint); in compute_size()
[all …]
Dunknown.rs75 UnknownValueRef::Varint(_) => wire_format::WireTypeVarint, in wire_type()
Dcoded_input_stream.rs575 wire_format::WireTypeVarint => { in read_unknown()
/external/rust/crates/protobuf/src/well_known_types/
Dduration.rs87 if wire_type != crate::wire_format::WireTypeVarint { in merge_from()
94 if wire_type != crate::wire_format::WireTypeVarint { in merge_from()
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()
Dtimestamp.rs87 if wire_type != crate::wire_format::WireTypeVarint { in merge_from()
94 if wire_type != crate::wire_format::WireTypeVarint { in merge_from()
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()
Dwrappers.rs381 if wire_type != crate::wire_format::WireTypeVarint { in merge_from()
400 my_size += crate::rt::value_size(1, self.value, crate::wire_format::WireTypeVarint); in compute_size()
536 if wire_type != crate::wire_format::WireTypeVarint { in merge_from()
555 my_size += crate::rt::value_size(1, self.value, crate::wire_format::WireTypeVarint); in compute_size()
691 if wire_type != crate::wire_format::WireTypeVarint { in merge_from()
710 my_size += crate::rt::value_size(1, self.value, crate::wire_format::WireTypeVarint); in compute_size()
846 if wire_type != crate::wire_format::WireTypeVarint { in merge_from()
865 my_size += crate::rt::value_size(1, self.value, crate::wire_format::WireTypeVarint); in compute_size()
1001 if wire_type != crate::wire_format::WireTypeVarint { in merge_from()
Dtype_pb.rs669 if wire_type != crate::wire_format::WireTypeVarint { in merge_from()
682 if wire_type != crate::wire_format::WireTypeVarint { in merge_from()
689 if wire_type != crate::wire_format::WireTypeVarint { in merge_from()
723 my_size += crate::rt::value_size(3, self.number, crate::wire_format::WireTypeVarint); in compute_size()
732 … my_size += crate::rt::value_size(7, self.oneof_index, crate::wire_format::WireTypeVarint); in compute_size()
1532 if wire_type != crate::wire_format::WireTypeVarint { in merge_from()
1557 my_size += crate::rt::value_size(2, self.number, crate::wire_format::WireTypeVarint); in compute_size()
Dstruct_pb.rs456 if wire_type != crate::wire_format::WireTypeVarint { in merge_from()
474 if wire_type != crate::wire_format::WireTypeVarint { in merge_from()
Dapi.rs660 if wire_type != crate::wire_format::WireTypeVarint { in merge_from()
670 if wire_type != crate::wire_format::WireTypeVarint { in merge_from()
/external/rust/crates/protobuf-codegen/src/field/
Dmod.rs68 FieldDescriptorProto_Type::TYPE_INT32 => WireTypeVarint, in field_type_wire_type()
69 FieldDescriptorProto_Type::TYPE_INT64 => WireTypeVarint, in field_type_wire_type()
70 FieldDescriptorProto_Type::TYPE_UINT32 => WireTypeVarint, in field_type_wire_type()
71 FieldDescriptorProto_Type::TYPE_UINT64 => WireTypeVarint, in field_type_wire_type()
72 FieldDescriptorProto_Type::TYPE_SINT32 => WireTypeVarint, in field_type_wire_type()
73 FieldDescriptorProto_Type::TYPE_SINT64 => WireTypeVarint, in field_type_wire_type()
74 FieldDescriptorProto_Type::TYPE_BOOL => WireTypeVarint, in field_type_wire_type()
75 FieldDescriptorProto_Type::TYPE_ENUM => WireTypeVarint, in field_type_wire_type()