Home
last modified time | relevance | path

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

/external/rust/crates/log/src/kv/
Dvalue.rs20 fn to_value(&self) -> Value; in to_value() method
27 fn to_value(&self) -> Value { in to_value() function
28 (**self).to_value() in to_value()
33 fn to_value(&self) -> Value { in to_value() method
119 value.to_value() in from_any()
281 fn to_value(&self) -> Value { in to_value() method
287 fn to_value(&self) -> Value { in to_value() method
294 fn to_value(&self) -> Value { in to_value() method
318 fn to_value(&self) -> Value { in to_value() method
324 fn to_value(&self) -> Value { in to_value() method
[all …]
Dsource.rs128 visitor.visit_pair(self.0.to_key(), self.1.to_value()) in visit()
133 Some(self.1.to_value()) in get()
294 visitor.visit_pair(key.to_key(), value.to_value())?; in visit()
300 HashMap::get(self, key.as_str()).map(|v| v.to_value()) in get()
315 visitor.visit_pair(key.to_key(), value.to_value())?; in visit()
321 BTreeMap::get(self, key.as_str()).map(|v| v.to_value()) in get()
708 visitor.visit_pair(self.key.to_key(), self.value.to_value()) in count()
/external/rust/crates/serde_cbor/src/value/
Dser.rs170 values.insert(Value::from(variant.to_owned()), to_value(&value)?); in serialize_newtype_variant()
279 self.vec.push(to_value(&value)?); in serialize_element()
328 self.vec.push(to_value(&value)?); in serialize_field()
349 self.next_key = Some(to_value(&key)?); in serialize_key()
361 self.map.insert(key, to_value(&value)?); in serialize_value()
396 .insert(Value::from(String::from(key)), to_value(&value)?); in serialize_field()
438 pub fn to_value<T>(value: T) -> Result<Value, Error> in to_value() function
Dmod.rs12 pub use self::ser::to_value;
/external/rust/crates/tinytemplate/src/
Dtemplate.rs385 ::serde_json::to_value(&ctx).unwrap() in context()
810 let context = ::serde_json::to_value(&context).unwrap(); in test_root_print()
828 let context = ::serde_json::to_value(&context).unwrap(); in test_root_branch()
846 let context = ::serde_json::to_value(&context).unwrap(); in test_root_iterate()
864 let context = ::serde_json::to_value(&context).unwrap(); in test_number_truthiness_zero()
882 let context = ::serde_json::to_value(&context).unwrap(); in test_number_truthiness_one()
905 let context = ::serde_json::to_value(&context).unwrap(); in test_indexed_paths()
931 let context = ::serde_json::to_value(&context).unwrap(); in test_indexed_paths_fall_back_to_string_lookup()
Dlib.rs216 let value = serde_json::to_value(context)?; in render()
/external/rust/crates/serde_cbor/tests/
Dser.rs85 let vec = to_vec(&serde_cbor::value::to_value(object.clone()).unwrap()).unwrap(); in test_object_list_keys()
115 let vec = to_vec(&serde_cbor::value::to_value(object.clone()).unwrap()).unwrap(); in test_object_object_keys()
Dvalue.rs60 let value = serde_cbor::value::to_value(data.clone()).unwrap(); in serde()
/external/rust/crates/serde_json/src/value/
Dser.rs5 use crate::value::{to_value, Value};
194 values.insert(String::from(variant), tri!(to_value(&value))); in serialize_newtype_variant()
313 self.vec.push(tri!(to_value(&value))); in serialize_element()
362 self.vec.push(tri!(to_value(&value))); in serialize_field()
410 map.insert(key, tri!(to_value(&value))); in serialize_value()
667 self.map.insert(String::from(key), tri!(to_value(&value))); in serialize_field()
Dmod.rs963 pub fn to_value<T>(value: T) -> Result<Value, Error> in to_value() function
/external/rust/crates/serde_json/src/
Dlib.rs433 pub use crate::value::{from_value, to_value, Map, Number, Value};
Dmacros.rs278 $crate::to_value(&$other).unwrap()
/external/webrtc/video/
Dvideo_stream_encoder.cc586 conf.value = encoder_switch_experiment_.to_value; in ReconfigureEncoder()
1738 conf.value = encoder_switch_experiment_.to_value; in OnBitrateUpdated()
1926 webrtc::FieldTrialOptional<std::string> to_value{"to_value"}; in ParseEncoderSwitchFieldTrial() local
1930 {&codec_thresholds_string, &to_codec, &to_param, &to_value, &window}, in ParseEncoderSwitchFieldTrial()
1941 result.to_value = to_value.GetOptional(); in ParseEncoderSwitchFieldTrial()
1980 << " to_value:" << result.to_value.value_or("<none>") in ParseEncoderSwitchFieldTrial()
Dvideo_stream_encoder.h370 absl::optional<std::string> to_value; member
/external/protobuf/php/ext/google/protobuf/
Dstorage.c1089 upb_value to_value; in layout_merge() local
1091 void* to_mem = upb_value_memory(&to_value); in layout_merge()
1097 map_index_set(to_map, key, key_length, to_value); in layout_merge()