Home
last modified time | relevance | path

Searched refs:to_string_pretty (Results 1 – 25 of 39) sorted by relevance

12

/external/crosvm/e2e_tests/guest_under_test/rootfs/delegate/src/
Dmain.rs33 serde_json::to_string_pretty(&DelegateMessage::GuestToHost(GuestToHostMessage::Ready)) in listen()
67 serde_json::to_string_pretty(&command_result).unwrap() in listen()
70 serde_json::to_string_pretty(&DelegateMessage::GuestToHost(command_result)) in listen()
/external/rust/android-crates-io/crates/toml/tests/testsuite/
Dtables_last.rs107 let s = toml::to_string_pretty(&g1).unwrap(); in vec_of_vec_issue_387()
126 let s = toml::to_string_pretty(&outer).unwrap(); in vec_order_issue_356()
Dserde.rs984 let raw = toml::to_string_pretty(&package).unwrap(); in newline_key_value()
1011 let raw = toml::to_string_pretty(&package).unwrap(); in newline_table()
1053 let raw = toml::to_string_pretty(&package).unwrap(); in newline_dotted_table()
1110 let raw = toml::to_string_pretty(&package).unwrap(); in newline_mixed_tables()
1200 let err = toml::to_string_pretty(&native).unwrap_err(); in unsupported_root_type()
1212 let err = toml::to_string_pretty(&native).unwrap_err(); in unsupported_nested_type()
Dpretty.rs183 let pretty = toml::to_string_pretty(&pkg).unwrap(); in error_includes_key()
/external/rust/android-crates-io/crates/pdl-compiler/src/backends/
Djson.rs21 serde_json::to_string_pretty(&file) in generate()
/external/bazelbuild-rules_rust/crate_universe/tools/urls_generator/src/
Dmain.rs138 serde_json::to_string_pretty(&urls).unwrap() in render_module()
145 serde_json::to_string_pretty(&sha256s).unwrap() in render_module()
/external/rust/android-crates-io/crates/toml/src/
Dlib.rs170 pub use crate::ser::{to_string, to_string_pretty, Serializer};
/external/rust/beto-rust/nearby/presence/ldt/examples/
Dgen_ldt_xor_pad_test_vectors.rs52 println!("{}", serde_json::ser::to_string_pretty(&array).unwrap()); in main()
/external/rust/android-crates-io/crates/toml/examples/
Dtoml2json.rs22 println!("{}", serde_json::to_string_pretty(&json).unwrap()); in main()
/external/crosvm/tools/impl/catapult_converter/src/
Dmain.rs15 use serde_json::to_string_pretty;
349 let serialized_output = to_string_pretty(&output).expect("Unable to serialize result"); in main()
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/serde_json-1.0.133/src/
Dlib.rs394 pub use crate::ser::{to_string, to_string_pretty, to_vec, to_vec_pretty};
/external/rust/android-crates-io/crates/toml_edit/src/ser/
Dmod.rs144 pub fn to_string_pretty<T>(value: &T) -> Result<String, Error> in to_string_pretty() function
/external/rust/android-crates-io/crates/serde_json/src/
Dlib.rs396 pub use crate::ser::{to_string, to_string_pretty, to_vec, to_vec_pretty};
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/serde_json_lenient-0.2.3/src/
Dlib.rs403 pub use crate::ser::{to_string, to_string_pretty, to_vec, to_vec_pretty};
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/serde_json-1.0.133/src/
Dlib.rs394 pub use crate::ser::{to_string, to_string_pretty, to_vec, to_vec_pretty};
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/serde_json_lenient-0.2.3/src/
Dlib.rs403 pub use crate::ser::{to_string, to_string_pretty, to_vec, to_vec_pretty};
/external/rust/beto-rust/nearby/presence/ldt_np_adv/src/
Dnp_adv_test_vectors.rs130 println!("{}", serde_json::ser::to_string_pretty(&array).unwrap()); in gen_test_vectors()
/external/rust/beto-rust/nearby/presence/np_adv/src/extended/serialize/
Dtest_vectors.rs197 println!("{}", serde_json::ser::to_string_pretty(&array).unwrap()); in gen_mic_encrypted_test_vectors()
/external/rust/beto-rust/nearby/presence/np_hkdf/tests/
Dtest_vectors.rs208 println!("{}", serde_json::ser::to_string_pretty(&array).unwrap()); in gen_test_vectors()
/external/crosvm/vm_control/src/
Dgpu.rs167 serde_json::to_string_pretty(&json).map_err(|_| std::fmt::Error)?; in fmt()
/external/rust/android-crates-io/crates/pest/src/iterators/
Dpair.rs286 ::serde_json::to_string_pretty(self).expect("Failed to pretty-print Pair to json.") in to_json()
/external/bazelbuild-rules_rust/crate_universe/src/
Dlockfile.rs40 let content = serde_json::to_string_pretty(&lockfile)?; in write_lockfile()
/external/rust/android-crates-io/crates/serde_json/tests/
Dtest.rs32 from_reader, from_slice, from_str, from_value, json, to_string, to_string_pretty, to_value,
108 let s = to_string_pretty(value).unwrap(); in test_pretty_encode_ok()
112 let s = to_string_pretty(&v).unwrap(); in test_pretty_encode_ok()
1532 let s = to_string_pretty(&vec).unwrap(); in test_serialize_seq_with_no_len()
1617 let s = to_string_pretty(&map).unwrap(); in test_serialize_map_with_no_len()
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/serde_json-1.0.133/tests/
Dtest.rs32 from_reader, from_slice, from_str, from_value, json, to_string, to_string_pretty, to_value,
108 let s = to_string_pretty(value).unwrap(); in test_pretty_encode_ok()
112 let s = to_string_pretty(&v).unwrap(); in test_pretty_encode_ok()
1532 let s = to_string_pretty(&vec).unwrap(); in test_serialize_seq_with_no_len()
1617 let s = to_string_pretty(&map).unwrap(); in test_serialize_map_with_no_len()
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/serde_json-1.0.133/tests/
Dtest.rs32 from_reader, from_slice, from_str, from_value, json, to_string, to_string_pretty, to_value,
108 let s = to_string_pretty(value).unwrap(); in test_pretty_encode_ok()
112 let s = to_string_pretty(&v).unwrap(); in test_pretty_encode_ok()
1532 let s = to_string_pretty(&vec).unwrap(); in test_serialize_seq_with_no_len()
1617 let s = to_string_pretty(&map).unwrap(); in test_serialize_map_with_no_len()

12