/external/rust/crates/serde_json/src/value/ |
D | ser.rs | 25 use serde::ser::SerializeMap; in serialize() 66 type SerializeMap = SerializeMap; typedef 67 type SerializeStruct = SerializeMap; 242 fn serialize_map(self, _len: Option<usize>) -> Result<Self::SerializeMap> { in serialize_map() argument 243 Ok(SerializeMap::Map { in serialize_map() 252 crate::number::TOKEN => Ok(SerializeMap::Number { out_value: None }), in serialize_struct() 254 crate::raw::TOKEN => Ok(SerializeMap::RawValue { out_value: None }), in serialize_struct() 289 pub enum SerializeMap { enum 375 impl serde::ser::SerializeMap for SerializeMap { implementation 384 SerializeMap::Map { in serialize_key() [all …]
|
/external/rust/crates/serde_cbor/src/value/ |
D | ser.rs | 48 type SerializeMap = SerializeMap; typedef 49 type SerializeStruct = SerializeMap; 218 fn serialize_map(self, _len: Option<usize>) -> Result<Self::SerializeMap, Error> { in serialize_map() argument 219 Ok(SerializeMap { in serialize_map() 261 pub struct SerializeMap { struct 341 impl serde::ser::SerializeMap for SerializeMap { implementation 370 impl serde::ser::SerializeStruct for SerializeMap { implementation 378 serde::ser::SerializeMap::serialize_key(self, key)?; in serialize_field() 379 serde::ser::SerializeMap::serialize_value(self, value) in serialize_field() 383 serde::ser::SerializeMap::end(self) in end()
|
/external/rust/crates/serde/src/private/ |
D | ser.rs | 3 use ser::{self, Impossible, Serialize, SerializeMap, SerializeStruct, Serializer}; 106 type SerializeMap = S::SerializeMap; typedef 112 type SerializeTupleVariant = SerializeTupleVariantAsMapValue<S::SerializeMap>; 117 type SerializeStructVariant = SerializeStructVariantAsMapValue<S::SerializeMap>; 282 fn serialize_map(self, len: Option<usize>) -> Result<Self::SerializeMap, Self::Error> { in serialize_map() argument 362 M: ser::SerializeMap, 402 M: ser::SerializeMap, 526 use ser::SerializeMap; in serialize() 574 type SerializeMap = SerializeMap<E>; typedef 736 fn serialize_map(self, len: Option<usize>) -> Result<Self::SerializeMap, E> { in serialize_map() argument [all …]
|
D | doc.rs | 148 type SerializeMap = $crate::ser::Impossible<Self::Ok, Self::Error>; 149 __serialize_unimplemented_method!(serialize_map(Option<usize>) -> SerializeMap);
|
/external/rust/crates/serde/src/ser/ |
D | mod.rs | 373 type SerializeMap: SerializeMap<Ok = Self::Ok, Error = Self::Error>; typedef 1170 fn serialize_map(self, len: Option<usize>) -> Result<Self::SerializeMap, Self::Error>; in serialize_map() argument 1769 pub trait SerializeMap { interface
|
D | impossible.rs | 6 self, Serialize, SerializeMap, SerializeSeq, SerializeStruct, SerializeStructVariant, 148 impl<Ok, Error> SerializeMap for Impossible<Ok, Error>
|
D | fmt.rs | 44 type SerializeMap = Impossible<(), fmt::Error>; typedef 146 fn serialize_map(self, _len: Option<usize>) -> Result<Self::SerializeMap, fmt::Error> { in serialize_map() argument
|
/external/rust/crates/serde_derive/src/ |
D | ser.rs | 366 serialize_struct_visitor(fields, params, false, &StructTrait::SerializeMap); in serialize_struct_as_map() 368 let tag_field = serialize_struct_tag_field(cattrs, &StructTrait::SerializeMap); in serialize_struct_as_map() 400 _serde::ser::SerializeMap::end(__serde_state) in serialize_struct_as_map() 959 let struct_trait = StructTrait::SerializeMap; in serialize_struct_variant_with_flatten() 998 _serde::ser::SerializeMap::end(__serde_state) in serialize_struct_variant_with_flatten() 1018 try!(_serde::ser::SerializeMap::serialize_entry( in serialize_struct_variant_with_flatten() 1024 _serde::ser::SerializeMap::end(__serde_state) in serialize_struct_variant_with_flatten() 1033 _serde::ser::SerializeMap::end(__serde_state) in serialize_struct_variant_with_flatten() 1285 SerializeMap, enumerator 1293 StructTrait::SerializeMap => { in serialize_field() [all …]
|
/external/rust/crates/serde_test/src/ |
D | configure.rs | 4 SerializeMap, SerializeSeq, SerializeStruct, SerializeStructVariant, SerializeTuple, 192 type SerializeMap = $wrapper<S::SerializeMap>; 296 fn serialize_map(self, len: Option<usize>) -> Result<Self::SerializeMap, Self::Error> { 389 impl<S> SerializeMap for $wrapper<S> impl 391 S: SerializeMap,
|
D | ser.rs | 86 type SerializeMap = Self; typedef 394 impl<'s, 'a> ser::SerializeMap for &'s mut Serializer<'a> {
|
/external/rust/crates/csv/src/ |
D | serializer.rs | 8 Error as SerdeError, Serialize, SerializeMap, SerializeSeq, 37 type SerializeMap = Self; typedef 207 ) -> Result<Self::SerializeMap, Self::Error> { in serialize_map() argument 299 impl<'a, 'w, W: io::Write> SerializeMap for &'a mut SeRecord<'w, W> { impl 501 type SerializeMap = Self; typedef 657 ) -> Result<Self::SerializeMap, Self::Error> { in serialize_map() argument 749 impl<'a, 'w, W: io::Write> SerializeMap for &'a mut SeHeader<'w, W> { impl
|
/external/rust/crates/serde_json/src/ |
D | ser.rs | 69 type SerializeMap = Compound<'a, W, F>; typedef 387 fn serialize_map(self, len: Option<usize>) -> Result<Self::SerializeMap> { in serialize_map() argument 666 impl<'a, W, F> ser::SerializeMap for Compound<'a, W, F> 762 Compound::Map { .. } => ser::SerializeMap::serialize_entry(self, key, value), in serialize_field() 787 Compound::Map { .. } => ser::SerializeMap::end(self), in end() 894 type SerializeMap = Impossible<(), Error>; typedef 1170 fn serialize_map(self, _len: Option<usize>) -> Result<Self::SerializeMap> { in serialize_map() argument 1208 type SerializeMap = Impossible<(), Error>; typedef 1358 fn serialize_map(self, _len: Option<usize>) -> Result<Self::SerializeMap> { in serialize_map() argument 1389 type SerializeMap = Impossible<(), Error>; typedef [all …]
|
D | map.rs | 344 use serde::ser::SerializeMap; in serialize()
|
/external/rust/crates/linked-hash-map/src/ |
D | serde.rs | 12 use self::serde::ser::SerializeMap;
|
/external/rust/crates/hashlink/src/ |
D | serde.rs | 9 ser::{SerializeMap, SerializeSeq},
|
/external/rust/crates/serde_cbor/src/ |
D | ser.rs | 221 type SerializeMap = CollectionSerializer<'a, W>; typedef 716 impl<'a, W> ser::SerializeMap for CollectionSerializer<'a, W>
|
/external/rust/crates/log/src/kv/ |
D | source.rs | 591 use self::serde::ser::{Error as SerError, Serialize, SerializeMap, SerializeSeq, Serializer}; 605 S: SerializeMap, in serialize()
|
/external/protobuf/src/google/protobuf/ |
D | map_test.cc | 2948 TEST(WireFormatForMapFieldTest, SerializeMap) { in TEST() argument
|