/external/rust/crates/log/src/kv/ |
D | value.rs | 20 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 …]
|
D | source.rs | 128 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/ |
D | ser.rs | 170 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
|
D | mod.rs | 12 pub use self::ser::to_value;
|
/external/rust/crates/tinytemplate/src/ |
D | template.rs | 385 ::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()
|
D | lib.rs | 216 let value = serde_json::to_value(context)?; in render()
|
/external/rust/crates/serde_cbor/tests/ |
D | ser.rs | 85 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()
|
D | value.rs | 60 let value = serde_cbor::value::to_value(data.clone()).unwrap(); in serde()
|
/external/rust/crates/serde_json/src/value/ |
D | ser.rs | 5 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()
|
D | mod.rs | 963 pub fn to_value<T>(value: T) -> Result<Value, Error> in to_value() function
|
/external/rust/crates/serde_json/src/ |
D | lib.rs | 433 pub use crate::value::{from_value, to_value, Map, Number, Value};
|
D | macros.rs | 278 $crate::to_value(&$other).unwrap()
|
/external/webrtc/video/ |
D | video_stream_encoder.cc | 586 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()
|
D | video_stream_encoder.h | 370 absl::optional<std::string> to_value; member
|
/external/protobuf/php/ext/google/protobuf/ |
D | storage.c | 1089 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()
|