Home
last modified time | relevance | path

Searched refs:FRONT_GUARD (Results 1 – 5 of 5) sorted by relevance

/bionic/libc/malloc_debug/tests/
Dmalloc_debug_config_tests.cpp149 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS | FRONT_GUARD, config->options()); in TEST_F()
159 ASSERT_EQ(FRONT_GUARD | TRACK_ALLOCS, config->options()); in TEST_F()
163 ASSERT_EQ(FRONT_GUARD | TRACK_ALLOCS, config->options()); in TEST_F()
167 ASSERT_EQ(FRONT_GUARD | TRACK_ALLOCS, config->options()); in TEST_F()
175 ASSERT_EQ(FRONT_GUARD | TRACK_ALLOCS, config->options()); in TEST_F()
197 ASSERT_EQ(FRONT_GUARD | REAR_GUARD | TRACK_ALLOCS, config->options()); in TEST_F()
202 ASSERT_EQ(FRONT_GUARD | REAR_GUARD | TRACK_ALLOCS, config->options()); in TEST_F()
/bionic/libc/malloc_debug/
DConfig.h36 constexpr uint64_t FRONT_GUARD = 0x1; variable
59 constexpr uint64_t HEADER_OPTIONS = FRONT_GUARD | REAR_GUARD;
DDebugData.cpp48 if (config_.options() & FRONT_GUARD) { in Initialize()
DConfig.cpp73 "guard", {FRONT_GUARD | REAR_GUARD | TRACK_ALLOCS, &Config::SetGuard},
76 "front_guard", {FRONT_GUARD | TRACK_ALLOCS, &Config::SetFrontGuard},
Dmalloc_debug.cpp277 if (g_debug->config().options() & FRONT_GUARD) { in InitHeader()
500 if (g_debug->config().options() & FRONT_GUARD) { in InternalFree()