Searched refs:is_same (Results 1 - 25 of 391) sorted by path

1234567891011>>

/external/chromium_org/base/numerics/
H A Dsafe_math.h177 typename enable_if<!is_same<Src, T>::value, int>::type = 0) {
/external/chromium_org/base/
H A Dtemplate_util.h42 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 Dtemplate_util_unittest.cc60 // 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 Dcredentials.cc72 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 DParseTreeTransforms.py2748 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 Dtemplate_util.h33 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 Dtemplate_util.h30 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 Dlinker.cpp1511 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 Dtype_traits.h54 // 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 Dtype_traits_unittest.cc587 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 Dtemplate_util.h35 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 Dtemplate_util.h37 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 Dsafe_math.h181 typename enable_if<!is_same<Src, T>::value, int>::type = 0) {
H A Dsafe_math_impl.h39 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 DType.h5191 template <typename T, bool isArrayType = (std::is_same<T, ArrayType>::value ||
/external/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h223 !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 DDiagnostic.h1036 typename std::enable_if<std::is_same<T, bool>::value,
1068 typename std::enable_if<std::is_same<T, DeclContext>::value,
H A DPartialDiagnostic.h371 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 Dp3-1y.cpp52 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 Dp4-cxx0x.cpp4 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 Dp5-cxx0x.cpp74 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 Dp14.cpp7 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 Dp6-0x.cpp4 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 Dp18.cpp5 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 Dexample-bind.cpp29 struct is_same { struct
34 struct is_same<T, T> { struct

Completed in 7102 milliseconds

1234567891011>>