Home
last modified time | relevance | path

Searched refs:Serialize (Results 1 – 25 of 240) sorted by relevance

12345678910

/external/google-breakpad/src/processor/
Dmap_serializers_unittest.cc74 serialized_data_ = serializer_.Serialize(std_map_, &serialized_size_); in TEST_F()
96 serialized_data_ = serializer_.Serialize(std_map_, &serialized_size_); in TEST_F()
118 serialized_data_ = serializer_.Serialize(std_map_, &serialized_size_); in TEST_F()
146 serialized_data_ = serializer_.Serialize(address_map_, &serialized_size_); in TEST_F()
168 serialized_data_ = serializer_.Serialize(address_map_, &serialized_size_); in TEST_F()
192 serialized_data_ = serializer_.Serialize(address_map_, &serialized_size_); in TEST_F()
221 serialized_data_ = serializer_.Serialize(range_map_, &serialized_size_); in TEST_F()
242 serialized_data_ = serializer_.Serialize(range_map_, &serialized_size_); in TEST_F()
265 serialized_data_ = serializer_.Serialize(range_map_, &serialized_size_); in TEST_F()
299 serialized_data_ = serializer_.Serialize(&crm_map_, &serialized_size_); in TEST_F()
[all …]
Dmap_serializers.h69 char* Serialize(const std::map<Key, Value> &m, unsigned int *size) const;
97 char* Serialize(const AddressMap<Addr, Entry> &m, unsigned int *size) const { in Serialize() function
98 return std_map_serializer_.Serialize(m.map_, size); in Serialize()
124 char* Serialize(const RangeMap<Address, Entry> &m, unsigned int *size) const;
154 char* Serialize(const ContainedRangeMap<AddrType, EntryType> *m,
/external/tensorflow/tensorflow/core/kernels/
Dserialize_sparse_op.cc52 Status Serialize(const Tensor& input, T* result);
81 OP_REQUIRES_OK(context, Serialize(*input_indices, &serialized_sparse_t(0))); in Compute()
82 OP_REQUIRES_OK(context, Serialize(*input_values, &serialized_sparse_t(1))); in Compute()
83 OP_REQUIRES_OK(context, Serialize(*input_shape, &serialized_sparse_t(2))); in Compute()
111 Status SerializeSparseOp<string>::Serialize(const Tensor& input, in Serialize() function in tensorflow::__anon754a96a00111::SerializeSparseOp
131 Status SerializeSparseOp<Variant>::Serialize(const Tensor& input, in Serialize() function in tensorflow::__anon754a96a00111::SerializeSparseOp
152 Status Serialize(const Tensor& input, T* result);
210 this->Serialize(output_blank_indices, &serialized_indices)); in Compute()
216 this->Serialize(output_blank_values, &serialized_values)); in Compute()
223 OP_REQUIRES_OK(context, this->Serialize(output_shape, &serialized_shape)); in Compute()
[all …]
/external/tensorflow/tensorflow/lite/toco/tflite/
Dtypes_test.cc55 builder.Finish(CreateTensor(builder, 0, DataType::Serialize(T), in ToFlatBufferAndBack()
59 DataBuffer::Serialize(src, &buffer_builder); in ToFlatBufferAndBack()
79 EXPECT_EQ(x.second, DataType::Serialize(x.first)); in TEST()
91 EXPECT_EQ(::tflite::TensorType_FLOAT32, DataType::Serialize(t)); in TEST()
98 EXPECT_THAT(DataBuffer::Serialize(array, &builder), HasOffset(0)); in TEST()
119 EXPECT_DEATH(DataBuffer::Serialize(array, &builder), in TEST()
186 EXPECT_EQ(::tflite::Padding_SAME, Padding::Serialize(PaddingType::kSame)); in TEST()
189 EXPECT_EQ(::tflite::Padding_VALID, Padding::Serialize(PaddingType::kValid)); in TEST()
192 EXPECT_DEATH(Padding::Serialize(static_cast<PaddingType>(10000)), in TEST()
209 EXPECT_EQ(x.second, ActivationFunction::Serialize(x.first)); in TEST()
[all …]
Dtypes.h26 static ::tflite::TensorType Serialize(ArrayDataType array_data_type);
36 static FlatBufferOffset Serialize(const Array& array,
44 static ::tflite::Padding Serialize(PaddingType padding_type);
49 static ::tflite::ActivationFunctionType Serialize(
Dtypes.cc87 ::tflite::TensorType DataType::Serialize(ArrayDataType array_data_type) { in Serialize() function in toco::tflite::DataType
135 flatbuffers::Offset<flatbuffers::Vector<uint8_t>> DataBuffer::Serialize( in Serialize() function in toco::tflite::DataBuffer
188 ::tflite::Padding Padding::Serialize(PaddingType padding_type) { in Serialize() function in toco::tflite::Padding
210 ::tflite::ActivationFunctionType ActivationFunction::Serialize( in Serialize() function in toco::tflite::ActivationFunction
/external/dynamic_depth/internal/dynamic_depth/
Ddevice.cc165 return Serialize(xmp->MutableExtendedSection()); in SerializeToXmp()
170 if (!Serialize(xmp_data->MutableExtendedSection())) { in SerializeToXmlFile()
177 bool Device::Serialize(xmlDocPtr* xmlDoc) { in Serialize() function in dynamic_depth::Device
203 !params_->container->Serialize(&device_serializer)) { in Serialize()
212 if (!params_->earth_pose->Serialize(earth_pose_serializer.get())) { in Serialize()
221 if (!params_->pose->Serialize(pose_serializer.get())) { in Serialize()
226 if (params_->profiles && !params_->profiles->Serialize(&device_serializer)) { in Serialize()
232 if (params_->planes && !params_->planes->Serialize(&device_serializer)) { in Serialize()
236 if (params_->cameras && !params_->cameras->Serialize(&device_serializer)) { in Serialize()
244 if (!params_->vendor_info->Serialize(vendor_info_serializer.get())) { in Serialize()
[all …]
Dcamera.cc192 bool Camera::Serialize(Serializer* serializer) const { in Serialize() function in dynamic_depth::Camera
208 if (!params_->image->Serialize(image_serializer.get())) { in Serialize()
217 if (!params_->depth_map->Serialize(depth_map_serializer.get())) { in Serialize()
227 if (!params_->light_estimate->Serialize(light_estimate_serializer.get())) { in Serialize()
235 if (!params_->pose->Serialize(pose_serializer.get())) { in Serialize()
245 if (!params_->imaging_model->Serialize(imaging_model_serializer.get())) { in Serialize()
254 if (!params_->point_cloud->Serialize(point_cloud_serializer.get())) { in Serialize()
263 if (!params_->vendor_info->Serialize(vendor_info_serializer.get())) { in Serialize()
272 if (!params_->app_info->Serialize(app_info_serializer.get())) { in Serialize()
/external/tensorflow/tensorflow/core/util/
Dexample_proto_fast_parsing_test.cc51 string Serialize(const T& example) { in Serialize() function
98 TestCorrectness(strings::StrCat(Serialize(example), Serialize(context))); in TEST()
122 TestCorrectness(strings::StrCat(Serialize(example), Serialize(context))); in TEST()
136 TestCorrectness(strings::StrCat(Serialize(example), Serialize(context))); in TEST()
150 string serialized = Serialize(example) + Serialize(context); in TEST()
176 TestCorrectness(Serialize(example)); in TEST()
213 TestCorrectness(Serialize(example)); in TEST()
247 return Serialize(example); in ExampleWithSomeFeatures()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/
Drdtsc_buckets_shared.h114 inline void Serialize(FILE* f, const VIZ_START_DATA& data) in Serialize() function
125 inline void Serialize(FILE* f, const VIZ_STOP_DATA& data) in Serialize() function
136 inline void Serialize(FILE* f, const std::string& string) in Serialize() function
155 inline void Serialize(FILE* f, const BUCKET_DESC& desc) in Serialize() function
157 Serialize(f, desc.name); in Serialize()
158 Serialize(f, desc.description); in Serialize()
/external/syzkaller/prog/
Dmutation_test.go19 data := p.Serialize()
20 data1 := p1.Serialize()
32 data0 := p.Serialize()
38 data := p.Serialize()
43 data1 := p1.Serialize()
166 want := goal.Serialize()
179 data1 := p1.Serialize()
Dsize_test.go16 data0 := p.Serialize()
20 if data1 := p.Serialize(); !bytes.Equal(data0, data1) {
24 p.Serialize()
164 p1 := strings.TrimSpace(string(p.Serialize()))
Dprog_test.go46 t.Fatalf("restored bad program from prog %q: %q", prog, p.Serialize())
55 data := p.Serialize()
63 data1 := p1.Serialize()
158 p, err := target.Deserialize(p.Serialize())
173 serialized := p.Serialize()
Dencoding_test.go114 calls1, err := CallSet(p.Serialize())
229 output := strings.TrimSpace(string(p.Serialize()))
256 data := p.Serialize()
282 data0[:n0], data1[:n1], p0.Serialize())
292 serialized := p0.Serialize()
/external/libchrome/mojo/public/tools/bindings/generators/cpp_templates/
Dunion_serialization_declaration.tmpl11 static void Serialize(MaybeConstUserType& input,
45 mojo::internal::Serialize<{{serializer_type}}>(
50 mojo::internal::Serialize<{{serializer_type}}>(
54 mojo::internal::Serialize<{{serializer_type}}>(
67 mojo::internal::Serialize<{{serializer_type}}>(
81 mojo::internal::Serialize<{{serializer_type}}>(
Dstruct_macros.tmpl43 mojo::internal::Serialize<{{serializer_type}}>(
51 mojo::internal::Serialize<{{serializer_type}}>(
56 mojo::internal::Serialize<{{serializer_type}}>(
69 mojo::internal::Serialize<{{serializer_type}}>(
83 mojo::internal::Serialize<{{serializer_type}}>(
/external/libchrome/mojo/public/cpp/bindings/lib/
Dserialization.h40 static void Serialize(MaybeConstUserType& input,
44 mojo::internal::Serialize<MojomType>(input, buffer, writer, context);
54 static void Serialize(MaybeConstUserType& input,
58 mojo::internal::Serialize<MojomType>(input, buffer, writer,
68 MojomSerializationImplTraits<MojomType>::Serialize(
Dinterface_serialization.h30 static void Serialize(AssociatedInterfacePtrInfo<T>& input,
57 static void Serialize(AssociatedInterfaceRequest<T>& input,
80 static void Serialize(InterfacePtr<T>& input,
101 static void Serialize(InterfacePtrInfo<T>& input,
121 static void Serialize(InterfaceRequest<T>& input,
Dserialization_forward.h41 void Serialize(InputUserType&& input, Args&&... args) { in Serialize() function
43 Serialize(std::forward<InputUserType>(input), in Serialize()
64 void Serialize(InputUserType&& input, in Serialize() function
70 Serialize<MojomType>(*input, buffer, writer, std::forward<Args>(args)...); in Serialize()
Dnative_struct_serialization.cc17 void UnmappedNativeStructSerializerImpl::Serialize( in Serialize() function in mojo::internal::UnmappedNativeStructSerializerImpl
30 mojo::internal::Serialize<ArrayDataView<uint8_t>>( in Serialize()
38 mojo::internal::Serialize< in Serialize()
90 internal::Serializer<ScopedHandle, ScopedHandle>::Serialize( in SerializeMessageContents()
/external/libtextclassifier/utils/
Dflatbuffers.h120 virtual flatbuffers::uoffset_t Serialize(
130 flatbuffers::uoffset_t Serialize( in Serialize() function
145 flatbuffers::uoffset_t Serialize( in Serialize() function
174 flatbuffers::uoffset_t Serialize( in Serialize() function
178 offsets[i] = items_[i]->Serialize(builder); in Serialize()
273 flatbuffers::uoffset_t Serialize(
275 std::string Serialize() const;
Dflatbuffers_test.cc58 std::string serialized_entity_data = buffer->Serialize(); in TEST()
83 builder.Finish(flatbuffers::Offset<void>(buffer->Serialize(&builder))); in TEST()
139 std::string serialized_entity_data = buffer->Serialize(); in TEST()
174 std::string serialized_entity_data = buffer->Serialize(); in TEST()
205 std::string serialized_entity_data = buffer->Serialize(); in TEST()
241 std::string serialized_entity_data = buffer->Serialize(); in TEST()
295 const std::string serialized_entity_data = buffer->Serialize(); in TEST()
/external/webrtc/talk/app/webrtc/
Djsepsessiondescription_unittest.cc113 std::string Serialize(const SessionDescriptionInterface* desc) { in Serialize() function in JsepSessionDescriptionTest
220 std::string sdp = Serialize(jsep_desc_.get()); in TEST_F()
225 std::string parsed_sdp = Serialize(parsed_jsep_desc.get()); in TEST_F()
232 std::string sdp = Serialize(jsep_desc_.get()); in TEST_F()
237 std::string sdp_with_candidate = Serialize(jsep_desc_.get()); in TEST_F()
242 std::string parsed_sdp_with_candidate = Serialize(parsed_jsep_desc.get()); in TEST_F()
/external/libchrome/base/json/
Djson_value_serializer_unittest.cc70 ASSERT_TRUE(str_serializer.Serialize(value)); in CheckJSONIsStillTheSame()
243 ASSERT_TRUE(mutable_serializer.Serialize(*root_dict)); in TEST()
247 ASSERT_TRUE(mutable_serializer.Serialize(*root_dict)); in TEST()
309 ASSERT_TRUE(serializer.Serialize(valueRoot)); in TEST()
323 ASSERT_TRUE(serializer.Serialize(root)); in TEST()
348 ASSERT_TRUE(serializer.Serialize(root)); in TEST()
440 ASSERT_TRUE(serializer.Serialize(*root_dict)); in TEST_F()
466 ASSERT_TRUE(serializer.Serialize(*root)); in TEST_F()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dstruct_unittest.cc52 mojo::internal::Serialize<DataViewType>(input, message->payload_buffer(), in SerializeStruct()
437 auto data = Rect::Serialize(&null_struct); in TEST_F()
449 auto data = EmptyStruct::Serialize(&empty_struct); in TEST_F()
461 auto data = Rect::Serialize(&rect); in TEST_F()
477 auto data = NamedRegion::Serialize(&region); in TEST_F()
489 auto data = Rect::Serialize(&rect); in TEST_F()
498 auto data = test_export2::StringPair::Serialize(&pair); in TEST_F()

12345678910