/external/chromium_org/mojo/public/cpp/bindings/lib/ |
H A D | template_util.h | 25 struct EnableIf {}; struct in namespace:mojo::internal 28 struct EnableIf<true, T> { typedef T type; }; struct in namespace:mojo::internal 53 typename EnableIf<!IsMoveOnlyType<T>::value, T>::type& Forward(T& t) { 58 typename EnableIf<IsMoveOnlyType<T>::value, T>::type Forward(T& t) {
|
/external/clang/test/SemaCXX/ |
H A D | alias-template.cpp | 154 template<typename T> using EnableIf = typename enable_if<T::value>::type; // expected-error {{undefined template}} 157 template<typename T> EnableIf<is_enum<T>> f(); 167 template<typename T, typename U = EnableIf<is_enum<T>>> struct fail1 {}; // expected-note {{here}}
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
H A D | TypeTraits.h | 48 template<bool Predicate, class T = void> struct EnableIf; 49 template<class T> struct EnableIf<true, T> { typedef T Type; }; struct in namespace:WTF 288 typename WTF::EnableIf<WTF::IsPointerConvertible<From, To>::Value, bool>::Type = true 290 typename WTF::EnableIf<WTF::IsPointerConvertible<From, To>::Value, bool>::Type
|
/external/gtest/include/gtest/internal/ |
H A D | gtest-internal.h | 871 // 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/modules/gles3/performance/ |
H A D | es3pBufferDataUploadTests.cpp | 94 struct EnableIf struct in namespace:deqp::gles3::Performance::__anon20167 100 struct EnableIf<TrueType, 0> struct in namespace:deqp::gles3::Performance::__anon20167 1112 static typename EnableIf<void, SampleTypeTraits<SampleType>::HAS_MAP_STATS>::Type logMapRangeStats (tcu::TestLog& log, const typename SampleTypeTraits<SampleType>::StatsType& stats) 1122 static typename EnableIf<void, SampleTypeTraits<SampleType>::HAS_UNMAP_STATS>::Type logUnmapStats (tcu::TestLog& log, const typename SampleTypeTraits<SampleType>::StatsType& stats) 1132 static typename EnableIf<void, SampleTypeTraits<SampleType>::HAS_WRITE_STATS>::Type logWriteStats (tcu::TestLog& log, const typename SampleTypeTraits<SampleType>::StatsType& stats) 1142 static typename EnableIf<void, SampleTypeTraits<SampleType>::HAS_FLUSH_STATS>::Type logFlushStats (tcu::TestLog& log, const typename SampleTypeTraits<SampleType>::StatsType& stats) 1152 static typename EnableIf<void, SampleTypeTraits<SampleType>::HAS_ALLOC_STATS>::Type logAllocStats (tcu::TestLog& log, const typename SampleTypeTraits<SampleType>::StatsType& stats) 1197 static typename EnableIf<void, SampleTypeTraits<SampleType>::HAS_MAP_STATS>::Type logMapContribution (tcu::TestLog& log, const std::vector<UploadSampleResult<SampleType> >& samples, const typename SampleTypeTraits<SampleType>::StatsType& stats) 1206 static typename EnableIf<void, SampleTypeTraits<SampleType>::HAS_UNMAP_STATS>::Type logUnmapContribution (tcu::TestLog& log, const std::vector<UploadSampleResult<SampleType> >& samples, const typename SampleTypeTraits<SampleType>::StatsType& stats) 1215 static typename EnableIf<voi [all...] |
/external/chromium_org/testing/gtest/include/gtest/internal/ |
H A D | gtest-internal.h | 898 // EnableIf<condition>::type is void when 'Cond' is true, and 901 // "typename EnableIf<expression>::type* = 0" as the last parameter. 902 template<bool> struct EnableIf; 903 template<> struct EnableIf<true> { typedef void type; }; // NOLINT struct in namespace:testing::internal
|
/external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/internal/ |
H A D | gtest-internal.h | 939 // 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/llvm/utils/unittest/googletest/include/gtest/internal/ |
H A D | gtest-internal.h | 968 // 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 D | gtest-internal.h | 939 // 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/chromium_org/testing/gtest/include/gtest/ |
H A D | gtest.h | 274 typename internal::EnableIf< 1539 typename EnableIf<!is_pointer<T2>::value>::type* = 0) { 1552 // than the first overload even without the first overload's EnableIf.
|
/external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/ |
H A D | gtest.h | 1391 typename EnableIf<!is_pointer<T2>::value>::type* = 0) { 1404 // than the first overload even without the first overload's EnableIf.
|
/external/clang/lib/Sema/ |
H A D | SemaTemplateInstantiateDecl.cpp | 179 const EnableIfAttr *EnableIf = dyn_cast<EnableIfAttr>(TmplAttr); local 180 if (EnableIf && EnableIf->getCond()->isValueDependent()) { 181 instantiateDependentEnableIfAttr(*this, TemplateArgs, EnableIf, Tmpl,
|
/external/llvm/utils/unittest/googletest/include/gtest/ |
H A D | gtest.h | 1394 typename EnableIf<!is_pointer<T2>::value>::type* = 0) { 1407 // than the first overload even without the first overload's EnableIf.
|
/external/mesa3d/src/gtest/include/gtest/ |
H A D | gtest.h | 1391 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 D | gtest.h | 1523 typename EnableIf<!is_pointer<T2>::value>::type* = 0) { 1536 // than the first overload even without the first overload's EnableIf.
|
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/googletest/src/include/gtest/ |
H A D | gtest.h | 7831 // 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/libvpx/libvpx/third_party/googletest/src/include/gtest/ |
H A D | gtest.h | 7831 // 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.
|