Home
last modified time | relevance | path

Searched refs:kMaxSize (Results 1 – 23 of 23) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_mutexset_test.cpp90 for (uptr i = 0; i < MutexSet::kMaxSize; i++) { in TEST()
93 EXPECT_EQ(mset.Size(), MutexSet::kMaxSize); in TEST()
94 for (uptr i = 0; i < MutexSet::kMaxSize; i++) { in TEST()
98 for (uptr i = 0; i < MutexSet::kMaxSize; i++) { in TEST()
101 EXPECT_EQ(mset.Size(), MutexSet::kMaxSize); in TEST()
102 for (uptr i = 0; i < MutexSet::kMaxSize; i++) { in TEST()
109 for (uptr i = 0; i < MutexSet::kMaxSize; i++) { in TEST()
114 EXPECT_EQ(mset.Size(), MutexSet::kMaxSize); in TEST()
117 Expect(mset, i, MutexSet::kMaxSize - 1, in TEST()
118 true, MutexSet::kMaxSize, 2); in TEST()
[all …]
/llvm-project-15.0.7/libc/benchmarks/automemcpy/unittests/
H A DCodeGenTest.cpp29 Accelerator{{0, kMaxSize}}, ElementTypeClass::NATIVE}, in TEST()
31 Loop{{256, kMaxSize}, 64}, llvm::None, llvm::None, in TEST()
34 AlignedLoop{Loop{{64, kMaxSize}, 16}, 16, AlignArg::_1}, llvm::None, in TEST()
37 AlignedLoop{Loop{{256, kMaxSize}, 32}, 16, AlignArg::_1}, llvm::None, in TEST()
40 AlignedLoop{Loop{{256, kMaxSize}, 32}, 32, AlignArg::_1}, llvm::None, in TEST()
43 AlignedLoop{Loop{{128, kMaxSize}, 32}, 32, AlignArg::_1}, llvm::None, in TEST()
/llvm-project-15.0.7/libc/test/src/string/
H A Dmemmove_test.cpp78 static constexpr int kMaxSize = 512; variable
95 using LargeBuffer = Array<char, 3 * kMaxSize>; in TEST()
98 for (int Size = 0; Size < kMaxSize; ++Size) { in TEST()
102 size_t DstOffset = kMaxSize; in TEST()
103 size_t SrcOffset = kMaxSize + Offset; in TEST()
/llvm-project-15.0.7/compiler-rt/lib/fuzzer/
H A DFuzzerDictionary.h24 static const size_t kMaxSize = kMaxSizeT;
31 assert(S <= kMaxSize); in Set()
36 bool operator==(const FixedWord<kMaxSize> &w) const {
40 static size_t GetMaxSize() { return kMaxSize; } in GetMaxSize()
46 uint8_t Data[kMaxSize];
H A DFuzzerTracePC.cpp354 uint8_t B1[Word::kMaxSize]; in AddValueForMemcmp()
355 uint8_t B2[Word::kMaxSize]; in AddValueForMemcmp()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_ignoreset.cpp16 const uptr IgnoreSet::kMaxSize; member in __tsan::IgnoreSet
23 if (size_ == kMaxSize) in Add()
34 CHECK_LE(size_, kMaxSize); in At()
H A Dtsan_mutexset.cpp32 if (size_ == kMaxSize) { in Add()
42 CHECK_EQ(size_, kMaxSize - 1); in Add()
84 if (size_ == kMaxSize) { in AddAddr()
91 CHECK_EQ(size_, kMaxSize - 1); in AddAddr()
H A Dtsan_ignoreset.h29 static constexpr uptr kMaxSize = 16;
31 StackID stacks_[kMaxSize];
H A Dtsan_mutexset.h24 static constexpr uptr kMaxSize = 16;
56 Desc descs_[kMaxSize];
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_ignoreset.cpp16 const uptr IgnoreSet::kMaxSize; member in __tsan::IgnoreSet
23 if (size_ == kMaxSize) in Add()
34 CHECK_LE(size_, kMaxSize); in At()
H A Dtsan_ignoreset.h29 static constexpr uptr kMaxSize = 16;
31 StackID stacks_[kMaxSize];
H A Dtsan_mutexset.h24 static constexpr uptr kMaxSize = 16;
51 Desc descs_[kMaxSize];
H A Dtsan_mutexset.cpp34 if (size_ == kMaxSize) { in AddAddr()
41 CHECK_EQ(size_, kMaxSize - 1); in AddAddr()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_size_class_map.h134 static const uptr kMaxSize = 1UL << kMaxSizeLog; variable
159 if (UNLIKELY(size > kMaxSize)) in ClassID()
171 DCHECK_LE(size, kMaxSize); in MaxCachedHint()
218 CHECK_EQ(ClassID(kMaxSize + 1), 0); in Validate()
220 for (uptr s = 1; s <= kMaxSize; s++) { in Validate()
H A Dsanitizer_allocator_primary64.h130 CHECK(IsAligned(kSpaceBeg, SizeClassMap::kMaxSize));
140 TotalSpaceSize, SizeClassMap::kMaxSize, PrimaryAllocatorName);
170 return size <= SizeClassMap::kMaxSize && in CanAllocate()
171 alignment <= SizeClassMap::kMaxSize; in CanAllocate()
H A Dsanitizer_allocator_primary32.h152 return size <= SizeClassMap::kMaxSize && in CanAllocate()
153 alignment <= SizeClassMap::kMaxSize; in CanAllocate()
H A Dsanitizer_symbolizer_posix_libcdep.cpp376 res_length <= InternalSizeClassMap::kMaxSize;) { in Demangle()
/llvm-project-15.0.7/libc/benchmarks/automemcpy/lib/
H A DRandomFunctionGenerator.cpp50 64, 96, 128, 256, 512, 1024, kMaxSize};
120 Solver.add(AcceleratorEnd == kMaxSize); in RandomFunctionGenerator()
266 Solver.add(End <= kMaxSize); in addBoundsAndAnchors()
H A DCodeGen.cpp236 if (O.Element.IfLt != kMaxSize) in operator <<()
331 if (SS.End == kMaxSize) in operator <<()
/llvm-project-15.0.7/compiler-rt/lib/scudo/
H A Dscudo_allocator.cpp211 COMPILER_CHECK(sizeof(QuarantineBatch) < SizeClassMap::kMaxSize);
526 (UsableSize - NewSize) < (SizeClassMap::kMaxSize / 2)) { in reallocate()
616 1 << MostSignificantSetBitIndex(SizeClassMap::kMaxSize - MinAlignment); in performSanityChecks()
627 const uptr MaxSizeOrUnusedBytes = SizeClassMap::kMaxSize - 1; in performSanityChecks()
/llvm-project-15.0.7/libc/benchmarks/automemcpy/include/automemcpy/
H A DFunctionDescriptor.h38 static constexpr int kMaxSize = INT_MAX; variable
/llvm-project-15.0.7/compiler-rt/lib/memprof/
H A Dmemprof_allocator.cpp422 if (needed_size > SizeClassMap::kMaxSize) in Allocate()
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_allocator.cpp580 if (needed_size > SizeClassMap::kMaxSize) in Allocate()