Home
last modified time | relevance | path

Searched refs:TestType (Results 1 – 25 of 79) sorted by relevance

1234

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DAnyTest.cpp131 struct TestType { in TEST() struct
132 TestType() = default; in TEST()
133 TestType(const TestType &Other) in TEST() argument
135 TestType(TestType &&Other) : Copies(Other.Copies), Moves(Other.Moves + 1) {} in TEST() argument
141 TestType T1 = llvm::any_cast<TestType>(Any{TestType()}); in TEST()
146 Any A{TestType()}; in TEST()
147 TestType T2 = llvm::any_cast<TestType>(A); in TEST()
152 TestType T3 = llvm::any_cast<TestType>(std::move(A)); in TEST()
/external/libcxx/test/libcxx/utilities/function.objects/func.require/
Dbullet_4_5_6.pass.cpp60 typedef TestMemberObject<ObjectType> TestType; typedef
65 typedef DerivedFromType<TestType> Derived; in doTest()
66 TestType obj; in doTest()
67 TestType* obj_ptr = &obj; in doTest()
70 DerefToType<TestType> dref; in doTest()
71 DerefPropType<TestType> dref2; in doTest()
72 std::reference_wrapper<TestType> rref(obj); in doTest()
76 typedef ObjectType (TestType::*MemPtr); in doTest()
78 MemPtr M = &TestType::object; in doTest()
91 typedef ObjectType const (TestType::*CMemPtr); in doTest()
[all …]
/external/catch2/include/internal/
Dcatch_test_registry.h64 template<typename TestType> \
68 … template<typename TestType> \
69 struct TestName : INTERNAL_CATCH_REMOVE_PARENS(ClassName <TestType>) { \
73 … template<typename TestType> \
116 template<typename TestType> \
131 template<typename TestType> \
156 template<typename TestType> static void TestFuncName(); \
178 template<typename TestType> \
192 template<typename TestType> \
193 struct TestName : INTERNAL_CATCH_REMOVE_PARENS(ClassName <TestType>) { \
[all …]
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/
Dmake_from_tuple.pass.cpp168 struct TestType { in test_noexcept() struct
169 TestType(int, NothrowMoveable) noexcept {} in test_noexcept() function
170 TestType(int, int, int) noexcept(false) {} in test_noexcept() function
171 TestType(long, long, long) noexcept {} in test_noexcept() argument
177 ASSERT_NOT_NOEXCEPT(std::make_from_tuple<TestType>(ctup)); in test_noexcept()
178 LIBCPP_ASSERT_NOEXCEPT(std::make_from_tuple<TestType>(std::move(tup))); in test_noexcept()
184 ASSERT_NOT_NOEXCEPT(std::make_from_tuple<TestType>(ctup)); in test_noexcept()
185 LIBCPP_ASSERT_NOEXCEPT(std::make_from_tuple<TestType>(std::move(tup))); in test_noexcept()
190 ASSERT_NOT_NOEXCEPT(std::make_from_tuple<TestType>(tup)); in test_noexcept()
195 LIBCPP_ASSERT_NOEXCEPT(std::make_from_tuple<TestType>(tup)); in test_noexcept()
[all …]
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
Dcopy.pass.cpp82 using T = TestTypes::TestType; in test_reference_extension()
130 using T = TestTypes::TestType; in main()
138 TestTypes::TestType::reset(); in main()
140 using T = TestTypes::TestType; in main()
151 TestTypes::TestType::reset(); in main()
154 test<TestType>(); in main()
155 test<TestType>(42); in main()
159 test<TestType>(); in main()
160 test<TestType>(42); in main()
Dmove.pass.cpp93 using T = TestTypes::TestType; in test_reference_extension()
168 using T = TestTypes::TestType; in main()
177 TestTypes::TestType::reset(); in main()
179 using T = TestTypes::TestType; in main()
193 TestTypes::TestType::reset(); in main()
196 test<TestType>(); in main()
197 test<TestType>(42); in main()
201 test<TestType>(); in main()
202 test<TestType>(42); in main()
Drvalue_T.pass.cpp75 typedef TestTypes::TestType T; in main()
84 typedef ExplicitTestTypes::TestType T; in main()
94 typedef TestTypes::TestType T; in main()
105 typedef ConstexprTestTypes::TestType T; in main()
117 typedef ConstexprTestTypes::TestType T; in main()
129 typedef ExplicitConstexprTestTypes::TestType T; in main()
DU.pass.cpp88 using T = TrivialTestTypes::TestType; in test_implicit()
92 using T = TestTypes::TestType; in test_implicit()
119 using T = ExplicitTrivialTestTypes::TestType; in test_explicit()
123 using T = ExplicitConstexprTestTypes::TestType; in test_explicit()
128 using T = ExplicitTestTypes::TestType; in test_explicit()
Dconst_T.pass.cpp69 typedef TestTypes::TestType T; in main()
79 typedef ExplicitTestTypes::TestType T; in main()
90 typedef ConstexprTestTypes::TestType T; in main()
103 typedef ExplicitConstexprTestTypes::TestType T; in main()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmImageSamplerTests.cpp47 enum TestType enum
89 bool isValidTestCase (TestType testType, DescriptorType descriptorType, ReadOp readOp) in isValidTestCase()
153 const char* getTestTypeName (TestType testType) in getTestTypeName()
288 std::string getFunctionDstVariableStr (ReadOp readOp, DescriptorType descType, TestType testType) in getFunctionDstVariableStr()
433 std::string getFunctionSrcVariableStr (ReadOp readOp, DescriptorType descType, TestType testType) in getFunctionSrcVariableStr()
509 std::string getFunctionParamTypeStr (TestType testType) in getFunctionParamTypeStr()
526 std::string getFunctionSrcParamStr (TestType testType) in getFunctionSrcParamStr()
543 std::string getFunctionDstParamStr (ReadOp readOp, TestType testType) in getFunctionDstParamStr()
656 …ypeStr (DescriptorType descType, ReadOp readOp, deUint32 depthProperty, TestType testType, int for… in getImageSamplerTypeStr()
773 if (!isValidTestCase((TestType)testNdx, (DescriptorType)descNdx, (ReadOp)opNdx)) in addComputeImageSamplerTest()
[all …]
/external/libcxx/test/std/utilities/any/any.nonmembers/any.cast/
Dany_cast_request_invalid_value_category.fail.cpp21 struct TestType {}; struct
34 any_cast<TestType &>(a); // expected-note {{requested here}} in test_const_lvalue_cast_request_non_const_lvalue()
46 any_cast<TestType &&>(a); // expected-note {{requested here}} in test_lvalue_any_cast_request_rvalue()
58 any_cast<TestType &>(std::move(a)); // expected-note {{requested here}} in test_rvalue_any_cast_request_lvalue()
Dconst_correctness.fail.cpp21 struct TestType {}; struct
37 any_cast<TestType &>(static_cast<any const&>(a)); // expected-note {{requested here}} in main()
41 any_cast<TestType &&>(static_cast<any const&>(a)); // expected-note {{requested here}} in main()
/external/catch2/projects/SelfTest/UsageTests/
DClass.tests.cpp74 REQUIRE( Template_Fixture<TestType>::m_a == 1 );
79 REQUIRE( Template_Fixture_2<TestType>::m_a.size() == 0 );
92 REQUIRE( Template_Fixture<TestType>::m_a == 2 );
97 REQUIRE( Template_Fixture_2<TestType>::m_a.size() == 1 );
/external/libchrome/mojo/public/cpp/platform/tests/
Dplatform_handle_unittest.cc51 enum class TestType { enum
64 test_type_ = TestType::kFile; in SetUp()
68 test_type_ = TestType::kSharedMemory; in SetUp()
71 test_type_ = TestType::kSharedMemory; in SetUp()
74 if (test_type_ == TestType::kFile) in SetUp()
86 if (test_type_ == TestType::kFile) in GetObjectContents()
190 TestType test_type_;
/external/skia/tests/
DCachedDecodingPixelRefTest.cpp26 enum TestType { enum in TestImageGenerator
37 TestImageGenerator(TestType type, skiatest::Reporter* reporter, in TestImageGenerator()
83 const TestType fType;
92 const TestImageGenerator::TestType testTypes[] = { in DEF_TEST()
101 TestImageGenerator::TestType test = testTypes[i]; in DEF_TEST()
/external/skqp/tests/
DCachedDecodingPixelRefTest.cpp26 enum TestType { enum in TestImageGenerator
37 TestImageGenerator(TestType type, skiatest::Reporter* reporter, in TestImageGenerator()
83 const TestType fType;
92 const TestImageGenerator::TestType testTypes[] = { in DEF_TEST()
101 TestImageGenerator::TestType test = testTypes[i]; in DEF_TEST()
/external/libcxx/test/support/
Duses_alloc_types.hpp86 template <class ...ArgTypes, class TestType>
87 bool checkConstruct(TestType& value, UsesAllocatorType form, in checkConstruct()
88 typename TestType::CtorAlloc const& alloc) in checkConstruct()
101 template <class ...ArgTypes, class TestType>
102 bool checkConstruct(TestType& value, UsesAllocatorType form) { in checkConstruct()
106 template <class TestType>
107 bool checkConstructionEquiv(TestType& T, TestType& U) in checkConstructionEquiv()
Darchetypes.hpp265 using TestType = AllCtors; typedef
288 using TestType = AllCtors; typedef
309 using TestType = AllCtors; typedef
332 using TestType = AllCtors; typedef
354 using TestType = AllCtors; typedef
376 using TestType = AllCtors; typedef
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemBufferValidator.cpp45 const char* generateShaderVarString (TestType testType) in generateShaderVarString()
57 const char* generateShaderBufferString (TestType testType, BufferType bufferType) in generateShaderBufferString()
75 void initBufferValidatorPrograms (vk::SourceCollections& programCollection, TestType testType, Buff… in initBufferValidatorPrograms()
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
Demplace.pass.cpp215 test_on_test_type<TestTypes::TestType>(); in main()
216 test_on_test_type<ExplicitTestTypes::TestType>(); in main()
224 using T = ConstexprTestTypes::TestType; in main()
228 using T = ExplicitConstexprTestTypes::TestType; in main()
232 using T = TrivialTestTypes::TestType; in main()
236 using T = ExplicitTrivialTestTypes::TestType; in main()
Dcopy.pass.cpp64 using O = optional<TrivialTestTypes::TestType>; in main()
73 using O = optional<TestTypes::TestType>; in main()
78 using T = TestTypes::TestType; in main()
Dassign_value.pass.cpp62 using I = TestTypes::TestType; in test_sfinae()
63 using E = ExplicitTestTypes::TestType; in test_sfinae()
87 using T = TestTypes::TestType; in test_with_test_type()
256 test_with_type_multi<ConstexprTestTypes::TestType>(); in main()
257 test_with_type_multi<TrivialTestTypes::TestType>(); in main()
/external/deqp/modules/gles31/functional/
Des31fShaderMultisampleInterpolationStateQueryTests.cpp48 enum TestType enum in deqp::gles31::Functional::__anon50d406040111::InterpolationOffsetCase
56 …ase (Context& context, const char* name, const char* desc, QueryType verifier, TestType testType);
64 const TestType m_testType;
67 …tCase (Context& context, const char* name, const char* desc, QueryType verifier, TestType testType) in InterpolationOffsetCase()
/external/webrtc/webrtc/voice_engine/test/auto_test/
Dvoe_test_interface.h25 enum TestType { enum
35 int runAutoTest(TestType testType);
/external/libcxx/benchmarks/
Dalgorithms.partition_point.bench.cpp92 template <class Alg, class TestType>
98 TestType::Name + '/' + std::to_string(Quantity); in name()
102 auto Data = TestType::generateInput(Quantity); in run()

1234