HomeSort by relevance Sort by last modified time
    Searched refs:HasType (Results 1 - 9 of 9) sorted by null

  /external/libcxx/test/libcxx/type_traits/
lazy_metafunctions.pass.cpp 62 struct HasType : HasTypeImp<Type>::type {};
67 static_assert(HasType<Result>::value, "");
72 static_assert(!HasType<Result>::value, "");
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/type_traits/
lazy_metafunctions.pass.cpp 62 struct HasType : HasTypeImp<Type>::type {};
67 static_assert(HasType<Result>::value, "");
72 static_assert(!HasType<Result>::value, "");
  /frameworks/native/libs/vr/libpdx/private/pdx/rpc/
variant.h 61 struct HasType : std::false_type {};
63 struct HasType<T, U> : std::is_same<std::decay_t<T>, std::decay_t<U>> {};
65 struct HasType<T, First, Rest...>
66 : std::integral_constant<bool, HasType<T, First>::value ||
67 HasType<T, Rest...>::value> {};
76 struct IsSubset<T> : HasType<T, Types...> {};
99 typename std::enable_if<HasType<T, Types...>::value, R>::type;
103 typename std::enable_if<!HasType<T, Types...>::value, R>::type;
110 typename std::enable_if<!HasType<T, Types...>::value &&
121 typename std::enable_if<HasType<T, Types...>::value |
    [all...]
  /external/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/
result_of.pass.cpp 40 struct HasType : std::false_type {};
43 struct HasType<T, typename Voider<typename T::type>::type> : std::true_type {};
80 static_assert((!HasType<std::invoke_result<Fn, Args...> >::value), "");
89 static_assert((!HasType<std::result_of<T> >::value), "");
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/meta/meta.trans/meta.trans.other/
result_of.pass.cpp 40 struct HasType : std::false_type {};
43 struct HasType<T, typename Voider<typename T::type>::type> : std::true_type {};
59 static_assert((!HasType<std::result_of<T> >::value), "");
  /frameworks/native/libs/vr/libpdx/
variant_tests.cpp 1092 TEST(Variant, HasType) {
1093 EXPECT_TRUE((detail::HasType<int, int, float, bool>::value));
1094 EXPECT_FALSE((detail::HasType<char, int, float, bool>::value));
1095 EXPECT_FALSE(detail::HasType<>::value);
1097 EXPECT_TRUE((detail::HasType<int&, int, float, bool>::value));
1098 EXPECT_FALSE((detail::HasType<char&, int, float, bool>::value));
  /external/tensorflow/tensorflow/core/framework/
attr_value_util_test.cc 60 TEST(AttrValueUtil, HasType) {
  /external/clang/unittests/ASTMatchers/
ASTMatchersTraversalTest.cpp 117 varDecl(hasName("i"), hasType(qualType(has(builtinType()))))));
120 varDecl(hasName("i"), hasType(qualType(has(pointerType()))))));
125 expr(hasType(pointsTo(recordDecl(hasName("X")))),
136 expr(hasType(pointsTo(recordDecl(hasName("X")))),
167 varDecl(hasType(namedDecl(hasName("S"))))));
173 parmVarDecl(hasType(namedDecl(hasName("I"))))));
176 parmVarDecl(hasType(objcObjectPointerType()))));
180 parmVarDecl(hasType(pointsTo(objcInterfaceDecl(hasName("Foo")))))));
183 parmVarDecl(hasType(templateTypeParmType()))));
186 parmVarDecl(hasType(namedDecl(hasName("T"))))))
    [all...]
ASTMatchersNarrowingTest.cpp 34 hasArgument(1, hasType(pointsTo(
39 hasArgument(1, hasType(pointsTo(
45 hasArgument(1, hasType(pointsTo(
487 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base1")))))));
491 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base2")))))));
495 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base1"),
512 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base1")))))));
516 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base2")))))));
520 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base1"),
599 TEST(HasType, MatchesAsString)
    [all...]

Completed in 1411 milliseconds