Home
last modified time | relevance | path

Searched refs:Deserialize (Results 1 – 25 of 391) sorted by relevance

12345678910>>...16

/external/libchrome/base/
Dunguessable_token_unittest.cc26 UnguessableToken token = UnguessableToken::Deserialize(1, 2); in TEST()
27 UnguessableToken same_token = UnguessableToken::Deserialize(1, 2); in TEST()
28 UnguessableToken diff_token = UnguessableToken::Deserialize(1, 3); in TEST()
68 UnguessableToken Deserialized = UnguessableToken::Deserialize(high, low); in TEST()
84 UnguessableToken::Deserialize(0x1234567890ABCDEF, 0xFEDCBA0987654321); in TEST()
97 UnguessableToken token = UnguessableToken::Deserialize(0x123, 0xABC); in TEST()
110 UnguessableToken::Deserialize(0x0000000012345678, 0x0000000123456789); in TEST()
112 UnguessableToken::Deserialize(0x0000000123456781, 0x0000000023456789); in TEST()
121 TestSmallerThanOperator(UnguessableToken::Deserialize(0, 1), in TEST()
122 UnguessableToken::Deserialize(0, 5)); in TEST()
[all …]
/external/llvm-project/lldb/source/Utility/
DReproducerInstrumentation.cpp46 template <> const uint8_t *Deserializer::Deserialize<const uint8_t *>() { in Deserialize() function in Deserializer
47 return Deserialize<uint8_t *>(); in Deserialize()
50 template <> void *Deserializer::Deserialize<void *>() { in Deserialize() function in Deserializer
51 return const_cast<void *>(Deserialize<const void *>()); in Deserialize()
54 template <> const void *Deserializer::Deserialize<const void *>() { in Deserialize() function in Deserializer
58 template <> char *Deserializer::Deserialize<char *>() { in Deserialize() function in Deserializer
59 return const_cast<char *>(Deserialize<const char *>()); in Deserialize()
62 template <> const char *Deserializer::Deserialize<const char *>() { in Deserialize() function in Deserializer
63 const size_t size = Deserialize<size_t>(); in Deserialize()
76 template <> const char **Deserializer::Deserialize<const char **>() { in Deserialize() function in Deserializer
[all …]
/external/llvm-project/lldb/unittests/Utility/
DReproducerInstrumentationTest.cpp424 EXPECT_EQ(p.a, deserializer.Deserialize<bool>()); in TEST()
425 EXPECT_EQ(p.b, deserializer.Deserialize<bool>()); in TEST()
426 EXPECT_EQ(p.c, deserializer.Deserialize<char>()); in TEST()
427 EXPECT_EQ(p.d, deserializer.Deserialize<float>()); in TEST()
428 EXPECT_EQ(p.e, deserializer.Deserialize<int>()); in TEST()
429 EXPECT_EQ(p.f, deserializer.Deserialize<long long>()); in TEST()
430 EXPECT_EQ(p.g, deserializer.Deserialize<long>()); in TEST()
431 EXPECT_EQ(p.h, deserializer.Deserialize<short>()); in TEST()
432 EXPECT_EQ(p.i, deserializer.Deserialize<unsigned char>()); in TEST()
433 EXPECT_EQ(p.j, deserializer.Deserialize<unsigned int>()); in TEST()
[all …]
/external/rust/crates/hashlink/src/
Dserde.rs10 Deserialize, Deserializer, Serialize, Serializer,
55 K: Deserialize<'de> + Eq + Hash,
56 V: Deserialize<'de>,
76 impl<'de, K, V> Deserialize<'de> for LinkedHashMap<K, V>
78 K: Deserialize<'de> + Eq + Hash,
79 V: Deserialize<'de>,
124 T: Deserialize<'de> + Eq + Hash,
144 impl<'de, T> Deserialize<'de> for LinkedHashSet<T>
146 T: Deserialize<'de> + Eq + Hash,
/external/rust/crates/serde/src/de/
Dimpls.rs4 Deserialize, Deserializer, EnumAccess, Error, SeqAccess, Unexpected, VariantAccess, Visitor,
34 impl<'de> Deserialize<'de> for () { impl
44 impl<'de> Deserialize<'de> for ! { impl
72 impl<'de> Deserialize<'de> for bool {
85 impl<'de> Deserialize<'de> for $ty { impl
351 impl<'de> Deserialize<'de> for char {
471 impl<'de> Deserialize<'de> for String {
513 impl<'de: 'a, 'a> Deserialize<'de> for &'a str { impl
548 impl<'de: 'a, 'a> Deserialize<'de> for &'a [u8] { impl
614 impl<'de> Deserialize<'de> for CString {
[all …]
/external/rust/crates/hashbrown/src/external_trait_impls/
Dserde.rs17 use serde::de::{Deserialize, Deserializer, MapAccess, Visitor};
39 impl<'de, K, V, S> Deserialize<'de> for HashMap<K, V, S>
41 K: Deserialize<'de> + Eq + Hash,
42 V: Deserialize<'de>,
55 K: Deserialize<'de> + Eq + Hash, in deserialize()
56 V: Deserialize<'de>, in deserialize()
95 use serde::de::{Deserialize, Deserializer, SeqAccess, Visitor};
116 impl<'de, T, S> Deserialize<'de> for HashSet<T, S>
118 T: Deserialize<'de> + Eq + Hash,
131 T: Deserialize<'de> + Eq + Hash, in deserialize()
[all …]
/external/rust/crates/lazycell/src/
Dserde_impl.rs10 use serde::de::{self, Deserialize, Deserializer, Visitor};
37 impl<'de, T: Deserialize<'de>> Visitor<'de> for LazyCellVisitor<T> {
55 impl<'de, T: Deserialize<'de>> Deserialize<'de> for LazyCell<T> {
63 impl<'de, T: Deserialize<'de>> Visitor<'de> for AtomicLazyCellVisitor<T> {
82 impl<'de, T: Deserialize<'de>> Deserialize<'de> for AtomicLazyCell<T> {
/external/libchrome/base/json/
Djson_value_serializer_unittest.cc97 str_deserializer.Deserialize(&error_code, &error_message); in TEST()
116 str_deserializer.Deserialize(&error_code, &error_message); in TEST()
133 str_deserializer.Deserialize(&error_code, &error_message); in TEST()
140 value = str_deserializer2.Deserialize(&error_code, &error_message); in TEST()
162 file_deserializer.Deserialize(&error_code, &error_message); in TEST()
187 file_deserializer.Deserialize(&error_code, &error_message); in TEST()
194 value = file_deserializer2.Deserialize(&error_code, &error_message); in TEST()
208 std::unique_ptr<Value> root = deserializer.Deserialize(nullptr, nullptr); in TEST()
211 root_expected = deserializer_expected.Deserialize(nullptr, nullptr); in TEST()
221 DictionaryValue::From(deserializer.Deserialize(nullptr, nullptr)); in TEST()
[all …]
/external/crosvm/devices/src/virtio/
Dresource_bridge.rs11 use serde::{Deserialize, Serialize};
15 #[derive(Debug, Serialize, Deserialize)]
21 #[derive(Serialize, Deserialize, Clone, Copy, Default)]
27 #[derive(Serialize, Deserialize)]
36 #[derive(Serialize, Deserialize)]
45 #[derive(Serialize, Deserialize)]
/external/libchrome/mojo/core/ports/
Devent.cc87 ScopedEvent Event::Deserialize(const void* buffer, size_t num_bytes) { in Deserialize() function in mojo::core::ports::Event
96 return UserMessageEvent::Deserialize(port_name, header + 1, data_size); in Deserialize()
98 return PortAcceptedEvent::Deserialize(port_name, header + 1, data_size); in Deserialize()
100 return ObserveProxyEvent::Deserialize(port_name, header + 1, data_size); in Deserialize()
102 return ObserveProxyAckEvent::Deserialize(port_name, header + 1, in Deserialize()
105 return ObserveClosureEvent::Deserialize(port_name, header + 1, data_size); in Deserialize()
107 return MergePortEvent::Deserialize(port_name, header + 1, data_size); in Deserialize()
157 ScopedEvent UserMessageEvent::Deserialize(const PortName& port_name, in Deserialize() function in mojo::core::ports::UserMessageEvent
229 ScopedEvent PortAcceptedEvent::Deserialize(const PortName& port_name, in Deserialize() function in mojo::core::ports::PortAcceptedEvent
255 ScopedEvent ObserveProxyEvent::Deserialize(const PortName& port_name, in Deserialize() function in mojo::core::ports::ObserveProxyEvent
[all …]
/external/tensorflow/tensorflow/lite/toco/tflite/
Dtypes.h27 static ArrayDataType Deserialize(int tensor_type);
39 static void Deserialize(const ::tflite::Tensor& tensor,
45 static PaddingType Deserialize(int padding);
51 static FusedActivationFunctionType Deserialize(int activation_function);
Dtypes_test.cc66 DataBuffer::Deserialize(*tensor, *buffer, &result); in ToFlatBufferAndBack()
81 EXPECT_EQ(x.first, DataType::Deserialize(x.second)); in TEST()
87 EXPECT_DEATH(DataType::Deserialize(t), "Unhandled tensor type."); in TEST()
110 DataBuffer::Deserialize(*tensor, *buffer, &array); in TEST()
135 EXPECT_DEATH(DataBuffer::Deserialize(*tensor, *buffer, &array), in TEST()
194 EXPECT_EQ(PaddingType::kSame, Padding::Deserialize(::tflite::Padding_SAME)); in TEST()
197 EXPECT_EQ(PaddingType::kValid, Padding::Deserialize(::tflite::Padding_VALID)); in TEST()
201 EXPECT_DEATH(Padding::Deserialize(10000), "Unhandled padding."); in TEST()
217 EXPECT_EQ(x.first, ActivationFunction::Deserialize(x.second)); in TEST()
223 EXPECT_DEATH(ActivationFunction::Deserialize(10000), in TEST()
/external/rust/crates/linked-hash-map/src/
Dserde.rs11 use self::serde::{Serialize, Serializer, Deserialize, Deserializer};
55 where K: Deserialize<'de> + Eq + Hash,
56 V: Deserialize<'de>,
85 impl<'de, K, V> Deserialize<'de> for LinkedHashMap<K, V>
86 where K: Deserialize<'de> + Eq + Hash,
87 V: Deserialize<'de>,
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/
Drdtsc_buckets_shared.h119 inline void Deserialize(FILE* f, VIZ_START_DATA& data) in Deserialize() function
130 inline void Deserialize(FILE* f, VIZ_STOP_DATA& data) in Deserialize() function
145 inline void Deserialize(FILE* f, std::string& string) in Deserialize() function
163 inline void Deserialize(FILE* f, BUCKET_DESC& desc) in Deserialize() function
165 Deserialize(f, desc.name); in Deserialize()
166 Deserialize(f, desc.description); in Deserialize()
/external/adhd/sound_card_init/amp/src/max98390d/
Dsettings.rs7 use serde::Deserialize;
12 #[derive(Debug, Default, PartialEq, Deserialize, Clone)]
16 #[derive(Debug, Default, PartialEq, Deserialize, Clone)]
29 #[derive(Debug, Default, PartialEq, Deserialize, Clone)]
/external/crosvm/vm_control/src/
Dlib.rs26 use serde::{Deserialize, Serialize};
43 #[derive(Clone, Copy, Debug, PartialEq, Default, Serialize, Deserialize)]
50 #[derive(Clone, Copy, Debug, Default, Serialize, Deserialize)]
106 #[derive(Serialize, Deserialize, Debug)]
116 #[derive(Default, Serialize, Deserialize, Debug)]
167 #[derive(Serialize, Deserialize, Debug)]
175 #[derive(Serialize, Deserialize, Debug)]
191 #[derive(Serialize, Deserialize, Debug)]
197 #[derive(Serialize, Deserialize, Debug)]
215 #[derive(Serialize, Deserialize, Copy, Clone, Debug, Default)]
[all …]
/external/llvm-project/lldb/include/lldb/Utility/
DReproducerInstrumentation.h326 template <typename T> T Deserialize() {
336 unsigned result = Deserialize<unsigned>();
345 unsigned result = Deserialize<unsigned>();
354 unsigned result = Deserialize<unsigned>();
363 unsigned result = Deserialize<unsigned>();
384 Deserialize<unsigned>());
391 Deserialize<unsigned>());
400 return new UnderlyingT(Deserialize<UnderlyingT>());
410 return *(new UnderlyingT(Deserialize<UnderlyingT>()));
422 template <> const char *Deserializer::Deserialize<const char *>();
[all …]
/external/rust/crates/csv/src/
Ddeserializer.rs9 Deserialize, DeserializeSeed, Deserializer, EnumAccess,
21 pub fn deserialize_string_record<'de, D: Deserialize<'de>>( in deserialize_string_record()
31 Error::new(ErrorKind::Deserialize { in deserialize_string_record()
38 pub fn deserialize_byte_record<'de, D: Deserialize<'de>>( in deserialize_byte_record()
48 Error::new(ErrorKind::Deserialize { in deserialize_byte_record()
805 use serde::{de::DeserializeOwned, serde_if_integer128, Deserialize};
832 #[derive(Deserialize, Debug, PartialEq)] in with_header()
846 #[derive(Deserialize, Debug, PartialEq)] in with_header_unknown()
862 #[derive(Deserialize, Debug, PartialEq)] in with_header_missing()
873 #[derive(Deserialize, Debug, PartialEq)] in with_header_missing_ok()
[all …]
/external/rust/crates/either/src/
Dserde_untagged.rs40 use serde::{Deserialize, Deserializer, Serialize, Serializer};
42 #[derive(Serialize, Deserialize)]
65 L: Deserialize<'de>, in deserialize()
66 R: Deserialize<'de>, in deserialize()
/external/perfetto/src/trace_processor/db/
Dtyped_column_internal.h33 static T Deserialize(serialized_type value) { return value; } in Deserialize() function
38 static base::Optional<T> Deserialize(base::Optional<serialized_type> value) { in Deserialize() function
52 static T Deserialize(serialized_type value) { return T{value}; }
57 static base::Optional<T> Deserialize(base::Optional<serialized_type> value) {
58 return value ? base::make_optional(Deserialize(*value)) : base::nullopt;
68 static StringPool::Id Deserialize(serialized_type value) { return value; }
81 static base::Optional<serialized_type> Deserialize(
/external/flatbuffers/tests/union_vector/
DCharacter.cs82 case Character.MuLan: _o.Value = serializer.Deserialize<AttackerT>(reader); break; in ReadJson()
83 case Character.Rapunzel: _o.Value = serializer.Deserialize<RapunzelT>(reader); break; in ReadJson()
84 case Character.Belle: _o.Value = serializer.Deserialize<BookReaderT>(reader); break; in ReadJson()
85 case Character.BookFan: _o.Value = serializer.Deserialize<BookReaderT>(reader); break; in ReadJson()
86 case Character.Other: _o.Value = serializer.Deserialize<string>(reader); break; in ReadJson()
87 case Character.Unused: _o.Value = serializer.Deserialize<string>(reader); break; in ReadJson()
/external/rust/crates/serde_cbor/examples/
Dtags.rs1 use serde::de::{Deserialize, Deserializer};
5 use serde_derive::{Deserialize, Serialize};
18 impl<'de> Deserialize<'de> for Date {
37 impl<'de> Deserialize<'de> for Uri {
48 #[derive(Debug, Serialize, Deserialize, PartialEq)]
/external/crosvm/devices/src/virtio/vhost/
Dcontrol_socket.rs5 use serde::{Deserialize, Serialize};
9 #[derive(Serialize, Deserialize, Debug)]
17 #[derive(Serialize, Deserialize, Debug)]
/external/libchrome/mojo/core/
Ddispatcher.cc158 scoped_refptr<Dispatcher> Dispatcher::Deserialize( in Deserialize() function in mojo::core::Dispatcher
168 return MessagePipeDispatcher::Deserialize(bytes, num_bytes, ports, in Deserialize()
172 return SharedBufferDispatcher::Deserialize(bytes, num_bytes, ports, in Deserialize()
176 return DataPipeConsumerDispatcher::Deserialize( in Deserialize()
180 return DataPipeProducerDispatcher::Deserialize( in Deserialize()
184 return PlatformHandleDispatcher::Deserialize(bytes, num_bytes, ports, in Deserialize()
/external/rust/crates/serde_cbor/tests/
Denum.rs10 #[derive(Debug, Serialize, Deserialize, PartialEq)] in test_simple_data_enum_roundtrip()
47 #[derive(Debug, Serialize, Deserialize, PartialEq, Eq)]
53 #[derive(Debug, Serialize, Deserialize, PartialEq, Eq)]
68 #[derive(Debug, Serialize, Deserialize, PartialEq, Eq)]
74 #[derive(Debug, Serialize, Deserialize, PartialEq, Eq)]
86 #[derive(Debug, Serialize, Deserialize, PartialEq, Eq)]
126 #[derive(Debug, Deserialize, Serialize, PartialEq, Eq)] in test_newtype_struct()
132 #[derive(Deserialize, PartialEq, Debug)]
145 #[derive(Serialize, Deserialize, PartialEq, Debug)]

12345678910>>...16