Searched refs:set_new_handler (Results 1 – 17 of 17) sorted by relevance
20 assert(std::set_new_handler(f1) == 0); in main()21 assert(std::set_new_handler(f2) == f1); in main()
21 std::set_new_handler(f1); in main()23 std::set_new_handler(f2); in main()
27 std::set_new_handler(0); in my_new_handler()41 std::set_new_handler(my_new_handler); in main()
27 std::set_new_handler(0); in my_new_handler()40 std::set_new_handler(my_new_handler); in main()
60 std::set_new_handler(0); in my_new_handler()73 std::set_new_handler(my_new_handler); in test_throw_max_size()
60 std::set_new_handler(0); in my_new_handler()72 std::set_new_handler(my_new_handler); in test_max_alloc()
54 handler = std::set_new_handler(nullptr); in handleOOM()55 std::set_new_handler(handler); in handleOOM()
16 set_new_handler(new_handler handler) _NOEXCEPT
99 set_new_handler(new_handler handler) _NOEXCEPT in set_new_handler() function
90 std::set_new_handler(cpp_new_handler); in should_fail_allocation()
55 std::set_new_handler(&OnNoMemory); in EnableTerminationOnOutOfMemory()
196 std::set_new_handler(out_of_memory_new_handler); in install_out_of_memory_new_handler()
40 new_handler set_new_handler(new_handler new_p) noexcept;146 _LIBCPP_FUNC_VIS new_handler set_new_handler(new_handler) _NOEXCEPT;