/external/rust/crates/protobuf/2.27.1/src/ |
D | rt.rs | 15 use crate::enums::ProtobufEnum; 144 pub fn vec_packed_enum_data_size<E: ProtobufEnum>(vec: &[E]) -> u32 { in vec_packed_enum_data_size() 171 pub fn vec_packed_enum_size<E: ProtobufEnum>(field_number: u32, vec: &[E]) -> u32 { in vec_packed_enum_size() 211 fn enum_size_no_tag<E: ProtobufEnum>(value: E) -> u32 { in enum_size_no_tag() 216 pub fn enum_size<E: ProtobufEnum>(field_number: u32, value: E) -> u32 { in enum_size() 468 pub fn read_repeated_enum_into<E: ProtobufEnum>( in read_repeated_enum_into() 485 fn read_enum_with_unknown_fields_into<E: ProtobufEnum, C>( in read_enum_with_unknown_fields_into() argument 495 match ProtobufEnum::from_i32(i) { in read_enum_with_unknown_fields_into() 502 fn read_repeated_packed_enum_with_unknown_fields_into<E: ProtobufEnum>( in read_repeated_packed_enum_with_unknown_fields_into() 523 pub fn read_repeated_enum_with_unknown_fields_into<E: ProtobufEnum>( in read_repeated_enum_with_unknown_fields_into() [all …]
|
D | enums.rs | 5 pub trait ProtobufEnum: Eq + Sized + Copy + 'static { trait
|
D | lib.rs | 109 pub use crate::enums::ProtobufEnum;
|
D | types.rs | 13 use crate::enums::ProtobufEnum; 117 pub struct ProtobufTypeEnum<E: ProtobufEnum>(marker::PhantomData<E>); 615 impl<E: ProtobufEnum + ProtobufValue> ProtobufType for ProtobufTypeEnum<E> {
|
D | coded_input_stream.rs | 18 use crate::enums::ProtobufEnum; 362 pub fn read_enum<E: ProtobufEnum>(&mut self) -> ProtobufResult<E> { in read_enum() 364 match ProtobufEnum::from_i32(i) { in read_enum() 563 pub fn read_repeated_packed_enum_into<E: ProtobufEnum>( in read_repeated_packed_enum_into()
|
D | coded_output_stream.rs | 16 use crate::ProtobufEnum; 405 E: ProtobufEnum, in write_enum_obj_no_tag() 507 E: ProtobufEnum, in write_enum_obj()
|
D | descriptor.rs | 2595 os.write_enum(4, crate::ProtobufEnum::value(&v))?; in write_to_with_cached_sizes() 2598 os.write_enum(5, crate::ProtobufEnum::value(&v))?; in write_to_with_cached_sizes() 2782 impl crate::ProtobufEnum for FieldDescriptorProto_Type { 2855 crate::reflect::ReflectValueRef::Enum(crate::ProtobufEnum::descriptor(self)) in as_ref() 2867 impl crate::ProtobufEnum for FieldDescriptorProto_Label { 2910 crate::reflect::ReflectValueRef::Enum(crate::ProtobufEnum::descriptor(self)) in as_ref() 5496 os.write_enum(9, crate::ProtobufEnum::value(&v))?; in write_to_with_cached_sizes() 5749 impl crate::ProtobufEnum for FileOptions_OptimizeMode { 5792 crate::reflect::ReflectValueRef::Enum(crate::ProtobufEnum::descriptor(self)) in as_ref() 6382 os.write_enum(1, crate::ProtobufEnum::value(&v))?; in write_to_with_cached_sizes() [all …]
|
D | plugin.rs | 1230 impl crate::ProtobufEnum for CodeGeneratorResponse_Feature { 1270 crate::reflect::ReflectValueRef::Enum(crate::ProtobufEnum::descriptor(self)) in as_ref()
|
/external/rust/crates/protobuf/2.27.1/src/reflect/ |
D | enums.rs | 9 use crate::ProtobufEnum; 51 pub fn for_type<E: ProtobufEnum>() -> &'static EnumDescriptor { in for_type() 91 E: ProtobufEnum, in new_pb_name() argument
|
/external/crosvm/system_api/src/protos/ |
D | fido.rs | 591 os.write_enum(3, ::protobuf::ProtobufEnum::value(v))?; in write_to_with_cached_sizes() 1561 os.write_enum(1, ::protobuf::ProtobufEnum::value(&self.field_type))?; in write_to_with_cached_sizes() 2318 os.write_enum(5, ::protobuf::ProtobufEnum::value(&self.user_verification))?; in write_to_with_cached_sizes() 2505 os.write_enum(1, ::protobuf::ProtobufEnum::value(&self.authenticator_attachment))?; in write_to_with_cached_sizes() 2511 os.write_enum(3, ::protobuf::ProtobufEnum::value(&self.user_verification))?; in write_to_with_cached_sizes() 3095 os.write_enum(8, ::protobuf::ProtobufEnum::value(&self.attestation))?; in write_to_with_cached_sizes() 3106 os.write_enum(11, ::protobuf::ProtobufEnum::value(&self.protection_policy))?; in write_to_with_cached_sizes() 3314 os.write_enum(1, ::protobuf::ProtobufEnum::value(&self.field_type))?; in write_to_with_cached_sizes() 3320 os.write_enum(3, ::protobuf::ProtobufEnum::value(v))?; in write_to_with_cached_sizes() 3401 impl ::protobuf::ProtobufEnum for AuthenticatorStatus { [all …]
|
D | rpc.rs | 735 os.write_enum(1, ::protobuf::ProtobufEnum::value(&v))?; in write_to_with_cached_sizes() 801 impl ::protobuf::ProtobufEnum for KeyChallengeRequest_ChallengeType { 833 ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self)) in as_ref() 1003 os.write_enum(3, ::protobuf::ProtobufEnum::value(&v))?; in write_to_with_cached_sizes() 1417 impl ::protobuf::ProtobufEnum for CryptohomeErrorCode { 1558 ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self)) in as_ref() 1574 impl ::protobuf::ProtobufEnum for FirmwareManagementParametersFlags { 1619 ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self)) in as_ref()
|
D | UserDataAuth.rs | 403 os.write_enum(3, ::protobuf::ProtobufEnum::value(&self.primary_action))?; in write_to_with_cached_sizes() 406 os.write_enum(4, ::protobuf::ProtobufEnum::value(v))?; in write_to_with_cached_sizes() 973 os.write_enum(1, ::protobuf::ProtobufEnum::value(&self.error))?; in write_to_with_cached_sizes() 1651 os.write_enum(1, ::protobuf::ProtobufEnum::value(&self.error))?; in write_to_with_cached_sizes() 2024 os.write_enum(1, ::protobuf::ProtobufEnum::value(&self.error))?; in write_to_with_cached_sizes() 2436 os.write_enum(1, ::protobuf::ProtobufEnum::value(&self.error))?; in write_to_with_cached_sizes() 2864 os.write_enum(1, ::protobuf::ProtobufEnum::value(&self.error))?; in write_to_with_cached_sizes() 3228 os.write_enum(1, ::protobuf::ProtobufEnum::value(&self.error))?; in write_to_with_cached_sizes() 3638 os.write_enum(1, ::protobuf::ProtobufEnum::value(&self.error))?; in write_to_with_cached_sizes() 4018 os.write_enum(1, ::protobuf::ProtobufEnum::value(&self.error))?; in write_to_with_cached_sizes() [all …]
|
D | key.rs | 723 os.write_enum(2, ::protobuf::ProtobufEnum::value(v))?; in write_to_with_cached_sizes() 1269 os.write_enum(1, ::protobuf::ProtobufEnum::value(&v))?; in write_to_with_cached_sizes() 1364 impl ::protobuf::ProtobufEnum for KeyData_KeyType { 1401 ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self)) in as_ref() 1611 impl ::protobuf::ProtobufEnum for ChallengeSignatureAlgorithm { 1649 ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self)) in as_ref()
|
D | auth_factor.rs | 719 os.write_enum(1, ::protobuf::ProtobufEnum::value(v))?; in write_to_with_cached_sizes() 2793 os.write_enum(1, ::protobuf::ProtobufEnum::value(&self.field_type))?; in write_to_with_cached_sizes() 2909 impl ::protobuf::ProtobufEnum for AuthFactorType { 2952 ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self)) in as_ref() 2963 impl ::protobuf::ProtobufEnum for AuthFactorPreparePurpose { 2998 ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self)) in as_ref() 3011 impl ::protobuf::ProtobufEnum for SmartCardSignatureAlgorithm { 3050 ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self)) in as_ref() 3061 impl ::protobuf::ProtobufEnum for AuthIntent { 3096 ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self)) in as_ref()
|
/external/rust/crates/protobuf/2.27.1/src/well_known_types/ |
D | type_pb.rs | 303 os.write_enum(6, crate::ProtobufEnum::value(&self.syntax))?; in write_to_with_cached_sizes() 754 os.write_enum(1, crate::ProtobufEnum::value(&self.kind))?; in write_to_with_cached_sizes() 757 os.write_enum(2, crate::ProtobufEnum::value(&self.cardinality))?; in write_to_with_cached_sizes() 939 impl crate::ProtobufEnum for Field_Kind { 1013 crate::reflect::ReflectValueRef::Enum(crate::ProtobufEnum::descriptor(self)) in as_ref() 1026 impl crate::ProtobufEnum for Field_Cardinality { 1070 crate::reflect::ReflectValueRef::Enum(crate::ProtobufEnum::descriptor(self)) in as_ref() 1320 os.write_enum(5, crate::ProtobufEnum::value(&self.syntax))?; in write_to_with_cached_sizes() 1894 impl crate::ProtobufEnum for Syntax { 1934 crate::reflect::ReflectValueRef::Enum(crate::ProtobufEnum::descriptor(self)) in as_ref()
|
D | struct_pb.rs | 536 os.write_enum(1, crate::ProtobufEnum::value(&v))?; in write_to_with_cached_sizes() 840 impl crate::ProtobufEnum for NullValue { 878 crate::reflect::ReflectValueRef::Enum(crate::ProtobufEnum::descriptor(self)) in as_ref()
|
D | api.rs | 347 os.write_enum(7, crate::ProtobufEnum::value(&self.syntax))?; in write_to_with_cached_sizes() 743 os.write_enum(7, crate::ProtobufEnum::value(&self.syntax))?; in write_to_with_cached_sizes()
|
/external/crosvm/metrics/out/ |
D | event_details.rs | 982 os.write_enum(10, ::protobuf::ProtobufEnum::value(&v))?; in write_to_with_cached_sizes() 1128 impl ::protobuf::ProtobufEnum for WaveFormat_WaveFormatSubFormat { 1182 ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self)) in as_ref() 1296 os.write_enum(2, ::protobuf::ProtobufEnum::value(&v))?; in write_to_with_cached_sizes() 1567 impl ::protobuf::ProtobufEnum for EmulatorProcessType { 1623 ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self)) in as_ref()
|
/external/rust/crates/protobuf/2.27.1/src/reflect/acc/ |
D | v1.rs | 9 use crate::enums::ProtobufEnum; 69 impl<M: Message, E: ProtobufEnum> GetSingularEnum<M> for GetSingularEnumImpl<M, E> { 506 pub fn make_singular_enum_accessor<M: Message + 'static, E: ProtobufEnum + 'static>( in make_singular_enum_accessor()
|
/external/crosvm/crosvm_plugin/src/ |
D | lib.rs | 67 use protobuf::ProtobufEnum;
|