/external/chromium_org/base/numerics/ |
H A D | safe_math.h | 177 typename enable_if<!is_same<Src, T>::value, int>::type = 0) {
|
/external/chromium_org/base/ |
H A D | template_util.h | 42 template <class T, class U> struct is_same : public false_type {}; struct in namespace:base 43 template <class T> struct is_same<T,T> : true_type {}; struct in namespace:base
|
H A D | template_util_unittest.cc | 60 // is_same<Type1, Type2> 61 COMPILE_ASSERT(!(is_same<Child, Parent>::value), IsSame); 62 COMPILE_ASSERT(!(is_same<Parent, Child>::value), IsSame); 63 COMPILE_ASSERT( (is_same<Parent, Parent>::value), IsSame); 64 COMPILE_ASSERT( (is_same<int*, int*>::value), IsSame); 65 COMPILE_ASSERT( (is_same<int, int>::value), IsSame); 66 COMPILE_ASSERT( (is_same<void, void>::value), IsSame); 67 COMPILE_ASSERT(!(is_same<int, double>::value), IsSame);
|
/external/chromium_org/sandbox/linux/services/ |
H A D | credentials.cc | 72 COMPILE_ASSERT((base::is_same<uid_t, gid_t>::value), UidAndGidAreSameType); 114 COMPILE_ASSERT((base::is_same<base::PlatformThreadId, int>::value),
|
/external/chromium_org/third_party/cython/src/Cython/Compiler/ |
H A D | ParseTreeTransforms.py | 2748 is_same = type1.same_as(type2) 2751 if (is_same and eq) or (not is_same and not eq):
|
/external/chromium_org/third_party/libaddressinput/src/cpp/include/libaddressinput/util/ |
H A D | template_util.h | 33 template <class T, class U> struct is_same : public false_type {}; struct in namespace:i18n::addressinput 34 template <class T> struct is_same<T,T> : true_type {}; struct in namespace:i18n::addressinput
|
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/ |
H A D | template_util.h | 30 template <class T, class U> struct is_same : public false_type {}; struct in namespace:i18n::phonenumbers 31 template <class T> struct is_same<T,T> : true_type {}; struct in namespace:i18n::phonenumbers
|
/external/chromium_org/third_party/mesa/src/src/glsl/ |
H A D | linker.cpp | 1511 static bool is_same(const tfeedback_decl &x, const tfeedback_decl &y); 1701 tfeedback_decl::is_same(const tfeedback_decl &x, const tfeedback_decl &y) function in class:tfeedback_decl 1936 if (tfeedback_decl::is_same(decls[i], decls[j])) {
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | type_traits.h | 54 // is_same 89 template <class T, class U> struct is_same; 181 is_same<T, void>::value || 298 template<typename T, typename U> struct is_same : public false_type { }; struct in namespace:google::protobuf::internal 299 template<typename T> struct is_same<T, T> : public true_type { }; struct in namespace:google::protobuf::internal
|
H A D | type_traits_unittest.cc | 587 EXPECT_TRUE((is_same<int32, int32>::value)); 588 EXPECT_FALSE((is_same<int32, int64>::value)); 589 EXPECT_FALSE((is_same<int64, int32>::value)); 590 EXPECT_FALSE((is_same<int, const int>::value)); 592 EXPECT_TRUE((is_same<void, void>::value)); 593 EXPECT_FALSE((is_same<void, int>::value)); 594 EXPECT_FALSE((is_same<int, void>::value)); 596 EXPECT_TRUE((is_same<int*, int*>::value)); 597 EXPECT_TRUE((is_same<void*, void*>::value)); 598 EXPECT_FALSE((is_same<in [all...] |
/external/chromium_org/third_party/webrtc/base/ |
H A D | template_util.h | 35 template <class T, class U> struct is_same : public false_type {}; struct in namespace:rtc 36 template <class T> struct is_same<T,T> : true_type {}; struct in namespace:rtc
|
/external/chromium_org/third_party/webrtc/system_wrappers/interface/ |
H A D | template_util.h | 37 template <class T, class U> struct is_same : public false_type {}; struct in namespace:webrtc 38 template <class T> struct is_same<T, T> : true_type {}; struct in namespace:webrtc
|
/external/chromium_org/v8/src/base/ |
H A D | safe_math.h | 181 typename enable_if<!is_same<Src, T>::value, int>::type = 0) {
|
H A D | safe_math_impl.h | 39 template <class T, class U> struct is_same : public false_type {}; struct in namespace:v8::base::internal 40 template <class T> struct is_same<T, T> : true_type {}; struct in namespace:v8::base::internal
|
/external/clang/include/clang/AST/ |
H A D | Type.h | 5191 template <typename T, bool isArrayType = (std::is_same<T, ArrayType>::value ||
|
/external/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchersInternal.h | 223 !std::is_same<From, T>::value>::type * = 0) 232 std::is_same<T, QualType>::value && 233 std::is_same<TypeT, Type>::value>::type* = 0) 519 static_assert(std::is_same<T, CXXOperatorCallExpr>::value || 520 std::is_same<T, CXXMethodDecl>::value, 522 static_assert(std::is_same<ArgT, StringRef>::value, 558 static_assert(std::is_same<DeclMatcherT, Matcher<Decl>>::value, 640 std::is_same<T, Decl>::value || 641 std::is_same<T, Stmt>::value || 642 std::is_same< [all...] |
/external/clang/include/clang/Basic/ |
H A D | Diagnostic.h | 1036 typename std::enable_if<std::is_same<T, bool>::value, 1068 typename std::enable_if<std::is_same<T, DeclContext>::value,
|
H A D | PartialDiagnostic.h | 371 typename std::enable_if<std::is_same<T, DeclContext>::value,
|
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/ |
H A D | p3-1y.cpp | 52 template<typename T, typename U> constexpr bool is_same() { function in namespace:p3_example 61 static_assert(is_same<decltype(x), int>(), ""); 62 static_assert(is_same<decltype(v), const int*>(), ""); 63 static_assert(is_same<decltype(u), const int>(), ""); 64 static_assert(is_same<decltype(y), double>(), ""); 71 static_assert(is_same<decltype(f), int()>(), ""); 72 static_assert(is_same<decltype(g), double()>(), "");
|
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.simple/ |
H A D | p4-cxx0x.cpp | 4 struct is_same { struct 9 struct is_same<T, T> { struct 18 static_assert(is_same<decltype(foo()), const int&&>::value, ""); 19 static_assert(is_same<decltype(i), int>::value, ""); 20 static_assert(is_same<decltype(a->x), double>::value, ""); 21 static_assert(is_same<decltype((a->x)), const double&>::value, ""); 22 static_assert(is_same<decltype(static_cast<int&&>(i)), int&&>::value, "");
|
H A D | p5-cxx0x.cpp | 74 template<typename T, typename U> struct is_same { static const bool value = false; }; struct in namespace:libcxx_example 75 template<typename T> struct is_same<T, T> { static const bool value = true; }; struct in namespace:libcxx_example 84 static const bool value = !is_same<type, nat>::value;
|
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/ |
H A D | p14.cpp | 7 template<typename T, typename U> struct is_same { struct 11 template<typename T> struct is_same<T, T> { struct
|
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.ref/ |
H A D | p6-0x.cpp | 4 struct is_same { struct 9 struct is_same<T, T> { struct 15 int JOIN(array,__LINE__)[is_same<T1, T2>::value? 1 : -1]
|
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
H A D | p18.cpp | 5 struct is_same { struct 10 struct is_same<T, T> { struct 21 static_assert(is_same<decltype(((r))), float const&>::value, 23 static_assert(is_same<decltype(x), float>::value, "should be float"); 24 static_assert(is_same<decltype((x)), const float&>::value, 26 static_assert(is_same<decltype(r), float&>::value, "should be float&"); 27 static_assert(is_same<decltype(ir), int&>::value, "should be int&"); 28 static_assert(is_same<decltype((ir)), int&>::value, "should be int&"); 29 static_assert(is_same<decltype(irc), const int&>::value, 31 static_assert(is_same<decltyp [all...] |
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
H A D | example-bind.cpp | 29 struct is_same { struct 34 struct is_same<T, T> { struct
|