/third_party/rust/crates/serde/test_suite/tests/ |
D | test_gen.rs | 21 use serde::{Deserialize, Deserializer, Serialize, Serializer}; 46 #[derive(Serialize, Deserialize)] in test_gen() 54 #[derive(Serialize, Deserialize)] in test_gen() 62 #[derive(Serialize, Deserialize)] in test_gen() 71 #[derive(Serialize, Deserialize)] in test_gen() 77 #[derive(Serialize, Deserialize)] in test_gen() 83 #[derive(Serialize, Deserialize)] in test_gen() 92 #[derive(Serialize, Deserialize)] in test_gen() 108 #[derive(Serialize)] in test_gen() 120 #[derive(Serialize, Deserialize)] in test_gen() [all …]
|
D | test_remote.rs | 3 use serde::{Deserialize, Serialize}; 79 #[derive(Serialize, Deserialize)] 109 #[derive(Serialize, Deserialize)] 113 #[derive(Serialize, Deserialize)] 117 #[derive(Serialize, Deserialize)] 121 #[derive(Serialize, Deserialize)] 125 #[derive(Serialize, Deserialize)] 129 #[derive(Serialize, Deserialize)] 136 #[derive(Serialize, Deserialize)] 140 #[derive(Serialize, Deserialize)] [all …]
|
D | test_macros.rs | 10 use serde::{Deserialize, Serialize}; 20 #[derive(Serialize)] 25 #[derive(Debug, PartialEq, Serialize, Deserialize)] 28 #[derive(Debug, PartialEq, Serialize)] 34 #[derive(Debug, PartialEq, Serialize)] 48 #[derive(Debug, PartialEq, Serialize)] 63 #[derive(Debug, PartialEq, Serialize, Deserialize)] 75 #[derive(Serialize)] 83 #[derive(Debug, PartialEq, Serialize, Deserialize)] 88 #[derive(Debug, PartialEq, Serialize, Deserialize)] [all …]
|
D | test_annotations.rs | 11 use serde::{Deserialize, Deserializer, Serialize, Serializer}; 81 #[derive(Debug, PartialEq, Serialize, Deserialize)] 98 #[derive(Debug, PartialEq, Serialize, Deserialize)] 107 #[derive(Debug, PartialEq, Serialize, Deserialize)] 115 #[derive(Debug, PartialEq, Serialize, Deserialize)] 123 #[derive(Debug, PartialEq, Serialize, Deserialize)] 129 #[derive(Debug, PartialEq, Serialize, Deserialize)] 136 #[derive(Debug, PartialEq, Serialize, Deserialize)] 139 #[derive(Debug, PartialEq, Serialize, Deserialize)] 146 #[derive(Debug, PartialEq, Serialize, Deserialize)] [all …]
|
D | test_self.rs | 3 use serde::{Deserialize, Serialize}; 11 #[derive(Deserialize, Serialize)] in test_self() 24 #[derive(Deserialize, Serialize)] in test_self() 43 #[derive(Deserialize, Serialize)] in test_self() 62 #[derive(Deserialize, Serialize)] in test_self()
|
D | test_serde_path.rs | 5 #[derive(serde::Serialize, serde::Deserialize)] in test_gen_custom_serde() 22 T: Serialize, in assert() argument 27 pub trait Serialize { trait 38 impl<T: serde::Serialize> AssertNotSerdeSerialize for T {}
|
/third_party/rust/crates/serde/serde/src/ser/ |
D | impls.rs | 3 use ser::{Error, Serialize, SerializeTuple, Serializer}; 9 impl Serialize for $ty { impl 43 impl Serialize for str { 54 impl Serialize for String { 64 impl<'a> Serialize for fmt::Arguments<'a> { 76 impl Serialize for CStr { 87 impl Serialize for CString { 99 impl<T> Serialize for Option<T> 101 T: Serialize, 117 impl<T: ?Sized> Serialize for PhantomData<T> { [all …]
|
D | mod.rs | 216 pub trait Serialize { interface 805 T: Serialize; in serialize_some() argument 904 T: Serialize; in serialize_newtype_struct() argument 940 T: Serialize; in serialize_newtype_variant() argument 1278 <I as IntoIterator>::Item: Serialize, in collect_seq() argument 1327 K: Serialize, in collect_map() argument 1328 V: Serialize, in collect_map() argument 1532 T: Serialize; in serialize_element() argument 1632 T: Serialize; in serialize_element() argument 1677 T: Serialize; in serialize_field() argument [all …]
|
D | impossible.rs | 6 self, Serialize, SerializeMap, SerializeSeq, SerializeStruct, SerializeStructVariant, 77 T: Serialize, in serialize_element() argument 97 T: Serialize, in serialize_element() argument 117 T: Serialize, in serialize_field() argument 137 T: Serialize, in serialize_field() argument 157 T: Serialize, in serialize_key() argument 165 T: Serialize, in serialize_value() argument 185 T: Serialize, in serialize_field() argument 206 T: Serialize, in serialize_field() argument
|
D | fmt.rs | 2 use ser::{Error, Impossible, Serialize, Serializer}; 83 T: Serialize, in serialize_newtype_struct() 85 Serialize::serialize(value, self) in serialize_newtype_struct() 98 T: Serialize, in serialize_some() 115 T: Serialize, in serialize_newtype_variant() argument
|
/third_party/rust/crates/cxx/macro/src/ |
D | clang.rs | 1 use serde::{Deserialize, Serialize}; 5 #[derive(Deserialize, Serialize)] 15 #[derive(Deserialize, Serialize)] 21 #[derive(Deserialize, Serialize)] 32 #[derive(Deserialize, Serialize)] 37 #[derive(Deserialize, Serialize)] 42 #[derive(Deserialize, Serialize)]
|
/third_party/protobuf/src/google/protobuf/ |
D | generated_message_util.cc | 111 static void Serialize(const void* ptr, io::CodedOutputStream* output) { in Serialize() function 122 static void Serialize(const void* ptr, io::CodedOutputStream* output) { in Serialize() function 133 static void Serialize(const void* ptr, io::CodedOutputStream* output) { in Serialize() function 144 static void Serialize(const void* ptr, io::CodedOutputStream* output) { in Serialize() function 154 static void Serialize(const void* ptr, io::CodedOutputStream* output) { in Serialize() function 165 static void Serialize(const void* ptr, io::CodedOutputStream* output) { in Serialize() function 175 static void Serialize(const void* ptr, io::CodedOutputStream* output) { in Serialize() function 186 static void Serialize(const void* ptr, io::CodedOutputStream* output) { in Serialize() function 197 static void Serialize(const void* ptr, io::CodedOutputStream* output) { in Serialize() function 233 static void Serialize(const void* ptr, io::CodedOutputStream* output) { in Serialize() function [all …]
|
/third_party/rust/crates/serde/test_suite/no_std/src/ |
D | main.rs | 22 use serde::{Serialize, Deserialize}; 24 #[derive(Serialize, Deserialize)] 27 #[derive(Serialize, Deserialize)] 30 #[derive(Serialize, Deserialize)] 33 #[derive(Serialize, Deserialize)] 38 #[derive(Serialize, Deserialize)]
|
/third_party/rust/crates/syn/json/src/ |
D | lib.rs | 51 use serde::{Deserialize, Deserializer, Serialize}; 55 #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] 74 #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] 97 #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] 125 #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] 180 #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] 187 #[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
|
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/ |
D | protocol_core.h | 58 static void Serialize(bool value, std::vector<uint8_t>* bytes); 64 static void Serialize(int value, std::vector<uint8_t>* bytes); 70 static void Serialize(double value, std::vector<uint8_t>* bytes); 83 ProtocolTypeTraits<T>::Serialize(value, bytes_); 165 static void Serialize(const std::vector<T>& value, 170 ProtocolTypeTraits<T>::Serialize(item, bytes); 185 static void Serialize(const std::unique_ptr<std::vector<T>>& value, 187 ProtocolTypeTraits<std::vector<T>>::Serialize(*value, bytes); 208 static void Serialize(const std::unique_ptr<DeferredMessage>& value, 223 static void Serialize(const detail::ValueMaybe<T>& value, [all …]
|
/third_party/node/deps/v8/src/parsing/ |
D | preparse-data.cc | 451 Handle<PreparseData> PreparseDataBuilder::Serialize(Isolate* isolate) { in Serialize() function in v8::internal::PreparseDataBuilder 460 Handle<PreparseData> child_data = builder->Serialize(isolate); in Serialize() 467 Handle<PreparseData> PreparseDataBuilder::Serialize(LocalIsolate* isolate) { in Serialize() function in v8::internal::PreparseDataBuilder 476 Handle<PreparseData> child_data = builder->Serialize(isolate); in Serialize() 483 ZonePreparseData* PreparseDataBuilder::Serialize(Zone* zone) { in Serialize() function in v8::internal::PreparseDataBuilder 491 ZonePreparseData* child = builder->Serialize(zone); in Serialize() 505 Handle<PreparseData> Serialize(Isolate* isolate) final { in Serialize() function in v8::internal::BuilderProducedPreparseData 506 return builder_->Serialize(isolate); in Serialize() 509 Handle<PreparseData> Serialize(LocalIsolate* isolate) final { in Serialize() function in v8::internal::BuilderProducedPreparseData 510 return builder_->Serialize(isolate); in Serialize() [all …]
|
D | preparse-data.h | 213 Handle<PreparseData> Serialize(Isolate* isolate); 214 Handle<PreparseData> Serialize(LocalIsolate* isolate); 215 ZonePreparseData* Serialize(Zone* zone); 253 virtual Handle<PreparseData> Serialize(Isolate* isolate) = 0; 258 virtual Handle<PreparseData> Serialize(LocalIsolate* isolate) = 0; 263 virtual ZonePreparseData* Serialize(Zone* zone) = 0;
|
/third_party/rust/crates/serde/serde_test/src/ |
D | ser.rs | 1 use serde::{ser, Serialize}; 196 T: Serialize, in serialize_newtype_struct() argument 210 T: Serialize, in serialize_newtype_variant() argument 228 T: Serialize, in serialize_some() argument 328 T: Serialize, in serialize_element() argument 345 T: Serialize, in serialize_element() argument 362 T: Serialize, in serialize_field() argument 379 T: Serialize, in serialize_field() argument 400 T: Serialize, in serialize_key() argument 407 T: Serialize, in serialize_value() argument [all …]
|
D | configure.rs | 7 use serde::{Deserialize, Deserializer, Serialize, Serializer}; 89 impl<T: ?Sized> Serialize for Readable<T> 91 T: Serialize, 101 impl<T: ?Sized> Serialize for Compact<T> 103 T: Serialize, 238 T: Serialize, 251 T: Serialize, 263 T: Serialize, 329 T: Serialize, 346 T: Serialize, [all …]
|
/third_party/rust/crates/serde/serde/src/private/ |
D | ser.rs | 3 use ser::{self, Impossible, Serialize, SerializeMap, SerializeStruct, Serializer}; 27 T: Serialize, in serialize_tagged_newtype() argument 181 T: Serialize, in serialize_some() argument 214 T: Serialize, in serialize_newtype_struct() argument 227 T: Serialize, in serialize_newtype_variant() argument 342 use ser::{self, Serialize, Serializer}; 369 T: Serialize, in serialize_field() argument 413 T: Serialize, in serialize_field() argument 471 impl Serialize for Content { 640 T: Serialize, in serialize_some() argument [all …]
|
/third_party/rust/crates/either/src/ |
D | serde_untagged.rs | 36 use serde::{Deserialize, Deserializer, Serialize, Serializer}; 38 #[derive(serde::Serialize, serde::Deserialize)] 48 L: Serialize, in serialize() argument 49 R: Serialize, in serialize() argument
|
D | serde_untagged_optional.rs | 36 use serde::{Deserialize, Deserializer, Serialize, Serializer}; 38 #[derive(Serialize, Deserialize)] 51 L: Serialize, in serialize() argument 52 R: Serialize, in serialize() argument
|
/third_party/rust/crates/codespan/codespan/src/ |
D | index.rs | 4 use serde::{Deserialize, Serialize}; 17 #[cfg_attr(feature = "serialization", derive(Deserialize, Serialize))] 61 #[cfg_attr(feature = "serialization", derive(Deserialize, Serialize))] 87 #[cfg_attr(feature = "serialization", derive(Deserialize, Serialize))] 112 #[cfg_attr(feature = "serialization", derive(Deserialize, Serialize))] 156 #[cfg_attr(feature = "serialization", derive(Deserialize, Serialize))] 175 #[cfg_attr(feature = "serialization", derive(Deserialize, Serialize))] 200 #[cfg_attr(feature = "serialization", derive(Deserialize, Serialize))] 232 #[cfg_attr(feature = "serialization", derive(Deserialize, Serialize))]
|
/third_party/rust/crates/serde/test_suite/tests/expand/ |
D | generic_struct.rs | 1 use serde::{Deserialize, Serialize}; 3 #[derive(Serialize, Deserialize)] 8 #[derive(Serialize, Deserialize)]
|
/third_party/rust/crates/codespan/codespan-reporting/src/ |
D | diagnostic.rs | 4 use serde::{Deserialize, Serialize}; 20 #[cfg_attr(feature = "serialization", derive(Serialize, Deserialize))] 54 #[cfg_attr(feature = "serialization", derive(Serialize, Deserialize))] 64 #[cfg_attr(feature = "serialization", derive(Serialize, Deserialize))] 118 #[cfg_attr(feature = "serialization", derive(Serialize, Deserialize))]
|