Lines Matching full:allocated
21 vector<pair<char *, size_t> > allocated; in MallocThread() local
22 allocated.reserve(kNumIters); in MallocThread()
36 allocated.push_back(make_pair(x, size)); in MallocThread()
39 if (allocated.empty()) continue; in MallocThread()
40 size_t slot = i % allocated.size(); in MallocThread()
41 char *p = allocated[slot].first; in MallocThread()
43 size_t size = allocated[slot].second; in MallocThread()
45 swap(allocated[slot], allocated.back()); in MallocThread()
46 allocated.pop_back(); in MallocThread()
54 for (size_t i = 0; i < allocated.size(); i++) in MallocThread()
55 delete [] allocated[i].first; in MallocThread()