Searched refs:RemoveConst (Results 1 - 14 of 14) sorted by relevance

/external/gtest/include/gtest/internal/
H A Dgtest-internal.h719 struct RemoveConst { typedef T type; }; // NOLINT struct in namespace:testing::internal
721 struct RemoveConst<const T> { typedef T type; }; // NOLINT struct in namespace:testing::internal
727 struct RemoveConst<const T[N]> { struct in namespace:testing::internal
728 typedef typename RemoveConst<T>::type type[N];
736 struct RemoveConst<T[N]> { struct in namespace:testing::internal
737 typedef typename RemoveConst<T>::type type[N];
741 // A handy wrapper around RemoveConst that works when the argument
744 typename ::testing::internal::RemoveConst<T>::type
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DTypeTraits.h41 // RemoveConst<T>::Type
234 template <typename T> struct RemoveConst { struct in namespace:WTF
238 template <typename T> struct RemoveConst<const T> { struct in namespace:WTF
251 typedef typename RemoveVolatile<typename RemoveConst<T>::Type>::Type Type;
H A DTypeTraits.cpp130 COMPILE_ASSERT((IsSameType<bool, RemoveConst<const bool>::Type>::value), WTF_test_RemoveConst_const_bool);
131 COMPILE_ASSERT((!IsSameType<bool, RemoveConst<volatile bool>::Type>::value), WTF_test_RemoveConst_volatile_bool);
/external/chromium_org/third_party/WebKit/Source/platform/heap/
H A DVisitor.h124 static const bool nonTrivialFinalizer = WTF::IsSubclassOfTemplate<typename WTF::RemoveConst<T>::Type, GarbageCollectedFinalized>::value;
134 template<typename T, bool = WTF::IsSubclassOfTemplate<typename WTF::RemoveConst<T>::Type, GarbageCollected>::value> class NeedsAdjustAndMark;
147 static const bool value = WTF::IsSubclass<typename WTF::RemoveConst<T>::Type, GarbageCollectedMixin>::value;
597 typedef WTF::IsSubclassOfTemplate<typename WTF::RemoveConst<TYPE>::Type, blink::GarbageCollected> IsSubclassOfGarbageCollected; \
642 template<typename T, bool = WTF::IsSubclassOfTemplate<typename WTF::RemoveConst<T>::Type, GarbageCollected>::value> struct GetGarbageCollectedBase;
H A DHandle.h79 typedef typename WTF::RemoveConst<T>::Type NonConstType;
1062 static const bool notRefCountedGarbageCollected = !WTF::IsSubclassOfTemplate<typename WTF::RemoveConst<T>::Type, RefCountedGarbageCollected>::value;
1063 static const bool notRefCounted = !WTF::IsSubclassOfTemplate<typename WTF::RemoveConst<T>::Type, RefCounted>::value;
1071 static const bool isRefCountedGarbageCollected = WTF::IsSubclassOfTemplate<typename WTF::RemoveConst<T>::Type, RefCountedGarbageCollected>::value;
1078 static const bool isThreadSafeRefCountedGarbageCollected = WTF::IsSubclassOfTemplate<typename WTF::RemoveConst<T>::Type, ThreadSafeRefCountedGarbageCollected>::value;
1085 static const bool notRefCountedGarbageCollected = !WTF::IsSubclassOfTemplate<typename WTF::RemoveConst<T>::Type, RefCountedGarbageCollected>::value;
1086 static const bool notRefCounted = !WTF::IsSubclassOfTemplate<typename WTF::RemoveConst<T>::Type, RefCounted>::value;
1094 static const bool isRefCountedGarbageCollected = WTF::IsSubclassOfTemplate<typename WTF::RemoveConst<T>::Type, RefCountedGarbageCollected>::value;
1101 static const bool notRefCountedGarbageCollected = !WTF::IsSubclassOfTemplate<typename WTF::RemoveConst<T>::Type, RefCountedGarbageCollected>::value;
1102 static const bool notRefCounted = !WTF::IsSubclassOfTemplate<typename WTF::RemoveConst<
[all...]
H A DThreadState.h93 template<typename T, bool derivesNode = WTF::IsSubclass<typename WTF::RemoveConst<T>::Type, Node>::value> struct DefaultThreadingTrait;
/external/chromium_org/testing/gtest/include/gtest/internal/
H A Dgtest-internal.h751 struct RemoveConst { typedef T type; }; // NOLINT struct in namespace:testing::internal
753 struct RemoveConst<const T> { typedef T type; }; // NOLINT struct in namespace:testing::internal
759 struct RemoveConst<const T[N]> { struct in namespace:testing::internal
760 typedef typename RemoveConst<T>::type type[N];
768 struct RemoveConst<T[N]> { struct in namespace:testing::internal
769 typedef typename RemoveConst<T>::type type[N];
773 // A handy wrapper around RemoveConst that works when the argument
776 typename ::testing::internal::RemoveConst<T>::type
/external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/internal/
H A Dgtest-internal.h793 struct RemoveConst { typedef T type; }; // NOLINT struct in namespace:testing::internal
795 struct RemoveConst<const T> { typedef T type; }; // NOLINT struct in namespace:testing::internal
804 struct RemoveConst<const T[N]> { struct in namespace:testing::internal
805 typedef typename RemoveConst<T>::type type[N];
809 // A handy wrapper around RemoveConst that works when the argument
812 typename ::testing::internal::RemoveConst<T>::type
/external/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-internal.h822 struct RemoveConst { typedef T type; }; // NOLINT struct in namespace:testing::internal
824 struct RemoveConst<const T> { typedef T type; }; // NOLINT struct in namespace:testing::internal
833 struct RemoveConst<const T[N]> { struct in namespace:testing::internal
834 typedef typename RemoveConst<T>::type type[N];
838 // A handy wrapper around RemoveConst that works when the argument
841 typename ::testing::internal::RemoveConst<T>::type
/external/mesa3d/src/gtest/include/gtest/internal/
H A Dgtest-internal.h793 struct RemoveConst { typedef T type; }; // NOLINT struct in namespace:testing::internal
795 struct RemoveConst<const T> { typedef T type; }; // NOLINT struct in namespace:testing::internal
804 struct RemoveConst<const T[N]> { struct in namespace:testing::internal
805 typedef typename RemoveConst<T>::type type[N];
809 // A handy wrapper around RemoveConst that works when the argument
812 typename ::testing::internal::RemoveConst<T>::type
/external/chromium_org/testing/gtest/test/
H A Dgtest_unittest.cc271 using testing::internal::RemoveConst;
7227 // Tests that RemoveConst does not affect non-const types.
7229 CompileAssertTypesEqual<int, RemoveConst<int>::type>();
7230 CompileAssertTypesEqual<char&, RemoveConst<char&>::type>();
7233 // Tests that RemoveConst removes const from const types.
7235 CompileAssertTypesEqual<int, RemoveConst<const int>::type>();
7236 CompileAssertTypesEqual<char[2], RemoveConst<const char[2]>::type>();
7237 CompileAssertTypesEqual<char[2][3], RemoveConst<const char[2][3]>::type>();
/external/gtest/test/
H A Dgtest_unittest.cc270 using testing::internal::RemoveConst;
7118 // Tests that RemoveConst does not affect non-const types.
7120 CompileAssertTypesEqual<int, RemoveConst<int>::type>();
7121 CompileAssertTypesEqual<char&, RemoveConst<char&>::type>();
7124 // Tests that RemoveConst removes const from const types.
7126 CompileAssertTypesEqual<int, RemoveConst<const int>::type>();
7127 CompileAssertTypesEqual<char[2], RemoveConst<const char[2]>::type>();
7128 CompileAssertTypesEqual<char[2][3], RemoveConst<const char[2][3]>::type>();
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/googletest/src/include/gtest/
H A Dgtest.h7679 struct RemoveConst { typedef T type; }; // NOLINT struct in namespace:testing::internal
7681 struct RemoveConst<const T> { typedef T type; }; // NOLINT struct in namespace:testing::internal
7687 struct RemoveConst<const T[N]> { struct in namespace:testing::internal
7688 typedef typename RemoveConst<T>::type type[N];
7696 struct RemoveConst<T[N]> { struct in namespace:testing::internal
7697 typedef typename RemoveConst<T>::type type[N];
7701 // A handy wrapper around RemoveConst that works when the argument
7704 typename ::testing::internal::RemoveConst<T>::type
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/
H A Dgtest.h7679 struct RemoveConst { typedef T type; }; // NOLINT struct in namespace:testing::internal
7681 struct RemoveConst<const T> { typedef T type; }; // NOLINT struct in namespace:testing::internal
7687 struct RemoveConst<const T[N]> { struct in namespace:testing::internal
7688 typedef typename RemoveConst<T>::type type[N];
7696 struct RemoveConst<T[N]> { struct in namespace:testing::internal
7697 typedef typename RemoveConst<T>::type type[N];
7701 // A handy wrapper around RemoveConst that works when the argument
7704 typename ::testing::internal::RemoveConst<T>::type

Completed in 669 milliseconds