/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() argument 33 friend bool operator==(const UserType& x, const UserType& y) { in operator ==() 62 TestFunc<UserType>()(); in main()
|
/external/libmojo/mojo/public/cpp/bindings/lib/ |
D | array_serialization.h | 111 using UserType = typename std::remove_const<MaybeConstUserType>::type; 115 using Traits = ArrayTraits<UserType>; 151 UserType* output, 155 ArrayIterator<Traits, UserType> iterator(*output); 179 using UserType = typename std::remove_const<MaybeConstUserType>::type; 183 using Traits = ArrayTraits<UserType>; 209 UserType* output, 213 ArrayIterator<Traits, UserType> iterator(*output); 232 using UserType = typename std::remove_const<MaybeConstUserType>::type; 233 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 | 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 | serialization.h | 31 template <typename MojomType, typename DataArrayType, typename UserType> 32 DataArrayType StructSerializeImpl(UserType* input) { in StructSerializeImpl() 69 template <typename MojomType, typename DataArrayType, typename UserType> 70 bool StructDeserializeImpl(const DataArrayType& input, UserType* output) { in StructDeserializeImpl()
|
D | string_serialization.h | 22 using UserType = typename std::remove_const<MaybeConstUserType>::type; 23 using Traits = StringTraits<UserType>; 59 UserType* output,
|
D | map_serialization.h | 23 using UserType = typename std::remove_const<MaybeConstUserType>::type; 24 using Traits = MapTraits<UserType>; 82 using UserType = typename std::remove_const<MaybeConstUserType>::type; 83 using Traits = MapTraits<UserType>; 149 UserType* output,
|
D | native_struct_serialization.h | 28 using UserType = typename std::remove_const<MaybeConstUserType>::type; member 29 using Traits = IPC::ParamTraits<UserType>; 66 UserType* out, in Deserialize()
|
/external/libmojo/mojo/public/tools/bindings/generators/cpp_templates/ |
D | enum_serialization_declaration.tmpl | 16 using UserType = typename std::remove_const<MaybeConstUserType>::type; 17 using Traits = EnumTraits<{{mojom_type}}, UserType>; 19 static void Serialize(UserType input, int32_t* output) { 23 static bool Deserialize(int32_t input, UserType* output) {
|
D | struct_data_view_declaration.tmpl | 12 template <typename UserType> 13 bool Read{{name|under_to_camel}}(UserType* value) { 25 template <typename UserType> 26 bool Read{{name|under_to_camel}}(UserType* value) const {
|
D | union_serialization_declaration.tmpl | 29 using UserType = typename std::remove_const<MaybeConstUserType>::type; 31 static_assert(std::is_same<MaybeConstUserType, UserType>::value, 33 static_assert(std::is_same<UserType, {{mojom_type}}Ptr>::value,
|
D | wrapper_class_declaration.tmpl | 58 template <typename UserType> 59 static {{serialization_result_type}} Serialize(UserType* input) { 64 template <typename UserType> 66 UserType* output) {
|
D | struct_serialization_declaration.tmpl | 33 using UserType = typename std::remove_const<MaybeConstUserType>::type; 34 using Traits = StructTraits<{{mojom_type}}, UserType>; 71 UserType* output,
|
/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/libmojo/mojo/public/cpp/bindings/tests/ |
D | map_common_test.h | 159 using UserType = ArrayType<MapType<int32_t, int8_t>>; 161 UserType array(1); 178 UserType deserialized_array; 189 using UserType = ArrayType<MapType<StringType, ArrayType<bool>>>; 191 UserType array(1); 214 UserType deserialized_array;
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.elem/ |
D | tuple.by.type.fail.cpp | 15 struct UserType {}; struct 18 std::tuple<long, long, char, std::string, char, UserType, char> t1; in test_bad_index()
|