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.cpp22 for (void* p : allocated_chunks) { in destroy()
/external/libevent/test/
Dregress_dns.c1889 static int allocated_chunks = 0; variable
1894 allocated_chunks += 1; in cnt_malloc()
1902 allocated_chunks += 1; in cnt_realloc()
1904 allocated_chunks -= 1; in cnt_realloc()
1911 allocated_chunks -= 1; in cnt_free()
1927 allocated_chunks = 0; in testleak_setup()
1955 tt_int_op(allocated_chunks, ==, 0); in testleak_cleanup()
1958 tt_int_op(allocated_chunks, ==, 0); in testleak_cleanup()