Home
last modified time | relevance | path

Searched refs:ValidTypes (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/vr/libdisplay/include/private/dvr/
Ddisplay_protocol.h153 ValidTypes<int32_t, int64_t, bool, float>{}); in GetVisible()
160 ValidTypes<int32_t, int64_t, float>{}); in GetZOrder()
166 struct ValidTypes {}; struct
170 ValidTypes<Types...>) const { in GetAttribute()
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dvariant.h657 template <typename... ValidTypes>
664 detail::Set<Types...>::template IsSubset<ValidTypes...>::value,
671 detail::Set<Types...>::template IsSubset<ValidTypes...>::value,
707 detail::EnableIfNotElement<bool, U, ValidTypes...> operator()(U&&) {
711 detail::EnableIfElement<bool, U, ValidTypes...> operator()(const U& value) {
716 detail::EnableIfElement<bool, U, ValidTypes...> operator()(U&& value) {
/frameworks/compile/slang/
Dslang_rs_reflection.cpp299 const std::vector<std::string> ValidTypes{"byte", "short", "int", "long"}; in ZeroExtendValue() local
300 auto FromTypeLoc = std::find(ValidTypes.begin(), ValidTypes.end(), FromIntegerType); in ZeroExtendValue()
301 auto DestTypeLoc = std::find(ValidTypes.begin(), ValidTypes.end(), DestIntegerType); in ZeroExtendValue()
303 slangAssert(FromTypeLoc != ValidTypes.end()); in ZeroExtendValue()
304 slangAssert(DestTypeLoc != ValidTypes.end()); in ZeroExtendValue()
306 slangAssert(FromTypeLoc - ValidTypes.begin() <= DestTypeLoc - ValidTypes.begin()); in ZeroExtendValue()