Searched refs:TypeParam (Results 1 – 9 of 9) sorted by relevance
| /openbsd-src/gnu/llvm/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() 59 EXPECT_EQ(m[j], TypeParam((j % 100) + 1)); in TYPED_TEST() 65 template <typename TypeParam, typename AddressSpaceView> 66 using TestMapASVT = TwoLevelMap<TypeParam, 1 << 8, 1 << 7, AddressSpaceView, 68 template <typename TypeParam> 69 using TestMap = TestMapASVT<TypeParam, LocalAddressSpaceView>; 71 template <typename TypeParam> 73 TestMap<TypeParam> *m; [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() 195 typename TypeParam::value_type(this->getKey(), this->getValue())); 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() [all …]
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/ |
| H A D | primary_test.cpp | 135 template <class TypeParam> \ 136 struct FIXTURE##NAME : public FIXTURE<TypeParam> { \ 140 template <class TypeParam> void FIXTURE##NAME<TypeParam>::Run() 143 using Primary = TestAllocator<TypeParam, scudo::DefaultSizeClassMap>; in SCUDO_TYPED_TEST() 227 using Primary = TestAllocator<TypeParam, scudo::DefaultSizeClassMap>; in SCUDO_TYPED_TEST() 263 using Primary = TestAllocator<TypeParam, scudo::SvelteSizeClassMap>; in SCUDO_TYPED_TEST() 313 using Primary = TestAllocator<TypeParam, scudo::DefaultSizeClassMap>; in SCUDO_TYPED_TEST() 329 using Primary = TestAllocator<TypeParam, scudo::DefaultSizeClassMap>; in SCUDO_TYPED_TEST()
|
| H A D | combined_test.cpp | 89 template <class TypeParam> struct ScudoCombinedTest : public Test { 91 UseQuarantine = std::is_same<TypeParam, scudo::AndroidConfig>::value; in ScudoCombinedTest() 103 using AllocatorT = TestAllocator<TypeParam>; 125 template <class TypeParam> \ 126 struct FIXTURE##NAME : public FIXTURE<TypeParam> { \ 130 template <class TypeParam> void FIXTURE##NAME<TypeParam>::Run() 247 if (isPrimaryAllocation<TestAllocator<TypeParam>>(Size, in SCUDO_TYPED_TEST() 287 while (Size < TypeParam::Primary::SizeClassMap::MaxSize * 4) { in SCUDO_TYPED_TEST() 304 scudo::uptr Size = TypeParam::Primary::SizeClassMap::MaxSize * 2; in SCUDO_TYPED_TEST() 328 TypeParam::Primary::SizeClassMap::MaxSize - 64; in SCUDO_TYPED_TEST() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | HLSLExternalSemaSource.cpp | 419 auto *TypeParam = TemplateTypeParmDecl::Create( in defineHLSLVectorAlias() local 422 TypeParam->setDefaultArgument(AST.getTrivialTypeSourceInfo(AST.FloatTy)); in defineHLSLVectorAlias() 424 TemplateParams.emplace_back(TypeParam); in defineHLSLVectorAlias() 443 AST.getTemplateTypeParmType(0, 0, false, TypeParam), in defineHLSLVectorAlias()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DynamicTypePropagation.cpp | 845 for (ObjCTypeParamDecl *TypeParam : *TypeParams) { in checkPreObjCMessage() 846 if (TypeParam->getVariance() != ObjCTypeParamVariance::Invariant) in checkPreObjCMessage()
|
| /openbsd-src/gnu/llvm/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 3146 Type *TypeParam; in parseTargetExtType() local 3147 if (parseType(TypeParam, /*AllowVoid=*/true)) in parseTargetExtType() 3149 TypeParams.push_back(TypeParam); in parseTargetExtType()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | ASTContext.cpp | 5461 if (ObjCTypeParamType *TypeParam = in getObjCTypeParamType() local 5463 return QualType(TypeParam, 0); in getObjCTypeParamType()
|