Home
last modified time | relevance | path

Searched refs:serialization_context (Results 1 – 9 of 9) sorted by relevance

/external/libchrome/mojo/public/tools/bindings/generators/cpp_templates/
Dinterface_macros.tmpl66 mojo::internal::SerializationContext serialization_context;
69 "&serialization_context")}}
71 &serialization_context);
184 void Serialize(mojo::internal::SerializationContext* serialization_context,
189 "params", "buffer", "serialization_context")}}
Dinterface_definition.tmpl9 mojo::internal::SerializationContext serialization_context;
10 serialization_context.TakeHandlesFromMessage({{message}});
15 {{struct.name}}DataView input_data_view({{params}}, &serialization_context);
/external/tensorflow/tensorflow/core/kernels/data/
Drange_dataset_op_test.cc249 std::unique_ptr<SerializationContext> serialization_context; in TEST_F() local
250 TF_ASSERT_OK(CreateSerializationContext(&serialization_context)); in TEST_F()
254 TF_ASSERT_OK(range_dataset->Save(serialization_context.get(), &writer)); in TEST_F()
395 std::unique_ptr<SerializationContext> serialization_context; in TEST_P() local
396 TF_ASSERT_OK(CreateSerializationContext(&serialization_context)); in TEST_P()
399 TF_ASSERT_OK(iterator->Save(serialization_context.get(), &writer)); in TEST_P()
Dtensor_slice_dataset_op_test.cc378 std::unique_ptr<SerializationContext> serialization_context; in TEST_F() local
379 TF_ASSERT_OK(CreateSerializationContext(&serialization_context)); in TEST_F()
383 tensor_slice_dataset->Save(serialization_context.get(), &writer)); in TEST_F()
560 std::unique_ptr<SerializationContext> serialization_context; in TEST_F() local
561 TF_ASSERT_OK(CreateSerializationContext(&serialization_context)); in TEST_F()
600 TF_ASSERT_OK(iterator->Save(serialization_context.get(), &writer)); in TEST_F()
Dmap_dataset_op_test.cc332 std::unique_ptr<SerializationContext> serialization_context; in TEST_F() local
333 TF_ASSERT_OK(CreateSerializationContext(&serialization_context)); in TEST_F()
336 TF_ASSERT_OK(map_dataset->Save(serialization_context.get(), &writer)); in TEST_F()
507 std::unique_ptr<SerializationContext> serialization_context; in TEST_P() local
508 TF_ASSERT_OK(CreateSerializationContext(&serialization_context)); in TEST_P()
511 TF_ASSERT_OK(iterator->Save(serialization_context.get(), &writer)); in TEST_P()
Dtensor_dataset_op_test.cc342 std::unique_ptr<SerializationContext> serialization_context; in TEST_P() local
343 TF_ASSERT_OK(CreateSerializationContext(&serialization_context)); in TEST_P()
346 TF_ASSERT_OK(tensor_dataset->Save(serialization_context.get(), &writer)); in TEST_P()
/external/libchrome/mojo/public/cpp/bindings/lib/
Dmessage.cc144 internal::SerializationContext serialization_context; in SerializeUnserializedContext() local
145 context->Serialize(&serialization_context, &payload_buffer); in SerializeUnserializedContext()
150 DCHECK(serialization_context.associated_endpoint_handles()->empty()); in SerializeUnserializedContext()
151 if (!serialization_context.handles()->empty()) in SerializeUnserializedContext()
152 payload_buffer.AttachHandles(serialization_context.mutable_handles()); in SerializeUnserializedContext()
Dunserialized_message_context.h43 virtual void Serialize(SerializationContext* serialization_context, in COMPONENT_EXPORT()
/external/libchrome/mojo/public/cpp/bindings/
DBUILD.gn57 "lib/serialization_context.cc",
58 "lib/serialization_context.h",