Home
last modified time | relevance | path

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

/external/rust/crates/protobuf/src/reflect/
Dvalue.rs14 fn as_ref(&self) -> ReflectValueRef; in as_ref() argument
31 fn as_ref_copy(&self) -> ReflectValueRef<'static> in as_ref_copy()
35 ReflectValueRef::Bool(v) => ReflectValueRef::Bool(v), in as_ref_copy()
36 ReflectValueRef::U32(v) => ReflectValueRef::U32(v), in as_ref_copy()
37 ReflectValueRef::U64(v) => ReflectValueRef::U64(v), in as_ref_copy()
38 ReflectValueRef::I32(v) => ReflectValueRef::I32(v), in as_ref_copy()
39 ReflectValueRef::I64(v) => ReflectValueRef::I64(v), in as_ref_copy()
40 ReflectValueRef::F32(v) => ReflectValueRef::F32(v), in as_ref_copy()
41 ReflectValueRef::F64(v) => ReflectValueRef::F64(v), in as_ref_copy()
42 ReflectValueRef::Enum(v) => ReflectValueRef::Enum(v), in as_ref_copy()
[all …]
Drepeated.rs4 use super::value::ReflectValueRef;
103 fn get(&self, index: usize) -> ReflectValueRef<'a>; in get()
109 fn get(&self, index: usize) -> ReflectValueRef<'a>; in get()
145 fn get(&self, index: usize) -> ReflectValueRef<'a> { in get()
148 ReflectRepeatedRef::U32(ref r) => ReflectValueRef::U32(r[index]), in get()
149 ReflectRepeatedRef::U64(ref r) => ReflectValueRef::U64(r[index]), in get()
150 ReflectRepeatedRef::I32(ref r) => ReflectValueRef::I32(r[index]), in get()
151 ReflectRepeatedRef::I64(ref r) => ReflectValueRef::I64(r[index]), in get()
152 ReflectRepeatedRef::F32(ref r) => ReflectValueRef::F32(r[index]), in get()
153 ReflectRepeatedRef::F64(ref r) => ReflectValueRef::F64(r[index]), in get()
[all …]
Dmod.rs17 pub use self::value::ReflectValueRef;
20 pub use self::value::ReflectValueRef as ProtobufValueRef;
Dfield.rs10 use crate::reflect::ReflectValueRef;
16 Optional(Option<ReflectValueRef<'a>>),
/external/rust/crates/protobuf/src/text_format/
Dmod.rs24 use crate::reflect::ReflectValueRef;
148 value: ReflectValueRef, in print_field() argument
153 ReflectValueRef::Message(m) => { in print_field()
162 ReflectValueRef::Enum(e) => { in print_field()
166 ReflectValueRef::String(s) => { in print_field()
170 ReflectValueRef::Bytes(b) => { in print_field()
174 ReflectValueRef::I32(v) => { in print_field()
177 ReflectValueRef::I64(v) => { in print_field()
180 ReflectValueRef::U32(v) => { in print_field()
183 ReflectValueRef::U64(v) => { in print_field()
[all …]
/external/rust/crates/protobuf/src/reflect/acc/
Dv1.rs15 use crate::reflect::ReflectValueRef;
89 fn get_field<'a>(&self, m: &'a M) -> ReflectValueRef<'a>; in get_field()
98 fn get_field<'a>(&self, m: &'a M) -> ReflectValueRef<'a> { in get_field()
112 fn get_ref<'a>(&self, m: &'a M) -> ReflectValueRef<'a> { in get_ref()
115 &SingularGetSet::String(get, _) => ReflectValueRef::String(get(m)), in get_ref()
116 &SingularGetSet::Bytes(get, _) => ReflectValueRef::Bytes(get(m)), in get_ref()
117 &SingularGetSet::Enum(ref get) => ReflectValueRef::Enum(get.get_enum(m)), in get_ref()
118 &SingularGetSet::Message(ref get) => ReflectValueRef::Message(get.get_message(m)), in get_ref()
174 fn get_value_option<'a>(&self, m: &'a M) -> Option<ReflectValueRef<'a>> { in get_value_option()
238 ReflectValueRef::Message(m) => m, in get_message_generic()
[all …]
/external/rust/crates/protobuf/src/well_known_types/
Dwrappers.rs172 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
173 crate::reflect::ReflectValueRef::Message(self) in as_ref()
327 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
328 crate::reflect::ReflectValueRef::Message(self) in as_ref()
482 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
483 crate::reflect::ReflectValueRef::Message(self) in as_ref()
637 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
638 crate::reflect::ReflectValueRef::Message(self) in as_ref()
792 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
793 crate::reflect::ReflectValueRef::Message(self) in as_ref()
[all …]
Dtype_pb.rs406 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
407 crate::reflect::ReflectValueRef::Message(self) in as_ref()
910 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
911 crate::reflect::ReflectValueRef::Message(self) in as_ref()
1012 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
1013 crate::reflect::ReflectValueRef::Enum(crate::ProtobufEnum::descriptor(self)) in as_ref()
1069 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
1070 crate::reflect::ReflectValueRef::Enum(crate::ProtobufEnum::descriptor(self)) in as_ref()
1417 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
1418 crate::reflect::ReflectValueRef::Message(self) in as_ref()
[all …]
Dstruct_pb.rs174 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
175 crate::reflect::ReflectValueRef::Message(self) in as_ref()
660 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
661 crate::reflect::ReflectValueRef::Message(self) in as_ref()
829 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
830 crate::reflect::ReflectValueRef::Message(self) in as_ref()
877 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
878 crate::reflect::ReflectValueRef::Enum(crate::ProtobufEnum::descriptor(self)) in as_ref()
Dempty.rs136 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
137 crate::reflect::ReflectValueRef::Message(self) in as_ref()
Dsource_context.rs179 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
180 crate::reflect::ReflectValueRef::Message(self) in as_ref()
Dfield_mask.rs178 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
179 crate::reflect::ReflectValueRef::Message(self) in as_ref()
Dduration.rs207 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
208 crate::reflect::ReflectValueRef::Message(self) in as_ref()
Dtimestamp.rs207 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
208 crate::reflect::ReflectValueRef::Message(self) in as_ref()
Dany.rs221 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
222 crate::reflect::ReflectValueRef::Message(self) in as_ref()
Dapi.rs456 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
457 crate::reflect::ReflectValueRef::Message(self) in as_ref()
852 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
853 crate::reflect::ReflectValueRef::Message(self) in as_ref()
1056 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
1057 crate::reflect::ReflectValueRef::Message(self) in as_ref()
/external/rust/crates/protobuf/src/
Dplugin.rs306 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
307 crate::reflect::ReflectValueRef::Message(self) in as_ref()
625 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
626 crate::reflect::ReflectValueRef::Message(self) in as_ref()
885 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
886 crate::reflect::ReflectValueRef::Message(self) in as_ref()
1218 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
1219 crate::reflect::ReflectValueRef::Message(self) in as_ref()
1269 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
1270 crate::reflect::ReflectValueRef::Enum(crate::ProtobufEnum::descriptor(self)) in as_ref()
Ddescriptor.rs186 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
187 crate::reflect::ReflectValueRef::Message(self) in as_ref()
895 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
896 crate::reflect::ReflectValueRef::Message(self) in as_ref()
1508 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
1509 crate::reflect::ReflectValueRef::Message(self) in as_ref()
1763 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
1764 crate::reflect::ReflectValueRef::Message(self) in as_ref()
1961 fn as_ref(&self) -> crate::reflect::ReflectValueRef { in as_ref() argument
1962 crate::reflect::ReflectValueRef::Message(self) in as_ref()
[all …]