Home
last modified time | relevance | path

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

123456789

/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/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 …]
Devent.h78 static ScopedEvent Deserialize(const void* buffer, size_t num_bytes); in COMPONENT_EXPORT()
138 static ScopedEvent Deserialize(const PortName& port_name, in COMPONENT_EXPORT()
163 static ScopedEvent Deserialize(const PortName& port_name, in COMPONENT_EXPORT()
192 static ScopedEvent Deserialize(const PortName& port_name, in COMPONENT_EXPORT()
216 static ScopedEvent Deserialize(const PortName& port_name, in COMPONENT_EXPORT()
240 static ScopedEvent Deserialize(const PortName& port_name, in COMPONENT_EXPORT()
266 static ScopedEvent Deserialize(const PortName& port_name, in COMPONENT_EXPORT()
/external/tensorflow/tensorflow/lite/toco/tflite/
Dtypes_test.cc66 DataBuffer::Deserialize(*tensor, *buffer, &result); in ToFlatBufferAndBack()
80 EXPECT_EQ(x.first, DataType::Deserialize(x.second)); in TEST()
86 EXPECT_DEATH(DataType::Deserialize(t), "Unhandled tensor type."); in TEST()
109 DataBuffer::Deserialize(*tensor, *buffer, &array); in TEST()
134 EXPECT_DEATH(DataBuffer::Deserialize(*tensor, *buffer, &array), in TEST()
187 EXPECT_EQ(PaddingType::kSame, Padding::Deserialize(::tflite::Padding_SAME)); in TEST()
190 EXPECT_EQ(PaddingType::kValid, Padding::Deserialize(::tflite::Padding_VALID)); in TEST()
194 EXPECT_DEATH(Padding::Deserialize(10000), "Unhandled padding."); in TEST()
210 EXPECT_EQ(x.first, ActivationFunction::Deserialize(x.second)); in TEST()
216 EXPECT_DEATH(ActivationFunction::Deserialize(10000), in TEST()
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);
Dimport.cc62 array.data_type = DataType::Deserialize(input_tensor->type()); in ImportTensors()
65 DataBuffer::Deserialize(*input_tensor, *buffer, &array); in ImportTensors()
125 ->Deserialize(input_op->builtin_options(), in ImportOperators()
138 new_op = ops_by_name.at(opname)->Deserialize(input_op->builtin_options(), in ImportOperators()
Dtypes.cc112 ArrayDataType DataType::Deserialize(int tensor_type) { in Deserialize() function in toco::tflite::DataType
161 void DataBuffer::Deserialize(const ::tflite::Tensor& tensor, in Deserialize() function in toco::tflite::DataBuffer
199 PaddingType Padding::Deserialize(int padding) { in Deserialize() function in toco::tflite::Padding
226 FusedActivationFunctionType ActivationFunction::Deserialize( in Deserialize() function in toco::tflite::ActivationFunction
/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/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()
Dplatform_shared_memory_mapping.cc56 base::ReadOnlySharedMemoryRegion::Deserialize(std::move(*region)); in PlatformSharedMemoryMapping()
66 base::UnsafeSharedMemoryRegion::Deserialize(std::move(*region)); in PlatformSharedMemoryMapping()
77 base::WritableSharedMemoryRegion::Deserialize(std::move(*region)); in PlatformSharedMemoryMapping()
Dbroker_win.cc60 Channel::Message::Deserialize(buffer, static_cast<size_t>(bytes_read)); in WaitForBrokerMessage()
148 return base::WritableSharedMemoryRegion::Deserialize( in GetWritableSharedMemoryRegion()
154 base::UnguessableToken::Deserialize(data->guid_high, in GetWritableSharedMemoryRegion()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dstruct_unittest.cc89 mojo::internal::Deserialize<OutputMojomType>(output_data, &output, &context); in SerializeAndDeserialize()
159 mojo::internal::Deserialize<RectDataView>(data, &rect2, &context); in TEST_F()
189 mojo::internal::Deserialize<RectPairDataView>(data, &pair2, &context); in TEST_F()
219 mojo::internal::Deserialize<NamedRegionDataView>(data, &region2, &context); in TEST_F()
243 mojo::internal::Deserialize<NamedRegionDataView>(data, &region2, &context); in TEST_F()
391 mojo::internal::Deserialize<native::NativeStructDataView>( in TEST_F()
407 mojo::internal::Deserialize<native::NativeStructDataView>( in TEST_F()
423 mojo::internal::Deserialize<native::NativeStructDataView>( in TEST_F()
442 ASSERT_TRUE(Rect::Deserialize(data, &output)); in TEST_F()
453 ASSERT_TRUE(EmptyStruct::Deserialize(data, &output)); in TEST_F()
[all …]
/external/libchrome/mojo/public/cpp/bindings/lib/
Dinterface_serialization.h38 static bool Deserialize(AssociatedInterface_Data* input,
64 static bool Deserialize(AssociatedEndpointHandle_Data* input,
87 static bool Deserialize(Interface_Data* input,
107 static bool Deserialize(Interface_Data* input,
127 static bool Deserialize(Handle_Data* input,
Dserialization_forward.h53 bool Deserialize(DataType&& input, InputUserType* output, Args&&... args) { in Deserialize() function
54 return Serializer<MojomType, InputUserType>::Deserialize( in Deserialize()
79 bool Deserialize(DataType&& input, InputUserType* output, Args&&... args) { in Deserialize() function
86 return Deserialize<MojomType>(std::forward<DataType>(input), &output->value(), in Deserialize()
/external/libchrome/mojo/public/tools/bindings/generators/cpp_templates/
Dstruct_data_view_declaration.tmpl31 return mojo::internal::Deserialize<{{kind|unmapped_type_for_serializer}}>(
47 return mojo::internal::Deserialize<{{kind|unmapped_type_for_serializer}}>(
60 return mojo::internal::Deserialize<{{kind|unmapped_type_for_serializer}}>(
80 mojo::internal::Deserialize<{{kind|unmapped_type_for_serializer}}>(
95 mojo::internal::Deserialize<{{kind|unmapped_type_for_serializer}}>(
Dunion_data_view_declaration.tmpl36 return mojo::internal::Deserialize<{{kind|unmapped_type_for_serializer}}>(
44 return mojo::internal::Deserialize<{{kind|unmapped_type_for_serializer}}>(
59 mojo::internal::Deserialize<{{kind|unmapped_type_for_serializer}}>(
71 mojo::internal::Deserialize<{{kind|unmapped_type_for_serializer}}>(
/external/libchrome/base/memory/
Dwritable_shared_memory_region.cc23 WritableSharedMemoryRegion WritableSharedMemoryRegion::Deserialize( in Deserialize() function in base::WritableSharedMemoryRegion
42 return ReadOnlySharedMemoryRegion::Deserialize(std::move(handle)); in ConvertToReadOnly()
51 return UnsafeSharedMemoryRegion::Deserialize(std::move(handle)); in ConvertToUnsafe()
/external/libchrome/mojo/public/cpp/bindings/
Darray_data_view.h78 return Deserialize<T>(data_->at(index), output); in Read()
104 bool ret = Deserialize<T>(&data_->at(index), &result, context_); in Take()
127 bool ret = Deserialize<T>(&data_->at(index), &result, context_); in Take()
156 return Deserialize<T>(data_->at(index).Get(), output, context_); in Read()
181 return Deserialize<T>(&data_->at(index), output, context_); in Read()
/external/syzkaller/prog/
Dprog_test.go41 p, err := target.Deserialize([]byte(prog))
56 p1, err := target.Deserialize(data)
158 p, err := target.Deserialize(p.Serialize())
175 _, err := crossTarget.Deserialize(serialized)
238 _, err := target.Deserialize([]byte(text))
/external/skia/include/core/
DSkMaskFilter.h65 static sk_sp<SkMaskFilter> Deserialize(const void* data, size_t size,
68 SkFlattenable::Deserialize(
DSkDrawLooper.h108 static sk_sp<SkDrawLooper> Deserialize(const void* data, size_t size,
111 SkFlattenable::Deserialize(
/external/skqp/include/core/
DSkMaskFilter.h65 static sk_sp<SkMaskFilter> Deserialize(const void* data, size_t size,
68 SkFlattenable::Deserialize(
DSkDrawLooper.h108 static sk_sp<SkDrawLooper> Deserialize(const void* data, size_t size,
111 SkFlattenable::Deserialize(
/external/skia/src/core/
DSkNormalSource.h74 static sk_sp<SkNormalSource> Deserialize(const void* data, size_t size,
77 SkFlattenable::Deserialize(GetFlattenableType(), data, size, procs).release()));
/external/skqp/src/core/
DSkNormalSource.h74 static sk_sp<SkNormalSource> Deserialize(const void* data, size_t size,
77 SkFlattenable::Deserialize(GetFlattenableType(), data, size, procs).release()));

123456789