/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/ |
H A D | 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/ |
H A D | 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
|
/external/parameter-framework/asio/include/asio/ |
H A D | basic_stream_socket.hpp | 180 typename enable_if<is_convertible<Protocol1, Protocol>::value>::type* = 0) 198 typename enable_if<is_convertible<Protocol1, Protocol>::value, 178 basic_stream_socket( basic_stream_socket<Protocol1, StreamSocketService1>&& other, typename enable_if<is_convertible<Protocol1, Protocol>::value>::type* = 0) argument
|
H A D | basic_socket.hpp | 190 typename enable_if<is_convertible<Protocol1, Protocol>::value>::type* = 0) 208 typename enable_if<is_convertible<Protocol1, Protocol>::value, 189 basic_socket(basic_socket<Protocol1, SocketService1>&& other, typename enable_if<is_convertible<Protocol1, Protocol>::value>::type* = 0) argument
|
H A D | basic_socket_acceptor.hpp | 229 typename enable_if<is_convertible<Protocol1, Protocol>::value>::type* = 0) 248 typename enable_if<is_convertible<Protocol1, Protocol>::value, 921 typename enable_if<is_convertible<Protocol, Protocol1>::value>::type* = 0) 956 typename enable_if<is_convertible<Protocol, Protocol1>::value>::type* = 0) 1005 typename enable_if<is_convertible<Protocol, Protocol1>::value>::type* = 0) 227 basic_socket_acceptor( basic_socket_acceptor<Protocol1, SocketAcceptorService1>&& other, typename enable_if<is_convertible<Protocol1, Protocol>::value>::type* = 0) argument 920 accept(basic_socket<Protocol1, SocketService>& peer, typename enable_if<is_convertible<Protocol, Protocol1>::value>::type* = 0) argument 953 accept( basic_socket<Protocol1, SocketService>& peer, asio::error_code& ec, typename enable_if<is_convertible<Protocol, Protocol1>::value>::type* = 0) argument 1003 async_accept(basic_socket<Protocol1, SocketService>& peer, ASIO_MOVE_ARG(AcceptHandler) handler, typename enable_if<is_convertible<Protocol, Protocol1>::value>::type* = 0) argument
|
H A D | socket_acceptor_service.hpp | 89 typename enable_if<is_convertible< 226 typename enable_if<is_convertible<Protocol, Protocol1>::value>::type* = 0) 239 typename enable_if<is_convertible<Protocol, Protocol1>::value>::type* = 0) 223 accept(implementation_type& impl, basic_socket<Protocol1, SocketService>& peer, endpoint_type* peer_endpoint, asio::error_code& ec, typename enable_if<is_convertible<Protocol, Protocol1>::value>::type* = 0) argument 235 async_accept(implementation_type& impl, basic_socket<Protocol1, SocketService>& peer, endpoint_type* peer_endpoint, ASIO_MOVE_ARG(AcceptHandler) handler, typename enable_if<is_convertible<Protocol, Protocol1>::value>::type* = 0) argument
|
/external/parameter-framework/asio-1.10.6/include/asio/ |
H A D | basic_stream_socket.hpp | 180 typename enable_if<is_convertible<Protocol1, Protocol>::value>::type* = 0) 198 typename enable_if<is_convertible<Protocol1, Protocol>::value, 178 basic_stream_socket( basic_stream_socket<Protocol1, StreamSocketService1>&& other, typename enable_if<is_convertible<Protocol1, Protocol>::value>::type* = 0) argument
|
H A D | basic_socket.hpp | 190 typename enable_if<is_convertible<Protocol1, Protocol>::value>::type* = 0) 208 typename enable_if<is_convertible<Protocol1, Protocol>::value, 189 basic_socket(basic_socket<Protocol1, SocketService1>&& other, typename enable_if<is_convertible<Protocol1, Protocol>::value>::type* = 0) argument
|
H A D | basic_socket_acceptor.hpp | 229 typename enable_if<is_convertible<Protocol1, Protocol>::value>::type* = 0) 248 typename enable_if<is_convertible<Protocol1, Protocol>::value, 921 typename enable_if<is_convertible<Protocol, Protocol1>::value>::type* = 0) 956 typename enable_if<is_convertible<Protocol, Protocol1>::value>::type* = 0) 1005 typename enable_if<is_convertible<Protocol, Protocol1>::value>::type* = 0) 227 basic_socket_acceptor( basic_socket_acceptor<Protocol1, SocketAcceptorService1>&& other, typename enable_if<is_convertible<Protocol1, Protocol>::value>::type* = 0) argument 920 accept(basic_socket<Protocol1, SocketService>& peer, typename enable_if<is_convertible<Protocol, Protocol1>::value>::type* = 0) argument 953 accept( basic_socket<Protocol1, SocketService>& peer, asio::error_code& ec, typename enable_if<is_convertible<Protocol, Protocol1>::value>::type* = 0) argument 1003 async_accept(basic_socket<Protocol1, SocketService>& peer, ASIO_MOVE_ARG(AcceptHandler) handler, typename enable_if<is_convertible<Protocol, Protocol1>::value>::type* = 0) argument
|
H A D | socket_acceptor_service.hpp | 89 typename enable_if<is_convertible< 226 typename enable_if<is_convertible<Protocol, Protocol1>::value>::type* = 0) 239 typename enable_if<is_convertible<Protocol, Protocol1>::value>::type* = 0) 223 accept(implementation_type& impl, basic_socket<Protocol1, SocketService>& peer, endpoint_type* peer_endpoint, asio::error_code& ec, typename enable_if<is_convertible<Protocol, Protocol1>::value>::type* = 0) argument 235 async_accept(implementation_type& impl, basic_socket<Protocol1, SocketService>& peer, endpoint_type* peer_endpoint, ASIO_MOVE_ARG(AcceptHandler) handler, typename enable_if<is_convertible<Protocol, Protocol1>::value>::type* = 0) argument
|
/external/v8/src/base/ |
H A D | safe_math.h | 173 typename enable_if<std::numeric_limits<Src>::is_specialized, int>::type = 181 typename enable_if<!is_same<Src, T>::value, int>::type = 0) { 171 cast( Src u, typename enable_if<std::numeric_limits<Src>::is_specialized, int>::type = 0) argument 179 cast( const CheckedNumeric<Src>& u, typename enable_if<!is_same<Src, T>::value, int>::type = 0) argument
|
H A D | 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< 249 CheckedDiv( T x, T y, RangeConstraint* validity, typename enable_if<std::numeric_limits<T>::is_integer, int>::type = 0) argument 408 CheckedNumericState( Src value, typename enable_if<std::numeric_limits<Src>::is_specialized, int>::type = 0) argument 432 CheckedNumericState( Src value, RangeConstraint validity, typename enable_if<std::numeric_limits<Src>::is_integer, int>::type = 0) argument 456 CheckedNumericState( Src value, typename enable_if<std::numeric_limits<Src>::is_specialized, int>::type = 0) argument [all...] |
/external/clang/test/SemaTemplate/ |
H A D | 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<fals 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...] |
H A D | 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/ |
H A D | 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/CXX/temp/temp.decls/temp.variadic/ |
H A D | 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,
|
H A D | 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
|
/external/clang/test/Analysis/Inputs/ |
H A D | 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/SemaCXX/ |
H A D | 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/ |
H A D | 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/clang/test/CodeGenCXX/ |
H A D | 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/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A D | 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
|
/external/eigen/Eigen/src/Core/ |
H A D | AssignEvaluator.h | 794 void call_assignment(Dst& dst, const Src& src, const Func& func, typename enable_if< evaluator_assume_aliasing<Src>::value, void*>::type = 0) 802 void call_assignment(Dst& dst, const Src& src, const Func& func, typename enable_if<!evaluator_assume_aliasing<Src>::value, void*>::type = 0) argument
|