Searched refs:fill_on_free_bytes (Results 1 - 5 of 5) sorted by relevance

/bionic/libc/malloc_debug/
H A DConfig.h67 size_t fill_on_free_bytes = 0; member in struct:Config
H A DFreeTrackData.cpp77 bytes = (bytes < debug.config().fill_on_free_bytes) ? bytes : debug.config().fill_on_free_bytes;
H A DConfig.cpp310 Feature("fill_on_free", SIZE_MAX, 1, SIZE_MAX, FILL_ON_FREE, &this->fill_on_free_bytes, nullptr, true),
383 if ((options & FILL_ON_FREE) && fill_on_free_bytes == 0) {
384 fill_on_free_bytes = SIZE_MAX;
H A Dmalloc_debug.cpp366 size_t fill_bytes = g_debug->config().fill_on_free_bytes;
/bionic/libc/malloc_debug/tests/
H A Dmalloc_debug_config_tests.cpp324 ASSERT_EQ(64U, config->fill_on_free_bytes);
328 ASSERT_EQ(SIZE_MAX, config->fill_on_free_bytes);
338 ASSERT_EQ(64U, config->fill_on_free_bytes);
343 ASSERT_EQ(SIZE_MAX, config->fill_on_free_bytes);
366 ASSERT_EQ(SIZE_MAX, config->fill_on_free_bytes);
372 ASSERT_EQ(SIZE_MAX, config->fill_on_free_bytes);
383 ASSERT_EQ(32U, config->fill_on_free_bytes);
389 ASSERT_EQ(60U, config->fill_on_free_bytes);

Completed in 306 milliseconds