/external/clang/test/PCH/ |
H A D | crash-12631281.cpp | 12 template < class _T2> struct is_convertible; 13 template <> struct is_convertible<int> { typedef int type; }; struct 18 template <class _U1, class _U2, class = typename is_convertible< first_type>::type>
|
/external/chromium/base/ |
H A D | template_util_unittest.cc | 44 // EXPECT_TRUE( (is_convertible < Child), (Parent > ::value)); 47 EXPECT_TRUE( (is_convertible<Child, Parent>::value) ); 48 EXPECT_FALSE( (is_convertible<Parent, Child>::value) ); 49 EXPECT_FALSE( (is_convertible<Parent, AStruct>::value) ); 51 EXPECT_TRUE( (is_convertible<int, double>::value) ); 52 EXPECT_TRUE( (is_convertible<int*, void*>::value) ); 53 EXPECT_FALSE( (is_convertible<void*, int*>::value) );
|
H A D | template_util.h | 50 // This class is an implementation detail for is_convertible, and you 51 // don't need to know how it works to use is_convertible. For those 87 struct is_convertible struct in namespace:base
|
/external/chromium_org/base/ |
H A D | template_util_unittest.cc | 39 // is_convertible<From, To> 44 // (is_convertible < Child), (Parent > ::value) 47 COMPILE_ASSERT( (is_convertible<Child, Parent>::value), IsConvertible); 48 COMPILE_ASSERT(!(is_convertible<Parent, Child>::value), IsConvertible); 49 COMPILE_ASSERT(!(is_convertible<Parent, AStruct>::value), IsConvertible); 50 COMPILE_ASSERT( (is_convertible<int, double>::value), IsConvertible); 51 COMPILE_ASSERT( (is_convertible<int*, void*>::value), IsConvertible); 52 COMPILE_ASSERT(!(is_convertible<void*, int*>::value), IsConvertible); 56 COMPILE_ASSERT(!(is_convertible<int[10], double>::value), IsConvertible); 57 COMPILE_ASSERT(!(is_convertible<doubl [all...] |
H A D | template_util.h | 91 // This class is an implementation detail for is_convertible, and you 92 // don't need to know how it works to use is_convertible. For those 128 struct is_convertible struct in namespace:base
|
/external/stlport/test/unit/ |
H A D | reference_wrapper_test.cpp | 31 CPPUNIT_CHECK( (::boost::is_convertible<rr_type, int&>::value) ); 62 CPPUNIT_CHECK( (::boost::is_convertible<crr_type, const int&>::value) );
|
H A D | type_traits_test.cpp | 139 int is_convertible(_Src, _Dst) { function 266 CPPUNIT_CHECK( is_convertible(any, b) == 0 ); 267 CPPUNIT_CHECK( is_convertible(d, b) == 1 ); 268 CPPUNIT_CHECK( is_convertible(cd, b) == 1 ); 274 //CPPUNIT_CHECK( is_convertible(pd, pb) == 1 ); 275 //CPPUNIT_CHECK( is_convertible(pcd, pb) == 1 );
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | type_traits_unittest.cc | 611 EXPECT_TRUE((is_convertible<int, int>::value)); 612 EXPECT_TRUE((is_convertible<int, long>::value)); 613 EXPECT_TRUE((is_convertible<long, int>::value)); 615 EXPECT_TRUE((is_convertible<int*, void*>::value)); 616 EXPECT_FALSE((is_convertible<void*, int*>::value)); 618 EXPECT_TRUE((is_convertible<Derived*, Base*>::value)); 619 EXPECT_FALSE((is_convertible<Base*, Derived*>::value)); 620 EXPECT_TRUE((is_convertible<Derived*, const Base*>::value)); 621 EXPECT_FALSE((is_convertible<const Derived*, Base*>::value));
|
H A D | type_traits.h | 55 // is_convertible 74 // is_enum uses is_convertible, which is not available on MSVC. 91 template <class From, class To> struct is_convertible; 155 // is_convertible chokes if the first argument is an array. That's why 158 : is_convertible<typename add_reference<T>::type, int> { }; 305 // This class is an implementation detail for is_convertible, and you 306 // don't need to know how it works to use is_convertible. For those 324 struct is_convertible struct in namespace:google::protobuf::internal
|
/external/chromium/base/memory/ |
H A D | raw_scoped_refptr_mismatch_checker.h | 39 (is_convertible<T, subtle::RefCountedBase*>::value || 40 is_convertible<T, subtle::RefCountedThreadSafeBase*>::value))
|
/external/chromium_org/base/memory/ |
H A D | raw_scoped_refptr_mismatch_checker.h | 38 (is_convertible<T, subtle::RefCountedBase*>::value || 39 is_convertible<T, subtle::RefCountedThreadSafeBase*>::value))
|
H A D | scoped_ptr.h | 123 // using a COMPILE_ASSERT() based on is_convertible<> and requiring 127 // Note, the is_convertible<U*, T*> check also ensures that U is not an 132 COMPILE_ASSERT((base::is_convertible<U*, T*>::value), 181 value = !base::is_convertible<T*, base::subtle::RefCountedBase*>::value && 182 !base::is_convertible<T*, base::subtle::RefCountedThreadSafeBase*>::
|
H A D | weak_ptr.h | 156 is_convertible<Derived, internal::SupportsWeakPtrBase&> convertible;
|
/external/chromium_org/gin/ |
H A D | wrappable.h | 87 base::is_convertible<T*, Wrappable<T>*>::value>::type> {
|
/external/chromium_org/third_party/libaddressinput/chromium/cpp/include/libaddressinput/util/ |
H A D | template_util.h | 57 // This class is an implementation detail for is_convertible, and you 58 // don't need to know how it works to use is_convertible. For those 94 struct is_convertible struct in namespace:i18n::addressinput
|
H A D | scoped_ptr.h | 38 // using a COMPILE_ASSERT() based on is_convertible<> and requiring 42 // Note, the is_convertible<U*, T*> check also ensures that U is not an 47 COMPILE_ASSERT((is_convertible<U*, T*>::value),
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
H A D | template_util.h | 53 // This class is an implementation detail for is_convertible, and you 54 // don't need to know how it works to use is_convertible. For those 90 struct is_convertible struct in namespace:talk_base
|
H A D | scoped_ptr.h | 99 #include "talk/base/template_util.h" // for is_convertible, is_array 119 // using a COMPILE_ASSERT() based on is_convertible<> and requiring 123 // Note, the is_convertible<U*, T*> check also ensures that U is not an 128 COMPILE_ASSERT((talk_base::is_convertible<U*, T*>::value),
|
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/ |
H A D | template_util.h | 54 // This class is an implementation detail for is_convertible, and you 55 // don't need to know how it works to use is_convertible. For those 91 struct is_convertible struct in namespace:i18n::phonenumbers
|
/external/chromium_org/extensions/common/permissions/ |
H A D | base_set_operators.h | 72 COMPILE_ASSERT((base::is_convertible<T*, BaseSetOperators<T>*>::value),
|
/external/chromium_org/third_party/cld/base/ |
H A D | type_traits.h | 25 // is_convertible 169 // This class is an implementation detail for is_convertible, and you 170 // don't need to know how it works to use is_convertible. For those 188 struct is_convertible struct in namespace:base
|
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/memory/ |
H A D | scoped_ptr.h | 42 // using a COMPILE_ASSERT() based on is_convertible<> and requiring 46 // Note, the is_convertible<U*, T*> check also ensures that U is not an 51 COMPILE_ASSERT((is_convertible<U*, T*>::value),
|
/external/clang/test/SemaCXX/ |
H A D | type-traits.cpp | 1666 void is_convertible() function
|