Searched refs:test_sizes (Results 1 – 1 of 1) sorted by relevance
/bionic/tests/ |
D | malloc_test.cpp | 1584 std::vector<size_t>& test_sizes, size_t max_allocations) { in VerifyAllocationsAreZero() argument 1586 std::vector<char> zero(test_sizes.back() * 2, 0); in VerifyAllocationsAreZero() 1590 for (size_t test_size : test_sizes) { in VerifyAllocationsAreZero() 1636 std::vector<size_t> test_sizes = {16, 48, 128, 1024, 4096, 65536}; in TEST() local 1637 VerifyAllocationsAreZero([](size_t size) -> void* { return malloc(size); }, "malloc", test_sizes, in TEST() 1641 test_sizes, kMaxAllocations); in TEST() 1651 "posix_memalign", test_sizes, kMaxAllocations); in TEST() 1666 std::vector<size_t> test_sizes = {1000000, 2000000, 3000000, 4000000}; in TEST() local 1667 VerifyAllocationsAreZero([](size_t size) -> void* { return malloc(size); }, "malloc", test_sizes, in TEST() 1671 test_sizes, kMaxAllocations); in TEST() [all …]
|