Home
last modified time | relevance | path

Searched refs:SizeLog (Results 1 – 4 of 4) sorted by relevance

/external/scudo/standalone/tests/
Dwrappers_cpp_test.cpp132 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()
Dcombined_test.cpp91 for (scudo::uptr SizeLog = 0U; SizeLog <= 20U; SizeLog++) { in testAllocator() local
95 if (static_cast<scudo::sptr>(1U << SizeLog) + Delta <= 0) in testAllocator()
97 const scudo::uptr Size = (1U << SizeLog) + Delta; in testAllocator()
112 for (scudo::uptr SizeLog = 0U; SizeLog <= 20U; SizeLog++) { in testAllocator() local
114 const scudo::uptr Size = (1U << SizeLog) + Delta * 128U; in testAllocator()
203 for (scudo::uptr SizeLog = 0U; SizeLog <= 20U; SizeLog++) { in testAllocator() local
204 const scudo::uptr Size = 1U << SizeLog; in testAllocator()
Dsecondary_test.cpp80 for (scudo::uptr SizeLog = 0; SizeLog <= 20; SizeLog++) { in TEST() local
85 if (static_cast<scudo::sptr>(1U << SizeLog) + Delta <= 0) in TEST()
88 scudo::roundUpTo((1U << SizeLog) + Delta, MinAlign); in TEST()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_interface_atomic.cc166 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()