Home
last modified time | relevance | path

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

/bionic/tests/
Dmalloc_test.cpp385 uint8_t* zero_mem = reinterpret_cast<uint8_t*>(calloc(1, size)); in TEST() local
387 size_t usable_size = malloc_usable_size(zero_mem); in TEST()
389 ASSERT_EQ(0, zero_mem[i]) << "Failed at allocation size " << size << " at byte " << i; in TEST()
391 free(zero_mem); in TEST()