Searched refs:number_heaps (Results 1 – 2 of 2) sorted by relevance
41 unsigned number_heaps = GetProcessHeaps(0, NULL); in EnableLowFragmentationHeap() local42 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()
79 unsigned number_heaps = GetProcessHeaps(1024, heaps); in TEST() local80 EXPECT_GT(number_heaps, 0u); in TEST()81 for (unsigned i = 0; i < number_heaps; ++i) { in TEST()