Searched refs:EnableIf (Results 1 - 21 of 21) sorted by relevance

/external/deqp/framework/delibs/decpp/
H A DdeMeta.hpp34 struct EnableIf { }; struct in namespace:de::meta
37 struct EnableIf<T, true> struct in namespace:de::meta
H A DdeArrayUtil.hpp34 const Elem& getSizedArrayElement (const Elem (&array)[Size], typename de::meta::EnableIf<int, LastElementIndex==Size>::Type offset)
/external/clang/test/SemaCXX/
H A Dalias-template.cpp152 template<typename T> using EnableIf = typename enable_if<T::value>::type; // expected-error {{undefined template}}
155 template<typename T> EnableIf<is_enum<T>> f();
165 template<typename T, typename U = EnableIf<is_enum<T>>> struct fail1 {}; // expected-note {{here}}
/external/opencv3/modules/cudev/include/opencv2/cudev/util/
H A Dtype_traits.hpp105 // EnableIf
107 template <bool, typename T = void> struct EnableIf {}; struct in namespace:cv::cudev
108 template <typename T> struct EnableIf<true, T> { typedef T type; }; struct in namespace:cv::cudev
/external/deqp/modules/gles3/performance/
H A Des3pBufferDataUploadTests.cpp61 using de::meta::EnableIf;
1093 static typename EnableIf<void, SampleTypeTraits<SampleType>::HAS_MAP_STATS>::Type logMapRangeStats (tcu::TestLog& log, const typename SampleTypeTraits<SampleType>::StatsType& stats)
1103 static typename EnableIf<void, SampleTypeTraits<SampleType>::HAS_UNMAP_STATS>::Type logUnmapStats (tcu::TestLog& log, const typename SampleTypeTraits<SampleType>::StatsType& stats)
1113 static typename EnableIf<void, SampleTypeTraits<SampleType>::HAS_WRITE_STATS>::Type logWriteStats (tcu::TestLog& log, const typename SampleTypeTraits<SampleType>::StatsType& stats)
1123 static typename EnableIf<void, SampleTypeTraits<SampleType>::HAS_FLUSH_STATS>::Type logFlushStats (tcu::TestLog& log, const typename SampleTypeTraits<SampleType>::StatsType& stats)
1133 static typename EnableIf<void, SampleTypeTraits<SampleType>::HAS_ALLOC_STATS>::Type logAllocStats (tcu::TestLog& log, const typename SampleTypeTraits<SampleType>::StatsType& stats)
1143 static typename EnableIf<void, Not<SampleTypeTraits<SampleType>::HAS_MAP_STATS>::Value>::Type logMapRangeStats (tcu::TestLog& log, const typename SampleTypeTraits<SampleType>::StatsType& stats)
1150 static typename EnableIf<void, Not<SampleTypeTraits<SampleType>::HAS_UNMAP_STATS>::Value>::Type logUnmapStats (tcu::TestLog& log, const typename SampleTypeTraits<SampleType>::StatsType& stats)
1157 static typename EnableIf<void, Not<SampleTypeTraits<SampleType>::HAS_WRITE_STATS>::Value>::Type logWriteStats (tcu::TestLog& log, const typename SampleTypeTraits<SampleType>::StatsType& stats)
1164 static typename EnableIf<voi
[all...]
/external/gtest/include/gtest/internal/
H A Dgtest-internal.h871 // EnableIf<condition>::type is void when 'Cond' is true, and
874 // "typename EnableIf<expression>::type* = 0" as the last parameter.
875 template<bool> struct EnableIf;
876 template<> struct EnableIf<true> { typedef void type; }; // NOLINT struct in namespace:testing::internal
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/
H A Dgtest-internal.h871 // EnableIf<condition>::type is void when 'Cond' is true, and
874 // "typename EnableIf<expression>::type* = 0" as the last parameter.
875 template<bool> struct EnableIf;
876 template<> struct EnableIf<true> { typedef void type; }; // NOLINT struct in namespace:testing::internal
/external/deqp/framework/common/
H A DtcuVectorUtil.hpp144 inline typename de::meta::EnableIf<T, de::meta::TypesSame<T, double>::Value>::Type length (const Vector<T, Size>& a)
150 inline typename de::meta::EnableIf<T, de::meta::TypesSame<T, float>::Value>::Type length (const Vector<T, Size>& a)
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
H A Dgtest-internal.h945 // EnableIf<condition>::type is void when 'Cond' is true, and
948 // "typename EnableIf<expression>::type* = 0" as the last parameter.
949 template<bool> struct EnableIf;
950 template<> struct EnableIf<true> { typedef void type; }; // NOLINT struct in namespace:testing::internal
/external/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-internal.h968 // EnableIf<condition>::type is void when 'Cond' is true, and
971 // "typename EnableIf<expression>::type* = 0" as the last parameter.
972 template<bool> struct EnableIf;
973 template<> struct EnableIf<true> { typedef void type; }; // NOLINT struct in namespace:testing::internal
/external/mesa3d/src/gtest/include/gtest/internal/
H A Dgtest-internal.h939 // EnableIf<condition>::type is void when 'Cond' is true, and
942 // "typename EnableIf<expression>::type* = 0" as the last parameter.
943 template<bool> struct EnableIf;
944 template<> struct EnableIf<true> { typedef void type; }; // NOLINT struct in namespace:testing::internal
/external/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp254 const EnableIfAttr *EnableIf = dyn_cast<EnableIfAttr>(TmplAttr); local
255 if (EnableIf && EnableIf->getCond()->isValueDependent()) {
256 instantiateDependentEnableIfAttr(*this, TemplateArgs, EnableIf, Tmpl,
H A DSemaOverload.cpp5901 if (auto *EnableIf = dyn_cast<EnableIfAttr>(Attr))
5902 Result.push_back(EnableIf);
8812 for (auto *EnableIf : FD->specific_attrs<EnableIfAttr>()) {
8814 if (!EnableIf->getCond()->EvaluateAsBooleanCondition(AlwaysTrue, Ctx))
/external/google-breakpad/src/testing/gtest/include/gtest/
H A Dgtest.h1401 typename EnableIf<!is_pointer<T2>::value>::type* = 0) {
1414 // than the first overload even without the first overload's EnableIf.
/external/llvm/utils/unittest/googletest/include/gtest/
H A Dgtest.h1395 typename EnableIf<!is_pointer<T2>::value>::type* = 0) {
1408 // than the first overload even without the first overload's EnableIf.
/external/mesa3d/src/gtest/include/gtest/
H A Dgtest.h1391 typename EnableIf<!is_pointer<T2>::value>::type* = 0) {
1404 // than the first overload even without the first overload's EnableIf.
/external/gtest/include/gtest/
H A Dgtest.h1523 typename EnableIf<!is_pointer<T2>::value>::type* = 0) {
1536 // than the first overload even without the first overload's EnableIf.
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/
H A Dgtest.h1523 typename EnableIf<!is_pointer<T2>::value>::type* = 0) {
1536 // than the first overload even without the first overload's EnableIf.
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/
H A Dgtest.h7831 // EnableIf<condition>::type is void when 'Cond' is true, and
7834 // "typename EnableIf<expression>::type* = 0" as the last parameter.
7835 template<bool> struct EnableIf;
7836 template<> struct EnableIf<true> { typedef void type; }; // NOLINT struct in namespace:testing::internal
18936 typename EnableIf<!is_pointer<T2>::value>::type* = 0) {
18949 // than the first overload even without the first overload's EnableIf.
/external/opencv3/modules/ts/include/opencv2/ts/
H A Dts_gtest.h7892 // EnableIf<condition>::type is void when 'Cond' is true, and
7895 // "typename EnableIf<expression>::type* = 0" as the last parameter.
7896 template<bool> struct EnableIf;
7897 template<> struct EnableIf<true> { typedef void type; }; // NOLINT struct in namespace:testing::internal
19000 typename EnableIf<!is_pointer<T2>::value>::type* = 0) {
19013 // than the first overload even without the first overload's EnableIf.
/external/vulkan-validation-layers/tests/gtest-1.7.0/fused-src/gtest/
H A Dgtest.h7832 // EnableIf<condition>::type is void when 'Cond' is true, and
7835 // "typename EnableIf<expression>::type* = 0" as the last parameter.
7836 template<bool> struct EnableIf;
7837 template<> struct EnableIf<true> { typedef void type; }; // NOLINT struct in namespace:testing::internal
18937 typename EnableIf<!is_pointer<T2>::value>::type* = 0) {
18950 // than the first overload even without the first overload's EnableIf.

Completed in 644 milliseconds