Lines Matching refs:std
12 std::map<int, int> current_stats;
13 std::map<int, int> max_stats;
14 std::map<void*, std::size_t> current_dyn_stats;
18 void print_map(std::string comment) in print_map()
21 std::cout << comment << "\r\n"; in print_map()
23 std::size_t total_static=0; in print_map()
24 std::size_t total_dynamic=0; in print_map()
31 std::cout << "ALLOC_POOL(" << v.first << "," << v.second << "); \r\n"; in print_map()
41 std::cout << "POOL(" << v.first << "); \r\n"; in print_map()
45 std::cout << "\r\n"; in print_map()
47 …std::cout << "Total static bytes: " << total_static << std::hex << " (0x" << total_static << ")\r\… in print_map()
50 std::cout << "\r\nDynamic allocations\r\n"; in print_map()
60 std::cout << std::dec << -v.first << " : " << v.second << "\r\n"; in print_map()
64 …std::cout << "Total dynamic bytes: " << total_dynamic << std::hex << " (0x" << total_dynamic << ")… in print_map()
65 …std::cout << "Total bytes: " << (total_static+total_dynamic) << std::hex << " (0x" << (total_stati… in print_map()
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()