Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/
H A Dwrappers_cpp_test.cpp158 for (size_t SizeLog = 3; SizeLog <= 20; SizeLog++) { in TEST() local
159 char *P = new char[1UL << SizeLog]; in TEST()
174 for (size_t SizeLog = 3; SizeLog <= 20; SizeLog++) { in TEST() local
175 char *P = new char[1UL << SizeLog]; in TEST()
180 memset(P, 0x32, 1U << SizeLog); in TEST()
H A Dcombined_test.cpp101 void BasicTest(scudo::uptr SizeLog);
147 void ScudoCombinedTest<Config>::BasicTest(scudo::uptr SizeLog) { in BasicTest() argument
156 if (static_cast<scudo::sptr>(1U << SizeLog) + Delta < 0) in BasicTest()
158 const scudo::uptr Size = (1U << SizeLog) + Delta; in BasicTest()
171 #define SCUDO_MAKE_BASIC_TEST(SizeLog) \ argument
172 SCUDO_TYPED_TEST(ScudoCombinedDeathTest, BasicCombined##SizeLog) { \
173 this->BasicTest(SizeLog); \
202 for (scudo::uptr SizeLog = 0U; SizeLog <= 20U; SizeLog++) { in SCUDO_TYPED_TEST() local
204 const scudo::uptr Size = (1U << SizeLog) + Delta * 128U; in SCUDO_TYPED_TEST()
220 for (scudo::uptr SizeLog = 0U; SizeLog <= 20U; SizeLog++) { in SCUDO_TYPED_TEST() local
[all …]
H A Dsecondary_test.cpp126 for (scudo::uptr SizeLog = 0; SizeLog <= 20; SizeLog++) { in TEST_F() local
131 if (static_cast<scudo::sptr>(1U << SizeLog) + Delta <= 0) in TEST_F()
134 scudo::roundUpTo((1U << SizeLog) + Delta, MinAlign); in TEST_F()