Home
last modified time | relevance | path

Searched refs:SingularPtrField (Results 1 – 17 of 17) sorted by relevance

/external/rust/crates/protobuf/2.27.1/src/
Dsingular.rs20 pub struct SingularPtrField<T> { struct
124 pub fn map<U, F>(self, f: F) -> SingularPtrField<U> in map()
128 SingularPtrField::from_option(self.into_option().map(f)) in map()
182 impl<T> SingularPtrField<T> { implementation
185 pub fn some(value: T) -> SingularPtrField<T> { in some()
186 SingularPtrField { in some()
194 pub fn none() -> SingularPtrField<T> { in none()
195 SingularPtrField { in none()
203 pub fn from_option(option: Option<T>) -> SingularPtrField<T> { in from_option()
205 Some(x) => SingularPtrField::some(x), in from_option()
[all …]
Dlib.rs128 pub use crate::singular::SingularPtrField;
Dplugin.rs318 pub compiler_version: crate::SingularPtrField<Version>,
439 self.compiler_version = crate::SingularPtrField::some(v); in set_compiler_version()
897 pub generated_code_info: crate::SingularPtrField<crate::descriptor::GeneratedCodeInfo>,
1040 self.generated_code_info = crate::SingularPtrField::some(v); in set_generated_code_info()
Ddescriptor.rs204 pub options: crate::SingularPtrField<FileOptions>,
205 pub source_code_info: crate::SingularPtrField<SourceCodeInfo>,
488 self.options = crate::SingularPtrField::some(v); in set_options()
521 self.source_code_info = crate::SingularPtrField::some(v); in set_source_code_info()
911 pub options: crate::SingularPtrField<MessageOptions>,
1134 self.options = crate::SingularPtrField::some(v); in set_options()
1519 pub options: crate::SingularPtrField<ExtensionRangeOptions>,
1592 self.options = crate::SingularPtrField::some(v); in set_options()
2148 pub options: crate::SingularPtrField<FieldOptions>,
2440 self.options = crate::SingularPtrField::some(v); in set_options()
[all …]
Drt.rs23 use crate::singular::SingularPtrField;
786 target: &mut SingularPtrField<M>, in read_singular_message_into()
/external/rust/crates/protobuf/2.27.1/src/reflect/
Doptional.rs38 impl<V: ProtobufValue + Clone + 'static> ReflectOptional for SingularPtrField<V> { implementation
45 Some(v) => mem::replace(self, SingularPtrField::some(v.clone())), in set_value()
/external/rust/crates/protobuf-codegen/2.27.1/src/
Drust_types_values.rs32 SingularPtrField(Box<RustType>), enumerator
77 RustType::SingularPtrField(ref param) => format!( in to_code()
194 RustType::SingularPtrField(..) => format!( in default_value()
228 | RustType::SingularPtrField(..) in clear()
251 RustType::SingularPtrField(..) => format!( in wrap_value()
398 | &RustType::SingularPtrField(ref ty) => RustType::Ref(ty.clone()), in iter_elem_type()
/external/crosvm/metrics/out/
Devent_details.rs30 …pub emulator_child_process_exit_details: ::protobuf::SingularPtrField<EmulatorChildProcessExitDeta…
31 pub wave_format_details: ::protobuf::SingularPtrField<WaveFormatDetails>,
32 pub emulator_dll_details: ::protobuf::SingularPtrField<EmulatorDllDetails>,
67 self.emulator_child_process_exit_details = ::protobuf::SingularPtrField::some(v); in set_emulator_child_process_exit_details()
100 self.wave_format_details = ::protobuf::SingularPtrField::some(v); in set_wave_format_details()
133 self.emulator_dll_details = ::protobuf::SingularPtrField::some(v); in set_emulator_dll_details()
321 pub requested: ::protobuf::SingularPtrField<WaveFormat>,
322 pub modified: ::protobuf::SingularPtrField<WaveFormat>,
323 pub closest_matched: ::protobuf::SingularPtrField<WaveFormat>,
358 self.requested = ::protobuf::SingularPtrField::some(v); in set_requested()
[all …]
/external/crosvm/system_api/src/protos/
DUserDataAuth.rs861 pub error_info: ::protobuf::SingularPtrField<CryptohomeErrorInfo>,
909 self.error_info = ::protobuf::SingularPtrField::some(v); in set_error_info()
1037 pub account: ::protobuf::SingularPtrField<super::rpc::AccountIdentifier>,
1038 pub authorization: ::protobuf::SingularPtrField<super::rpc::AuthorizationRequest>,
1040 pub create: ::protobuf::SingularPtrField<CreateRequest>,
1078 self.account = ::protobuf::SingularPtrField::some(v); in set_account()
1111 self.authorization = ::protobuf::SingularPtrField::some(v); in set_authorization()
1159 self.create = ::protobuf::SingularPtrField::some(v); in set_create()
1482 pub error_info: ::protobuf::SingularPtrField<CryptohomeErrorInfo>,
1571 self.error_info = ::protobuf::SingularPtrField::some(v); in set_error_info()
[all …]
Dfido.rs375 pub info: ::protobuf::SingularPtrField<CommonCredentialInfo>,
412 self.info = ::protobuf::SingularPtrField::some(v); in set_info()
659 pub info: ::protobuf::SingularPtrField<CommonCredentialInfo>,
697 self.info = ::protobuf::SingularPtrField::some(v); in set_info()
983 pub icon: ::protobuf::SingularPtrField<Url>,
1068 self.icon = ::protobuf::SingularPtrField::some(v); in set_icon()
1208 pub icon: ::protobuf::SingularPtrField<Url>,
1294 self.icon = ::protobuf::SingularPtrField::some(v); in set_icon()
2571 pub relying_party: ::protobuf::SingularPtrField<PublicKeyCredentialRpEntity>,
2572 pub user: ::protobuf::SingularPtrField<PublicKeyCredentialUserEntity>,
[all …]
Drpc.rs415 pub key: ::protobuf::SingularPtrField<super::key::Key>,
416 pub key_delegate: ::protobuf::SingularPtrField<KeyDelegate>,
449 self.key = ::protobuf::SingularPtrField::some(v); in set_key()
482 self.key_delegate = ::protobuf::SingularPtrField::some(v); in set_key_delegate()
619 pub signature_request_data: ::protobuf::SingularPtrField<SignatureKeyChallengeRequestData>,
671 self.signature_request_data = ::protobuf::SingularPtrField::some(v); in set_signature_request_data()
1063 pub signature_response_data: ::protobuf::SingularPtrField<SignatureKeyChallengeResponseData>,
1096 self.signature_response_data = ::protobuf::SingularPtrField::some(v); in set_signature_response_data()
Dkey.rs951 pub privileges: ::protobuf::SingularPtrField<KeyPrivileges>,
953 pub provider_data: ::protobuf::SingularPtrField<KeyProviderData>,
955 pub policy: ::protobuf::SingularPtrField<KeyPolicy>,
1043 self.privileges = ::protobuf::SingularPtrField::some(v); in set_privileges()
1095 self.provider_data = ::protobuf::SingularPtrField::some(v); in set_provider_data()
1153 self.policy = ::protobuf::SingularPtrField::some(v); in set_policy()
1408 pub data: ::protobuf::SingularPtrField<KeyData>,
1442 self.data = ::protobuf::SingularPtrField::some(v); in set_data()
Dauth_factor.rs2249 pub common_metadata: ::protobuf::SingularPtrField<CommonMetadata>,
2335 self.common_metadata = ::protobuf::SingularPtrField::some(v); in set_common_metadata()
/external/rust/crates/protobuf/2.27.1/src/reflect/acc/
Dv1.rs24 use crate::singular::SingularPtrField;
692 impl<M, V> FieldAccessor2<M, dyn ReflectOptional> for MessageGetMut<M, SingularPtrField<V>>
708 get_field: for<'a> fn(&'a M) -> &'a SingularPtrField<V::Value>, in make_singular_ptr_field_accessor()
709 mut_field: for<'a> fn(&'a mut M) -> &'a mut SingularPtrField<V::Value>, in make_singular_ptr_field_accessor()
718 MessageGetMut::<M, SingularPtrField<V::Value>> { in make_singular_ptr_field_accessor()
/external/rust/crates/protobuf/2.27.1/src/well_known_types/
Dtype_pb.rs30 pub source_context: crate::SingularPtrField<crate::well_known_types::SourceContext>,
167 self.source_context = crate::SingularPtrField::some(v); in set_source_context()
1081 pub source_context: crate::SingularPtrField<crate::well_known_types::SourceContext>,
1193 self.source_context = crate::SingularPtrField::some(v); in set_source_context()
1673 pub value: crate::SingularPtrField<crate::well_known_types::Any>,
1734 self.value = crate::SingularPtrField::some(v); in set_value()
Dapi.rs30 pub source_context: crate::SingularPtrField<crate::well_known_types::SourceContext>,
169 self.source_context = crate::SingularPtrField::some(v); in set_source_context()
/external/rust/crates/protobuf-codegen/2.27.1/src/field/
Dmod.rs157 RustType::SingularPtrField(Box::new(self.elem.rust_storage_type())) in rust_storage_type()
883 RustType::SingularPtrField(..) => "singular_ptr_field", in accessor_fn()
1059 RustType::SingularField(ty) | RustType::SingularPtrField(ty) => { in as_option_type()
1240 RustType::SingularField(..) | RustType::SingularPtrField(..) => { in write_self_field_assign_default()