Home
last modified time | relevance | path

Searched refs:PrepareToSerialize (Results 1 – 20 of 20) sorted by relevance

/external/libmojo/mojo/public/cpp/bindings/tests/
Dunion_unittest.cc127 mojo::internal::PrepareToSerialize<PodUnionPtr>(pod1, false, &context); in TEST()
147 mojo::internal::PrepareToSerialize<PodUnionPtr>(pod1, false, nullptr); in TEST()
167 mojo::internal::PrepareToSerialize<PodUnionPtr>(pod, false, nullptr); in TEST()
186 mojo::internal::PrepareToSerialize<PodUnionPtr>(pod, false, nullptr); in TEST()
196 mojo::internal::PrepareToSerialize<PodUnionPtr>(pod, false, nullptr); in TEST()
217 mojo::internal::PrepareToSerialize<PodUnionPtr>(pod, false, nullptr); in TEST()
278 mojo::internal::PrepareToSerialize<PodUnionPtr>(pod, false, nullptr); in TEST()
298 mojo::internal::PrepareToSerialize<PodUnionPtr>(pod, false, nullptr); in TEST()
353 mojo::internal::PrepareToSerialize<ObjectUnionPtr>(pod1, false, nullptr); in TEST()
437 mojo::internal::PrepareToSerialize<Array<PodUnionPtr>>(array, nullptr); in TEST()
[all …]
Dstruct_unittest.cc57 size_t size = mojo::internal::PrepareToSerialize<T>(input, &context); in SerializeAndDeserialize()
134 size_t size = mojo::internal::PrepareToSerialize<RectPtr>(rect, nullptr); in TEST_F()
167 size_t size = mojo::internal::PrepareToSerialize<RectPairPtr>(pair, nullptr); in TEST_F()
190 mojo::internal::PrepareToSerialize<NamedRegionPtr>(region, nullptr); in TEST_F()
223 mojo::internal::PrepareToSerialize<NamedRegionPtr>(region, nullptr); in TEST_F()
424 mojo::internal::PrepareToSerialize<NativeStructPtr>(native, nullptr); in TEST_F()
443 mojo::internal::PrepareToSerialize<NativeStructPtr>(native, nullptr); in TEST_F()
465 mojo::internal::PrepareToSerialize<NativeStructPtr>(native, nullptr); in TEST_F()
Dwtf_types_unittest.cc114 size_t size = mojo::internal::PrepareToSerialize<Array<mojo::String>>( in TEST_F()
135 size_t size = mojo::internal::PrepareToSerialize<Array<mojo::String>>( in TEST_F()
156 mojo::internal::PrepareToSerialize<Array<mojo::String>>(strs, &context); in TEST_F()
184 mojo::internal::PrepareToSerialize<MojomType>(cloned_str_map, &context); in TEST_F()
212 mojo::internal::PrepareToSerialize<MojomType>(str_map, &context); in TEST_F()
Darray_common_test.h170 mojo::internal::PrepareToSerialize<Array<int32_t>>(array, nullptr); in Serialization_ArrayOfPOD()
190 mojo::internal::PrepareToSerialize<Array<int32_t>>(array, nullptr); in Serialization_EmptyArrayOfPOD()
213 size_t size = mojo::internal::PrepareToSerialize<Array<Array<int32_t>>>( in Serialization_ArrayOfArrayOfPOD()
243 mojo::internal::PrepareToSerialize<Array<bool>>(array, nullptr); in Serialization_ArrayOfBool()
268 mojo::internal::PrepareToSerialize<Array<String>>(array, nullptr); in Serialization_ArrayOfString()
Dserialization_warning_unittest.cc54 mojo::internal::PrepareToSerialize<T>(obj, &context)); in TestWarning()
69 mojo::internal::PrepareToSerialize<T>(obj, &context)); in TestArrayWarning()
83 mojo::internal::PrepareToSerialize<T>(obj, false, &context)); in TestUnionWarning()
Dmap_common_test.h166 mojo::internal::PrepareToSerialize<MojomType>(array, &context);
199 mojo::internal::PrepareToSerialize<MojomType>(array, &context);
/external/libmojo/mojo/public/cpp/bindings/lib/
Dhandle_interface_serialization.h29 static size_t PrepareToSerialize(const AssociatedInterfacePtrInfo<T>& input,
72 static size_t PrepareToSerialize(const AssociatedInterfaceRequest<T>& input,
111 static size_t PrepareToSerialize(const InterfacePtr<T>& input,
138 static size_t PrepareToSerialize(const InterfaceRequest<T>& input,
159 static size_t PrepareToSerialize(const ScopedHandleBase<T>& input,
Dserialization_forward.h45 size_t PrepareToSerialize(InputUserType&& input, Args&&... args) { in PrepareToSerialize() function
48 PrepareToSerialize(std::forward<InputUserType>(input), in PrepareToSerialize()
80 size_t PrepareToSerialize(InputUserType&& input, Args&&... args) { in PrepareToSerialize() function
83 return PrepareToSerialize<MojomType>(*input, std::forward<Args>(args)...); in PrepareToSerialize()
Dnative_struct_serialization.cc13 size_t UnmappedNativeStructSerializerImpl::PrepareToSerialize( in PrepareToSerialize() function in mojo::internal::UnmappedNativeStructSerializerImpl
18 return internal::PrepareToSerialize<ArrayDataView<uint8_t>>(input->data, in PrepareToSerialize()
Dnative_struct_serialization.h33 static size_t PrepareToSerialize(MaybeConstUserType& value, in PrepareToSerialize() function
108 static size_t PrepareToSerialize(const NativeStructPtr& input,
Dcontrol_message_proxy.cc80 size_t size = PrepareToSerialize<interface_control::RunMessageParamsDataView>( in SendRunMessage()
100 size_t size = PrepareToSerialize< in ConstructRunOrClosePipeMessage()
Darray_serialization.h297 size_t size = PrepareToSerialize<Element>(next, context);
372 size += PrepareToSerialize<Element>(next, context);
464 size += PrepareToSerialize<Element>(next, false, context);
510 static size_t PrepareToSerialize(MaybeConstUserType& input,
Dstring_serialization.h25 static size_t PrepareToSerialize(MaybeConstUserType& input,
Dpipe_control_message_proxy.cc26 size_t size = internal::PrepareToSerialize< in ConstructRunOrClosePipeMessage()
Dserialization.h34 size_t size = PrepareToSerialize<MojomType>(*input, &context); in StructSerializeImpl()
Dcontrol_message_handler.cc117 PrepareToSerialize<interface_control::RunResponseMessageParamsDataView>( in Run()
Dmap_serialization.h98 static size_t PrepareToSerialize(MaybeConstUserType& input,
/external/libmojo/mojo/public/tools/bindings/generators/cpp_templates/
Dunion_serialization_declaration.tmpl11 static size_t PrepareToSerialize(MaybeConstUserType& input,
33 size += mojo::internal::PrepareToSerialize<{{serializer_type}}>(
36 size += mojo::internal::PrepareToSerialize<{{serializer_type}}>(
Dstruct_serialization_declaration.tmpl12 static size_t PrepareToSerialize(MaybeConstUserType& input,
Dstruct_macros.tmpl35 size += mojo::internal::PrepareToSerialize<{{serializer_type}}>(
38 size += mojo::internal::PrepareToSerialize<{{serializer_type}}>(