/system/nvram/messages/include/nvram/messages/ |
type_traits.h | 53 struct enable_if {}; struct in namespace:nvram 56 struct enable_if<true, T> { struct in namespace:nvram
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/ |
sfinae-1.cpp | 27 struct enable_if { struct in namespace:instantiation_order1 32 struct enable_if<false, T> { }; struct in namespace:instantiation_order1 35 typename enable_if<sizeof(T) == 17>::type
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
type_traits.h | 92 // enable_if - Enable/disable a template based on a metafunction 94 struct enable_if : public enable_if_c<Cond::value, T> { }; struct in namespace:llvm
|
/system/core/libprocinfo/include/procinfo/ |
process.h | 69 typename std::enable_if<sizeof(typename Collection::value_type) >= sizeof(pid_t), bool>::type { member in class:android::procinfo::std 97 typename std::enable_if<sizeof(typename Collection::value_type) >= sizeof(pid_t), bool>::type { member in class:android::procinfo::std
|
/external/clang/test/SemaTemplate/ |
overload-candidates.cpp | 47 template<bool, typename = void> struct enable_if {}; struct in namespace:boost 48 template<typename T> struct enable_if<true, T> { typedef T type; }; struct in namespace:boost 50 template<typename T> typename boost::enable_if<sizeof(T) == 4, int>::type if_size_4(); // expected-note{{candidate template ignored: disabled by 'enable_if' [with T = char]}} 54 template<typename Cond, typename T = void> struct enable_if : boost::enable_if<Cond::value, T> {}; struct in namespace:llvm 58 template<typename T> typename llvm::enable_if<is_int<T> >::type if_int(); // expected-note{{candidate template ignored: disabled by 'enable_if' [with T = char]}} 64 typename boost::enable_if<sizeof(T) == 4, int>::type f(); // expected-error{{no type named 'type' in 'boost::enable_if<false, int>'; 'enable_if' cannot be used to disable this declaration} 86 template<bool, typename = void> struct enable_if {}; struct in namespace:std 87 template<typename T> struct enable_if<true, T> { typedef T type; }; struct in namespace:std [all...] |
constexpr-instantiate.cpp | 168 template<bool, typename> struct enable_if {}; struct in namespace:Unevaluated::PR13423 169 template<typename T> struct enable_if<true, T> { using type = T; }; struct in namespace:Unevaluated::PR13423 176 static typename enable_if<f<U>(), void>::type g() {} // expected-note {{disabled by 'enable_if'}}
|
/external/protobuf/src/google/protobuf/stubs/ |
type_traits.h | 38 // enable_if 88 template <bool cond, class T = void> struct enable_if; 114 // enable_if, equivalent semantics to c++11 std::enable_if, specifically: 119 template<bool cond, class T> struct enable_if { typedef T type; }; struct in namespace:google::protobuf::internal 120 template<class T> struct enable_if<false, T> {}; struct in namespace:google::protobuf::internal
|
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/stubs/ |
type_traits.h | 38 // enable_if 88 template <bool cond, class T = void> struct enable_if; 114 // enable_if, equivalent semantics to c++11 std::enable_if, specifically: 119 template<bool cond, class T> struct enable_if { typedef T type; }; struct in namespace:google::protobuf::internal 120 template<class T> struct enable_if<false, T> {}; struct in namespace:google::protobuf::internal
|
/external/clang/test/Analysis/Inputs/ |
system-header-simulator-cxx.h | 110 template <bool, class _Tp = void> struct enable_if {}; struct in namespace:std 111 template <class _Tp> struct enable_if<true, _Tp> {typedef _Tp type;}; struct in namespace:std 173 typename enable_if 205 typename enable_if
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
example-bind.cpp | 252 // enable_if helper 254 struct enable_if; 257 struct enable_if<true, T> { struct 262 struct enable_if<false, T> { }; struct 270 typename enable_if<(I >= 0 && I < tuple_size<tuple<Values...> >::value)>::type> { 294 inline typename enable_if<is_bind_expression<Bound>::value, 312 inline typename enable_if<(!is_bind_expression<Bound>::value
|
sizeofpack.cpp | 75 struct enable_if { }; struct in namespace:pr13272 77 template<class T> struct enable_if<true, T> { struct in namespace:pr13272 84 void cxx_throw(typename enable_if<(sizeof...(Args) > 0), const char *>::type fmt, Args&&... args) { 152 struct enable_if struct in namespace:pr15112 155 struct enable_if<true,_Tp> struct in namespace:pr15112 172 typename enable_if<is_array_of<sizeof...(Args), size_t, Args...>::value,
|
/external/v8/src/base/ |
safe_math_impl.h | 43 struct enable_if {}; struct in namespace:v8::base::internal 46 struct enable_if<true, T> { typedef T type; }; struct in namespace:v8::base::internal 97 typedef typename enable_if< 104 typedef typename enable_if< 111 typedef typename enable_if< 120 static const typename enable_if<std::numeric_limits<Integer>::is_integer, 140 // TODO(jschuh): Break this code out from the enable_if pattern and find a clean 144 typename enable_if<std::numeric_limits<T>::is_integer, T>::type 167 typename enable_if<std::numeric_limits<T>::is_integer, T>::type 194 typename enable_if< [all...] |
/external/clang/test/CodeGenCXX/ |
mangle-exprs.cpp | 36 struct enable_if { typedef T type; }; struct 39 struct enable_if< false, T > {}; struct 44 void implicit(typename enable_if< O <= 4 >::type* = 0) { 48 void cstyle(typename enable_if< O <= (unsigned)4 >::type* = 0) { 52 void functional(typename enable_if< O <= unsigned(4) >::type* = 0) { 56 void static_(typename enable_if< O <= static_cast<unsigned>(4) >::type* = 0) { 60 void reinterpret_(typename enable_if<O <= sizeof(reinterpret_cast<T *>(0))>::type * = 0) { 64 void const_(typename enable_if<0 <= sizeof(const_cast<T *>(p))>::type * = 0) { 68 void dynamic_(typename enable_if<0 <= sizeof(dynamic_cast<T *>(p))>::type * = 0) {
|
/external/clang/test/SemaCXX/ |
cxx0x-cursory-default-delete.cpp | 95 template<bool, typename = void> struct enable_if {}; struct 96 template<typename T> struct enable_if<true, T> { typedef T type; }; struct 99 typename enable_if<sizeof...(T) != 0>::type* = nullptr>
|
/external/eigen/Eigen/src/Core/util/ |
Meta.h | 162 template<bool Condition, typename T=void> struct enable_if; 164 template<typename T> struct enable_if<true,T> struct in namespace:Eigen::internal 389 template <typename C> static meta_yes testFunctor(C const *,typename enable_if<(sizeof(return_ptr<C>()->operator()())>0)>::type * = 0); 398 template <typename C> static meta_yes testFunctor(C const *,typename enable_if<(sizeof(return_ptr<C>()->operator()(IndexType(0)))>0)>::type * = 0); 407 template <typename C> static meta_yes testFunctor(C const *,typename enable_if<(sizeof(return_ptr<C>()->operator()(IndexType(0),IndexType(0)))>0)>::type * = 0);
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
MathExtras.h | 297 constexpr inline typename std::enable_if<(N < 64), bool>::type member in class:llvm::std 303 constexpr inline typename std::enable_if<N >= 64, bool>::type 748 typename std::enable_if<std::is_unsigned<T>::value, T>::type 757 typename std::enable_if<std::is_unsigned<T>::value, T>::type 774 typename std::enable_if<std::is_unsigned<T>::value, T>::type 820 typename std::enable_if<std::is_unsigned<T>::value, T>::type
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
MathExtras.h | 297 constexpr inline typename std::enable_if<(N < 64), bool>::type member in class:llvm::std 303 constexpr inline typename std::enable_if<N >= 64, bool>::type 740 typename std::enable_if<std::is_unsigned<T>::value, T>::type 749 typename std::enable_if<std::is_unsigned<T>::value, T>::type 766 typename std::enable_if<std::is_unsigned<T>::value, T>::type 812 typename std::enable_if<std::is_unsigned<T>::value, T>::type
|
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Support/ |
MathExtras.h | 323 constexpr inline typename std::enable_if<(N < 64), bool>::type member in class:llvm::std 329 constexpr inline typename std::enable_if<N >= 64, bool>::type 753 typename std::enable_if<std::is_unsigned<T>::value, T>::type 762 typename std::enable_if<std::is_unsigned<T>::value, T>::type 779 typename std::enable_if<std::is_unsigned<T>::value, T>::type 825 typename std::enable_if<std::is_unsigned<T>::value, T>::type
|
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Support/ |
MathExtras.h | 323 constexpr inline typename std::enable_if<(N < 64), bool>::type member in class:llvm::std 329 constexpr inline typename std::enable_if<N >= 64, bool>::type 753 typename std::enable_if<std::is_unsigned<T>::value, T>::type 762 typename std::enable_if<std::is_unsigned<T>::value, T>::type 779 typename std::enable_if<std::is_unsigned<T>::value, T>::type 825 typename std::enable_if<std::is_unsigned<T>::value, T>::type
|
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Support/ |
MathExtras.h | 323 constexpr inline typename std::enable_if<(N < 64), bool>::type member in class:llvm::std 329 constexpr inline typename std::enable_if<N >= 64, bool>::type 758 typename std::enable_if<std::is_unsigned<T>::value, T>::type 767 typename std::enable_if<std::is_unsigned<T>::value, T>::type 784 typename std::enable_if<std::is_unsigned<T>::value, T>::type 830 typename std::enable_if<std::is_unsigned<T>::value, T>::type
|
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Support/ |
MathExtras.h | 323 constexpr inline typename std::enable_if<(N < 64), bool>::type member in class:llvm::std 329 constexpr inline typename std::enable_if<N >= 64, bool>::type 758 typename std::enable_if<std::is_unsigned<T>::value, T>::type 767 typename std::enable_if<std::is_unsigned<T>::value, T>::type 784 typename std::enable_if<std::is_unsigned<T>::value, T>::type 830 typename std::enable_if<std::is_unsigned<T>::value, T>::type
|
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/Support/ |
MathExtras.h | 323 constexpr inline typename std::enable_if<(N < 64), bool>::type member in class:llvm::std 329 constexpr inline typename std::enable_if<N >= 64, bool>::type 758 typename std::enable_if<std::is_unsigned<T>::value, T>::type 767 typename std::enable_if<std::is_unsigned<T>::value, T>::type 784 typename std::enable_if<std::is_unsigned<T>::value, T>::type 830 typename std::enable_if<std::is_unsigned<T>::value, T>::type
|
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/Support/ |
MathExtras.h | 323 constexpr inline typename std::enable_if<(N < 64), bool>::type member in class:llvm::std 329 constexpr inline typename std::enable_if<N >= 64, bool>::type 758 typename std::enable_if<std::is_unsigned<T>::value, T>::type 767 typename std::enable_if<std::is_unsigned<T>::value, T>::type 784 typename std::enable_if<std::is_unsigned<T>::value, T>::type 830 typename std::enable_if<std::is_unsigned<T>::value, T>::type
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
MathExtras.h | 297 constexpr inline typename std::enable_if<(N < 64), bool>::type member in class:llvm::std 303 constexpr inline typename std::enable_if<N >= 64, bool>::type 740 typename std::enable_if<std::is_unsigned<T>::value, T>::type 749 typename std::enable_if<std::is_unsigned<T>::value, T>::type 766 typename std::enable_if<std::is_unsigned<T>::value, T>::type 812 typename std::enable_if<std::is_unsigned<T>::value, T>::type
|
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/Support/ |
MathExtras.h | 323 constexpr inline typename std::enable_if<(N < 64), bool>::type member in class:llvm::std 329 constexpr inline typename std::enable_if<N >= 64, bool>::type 753 typename std::enable_if<std::is_unsigned<T>::value, T>::type 762 typename std::enable_if<std::is_unsigned<T>::value, T>::type 779 typename std::enable_if<std::is_unsigned<T>::value, T>::type 825 typename std::enable_if<std::is_unsigned<T>::value, T>::type
|