Home
last modified time | relevance | path

Searched refs:UserType (Results 1 – 24 of 24) sorted by relevance

/external/libchrome/mojo/public/cpp/bindings/lib/
Darray_serialization.h110 using UserType = typename std::remove_const<MaybeConstUserType>::type;
114 using Traits = ArrayTraits<UserType>;
150 UserType* output,
154 ArrayIterator<Traits, UserType> iterator(*output);
178 using UserType = typename std::remove_const<MaybeConstUserType>::type;
182 using Traits = ArrayTraits<UserType>;
205 UserType* output,
209 ArrayIterator<Traits, UserType> iterator(*output);
228 using UserType = typename std::remove_const<MaybeConstUserType>::type;
229 using Traits = ArrayTraits<UserType>;
[all …]
Dserialization_util.h35 typename UserType,
37 bool CallIsNullIfExists(const UserType& input) { in CallIsNullIfExists()
43 typename UserType,
45 bool CallIsNullIfExists(const UserType& input) { in CallIsNullIfExists()
62 typename UserType,
64 bool CallSetToNullIfExists(UserType* output) { in CallSetToNullIfExists()
70 typename UserType,
73 bool CallSetToNullIfExists(UserType* output) { in CallSetToNullIfExists()
Dserialization.h63 template <typename MojomType, typename UserType>
64 mojo::Message SerializeAsMessageImpl(UserType* input) {
74 template <typename MojomType, typename DataArrayType, typename UserType>
75 DataArrayType SerializeImpl(UserType* input) {
87 template <typename MojomType, typename UserType>
91 UserType* output,
Dnative_enum_serialization.h24 using UserType = typename std::remove_const<MaybeConstUserType>::type; member
25 using Traits = IPC::ParamTraits<UserType>;
32 static void Serialize(UserType input, int32_t* output) { in Serialize()
48 static bool Deserialize(int32_t input, UserType* output) { in Deserialize()
Dstring_serialization.h22 using UserType = typename std::remove_const<MaybeConstUserType>::type;
23 using Traits = StringTraits<UserType>;
41 UserType* output,
Dmap_serialization.h23 using UserType = typename std::remove_const<MaybeConstUserType>::type;
24 using Traits = MapTraits<UserType>;
85 using UserType = typename std::remove_const<MaybeConstUserType>::type;
86 using Traits = MapTraits<UserType>;
129 UserType* output,
Dnative_struct_serialization.h57 using UserType = typename std::remove_const<MaybeConstUserType>::type; member
58 using Traits = IPC::ParamTraits<UserType>;
72 UserType* out, in Deserialize()
/external/libchrome/mojo/public/tools/bindings/generators/cpp_templates/
Dwrapper_class_declaration.tmpl64 template <typename UserType>
65 static {{serialization_result_type}} Serialize(UserType* input) {
70 template <typename UserType>
71 static mojo::Message SerializeAsMessage(UserType* input) {
78 // as the same UserType |input| will just be moved to |output| in
80 template <typename UserType>
81 static mojo::Message WrapAsMessage(UserType input) {
84 UserType, {{struct.name}}::DataView>>(0, 0, std::move(input)));
87 template <typename UserType>
90 UserType* output) {
[all …]
Dstruct_unserialized_message_context.tmpl2 template <typename UserType, typename DataView>
11 UserType input)
16 UserType TakeData() {
28 UserType user_data_;
31 template <typename UserType, typename DataView>
33 {{struct.name}}_UnserializedMessageContext<UserType, DataView>::kMessageTag = {};
Dstruct_data_view_declaration.tmpl23 template <typename UserType>
24 WARN_UNUSED_RESULT bool Read{{name|under_to_camel}}(UserType* output) {
39 template <typename UserType>
40 WARN_UNUSED_RESULT bool Read{{name|under_to_camel}}(UserType* output) {
52 template <typename UserType>
53 WARN_UNUSED_RESULT bool Read{{name|under_to_camel}}(UserType* output) const {
87 template <typename UserType>
88 UserType Take{{name|under_to_camel}}() {
89 UserType result;
Dunion_data_view_declaration.tmpl33 template <typename UserType>
34 WARN_UNUSED_RESULT bool Read{{name|under_to_camel}}(UserType* output) {
41 template <typename UserType>
42 WARN_UNUSED_RESULT bool Read{{name|under_to_camel}}(UserType* output) const {
66 template <typename UserType>
67 UserType Take{{name|under_to_camel}}() {
69 UserType result;
Denum_serialization_declaration.tmpl17 using UserType = typename std::remove_const<MaybeConstUserType>::type;
18 using Traits = EnumTraits<{{mojom_type}}, UserType>;
20 static void Serialize(UserType input, int32_t* output) {
24 static bool Deserialize(int32_t input, UserType* output) {
Dstruct_serialization_declaration.tmpl11 using UserType = typename std::remove_const<MaybeConstUserType>::type;
12 using Traits = StructTraits<{{data_view}}, UserType>;
29 UserType* output,
Dwrapper_union_class_declaration.tmpl74 template <typename UserType>
75 static mojo::Message SerializeAsMessage(UserType* input) {
80 template <typename UserType>
82 UserType* output) {
Dunion_serialization_declaration.tmpl8 using UserType = typename std::remove_const<MaybeConstUserType>::type;
9 using Traits = UnionTraits<{{data_view}}, UserType>;
96 UserType* output,
/external/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/
Dctor.pass.cpp27 struct UserType { struct
30 UserType() noexcept {} in UserType() argument
31 constexpr explicit UserType(int d) noexcept : i(d) {} in UserType() function
33 friend bool operator==(const UserType& x, const UserType& y) { in operator ==()
62 TestFunc<UserType>()(); in main()
/external/google-breakpad/src/testing/test/
Dgmock-actions_test.cc194 struct UserType { struct
195 UserType() : value(0) {} in UserType() argument
201 EXPECT_FALSE(BuiltInDefaultValue<UserType>::Exists()); in TEST()
216 BuiltInDefaultValue<UserType>::Get(); in TEST()
223 EXPECT_FALSE(DefaultValue<const UserType>::IsSet()); in TEST()
229 EXPECT_FALSE(DefaultValue<const UserType>::Exists()); in TEST()
232 DefaultValue<const UserType>::Set(UserType()); in TEST()
235 EXPECT_EQ(0, DefaultValue<const UserType>::Get().value); in TEST()
238 EXPECT_TRUE(DefaultValue<const UserType>::Exists()); in TEST()
241 DefaultValue<const UserType>::Clear(); in TEST()
[all …]
/external/libchrome/mojo/public/cpp/test_support/
Dtest_utils.h17 template <typename MojomType, typename UserType>
18 bool SerializeAndDeserialize(UserType* input, UserType* output) { in SerializeAndDeserialize()
/external/libcxx/test/std/experimental/simd/simd.traits/
Dis_simd_flag_type.pass.cpp25 struct UserType {}; struct
35 static_assert(!ex::is_simd_flag_type<UserType>::value, "");
47 static_assert(!ex::is_simd_flag_type_v<UserType>, "");
Dis_abi_tag.pass.cpp25 struct UserType {}; struct
64 static_assert(!ex::is_abi_tag<UserType>::value, "");
107 static_assert(!ex::is_abi_tag_v<UserType>, "");
Dis_simd_mask.pass.cpp25 struct UserType {}; struct
99 static_assert(!ex::is_simd_mask<UserType>::value, "");
150 static_assert(!ex::is_simd_mask_v<UserType>, "");
Dis_simd.pass.cpp25 struct UserType {}; struct
76 static_assert(!ex::is_simd<UserType>::value, "");
127 static_assert(!ex::is_simd_v<UserType>, "");
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.elem/
Dtuple.by.type.fail.cpp16 struct UserType {}; struct
19 std::tuple<long, long, char, std::string, char, UserType, char> t1; in test_bad_index()
/external/parameter-framework/upstream/parameter/
DIntegerParameterType.h70 template <class UserType>
71 bool doToBlackboard(UserType userValue, uint32_t &uiValue, in doToBlackboard()
75 if (userValue < static_cast<UserType>(_min) || in doToBlackboard()
76 userValue > static_cast<UserType>(_max)) { in doToBlackboard()