Home
last modified time | relevance | path

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

12345678910

/external/perfetto/src/tracing/
Dtrack.cc31 protos::gen::TrackDescriptor Track::Serialize() const { in Serialize() function in perfetto::Track
39 void Track::Serialize(protos::pbzero::TrackDescriptor* desc) const { in Serialize() function in perfetto::Track
40 auto bytes = Serialize().SerializeAsString(); in Serialize()
44 protos::gen::TrackDescriptor ProcessTrack::Serialize() const { in Serialize() function in perfetto::ProcessTrack
45 auto desc = Track::Serialize(); in Serialize()
52 void ProcessTrack::Serialize(protos::pbzero::TrackDescriptor* desc) const { in Serialize() function in perfetto::ProcessTrack
53 auto bytes = Serialize().SerializeAsString(); in Serialize()
57 protos::gen::TrackDescriptor ThreadTrack::Serialize() const { in Serialize() function in perfetto::ThreadTrack
58 auto desc = Track::Serialize(); in Serialize()
66 void ThreadTrack::Serialize(protos::pbzero::TrackDescriptor* desc) const { in Serialize() function in perfetto::ThreadTrack
[all …]
/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/protobuf/src/google/protobuf/
Dgenerated_message_util.cc112 static void Serialize(const void* ptr, io::CodedOutputStream* output) { in Serialize() function
123 static void Serialize(const void* ptr, io::CodedOutputStream* output) { in Serialize() function
134 static void Serialize(const void* ptr, io::CodedOutputStream* output) { in Serialize() function
145 static void Serialize(const void* ptr, io::CodedOutputStream* output) { in Serialize() function
155 static void Serialize(const void* ptr, io::CodedOutputStream* output) { in Serialize() function
166 static void Serialize(const void* ptr, io::CodedOutputStream* output) { in Serialize() function
176 static void Serialize(const void* ptr, io::CodedOutputStream* output) { in Serialize() function
187 static void Serialize(const void* ptr, io::CodedOutputStream* output) { in Serialize() function
198 static void Serialize(const void* ptr, io::CodedOutputStream* output) { in Serialize() function
234 static void Serialize(const void* ptr, io::CodedOutputStream* output) { in Serialize() function
[all …]
/external/perfetto/include/perfetto/tracing/
Dtrack.h92 void Serialize(protos::pbzero::TrackDescriptor*) const;
93 protos::gen::TrackDescriptor Serialize() const;
124 void Serialize(protos::pbzero::TrackDescriptor*) const;
125 protos::gen::TrackDescriptor Serialize() const;
144 void Serialize(protos::pbzero::TrackDescriptor*) const;
145 protos::gen::TrackDescriptor Serialize() const;
185 track.Serialize(desc); in UpdateTrack()
217 track.Serialize(packet->set_track_descriptor()); in SerializeTrack()
/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(
/external/libtextclassifier/native/utils/grammar/utils/
Drules_test.cc41 ir.Serialize(/*include_debug_information=*/false, &frozen_rules); in TEST()
65 ir.Serialize(/*include_debug_information=*/false, &frozen_rules); in TEST()
88 ir.Serialize(/*include_debug_information=*/false, &frozen_rules); in TEST()
108 ir.Serialize(/*include_debug_information=*/false, &frozen_rules); in TEST()
124 ir.Serialize(/*include_debug_information=*/false, &frozen_rules); in TEST()
135 rules.Finalize().Serialize(/*include_debug_information=*/false, in TEST()
149 ir.Serialize(/*include_debug_information=*/false, &frozen_rules); in TEST()
167 ir.Serialize(/*include_debug_information=*/false, &frozen_rules); in TEST()
190 ir.Serialize(/*include_debug_information=*/false, &frozen_rules); in TEST()
/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/perfetto/src/trace_processor/db/
Dtyped_column_internal.h32 static serialized_type Serialize(T value) { return value; } in Serialize() function
35 static base::Optional<serialized_type> Serialize(base::Optional<T> value) { in Serialize() function
51 static serialized_type Serialize(T value) { return value.value; }
54 static base::Optional<serialized_type> Serialize(base::Optional<T> value) {
55 return value ? base::make_optional(Serialize(*value)) : base::nullopt;
67 static serialized_type Serialize(StringPool::Id value) { return value; }
70 static serialized_type Serialize(base::Optional<StringPool::Id> value) {
79 return value ? Serialize(*value) : StringPool::Id::Null();
/external/v8/src/parsing/
Dpreparse-data.cc449 Handle<PreparseData> PreparseDataBuilder::Serialize(Isolate* isolate) { in Serialize() function in v8::internal::PreparseDataBuilder
458 Handle<PreparseData> child_data = builder->Serialize(isolate); in Serialize()
465 Handle<PreparseData> PreparseDataBuilder::Serialize(LocalIsolate* isolate) { in Serialize() function in v8::internal::PreparseDataBuilder
474 Handle<PreparseData> child_data = builder->Serialize(isolate); in Serialize()
481 ZonePreparseData* PreparseDataBuilder::Serialize(Zone* zone) { in Serialize() function in v8::internal::PreparseDataBuilder
489 ZonePreparseData* child = builder->Serialize(zone); in Serialize()
503 Handle<PreparseData> Serialize(Isolate* isolate) final { in Serialize() function in v8::internal::BuilderProducedPreparseData
504 return builder_->Serialize(isolate); in Serialize()
507 Handle<PreparseData> Serialize(LocalIsolate* isolate) final { in Serialize() function in v8::internal::BuilderProducedPreparseData
508 return builder_->Serialize(isolate); in Serialize()
[all …]
Dpreparse-data.h211 Handle<PreparseData> Serialize(Isolate* isolate);
212 Handle<PreparseData> Serialize(LocalIsolate* isolate);
213 ZonePreparseData* Serialize(Zone* zone);
253 virtual Handle<PreparseData> Serialize(Isolate* isolate) = 0;
258 virtual Handle<PreparseData> Serialize(LocalIsolate* isolate) = 0;
263 virtual ZonePreparseData* Serialize(Zone* zone) = 0;
/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/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(
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()
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,
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/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/libtextclassifier/native/utils/
Dlua-utils_test.cc189 const std::string serialized_buffer = buffer->Serialize(); in TEST_F()
240 const std::string serialized_buffer = buffer->Serialize(); in TEST_F()
261 const std::string serialized_buffer = buffer->Serialize(); in TEST_F()
288 const std::string serialized_buffer = buffer->Serialize(); in TEST_F()
313 const std::string serialized_buffer = buffer->Serialize(); in TEST_F()
320 const std::string serialized_buffer2 = buffer2->Serialize(); 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/tensorflow/tensorflow/core/kernels/
Dserialize_sparse_op.cc54 Status Serialize(const Tensor& input, T* result);
83 OP_REQUIRES_OK(context, Serialize(*input_indices, &serialized_sparse_t(0))); in Compute()
84 OP_REQUIRES_OK(context, Serialize(*input_values, &serialized_sparse_t(1))); in Compute()
85 OP_REQUIRES_OK(context, Serialize(*input_shape, &serialized_sparse_t(2))); in Compute()
113 Status SerializeSparseOp<tstring>::Serialize(const Tensor& input, in Serialize() function in tensorflow::__anon11ab90620111::SerializeSparseOp
133 Status SerializeSparseOp<Variant>::Serialize(const Tensor& input, in Serialize() function in tensorflow::__anon11ab90620111::SerializeSparseOp

12345678910