Home
last modified time | relevance | path

Searched refs:deserialize (Results 1 – 25 of 131) sorted by relevance

123456

/third_party/rust/crates/serde/test_suite/tests/
Dtest_ignored_any.rs42 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()
Dtest_value.rs18 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()
Dtest_borrow.rs142 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/
DCsvKeyMarshaller.java31 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()
DDiffKey.java72 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/
DRecordSerialization.h76 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/
Dpopular_types_proto3.js17 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('');
Dpopular_types_proto2.js17 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('');
Dall_types_proto2.js27 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('');
Dall_types_proto3.js27 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/
DRPCSerialization.h268 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 …]
DRawByteChannel.h103 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/
Dimpls.rs35 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 …]
Dignored_any.rs180 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
Dvalue.rs363 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/
Derror_serdes.js157 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/
Dde.rs423 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 …]
Dconfigure.rs117 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()
Dassert.rs159 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/
Dtest-runner-v8-deserializer.mjs47 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}..…
Dtest-v8-serdes.js54 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/
Dconformance_testee.js64 TestAllTypesProto2.deserialize(request.getProtobufPayload());
74 TestAllTypesProto3.deserialize(request.getProtobufPayload());
94 ConformanceRequest.deserialize(
/third_party/rust/crates/either/src/
Dserde_untagged.rs58 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()
Dserde_untagged_optional.rs62 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/
Dchannel.sub.js409 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

123456