Home
last modified time | relevance | path

Searched refs:set_new_handler (Results 1 – 15 of 15) 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.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.cpp35 std::set_new_handler(0); in new_handler()
48 std::set_new_handler(new_handler); in test_throw_max_size()
Dnew_align_val_t_nothrow.pass.cpp35 std::set_new_handler(0); in my_new_handler()
47 std::set_new_handler(my_new_handler); in test_max_alloc()
/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.cpp35 std::set_new_handler(0); in my_new_handler()
48 std::set_new_handler(my_new_handler); in test_throw_max_size()
Dnew_align_val_t_nothrow.pass.cpp35 std::set_new_handler(0); in my_new_handler()
47 std::set_new_handler(my_new_handler); in test_max_alloc()
/external/libchrome/base/allocator/
Dallocator_shim.cc62 nh = std::set_new_handler(0); in CallNewHandler()
63 ignore_result(std::set_new_handler(nh)); in CallNewHandler()
/external/libcxx/src/support/runtime/
Dnew_handler_fallback.ipp16 set_new_handler(new_handler handler) _NOEXCEPT
/external/libcxxabi/src/
Dcxa_handlers.cpp112 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/libcxx/include/
Dnew46 new_handler set_new_handler(new_handler new_p) noexcept;
140 _LIBCPP_FUNC_VIS new_handler set_new_handler(new_handler) _NOEXCEPT;