Home
last modified time | relevance | path

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

/external/google-fruit/include/fruit/impl/data_structures/
Dmemory_pool.defn.h32 …: allocated_chunks(std::move(other.allocated_chunks)), first_free(other.first_free), capacity(othe… in MemoryPool()
34 other.allocated_chunks.clear(); in MemoryPool()
40 allocated_chunks = std::move(other.allocated_chunks);
45 other.allocated_chunks.clear();
58 allocated_chunks.push_back(p); in allocate()
71 if (allocated_chunks.size() == allocated_chunks.capacity()) { in allocate()
72 allocated_chunks.reserve(1 + 2 * allocated_chunks.size()); in allocate()
82 allocated_chunks.push_back(p); in allocate()
Dmemory_pool.h36 std::vector<void*> allocated_chunks; variable
/external/google-fruit/src/
Dmemory_pool.cpp24 for (void* p : allocated_chunks) { in destroy()
/external/libevent/test/
Dregress_dns.c1805 static int allocated_chunks = 0; variable
1810 allocated_chunks += 1; in cnt_malloc()
1818 allocated_chunks += 1; in cnt_realloc()
1820 allocated_chunks -= 1; in cnt_realloc()
1827 allocated_chunks -= 1; in cnt_free()
1843 allocated_chunks = 0; in testleak_setup()
1871 tt_int_op(allocated_chunks, ==, 0); in testleak_cleanup()
1874 tt_int_op(allocated_chunks, ==, 0); in testleak_cleanup()