/external/llvm-project/compiler-rt/lib/scudo/standalone/tests/ |
D | wrappers_cpp_test.cpp | 132 for (size_t SizeLog = 3; SizeLog <= 21; SizeLog++) { in TEST() local 133 char *P = new char[1UL << SizeLog]; in TEST() 148 for (size_t SizeLog = 3; SizeLog <= 21; SizeLog++) { in TEST() local 149 char *P = new char[1UL << SizeLog]; in TEST() 154 memset(P, 0x32, 1U << SizeLog); in TEST()
|
D | combined_test.cpp | 101 for (scudo::uptr SizeLog = 0U; SizeLog <= 20U; SizeLog++) { in testAllocator() local 105 if (static_cast<scudo::sptr>(1U << SizeLog) + Delta <= 0) in testAllocator() 107 const scudo::uptr Size = (1U << SizeLog) + Delta; in testAllocator() 122 for (scudo::uptr SizeLog = 0U; SizeLog <= 20U; SizeLog++) { in testAllocator() local 124 const scudo::uptr Size = (1U << SizeLog) + Delta * 128U; in testAllocator() 137 for (scudo::uptr SizeLog = 0U; SizeLog <= 20U; SizeLog++) { in testAllocator() local 139 const scudo::uptr Size = (1U << SizeLog) + Delta * 128U; in testAllocator() 154 for (scudo::uptr SizeLog = 0U; SizeLog <= 20U; SizeLog++) { in testAllocator() local 156 const scudo::uptr Size = (1U << SizeLog) + Delta * 128U; in testAllocator() 250 for (scudo::uptr SizeLog = 0U; SizeLog <= 20U; SizeLog++) { in testAllocator() local [all …]
|
D | secondary_test.cpp | 74 for (scudo::uptr SizeLog = 0; SizeLog <= 20; SizeLog++) { in TEST() local 79 if (static_cast<scudo::sptr>(1U << SizeLog) + Delta <= 0) in TEST() 82 scudo::roundUpTo((1U << SizeLog) + Delta, MinAlign); in TEST()
|
/external/scudo/standalone/tests/ |
D | wrappers_cpp_test.cpp | 136 for (size_t SizeLog = 3; SizeLog <= 21; SizeLog++) { in TEST() local 137 char *P = new char[1UL << SizeLog]; in TEST() 152 for (size_t SizeLog = 3; SizeLog <= 21; SizeLog++) { in TEST() local 153 char *P = new char[1UL << SizeLog]; in TEST() 158 memset(P, 0x32, 1U << SizeLog); in TEST()
|
D | combined_test.cpp | 151 for (scudo::uptr SizeLog = SizeLogMin; SizeLog <= SizeLogMax; SizeLog++) { in BasicTest() local 155 if (static_cast<scudo::sptr>(1U << SizeLog) + Delta <= 0) in BasicTest() 157 const scudo::uptr Size = (1U << SizeLog) + Delta; in BasicTest() 180 for (scudo::uptr SizeLog = 0U; SizeLog <= 20U; SizeLog++) { in SCUDO_TYPED_TEST() local 182 const scudo::uptr Size = (1U << SizeLog) + Delta * 128U; in SCUDO_TYPED_TEST() 198 for (scudo::uptr SizeLog = 0U; SizeLog <= 20U; SizeLog++) { in SCUDO_TYPED_TEST() local 200 const scudo::uptr Size = (1U << SizeLog) + Delta * 128U; in SCUDO_TYPED_TEST() 218 for (scudo::uptr SizeLog = 0U; SizeLog <= 20U; SizeLog++) { in SCUDO_TYPED_TEST() local 220 const scudo::uptr Size = (1U << SizeLog) + Delta * 128U; in SCUDO_TYPED_TEST() 332 for (scudo::uptr SizeLog = 0U; SizeLog <= 20U; SizeLog++) { in SCUDO_TYPED_TEST() local [all …]
|
D | secondary_test.cpp | 92 for (scudo::uptr SizeLog = 0; SizeLog <= 20; SizeLog++) { in TEST() local 97 if (static_cast<scudo::sptr>(1U << SizeLog) + Delta <= 0) in TEST() 100 scudo::roundUpTo((1U << SizeLog) + Delta, MinAlign); in TEST()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_interface_atomic.cc | 166 static int SizeLog() { in SizeLog() function 229 MemoryReadAtomic(thr, pc, (uptr)a, SizeLog<T>()); in AtomicLoad() 236 MemoryReadAtomic(thr, pc, (uptr)a, SizeLog<T>()); in AtomicLoad() 256 MemoryWriteAtomic(thr, pc, (uptr)a, SizeLog<T>()); in AtomicStore() 277 MemoryWriteAtomic(thr, pc, (uptr)a, SizeLog<T>()); in AtomicRMW() 401 MemoryWriteAtomic(thr, pc, (uptr)a, SizeLog<T>()); in AtomicCAS()
|
/external/llvm-project/compiler-rt/lib/tsan/rtl/ |
D | tsan_interface_atomic.cpp | 165 static int SizeLog() { in SizeLog() function 227 MemoryReadAtomic(thr, pc, (uptr)a, SizeLog<T>()); in AtomicLoad() 241 MemoryReadAtomic(thr, pc, (uptr)a, SizeLog<T>()); in AtomicLoad() 261 MemoryWriteAtomic(thr, pc, (uptr)a, SizeLog<T>()); in AtomicStore() 282 MemoryWriteAtomic(thr, pc, (uptr)a, SizeLog<T>()); in AtomicRMW() 406 MemoryWriteAtomic(thr, pc, (uptr)a, SizeLog<T>()); in AtomicCAS()
|