Home
last modified time | relevance | path

Searched refs:set_new_handler (Results 1 – 17 of 17) sorted by relevance

/external/libcxx/test/std/language.support/support.dynamic/alloc.errors/set.new.handler/
Dset_new_handler.pass.cpp20 assert(std::set_new_handler(f1) == 0); in main()
21 assert(std::set_new_handler(f2) == f1); in main()
Dget_new_handler.pass.cpp21 std::set_new_handler(f1); in main()
23 std::set_new_handler(f2); in main()
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/
Dnew.pass.cpp27 std::set_new_handler(0); in my_new_handler()
41 std::set_new_handler(my_new_handler); in main()
Dnew_nothrow.pass.cpp27 std::set_new_handler(0); in my_new_handler()
40 std::set_new_handler(my_new_handler); in main()
Dnew_align_val_t.pass.cpp60 std::set_new_handler(0); in my_new_handler()
73 std::set_new_handler(my_new_handler); in test_throw_max_size()
Dnew_align_val_t_nothrow.pass.cpp60 std::set_new_handler(0); in my_new_handler()
72 std::set_new_handler(my_new_handler); in test_max_alloc()
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/
Dnew_array.pass.cpp27 std::set_new_handler(0); in my_new_handler()
41 std::set_new_handler(my_new_handler); in main()
Dnew_array_nothrow.pass.cpp27 std::set_new_handler(0); in my_new_handler()
40 std::set_new_handler(my_new_handler); in main()
Dnew_align_val_t.pass.cpp60 std::set_new_handler(0); in my_new_handler()
73 std::set_new_handler(my_new_handler); in test_throw_max_size()
Dnew_align_val_t_nothrow.pass.cpp60 std::set_new_handler(0); in my_new_handler()
72 std::set_new_handler(my_new_handler); in test_max_alloc()
/external/jemalloc_new/src/
Djemalloc_cpp.cpp54 handler = std::set_new_handler(nullptr); in handleOOM()
55 std::set_new_handler(handler); in handleOOM()
/external/libcxx/src/support/runtime/
Dnew_handler_fallback.ipp16 set_new_handler(new_handler handler) _NOEXCEPT
/external/libcxxabi/src/
Dcxa_handlers.cpp99 set_new_handler(new_handler handler) _NOEXCEPT in set_new_handler() function
/external/boringssl/src/crypto/test/
Dmalloc.cc90 std::set_new_handler(cpp_new_handler); in should_fail_allocation()
/external/libchrome/base/process/
Dmemory_linux.cc55 std::set_new_handler(&OnNoMemory); in EnableTerminationOnOutOfMemory()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DErrorHandling.cpp196 std::set_new_handler(out_of_memory_new_handler); in install_out_of_memory_new_handler()
/external/libcxx/include/
Dnew40 new_handler set_new_handler(new_handler new_p) noexcept;
146 _LIBCPP_FUNC_VIS new_handler set_new_handler(new_handler) _NOEXCEPT;