/third_party/rust/crates/serde/test_suite/tests/ |
D | test_ignored_any.rs | 46 let v = seed.deserialize(self.0.into_deserializer())?; in variant_seed() 62 seed.deserialize(10i32.into_deserializer()) in newtype_variant_seed() 89 assert_eq!(Target::Unit, Target::deserialize(Enum("Unit")).unwrap()); in test_deserialize_enum() 92 Target::deserialize(Enum("Newtype")).unwrap() in test_deserialize_enum() 96 Target::deserialize(Enum("Tuple")).unwrap() in test_deserialize_enum() 100 Target::deserialize(Enum("Struct")).unwrap() in test_deserialize_enum() 104 IgnoredAny::deserialize(Enum("Unit")).unwrap(); in test_deserialize_enum() 105 IgnoredAny::deserialize(Enum("Newtype")).unwrap(); in test_deserialize_enum() 106 IgnoredAny::deserialize(Enum("Tuple")).unwrap(); in test_deserialize_enum() 107 IgnoredAny::deserialize(Enum("Struct")).unwrap(); in test_deserialize_enum()
|
D | test_value.rs | 18 let e: E = E::deserialize(deserializer).unwrap(); in test_u32_to_enum() 28 assert_eq!(1u128, u128::deserialize(de_u128).unwrap()); in test_integer128() 31 assert_eq!(1i128, i128::deserialize(de_u128).unwrap()); in test_integer128() 34 assert_eq!(1u128, u128::deserialize(de_i128).unwrap()); in test_integer128() 37 assert_eq!(1i128, i128::deserialize(de_i128).unwrap()); in test_integer128() 56 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in test_map_access_to_enum() method 73 Deserialize::deserialize(MapAccessDeserializer::new(map)).map(Potential) in test_map_access_to_enum()
|
D | test_borrow.rs | 149 let cows = Cows::deserialize(de).unwrap(); in test_cow() 177 Deserialize::deserialize(deserializer).unwrap() in test_lifetimes() 191 Deserialize::deserialize(deserializer).unwrap() in test_lifetimes()
|
D | test_gen.rs | 204 #[serde(bound(serialize = "D: SerializeWith", deserialize = "D: DeserializeWith"))] in test_gen() 217 bound(deserialize = "E: DeserializeWith") in test_gen() 241 #[serde(bound(serialize = "D: SerializeWith", deserialize = "D: DeserializeWith"))] in test_gen() 254 bound(deserialize = "E: DeserializeWith") in test_gen() 275 #[serde(bound(deserialize = "T::Owned: DeserializeOwned"))] in test_gen() 770 #[serde(bound(deserialize = "[&'de str; N]: Copy"))] in test_gen() 799 pub use super::{de_x as deserialize, ser_x as serialize}; 874 T::deserialize(deserializer) in deserialize_generic()
|
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/table/ |
D | CsvKeyMarshaller.java | 31 private final Function<List<String>, K> deserialize; field in CsvKeyMarshaller 42 Function<List<String>, K> deserialize, in CsvKeyMarshaller() argument 45 this(serialize, deserialize, ordering, ImmutableList.copyOf(columns)); in CsvKeyMarshaller() 50 Function<List<String>, K> deserialize, in CsvKeyMarshaller() argument 54 this.deserialize = checkNotNull(deserialize); in CsvKeyMarshaller() 67 K deserialize(List<String> keyParts) { in deserialize() method in CsvKeyMarshaller 68 return deserialize.apply(keyParts); in deserialize()
|
D | DiffKey.java | 72 serialize(keyMarshaller), deserialize(keyMarshaller), ordering(keyMarshaller), keyColumns); in wrap() 87 private static <T> Function<List<String>, DiffKey<T>> deserialize(CsvKeyMarshaller<T> m) { in deserialize() method in DiffKey 89 new AutoValue_DiffKey<>(Status.parse(r.get(0)), m.deserialize(r.subList(1, r.size()))); in deserialize()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/ |
D | RecordSerialization.h | 76 Error deserialize(BinaryStreamReader &Reader) const { in deserialize() function 94 Error deserialize(BinaryStreamReader &Reader) const { in deserialize() function 105 Error deserialize(BinaryStreamReader &Reader) const { in deserialize() function 123 Error deserialize(BinaryStreamReader &Reader) const { in deserialize() function 143 Error deserialize(BinaryStreamReader &Reader) const { in deserialize() function 154 Error deserialize(BinaryStreamReader &Reader) const { in deserialize() function 188 return Item.deserialize(Reader); in consume() 194 return Item.deserialize(Reader); in consume() 199 return Item.deserialize(Reader); in consume() 205 return Item.deserialize(Reader); in consume() [all …]
|
/third_party/protobuf/js/experimental/benchmarks/code_size/apps_jspb/ |
D | popular_types_proto3.js | 17 const msgAllTypes = TestAllTypes.deserialize(''); 18 msgAllTypes.addRepeatedForeignMessage(ForeignMessage.deserialize(''), 1); 19 [ForeignMessage.deserialize('')].forEach( 24 msgAllTypes.setOptionalForeignMessage(ForeignMessage.deserialize('')); 29 msgAllTypes.setRepeatedForeignMessageList([ForeignMessage.deserialize('')]); 31 arrayVal[0] = ForeignMessage.deserialize('');
|
D | popular_types_proto2.js | 17 const msgAllTypes = TestAllTypes.deserialize(''); 18 msgAllTypes.addRepeatedForeignMessage(ForeignMessage.deserialize(''), 1); 19 [ForeignMessage.deserialize('')].forEach( 24 msgAllTypes.setOptionalForeignMessage(ForeignMessage.deserialize('')); 29 msgAllTypes.setRepeatedForeignMessageList([ForeignMessage.deserialize('')]); 31 arrayVal[0] = ForeignMessage.deserialize('');
|
D | all_types_proto3.js | 27 const msgAllTypes = TestAllTypes.deserialize(''); 28 const msgPackedTypes = TestPackedTypes.deserialize(''); 65 msgAllTypes.addRepeatedForeignMessage(ForeignMessage.deserialize(''), 1); 66 [ForeignMessage.deserialize('')].forEach( 104 msgAllTypes.setOptionalForeignMessage(ForeignMessage.deserialize('')); 181 msgAllTypes.setRepeatedForeignMessageList([ForeignMessage.deserialize('')]); 183 arrayVal[0] = ForeignMessage.deserialize('');
|
D | all_types_proto2.js | 27 const msgAllTypes = TestAllTypes.deserialize(''); 28 const msgPackedTypes = TestPackedTypes.deserialize(''); 65 msgAllTypes.addRepeatedForeignMessage(ForeignMessage.deserialize(''), 1); 66 [ForeignMessage.deserialize('')].forEach( 104 msgAllTypes.setOptionalForeignMessage(ForeignMessage.deserialize('')); 181 msgAllTypes.setRepeatedForeignMessageList([ForeignMessage.deserialize('')]); 183 arrayVal[0] = ForeignMessage.deserialize('');
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/RPC/ |
D | RPCSerialization.h | 268 static Error deserialize(ChannelT &C) { return Error::success(); } in deserialize() function 283 static Error deserialize(ChannelT &C, CArgT &CArg) { in deserialize() function 284 return SerializationTraits<ChannelT, ArgT, CArgT>::deserialize(C, CArg); in deserialize() 306 static Error deserialize(ChannelT &C, CArgT &CArg, in deserialize() function 309 SerializationTraits<ChannelT, ArgT, CArgT>::deserialize(C, CArg)) in deserialize() 313 return SequenceSerialization<ChannelT, ArgTs...>::deserialize(C, CArgs...); in deserialize() 325 return SequenceSerialization<ChannelT, ArgTs...>::deserialize(C, Args...); in deserializeSeq() 389 static Error deserialize(ChannelT &C, Error &Err) { in deserialize() function 494 static Error deserialize(ChannelT &C, Expected<T2> &ValOrErr) { in deserialize() function 500 return SerializationTraits<ChannelT, T1, T2>::deserialize(C, *ValOrErr); in deserialize() [all …]
|
D | RawByteChannel.h | 103 static Error deserialize(ChannelT &C, T &V) { in deserialize() function 124 static Error deserialize(ChannelT &C, bool &V) { in deserialize() function 171 static Error deserialize(RawByteChannel &C, std::string &S) { in deserialize() function
|
/third_party/rust/crates/serde/serde/src/de/ |
D | impls.rs | 33 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize() method 44 fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error> in deserialize() method 72 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize() method 83 …($primitive:ident, $nonzero:ident $(cfg($($cfg:tt)*))*, $deserialize:ident $($method:ident!($($val… 84 impl_deserialize_num!($primitive, $deserialize $($method!($($val : $visit)*);)*); 88 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> 104 deserializer.$deserialize(NonZeroVisitor) 109 ($primitive:ident, $deserialize:ident $($method:ident!($($val:ident : $visit:ident)*);)*) => { 112 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> 128 deserializer.$deserialize(PrimitiveVisitor) [all …]
|
D | ignored_any.rs | 175 IgnoredAny::deserialize(deserializer) in visit_some() 183 IgnoredAny::deserialize(deserializer) in visit_newtype_struct() 232 fn deserialize<D>(deserializer: D) -> Result<IgnoredAny, D::Error> in deserialize() method
|
D | value.rs | 383 seed.deserialize(self).map(private::unit_only) in variant_seed() 472 seed.deserialize(self).map(private::unit_only) in variant_seed() 551 seed.deserialize(self).map(private::unit_only) in variant_seed() 655 seed.deserialize(self).map(private::unit_only) in variant_seed() 763 seed.deserialize(self).map(private::unit_only) in variant_seed() 970 seed.deserialize(value.into_deserializer()).map(Some) in next_element_seed() 1217 seed.deserialize(key.into_deserializer()).map(Some) in next_key_seed() 1231 seed.deserialize(value.into_deserializer()) in next_value_seed() 1245 let key = tri!(kseed.deserialize(key.into_deserializer())); in next_entry_seed() 1246 let value = tri!(vseed.deserialize(value.into_deserializer())); in next_entry_seed() [all …]
|
/third_party/node/lib/internal/ |
D | error_serdes.js | 157 let deserialize; variable 159 if (!deserialize) deserialize = require('v8').deserialize; 162 const { constructor, properties } = deserialize(error.subarray(1)); 175 return deserialize(error.subarray(1));
|
/third_party/node/test/parallel/ |
D | test-runner-v8-deserializer.mjs | 47 it('should deserialize a chunk with no serialization', async () => { 54 it('should deserialize a serialized chunk', async () => { 61 it('should deserialize a serialized chunk after non-serialized chunk', async () => { 69 it('should deserialize a serialized chunk before non-serialized output', async () => { 79 …const message = `should deserialize a serialized message split into two chunks {...${i},${i + 1}..…
|
D | test-v8-serdes.js | 54 assert.deepStrictEqual(v8.deserialize(v8.serialize(obj)), obj); 212 assert.deepStrictEqual(v8.deserialize(buf), expectedResult); 236 assert.deepStrictEqual(v8.deserialize(arrayBufferView), obj); 262 () => v8.deserialize(INVALID_SOURCE),
|
/third_party/protobuf/js/experimental/runtime/kernel/conformance/ |
D | conformance_testee.js | 64 TestAllTypesProto2.deserialize(request.getProtobufPayload()); 74 TestAllTypesProto3.deserialize(request.getProtobufPayload()); 94 ConformanceRequest.deserialize(
|
/third_party/rust/crates/either/src/ |
D | serde_untagged.rs | 58 pub fn deserialize<'de, L, R, D>(deserializer: D) -> Result<super::Either<L, R>, D::Error> in deserialize() function 64 match Either::deserialize(deserializer) { in deserialize()
|
D | serde_untagged_optional.rs | 62 pub fn deserialize<'de, L, R, D>(deserializer: D) -> Result<Option<super::Either<L, R>>, D::Error> in deserialize() function 68 match Option::deserialize(deserializer) { in deserialize()
|
/third_party/node/test/fixtures/wpt/resources/ |
D | channel.sub.js | 409 const fn = deserialize(params.fn); 410 const args = params.args.map(deserialize); 428 this.messageHandlers.forEach(fn => fn(deserialize(params.msg))); 431 let chan = deserialize(respChannel); 585 throw deserialize(result.exceptionDetails.exception); 587 return deserialize(result.result); 925 function deserialize(obj) { function
|
/third_party/rust/crates/serde/serde_derive/src/internals/ |
D | attr.rs | 135 deserialize: String, field 165 deserialize: de_name.unwrap_or(source_name), in from_attrs() 178 &self.deserialize in deserialize_name() 189 deserialize: RenameRule, field 198 deserialize: self.deserialize.or(other_rules.deserialize), in or() 576 deserialize: rename_all_de_rule.get().unwrap_or(RenameRule::None), in from_ast() 580 deserialize: rename_all_fields_de_rule.get().unwrap_or(RenameRule::None), in from_ast() 962 deserialize: rename_all_de_rule.get().unwrap_or(RenameRule::None), in from_ast() 989 self.name.deserialize = rules.deserialize.apply_to_variant(&self.name.deserialize); in rename_by_rules() 993 .insert(self.name.deserialize.clone()); in rename_by_rules() [all …]
|
/third_party/rust/crates/log/src/ |
D | serde.rs | 33 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize() method 79 fn deserialize<D>(self, deserializer: D) -> Result<Self::Value, D::Error> in deserialize() method 128 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize() method 174 fn deserialize<D>(self, deserializer: D) -> Result<Self::Value, D::Error> in deserialize() method
|