Home
last modified time | relevance | path

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

/external/chromium_org/base/process/
Dmemory_win.cc41 unsigned number_heaps = GetProcessHeaps(0, NULL); in EnableLowFragmentationHeap() local
42 if (!number_heaps) in EnableLowFragmentationHeap()
48 scoped_ptr<HANDLE[]> heaps(new HANDLE[number_heaps + MARGIN]); in EnableLowFragmentationHeap()
49 number_heaps = GetProcessHeaps(number_heaps + MARGIN, heaps.get()); in EnableLowFragmentationHeap()
50 if (!number_heaps) in EnableLowFragmentationHeap()
53 for (unsigned i = 0; i < number_heaps; ++i) { in EnableLowFragmentationHeap()
Dmemory_unittest.cc79 unsigned number_heaps = GetProcessHeaps(1024, heaps); in TEST() local
80 EXPECT_GT(number_heaps, 0u); in TEST()
81 for (unsigned i = 0; i < number_heaps; ++i) { in TEST()