| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | MathExtrasTest.cpp | 527 TypeParam Result; in TYPED_TEST() 533 TypeParam Result; in TYPED_TEST() 540 TypeParam Result; in TYPED_TEST() 547 TypeParam Result; in TYPED_TEST() 554 TypeParam Result; in TYPED_TEST() 561 TypeParam Result; in TYPED_TEST() 567 TypeParam Result; in TYPED_TEST() 574 TypeParam Result; in TYPED_TEST() 581 TypeParam Result; in TYPED_TEST() 589 TypeParam Result; in TYPED_TEST() [all …]
|
| H A D | HashBuilderTest.cpp | 91 HashBuilder<TypeParam> HBuilder; in TYPED_TEST() 98 using HE = TypeParam; in TYPED_TEST() 193 using HE = TypeParam; in TYPED_TEST() 205 using HE = TypeParam; in TYPED_TEST() 217 using HE = TypeParam; in TYPED_TEST() 240 using HE = TypeParam; in TYPED_TEST() 249 using HE = TypeParam; in TYPED_TEST() 271 using HE = TypeParam; in TYPED_TEST() 277 using HE = TypeParam; in TYPED_TEST() 288 using HE = TypeParam; in TYPED_TEST() [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_flat_map_test.cpp | 42 TwoLevelMap<TypeParam, kSize1, kSize2> m; in TYPED_TEST() 52 m[i] = TypeParam((i % 100) + 1); in TYPED_TEST() 57 EXPECT_EQ(m[j], TypeParam()); in TYPED_TEST() 68 template <typename TypeParam> 71 template <typename TypeParam> 73 TestMap<TypeParam> *m; 78 template <typename TypeParam> 80 TestMapParam<TypeParam> *p = (TestMapParam<TypeParam> *)param; in TwoLevelMapUserThread() 82 TypeParam val = (i % 100) + 1; in TwoLevelMapUserThread() 90 TestMap<TypeParam> m; in TYPED_TEST() [all …]
|
| H A D | sanitizer_leb128_test.cpp | 39 using T = typename std::make_signed<TypeParam>::type; in TYPED_TEST() 47 using T = typename std::make_signed<TypeParam>::type; in TYPED_TEST() 58 v = -TypeParam(v) * 3u + 1u; in TYPED_TEST() 63 using T = TypeParam; in TYPED_TEST() 71 using T = TypeParam; in TYPED_TEST()
|
| H A D | sanitizer_dense_map_test.cpp | 139 EXPECT_EQ(typename TypeParam::mapped_type(), in TYPED_TEST() 145 const TypeParam &ConstMap = this->Map; in TYPED_TEST() 203 TypeParam copyMap(this->Map); in TYPED_TEST() 213 TypeParam copyMap(this->Map); in TYPED_TEST() 222 TypeParam copyMap(this->Map); in TYPED_TEST() 232 TypeParam copyMap(this->Map); in TYPED_TEST() 240 TypeParam copyMap = this->Map; in TYPED_TEST() 246 copyMap = static_cast<TypeParam &>(copyMap); in TYPED_TEST() 254 TypeParam copyMap = this->Map; in TYPED_TEST() 261 copyMap = static_cast<TypeParam &>(copyMap); in TYPED_TEST() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | BitVectorTest.cpp | 27 TypeParam Vec; in TYPED_TEST() 183 TypeParam A; in TYPED_TEST() 184 TypeParam B; in TYPED_TEST() 201 TypeParam A; in TYPED_TEST() 250 TypeParam A; in TYPED_TEST() 292 TypeParam A; in TYPED_TEST() 497 TypeParam A; in TYPED_TEST() 502 TypeParam B; in TYPED_TEST() 784 TypeParam A; in TYPED_TEST() 831 TypeParam A; in TYPED_TEST() [all …]
|
| H A D | IntrusiveRefCntPtrTest.cpp | 36 TypeParam *S1 = new TypeParam; in TYPED_TEST() 37 IntrusiveRefCntPtr<TypeParam> R1 = S1; in TYPED_TEST() 38 TypeParam *S2 = new TypeParam(*S1); in TYPED_TEST() 39 IntrusiveRefCntPtr<TypeParam> R2 = S2; in TYPED_TEST() 48 auto S1 = std::make_unique<TypeParam>(); in TYPED_TEST() 49 IntrusiveRefCntPtr<TypeParam> R1 = std::move(S1); in TYPED_TEST() 59 auto S1 = makeIntrusiveRefCnt<TypeParam>(); in TYPED_TEST() 60 auto S2 = makeIntrusiveRefCnt<const TypeParam>(); in TYPED_TEST() 63 std::is_same<decltype(S1), IntrusiveRefCntPtr<TypeParam>>::value, in TYPED_TEST() 66 std::is_same<decltype(S2), IntrusiveRefCntPtr<const TypeParam>>::value, in TYPED_TEST()
|
| H A D | DenseSetTest.cpp | 75 TypeParam set(std::begin(a), std::end(a)); in TYPED_TEST() 83 TypeParam set({1, 2, 1, 4}); in TYPED_TEST() 92 TypeParam set({1, 2, 3}); in TYPED_TEST() 100 TypeParam set({1}); in TYPED_TEST() 101 const TypeParam &cset = set; in TYPED_TEST() 109 typename TypeParam::iterator I, J; in TYPED_TEST() 110 typename TypeParam::const_iterator CI, CJ; in TYPED_TEST() 116 TypeParam set({}); in TYPED_TEST() 141 TypeParam set1({1, 2, 3, 4}); in TYPED_TEST() 142 TypeParam set2({4, 3, 2, 1}); in TYPED_TEST() [all …]
|
| H A D | RangeAdapterTest.cpp | 135 TypeParam v = {0, 1, 2, 3}; in TYPED_TEST() 138 const TypeParam c = {0, 1, 2, 3}; in TYPED_TEST() 151 TestRev(reverse(TypeParam({0, 1, 2, 3}))); in TYPED_TEST() 155 static_assert(has_rbegin<TypeParam>::value, "rbegin() should be defined"); in TYPED_TEST() 161 decltype(reverse(*static_cast<TypeParam *>(nullptr)).begin()), in TYPED_TEST() 162 decltype(static_cast<TypeParam *>(nullptr)->rbegin())>::value, in TYPED_TEST() 166 decltype(reverse(*static_cast<const TypeParam *>(nullptr)).begin()), in TYPED_TEST() 167 decltype(static_cast<const TypeParam *>(nullptr)->rbegin())>::value, in TYPED_TEST()
|
| H A D | DenseMapTest.cpp | 122 EXPECT_EQ(typename TypeParam::mapped_type(), in TYPED_TEST() 128 const TypeParam &ConstMap = this->Map; in TYPED_TEST() 197 TypeParam copyMap(this->Map); in TYPED_TEST() 207 TypeParam copyMap(this->Map); in TYPED_TEST() 216 TypeParam copyMap(this->Map); in TYPED_TEST() 226 TypeParam copyMap(this->Map); in TYPED_TEST() 234 TypeParam copyMap = this->Map; in TYPED_TEST() 240 copyMap = static_cast<TypeParam &>(copyMap); in TYPED_TEST() 248 TypeParam copyMap = this->Map; in TYPED_TEST() 264 TypeParam otherMap; in TYPED_TEST() [all …]
|
| H A D | IListBaseTest.cpp | 25 typedef TypeParam list_base_type; in TYPED_TEST() 52 typedef TypeParam list_base_type; in TYPED_TEST() 81 typedef TypeParam list_base_type; in TYPED_TEST() 107 typedef TypeParam list_base_type; in TYPED_TEST() 127 typedef TypeParam list_base_type; in TYPED_TEST()
|
| H A D | STLForwardCompatTest.cpp | 66 using From = typename TypeParam::first_type; in TYPED_TEST() 67 using To = typename TypeParam::second_type; in TYPED_TEST() 73 using From = typename TypeParam::first_type; in TYPED_TEST()
|
| H A D | PriorityWorklistTest.cpp | 28 TypeParam W; in TYPED_TEST() 77 TypeParam W; in TYPED_TEST() 122 TypeParam W; in TYPED_TEST()
|
| H A D | TinyPtrVectorTest.cpp | 149 TypeParam Copy(this->V); in TYPED_TEST() 157 TypeParam Copy2(this->V2); in TYPED_TEST() 162 TypeParam Move(std::move(Copy2)); in TYPED_TEST() 166 TypeParam MultipleElements(this->testArray(2)); in TYPED_TEST() 167 TypeParam SingleElement(this->testArray(1)); in TYPED_TEST() 324 typename TypeParam::iterator I = this->V.begin(); in TYPED_TEST()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | ValueMapTest.cpp | 41 ValueMap<TypeParam*, int> VM1; in TYPED_TEST() 47 ValueMap<TypeParam*, int> VM; in TYPED_TEST() 61 ValueMap<TypeParam*, int> VM; in TYPED_TEST() 78 const ValueMap<TypeParam*, int> &CVM = VM; in TYPED_TEST() 123 ValueMap<TypeParam*, int> VM; in TYPED_TEST() 148 const ValueMap<TypeParam*, int>& CVM = VM; in TYPED_TEST() 167 ValueMap<TypeParam*, int> VM; in TYPED_TEST() 218 ValueMap<TypeParam*, int, NoFollow<TypeParam*> > VM; in TYPED_TEST() 252 ValueMap<TypeParam*, int, CountOps<TypeParam*> > VM(Data); in TYPED_TEST() 281 ValueMap<TypeParam*, int, ModifyingConfig<TypeParam*> > *MapAddress; in TYPED_TEST() [all …]
|
| /llvm-project-15.0.7/mlir/unittests/Analysis/Presburger/ |
| H A D | MPIntTest.cpp | 54 TypeParam x = ten; in TYPED_TEST() 91 TypeParam x = ten; in TYPED_TEST() 125 TypeParam x(1ll << 60); in TYPED_TEST() 127 TypeParam y(1ll << 62); in TYPED_TEST() 139 TypeParam one(1); in TYPED_TEST() 144 TypeParam z = min; in TYPED_TEST() 147 TypeParam w(min); in TYPED_TEST() 149 EXPECT_EQ(w, TypeParam(min) - 1); in TYPED_TEST() 150 TypeParam u(min); in TYPED_TEST() 155 TypeParam v = max; in TYPED_TEST() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/ |
| H A D | GlobListTest.cpp | 13 TypeParam Filter(""); in TYPED_TEST() 20 TypeParam Filter("-*"); in TYPED_TEST() 30 TypeParam Filter("*"); in TYPED_TEST() 40 TypeParam Filter("aaa"); in TYPED_TEST() 50 TypeParam Filter("aaa,bbb"); in TYPED_TEST() 64 TypeParam Filter("a*,-aaa"); in TYPED_TEST() 73 TypeParam Filter("-aaa,a*"); in TYPED_TEST() 84 TypeParam Filter("-*, a.b.*"); in TYPED_TEST() 91 TypeParam Filter( in TYPED_TEST() 108 TypeParam Filter("a* \n b,\n-c*,dd"); in TYPED_TEST()
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTImporterODRStrategiesTest.cpp | 236 template <typename TypeParam, ASTImporter::ODRHandlingType ODRHandlingParam> 239 using DeclTy = typename TypeParam::DeclTy; 243 static std::string getPrototype() { return TypeParam::Prototype; } in getPrototype() 245 return TypeParam::ConflictingPrototype; in getConflictingPrototype() 247 static std::string getDefinition() { return TypeParam::Definition; } in getDefinition() 249 return TypeParam::ConflictingDefinition; in getConflictingDefinition() 252 return TypeParam::ConflictingProtoDef; in getConflictingProtoDef() 254 static BindableMatcher<Decl> getPattern() { return TypeParam().getPattern(); } in getPattern() 255 static TestLanguage getLang() { return TypeParam().getLang(); } in getLang() 372 TypedTest_ImportAfter<TypeParam::getDef0, TypeParam::getDef1, in TypedTest_ImportDifferentDefAfterDef() [all …]
|
| H A D | ASTImporterGenericRedeclTest.cpp | 134 template <typename TypeParam> 137 using DeclTy = typename TypeParam::DeclTy; 138 std::string getPrototype() { return TypeParam::Prototype; } in getPrototype() 139 std::string getDefinition() { return TypeParam::Definition; } in getDefinition() 140 BindableMatcher<Decl> getPattern() const { return TypeParam().getPattern(); } in getPattern() 420 #define ASTIMPORTER_INSTANTIATE_TYPED_TEST_SUITE(BaseTemplate, TypeParam, \ argument 422 using BaseTemplate##TypeParam = BaseTemplate<TypeParam>; \ 423 TEST_P(BaseTemplate##TypeParam, NamePrefix##TestCase) { \
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | HLSLExternalSemaSource.cpp | 52 auto *TypeParam = TemplateTypeParmDecl::Create( in defineHLSLVectorAlias() local 55 TypeParam->setDefaultArgument(AST.getTrivialTypeSourceInfo(AST.FloatTy)); in defineHLSLVectorAlias() 57 TemplateParams.emplace_back(TypeParam); in defineHLSLVectorAlias() 76 AST.getTemplateTypeParmType(0, 0, false, TypeParam), in defineHLSLVectorAlias()
|
| /llvm-project-15.0.7/flang/unittests/Runtime/ |
| H A D | CharacterTest.cpp | 124 RunAdjustLRTest<TypeParam>("Adjustl", RTNAME(Adjustl), t.input, t.output); in TYPED_TEST() 137 RunAdjustLRTest<TypeParam>("Adjustr", RTNAME(Adjustr), t.input, t.output); in TYPED_TEST() 203 TypeParam buf[2][8]; in TYPED_TEST() 273 RunExtremumTests<TypeParam>("MIN", RTNAME(CharacterMin), tests); in TYPED_TEST() 282 RunExtremumTests<TypeParam>("MAX", RTNAME(CharacterMax), tests); in TYPED_TEST() 302 RunAllocationTest<TypeParam>("loooooong", "short"); in TYPED_TEST() 358 "INDEX", tests, std::get<SearchFunction<TypeParam>>(functions)); in TYPED_TEST() 371 RunSearchTests("SCAN", tests, std::get<SearchFunction<TypeParam>>(functions)); in TYPED_TEST() 386 "VERIFY", tests, std::get<SearchFunction<TypeParam>>(functions)); in TYPED_TEST() 424 RunRepeatTest<TypeParam>(t.ncopies, t.input, t.output); in TYPED_TEST()
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/ |
| H A D | primary_test.cpp | 111 template <class TypeParam> \ 112 struct FIXTURE##NAME : public FIXTURE<TypeParam> { \ 116 template <class TypeParam> void FIXTURE##NAME<TypeParam>::Run() 119 using Primary = TestAllocator<TypeParam, scudo::DefaultSizeClassMap>; in SCUDO_TYPED_TEST() 197 using Primary = TestAllocator<TypeParam, scudo::DefaultSizeClassMap>; in SCUDO_TYPED_TEST() 233 using Primary = TestAllocator<TypeParam, scudo::SvelteSizeClassMap>; in SCUDO_TYPED_TEST() 283 using Primary = TestAllocator<TypeParam, scudo::DefaultSizeClassMap>; in SCUDO_TYPED_TEST()
|
| H A D | combined_test.cpp | 88 template <class TypeParam> struct ScudoCombinedTest : public Test { 90 UseQuarantine = std::is_same<TypeParam, scudo::AndroidConfig>::value; in ScudoCombinedTest() 102 using AllocatorT = TestAllocator<TypeParam>; 129 template <class TypeParam> void FIXTURE##NAME<TypeParam>::Run() 246 if (isPrimaryAllocation<TestAllocator<TypeParam>>(Size, in SCUDO_TYPED_TEST() 286 while (Size < TypeParam::Primary::SizeClassMap::MaxSize * 4) { in SCUDO_TYPED_TEST() 303 scudo::uptr Size = TypeParam::Primary::SizeClassMap::MaxSize * 2; in SCUDO_TYPED_TEST() 327 TypeParam::Primary::SizeClassMap::MaxSize - 64; in SCUDO_TYPED_TEST() 443 rand() % (TypeParam::Primary::SizeClassMap::MaxSize / 2U), Origin)); in SCUDO_TYPED_TEST() 617 using SizeClassMap = typename TypeParam::Primary::SizeClassMap; in SCUDO_TYPED_TEST() [all …]
|
| /llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/ |
| H A D | gtest-typed-test.h | 74 TypeParam n = this->value_; 141 TypeParam n = 0; 206 typedef gtest_TypeParam_ TypeParam; \ 281 typedef gtest_TypeParam_ TypeParam; \
|
| /llvm-project-15.0.7/clang/unittests/StaticAnalyzer/ |
| H A D | RangeSetTest.cpp | 285 using TV = TestValues<TypeParam>; in TYPED_TEST() 321 using TV = TestValues<TypeParam>; in TYPED_TEST() 388 using TV = TestValues<TypeParam>; in TYPED_TEST() 421 using TV = TestValues<TypeParam>; in TYPED_TEST() 440 using TV = TestValues<TypeParam>; in TYPED_TEST() 739 using T = typename TypeParam::ToType; // To in TYPED_TEST() 781 using T = typename TypeParam::ToType; // To in TYPED_TEST() 823 using T = typename TypeParam::ToType; // To in TYPED_TEST() 910 using T = typename TypeParam::ToType; // To in TYPED_TEST() 955 using T = typename TypeParam::ToType; // To in TYPED_TEST() [all …]
|