Home
last modified time | relevance | path

Searched defs:ReflectValueBox (Results 1 – 19 of 19) sorted by relevance

/aosp_15_r20/external/rust/android-crates-io/crates/protobuf/src/reflect/value/
Dvalue_box.rs13 pub enum ReflectValueBox { enum
38 impl From<u32> for ReflectValueBox { implementation
44 impl From<u64> for ReflectValueBox { implementation
50 impl From<i32> for ReflectValueBox { implementation
56 impl From<i64> for ReflectValueBox { implementation
62 impl From<f32> for ReflectValueBox { implementation
68 impl From<f64> for ReflectValueBox { implementation
74 impl From<bool> for ReflectValueBox { implementation
80 impl From<String> for ReflectValueBox { implementation
86 impl From<Vec<u8>> for ReflectValueBox { implementation
[all …]
Dvalue_ref.rs205 pub fn to_box(&self) -> ReflectValueBox { in to_box()
286 impl<'a> PartialEq<ReflectValueRef<'a>> for ReflectValueBox { implementation
/aosp_15_r20/external/rust/android-crates-io/crates/protobuf/src/reflect/
Druntime_types.rs69 fn from_value_box(value_box: ReflectValueBox) -> Result<Self::Value, ReflectValueBox>; in from_value_box() argument
72 fn into_value_box(value: Self::Value) -> ReflectValueBox; in into_value_box()
93 fn set_from_value_box(target: &mut Self::Value, value_box: ReflectValueBox) { in set_from_value_box()
186 fn from_value_box(value_box: ReflectValueBox) -> Result<f32, ReflectValueBox> { in from_value_box() argument
192 fn into_value_box(value: f32) -> ReflectValueBox { in into_value_box()
231 fn from_value_box(value_box: ReflectValueBox) -> Result<f64, ReflectValueBox> { in from_value_box() argument
238 fn into_value_box(value: f64) -> ReflectValueBox { in into_value_box()
278 fn from_value_box(value_box: ReflectValueBox) -> Result<i32, ReflectValueBox> { in from_value_box() argument
285 fn into_value_box(value: i32) -> ReflectValueBox { in into_value_box()
337 fn from_value_box(value_box: ReflectValueBox) -> Result<i64, ReflectValueBox> { in from_value_box() argument
[all …]
Druntime_type_box.rs57 pub(crate) fn default_value_box(&self) -> ReflectValueBox { in default_value_box()
92 pub(crate) fn parse_proto_default_value(&self, value: &str) -> Result<ReflectValueBox, ()> { in parse_proto_default_value()
Dprotobuf_type_box.rs76 ) -> crate::Result<ReflectValueBox> { in read()
/aosp_15_r20/external/rust/android-crates-io/crates/protobuf/src/reflect/repeated/
Dmod.rs33 fn set(&mut self, index: usize, value: ReflectValueBox); in set()
39 fn push(&mut self, value: ReflectValueBox); in push()
94 fn set(&mut self, index: usize, value: ReflectValueBox) { in set()
99 fn push(&mut self, value: ReflectValueBox) { in push()
344 impl<'a> PartialEq<ReflectRepeatedRef<'a>> for [ReflectValueBox] { implementation
398 pub fn set(&mut self, index: usize, value: ReflectValueBox) { in set()
407 pub fn push(&mut self, value: ReflectValueBox) { in push()
505 impl<'a> PartialEq<ReflectRepeatedMut<'a>> for [ReflectValueBox] { implementation
/aosp_15_r20/external/rust/android-crates-io/crates/protobuf/src/reflect/map/
Dmod.rs25 fn insert(&mut self, key: ReflectValueBox, value: ReflectValueBox); in insert()
234 pub fn insert(&mut self, key: ReflectValueBox, value: ReflectValueBox) { in insert()
Dgenerated.rs37 fn insert(&mut self, key: ReflectValueBox, value: ReflectValueBox) { in insert()
/aosp_15_r20/external/rust/android-crates-io/crates/protobuf/src/text_format/
Dparse.rs189 ) -> ParseResult<(ReflectValueBox, ReflectValueBox)> { in read_map_entry() argument
226 fn read_value_of_type(&mut self, t: &RuntimeType) -> ParseResult<ReflectValueBox> { in read_value_of_type()
/aosp_15_r20/external/rust/android-crates-io/crates/protobuf/src/reflect/dynamic/
Drepeated.rs113 fn set(&mut self, index: usize, value: ReflectValueBox) { in set()
141 fn push(&mut self, value: ReflectValueBox) { in push()
Dmap.rs190 fn insert(&mut self, key: ReflectValueBox, value: ReflectValueBox) { in insert()
Doptional.rs28 pub(crate) fn set(&mut self, value: ReflectValueBox) { in set()
Dmod.rs200 pub(crate) fn set_field(&mut self, field: &FieldDescriptor, value: ReflectValueBox) { in set_field()
/aosp_15_r20/external/rust/android-crates-io/crates/protobuf/src/reflect/acc/v2/singular/
Dmod.rs25 fn set_field(&self, m: &mut dyn MessageDyn, value: ReflectValueBox); in set_field()
67 fn set_field(&self, m: &mut dyn MessageDyn, value: ReflectValueBox) { in new()
/aosp_15_r20/external/rust/android-crates-io/crates/protobuf/src/reflect/field/
Ddynamic.rs29 pub(crate) fn set_field(&self, message: &mut dyn MessageDyn, value: ReflectValueBox) { in set_field()
Dindex.rs81 ReflectValueBox(ReflectValueBox), enumerator
Dmod.rs434 pub fn set_singular_field(&self, m: &mut dyn MessageDyn, value: ReflectValueBox) { in set_singular_field()
/aosp_15_r20/external/rust/android-crates-io/crates/protobuf-json-mapping/src/
Dparse.rs405 fn read_value(&mut self, t: &RuntimeType) -> ParseResultWithoutLoc<ReflectValueBox> { in read_value()
511 fn parse_key(&self, key: String, t: &RuntimeType) -> ParseResultWithoutLoc<ReflectValueBox> { in parse_key()
/aosp_15_r20/external/rust/android-crates-io/crates/protobuf-parse/src/pure/
Dmodel.rs461 pub fn as_type(&self, ty: RuntimeType) -> anyhow::Result<ReflectValueBox> { in as_type()