/external/llvm-project/pstl/test/std/algorithms/alg.nonmodifying/ |
D | equal.pass.cpp | 23 struct UserType struct 31 operator()(UserType a, UserType b) in operator ()() argument 36 operator<(UserType a) in operator <() argument 41 operator>=(UserType a) in operator >=() argument 46 operator<=(UserType a) in operator <=() argument 51 operator==(UserType a) in operator ==() argument 56 operator==(UserType a) const in operator ==() argument 61 operator!=(UserType a) in operator !=() argument 65 UserType operator!() in operator !() argument 67 UserType tmp; in operator !() [all …]
|
/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,
|
/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,
|
/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/llvm-project/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ |
D | ctor.pass.cpp | 23 struct UserType { struct 26 UserType() noexcept {} in UserType() argument 27 constexpr explicit UserType(int d) noexcept : i(d) {} in UserType() function 29 friend bool operator==(const UserType& x, const UserType& y) { in operator ==() 58 TestFunc<UserType>()(); in main()
|
/external/python/pybind11/tests/ |
D | pybind11_tests.cpp | 76 py::class_<UserType>(m, "UserType", "A `py::class_` type for testing") in PYBIND11_MODULE() 79 .def("get_value", &UserType::value, "Get value using a method") in PYBIND11_MODULE() 80 .def("set_value", &UserType::set, "Set value using a method") in PYBIND11_MODULE() 81 .def_property("value", &UserType::value, &UserType::set, "Get/set value using a property") in PYBIND11_MODULE() 82 .def("__repr__", [](const UserType& u) { return "UserType({})"_s.format(u.value()); }); in PYBIND11_MODULE() 84 py::class_<IncType, UserType>(m, "IncType") in PYBIND11_MODULE()
|
D | pybind11_tests.h | 31 class UserType { 33 UserType() = default; 34 UserType(int i) : i(i) { } in UserType() function 44 class IncType : public UserType { 46 using UserType::UserType;
|
D | test_class.py | 7 from pybind11_tests import UserType, ConstructorStats 12 assert "pybind11_type" in repr(type(UserType)) 13 assert "UserType" in repr(UserType) 72 assert doc(UserType) == "A `py::class_` type for testing" 73 assert UserType.__name__ == "UserType" 74 assert UserType.__module__ == "pybind11_tests" 75 assert UserType.get_value.__name__ == "get_value" 76 assert UserType.get_value.__module__ == "pybind11_tests" 79 doc(UserType.get_value) 86 assert doc(UserType.value) == "Get/set value using a property" [all …]
|
D | test_opaque_types.py | 4 from pybind11_tests import ConstructorStats, UserType 28 living_before = ConstructorStats.get(UserType).alive() 30 assert m.get_void_ptr_value(UserType()) # Should also work for other C++ types 31 assert ConstructorStats.get(UserType).alive() == living_before
|
D | test_methods_and_attributes.cpp | 97 UserType v1{1}; 98 UserType v2{1}; 99 static UserType sv1; 100 static UserType sv2; 102 const UserType &get1() const { return v1; } in get1() 103 const UserType &get2() const { return v2; } in get2() 104 UserType get_rvalue() const { return v2; } in get_rvalue() 108 UserType TestPropRVP::sv1(1); 109 UserType TestPropRVP::sv2(1); 257 auto static_get1 = [](py::object) -> const UserType & { return TestPropRVP::sv1; }; in TEST_SUBMODULE() [all …]
|
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Drivers/STM32L4xx_HAL_Driver/Src/ |
D | stm32l4xx_hal_flash_ex.c | 114 static HAL_StatusTypeDef FLASH_OB_UserConfig(uint32_t UserType, uint32_t UserConfig); 789 static HAL_StatusTypeDef FLASH_OB_UserConfig(uint32_t UserType, uint32_t UserConfig) in FLASH_OB_UserConfig() argument 796 assert_param(IS_OB_USER_TYPE(UserType)); in FLASH_OB_UserConfig() 803 if((UserType & OB_USER_BOR_LEV) != RESET) in FLASH_OB_UserConfig() 813 if((UserType & OB_USER_nRST_STOP) != RESET) in FLASH_OB_UserConfig() 823 if((UserType & OB_USER_nRST_STDBY) != RESET) in FLASH_OB_UserConfig() 833 if((UserType & OB_USER_nRST_SHDW) != RESET) in FLASH_OB_UserConfig() 843 if((UserType & OB_USER_IWDG_SW) != RESET) in FLASH_OB_UserConfig() 853 if((UserType & OB_USER_IWDG_STOP) != RESET) in FLASH_OB_UserConfig() 863 if((UserType & OB_USER_IWDG_STDBY) != RESET) in FLASH_OB_UserConfig() [all …]
|
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Drivers/STM32L4xx_HAL_Driver/Src/ |
D | stm32l4xx_hal_flash_ex.c | 114 static HAL_StatusTypeDef FLASH_OB_UserConfig(uint32_t UserType, uint32_t UserConfig); 789 static HAL_StatusTypeDef FLASH_OB_UserConfig(uint32_t UserType, uint32_t UserConfig) in FLASH_OB_UserConfig() argument 796 assert_param(IS_OB_USER_TYPE(UserType)); in FLASH_OB_UserConfig() 803 if((UserType & OB_USER_BOR_LEV) != RESET) in FLASH_OB_UserConfig() 813 if((UserType & OB_USER_nRST_STOP) != RESET) in FLASH_OB_UserConfig() 823 if((UserType & OB_USER_nRST_STDBY) != RESET) in FLASH_OB_UserConfig() 833 if((UserType & OB_USER_nRST_SHDW) != RESET) in FLASH_OB_UserConfig() 843 if((UserType & OB_USER_IWDG_SW) != RESET) in FLASH_OB_UserConfig() 853 if((UserType & OB_USER_IWDG_STOP) != RESET) in FLASH_OB_UserConfig() 863 if((UserType & OB_USER_IWDG_STDBY) != RESET) in FLASH_OB_UserConfig() [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/llvm-project/libcxx/test/std/experimental/simd/simd.traits/ |
D | is_simd_flag_type.pass.cpp | 24 struct UserType {}; struct 34 static_assert(!ex::is_simd_flag_type<UserType>::value, ""); 46 static_assert(!ex::is_simd_flag_type_v<UserType>, "");
|
/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>, "");
|