Lines Matching refs:v
26 for (const auto v : max_stats) in print_map() local
29 if (v.first > 0) in print_map()
31 std::cout << "ALLOC_POOL(" << v.first << "," << v.second << "); \r\n"; in print_map()
32 total_static += v.first * v.second; in print_map()
36 for (const auto v : max_stats) in print_map() local
39 if (v.first > 0) in print_map()
41 std::cout << "POOL(" << v.first << "); \r\n"; in print_map()
51 for (const auto v : max_stats) in print_map() local
54 if (v.first < 0) in print_map()
60 std::cout << std::dec << -v.first << " : " << v.second << "\r\n"; in print_map()
61 total_dynamic += (-v.first) * v.second; in print_map()
76 for (auto v : current_stats) in reset_current_stats() local
78 v.second = 0; in reset_current_stats()
86 for (const auto v : current_stats) in check_current_stats() local
88 if (v.second > 0) in check_current_stats()
90 if (v.first>0) in check_current_stats()
92 … std::cout << "Error memory pool " << v.first << " not empty = " << v.second << "\r\n"; in check_current_stats()
96 … std::cout << "Error dynamic alloc " << -v.first << " not empty = " << v.second << "\r\n"; in check_current_stats()