/third_party/rust/crates/serde/test_suite/tests/ |
D | test_ignored_any.rs | 42 let v = seed.deserialize(self.0.into_deserializer())?; in variant_seed() 58 seed.deserialize(10i32.into_deserializer()) in newtype_variant_seed() 85 assert_eq!(Target::Unit, Target::deserialize(Enum("Unit")).unwrap()); in test_deserialize_enum() 88 Target::deserialize(Enum("Newtype")).unwrap() in test_deserialize_enum() 92 Target::deserialize(Enum("Tuple")).unwrap() in test_deserialize_enum() 96 Target::deserialize(Enum("Struct")).unwrap() in test_deserialize_enum() 100 IgnoredAny::deserialize(Enum("Unit")).unwrap(); in test_deserialize_enum() 101 IgnoredAny::deserialize(Enum("Newtype")).unwrap(); in test_deserialize_enum() 102 IgnoredAny::deserialize(Enum("Tuple")).unwrap(); in test_deserialize_enum() 103 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 | 142 let cows = Cows::deserialize(&mut de).unwrap(); in test_cow() 170 Deserialize::deserialize(deserializer).unwrap() in test_lifetimes() 184 Deserialize::deserialize(deserializer).unwrap() in test_lifetimes()
|
/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_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('');
|
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('');
|
/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 | 35 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize() method 45 fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error> in deserialize() method 73 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize() method 84 …($primitive:ident, $nonzero:ident $(cfg($($cfg:tt)*))*, $deserialize:ident $($method:ident!($($val… 85 impl_deserialize_num!($primitive, $deserialize $($method!($($val : $visit)*);)*); 89 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> 105 deserializer.$deserialize(NonZeroVisitor) 110 ($primitive:ident, $deserialize:ident $($method:ident!($($val:ident : $visit:ident)*);)*) => { 113 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> 129 deserializer.$deserialize(PrimitiveVisitor) [all …]
|
D | ignored_any.rs | 180 IgnoredAny::deserialize(deserializer) in visit_some() 188 IgnoredAny::deserialize(deserializer) in visit_newtype_struct() 237 fn deserialize<D>(deserializer: D) -> Result<IgnoredAny, D::Error> in deserialize() method
|
D | value.rs | 363 seed.deserialize(self).map(private::unit_only) in variant_seed() 445 seed.deserialize(self).map(private::unit_only) in variant_seed() 524 seed.deserialize(self).map(private::unit_only) in variant_seed() 618 seed.deserialize(self).map(private::unit_only) in variant_seed() 716 seed.deserialize(self).map(private::unit_only) in variant_seed() 923 seed.deserialize(value.into_deserializer()).map(Some) in next_element_seed() 1167 seed.deserialize(key.into_deserializer()).map(Some) in next_key_seed() 1181 seed.deserialize(value.into_deserializer()) in next_value_seed() 1195 let key = try!(kseed.deserialize(key.into_deserializer())); in next_entry_seed() 1196 let value = try!(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/rust/crates/serde/serde_test/src/ |
D | de.rs | 423 seed.deserialize(&mut *self.de).map(Some) in next_element_seed() 450 seed.deserialize(&mut *self.de).map(Some) in next_key_seed() 457 seed.deserialize(&mut *self.de) in next_value_seed() 485 let value = seed.deserialize(de)?; in variant_seed() 489 let value = seed.deserialize(&mut *self.de)?; in variant_seed() 505 _ => Deserialize::deserialize(self.de), in unit_variant() 516 seed.deserialize(self.de) in newtype_variant_seed() 518 _ => seed.deserialize(self.de), in newtype_variant_seed() 620 Some(Token::Str(variant)) => seed.deserialize(variant.into_deserializer()).map(Some), in next_key_seed() 622 .deserialize(BytesDeserializer { value: variant }) in next_key_seed() [all …]
|
D | configure.rs | 117 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize() function 121 T::deserialize(Readable(deserializer)).map(Readable) in deserialize() 128 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize() function 132 T::deserialize(Compact(deserializer)).map(Compact) in deserialize() 142 fn deserialize<D>(self, deserializer: D) -> Result<Self::Value, D::Error> in deserialize() function 146 self.0.deserialize(Readable(deserializer)) in deserialize() 155 fn deserialize<D>(self, deserializer: D) -> Result<Self::Value, D::Error> in deserialize() function 159 self.0.deserialize(Compact(deserializer)) in deserialize()
|
D | assert.rs | 159 let mut deserialized_val = match T::deserialize(&mut de) { in assert_de_tokens() 212 match T::deserialize(&mut de) { in assert_de_tokens_error()
|
/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
|