/external/libchrome/mojo/public/cpp/bindings/lib/ |
D | array_serialization.h | 110 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 …]
|
D | serialization_util.h | 35 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()
|
D | serialization.h | 63 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,
|
D | native_enum_serialization.h | 24 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()
|
D | string_serialization.h | 22 using UserType = typename std::remove_const<MaybeConstUserType>::type; 23 using Traits = StringTraits<UserType>; 41 UserType* output,
|
D | map_serialization.h | 23 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,
|
D | native_struct_serialization.h | 57 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/ |
D | wrapper_class_declaration.tmpl | 64 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 …]
|
D | struct_unserialized_message_context.tmpl | 2 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 = {};
|
D | struct_data_view_declaration.tmpl | 23 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;
|
D | union_data_view_declaration.tmpl | 33 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;
|
D | enum_serialization_declaration.tmpl | 17 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) {
|
D | struct_serialization_declaration.tmpl | 11 using UserType = typename std::remove_const<MaybeConstUserType>::type; 12 using Traits = StructTraits<{{data_view}}, UserType>; 29 UserType* output,
|
D | wrapper_union_class_declaration.tmpl | 74 template <typename UserType> 75 static mojo::Message SerializeAsMessage(UserType* input) { 80 template <typename UserType> 82 UserType* output) {
|
D | union_serialization_declaration.tmpl | 8 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/ |
D | ctor.pass.cpp | 27 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/ |
D | gmock-actions_test.cc | 194 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/ |
D | test_utils.h | 17 template <typename MojomType, typename UserType> 18 bool SerializeAndDeserialize(UserType* input, UserType* output) { in SerializeAndDeserialize()
|
/external/libcxx/test/std/experimental/simd/simd.traits/ |
D | is_simd_flag_type.pass.cpp | 25 struct UserType {}; struct 35 static_assert(!ex::is_simd_flag_type<UserType>::value, ""); 47 static_assert(!ex::is_simd_flag_type_v<UserType>, "");
|
D | is_abi_tag.pass.cpp | 25 struct UserType {}; struct 64 static_assert(!ex::is_abi_tag<UserType>::value, ""); 107 static_assert(!ex::is_abi_tag_v<UserType>, "");
|
D | is_simd_mask.pass.cpp | 25 struct UserType {}; struct 99 static_assert(!ex::is_simd_mask<UserType>::value, ""); 150 static_assert(!ex::is_simd_mask_v<UserType>, "");
|
D | is_simd.pass.cpp | 25 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/ |
D | tuple.by.type.fail.cpp | 16 struct UserType {}; struct 19 std::tuple<long, long, char, std::string, char, UserType, char> t1; in test_bad_index()
|
/external/parameter-framework/upstream/parameter/ |
D | IntegerParameterType.h | 70 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()
|