Searched refs:EnumType (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/ |
H A D | bit_field.h | 92 template<class EnumType, class ValueType = BASE_NS::underlying_type_t<EnumType>, size_t BitBeginOff… 107 constexpr EnumBitField(const EnumType& value) noexcept in EnumBitField() 117 constexpr EnumBitField& operator=(EnumType value) noexcept 127 constexpr bool IsSet(const EnumType& bits) const noexcept in IsSet() 131 constexpr void Set(const EnumType& bits) in Set() 135 constexpr void Clear(const EnumType& bits) in Clear() 143 constexpr operator EnumType() const noexcept in EnumType() function 145 return static_cast<EnumType>(GetEnumValue()); in EnumType() 147 constexpr bool operator==(EnumType value) const noexcept 151 constexpr bool operator!=(EnumType value) const noexcept [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/screen_manager/ |
H A D | screen_types.h | 263 template<typename EnumType> 264 inline constexpr typename std::underlying_type<EnumType>::type ECast(EnumType t) in ECast() 266 return static_cast<typename std::underlying_type<EnumType>::type>(t); in ECast()
|
/ohos5.0/base/telephony/core_service/test/unittest/core_service_gtest/ |
H A D | satellite_service_test.cpp | 131 template<typename EnumType> 132 uint32_t ToCode(EnumType code) in ToCode()
|
/ohos5.0/foundation/multimedia/media_foundation/src/meta/ |
H A D | meta.cpp | 97 #define DEFINE_METADATA_SETTER_GETTER(tag, EnumType) {tag, std::make_pair(Set##EnumType, Get##Enum… argument
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audioutils/include/ |
H A D | audio_utils.h | 430 template <typename EnumType, typename V> 431 int32_t GetKeyFromValue(const std::unordered_map<EnumType, V> &map, const V &value) in GetKeyFromValue() argument
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2_loader.cpp | 145 template<typename EnumType, typename InputType> 146 bool RangedEnumCast(LoadResult& loadResult, EnumType& out, InputType input) in RangedEnumCast() 148 if (input >= static_cast<int>(EnumType::BEGIN) && input < static_cast<int>(EnumType::COUNT)) { in RangedEnumCast() 149 out = static_cast<EnumType>(input); in RangedEnumCast()
|