Searched refs:new_handler (Results 1 – 15 of 15) sorted by relevance
/external/autotest/client/common_lib/cros/ |
D | retry.py | 16 def install_sigalarm_handler(new_handler): argument 35 if (new_handler is None or 36 (not callable(new_handler) and 37 new_handler != signal.SIG_IGN and 38 new_handler != signal.SIG_DFL)): 42 signal.signal(signal.SIGALRM, new_handler) 44 return installed_handler == new_handler
|
/external/libcxx/src/support/runtime/ |
D | new_handler_fallback.ipp | 13 _LIBCPP_SAFE_STATIC static std::new_handler __new_handler; 15 new_handler 16 set_new_handler(new_handler handler) _NOEXCEPT 21 new_handler
|
/external/libcxxabi/src/ |
D | cxa_handlers.cpp | 95 new_handler __cxa_new_handler = 0; 98 new_handler 99 set_new_handler(new_handler handler) _NOEXCEPT in set_new_handler() 104 new_handler
|
D | stdlib_new_delete.cpp | 36 std::new_handler nh = std::get_new_handler(); in operator new() 156 std::new_handler nh = std::get_new_handler(); in operator new()
|
/external/libcxx/test/std/language.support/support.dynamic/alloc.errors/new.handler/ |
D | new_handler.pass.cpp | 20 static_assert((std::is_same<std::new_handler, void(*)()>::value), ""); in main() 21 std::new_handler p = f; in main()
|
/external/libcxx/include/ |
D | new | 39 typedef void (*new_handler)(); 40 new_handler set_new_handler(new_handler new_p) noexcept; 41 new_handler get_new_handler() noexcept; 145 typedef void (*new_handler)(); 146 _LIBCPP_FUNC_VIS new_handler set_new_handler(new_handler) _NOEXCEPT; 147 _LIBCPP_FUNC_VIS new_handler get_new_handler() _NOEXCEPT;
|
/external/python/cpython3/Lib/unittest/test/ |
D | test_break.py | 103 new_handler = signal.getsignal(signal.SIGINT) 107 self.assertEqual(signal.getsignal(signal.SIGINT), new_handler) 136 def new_handler(frame, signum): function 138 signal.signal(signal.SIGINT, new_handler)
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_libdispatch_mac.cc | 364 dispatch_block_t new_handler = Block_copy(^(void) { in TSAN_INTERCEPTOR() local 370 REAL(dispatch_source_set_event_handler)(source, new_handler); in TSAN_INTERCEPTOR() 371 Block_release(new_handler); in TSAN_INTERCEPTOR() 393 dispatch_block_t new_handler = Block_copy(^(void) { in TSAN_INTERCEPTOR() local 399 REAL(dispatch_source_set_cancel_handler)(source, new_handler); in TSAN_INTERCEPTOR() 400 Block_release(new_handler); in TSAN_INTERCEPTOR() 424 dispatch_block_t new_handler = Block_copy(^(void) { in TSAN_INTERCEPTOR() local 430 REAL(dispatch_source_set_registration_handler)(source, new_handler); in TSAN_INTERCEPTOR() 431 Block_release(new_handler); in TSAN_INTERCEPTOR()
|
D | tsan_interceptors_mac.cc | 244 xpc_handler_t new_handler = ^(xpc_object_t object) { in TSAN_INTERCEPTOR() 251 REAL(xpc_connection_set_event_handler)(connection, new_handler); in TSAN_INTERCEPTOR() 274 xpc_handler_t new_handler = ^(xpc_object_t object) { in TSAN_INTERCEPTOR() 282 (connection, message, replyq, new_handler); in TSAN_INTERCEPTOR()
|
/external/autotest/client/common_lib/ |
D | logging_manager.py | 570 new_handler = logging.StreamHandler(new_stream) 571 new_handler.setLevel(handler.level) 572 new_handler.setFormatter(handler.formatter) 574 new_handler.addFilter(log_filter) 575 logger.addHandler(new_handler)
|
/external/python/cpython2/Lib/unittest/test/ |
D | test_break.py | 110 new_handler = signal.getsignal(signal.SIGINT) 114 self.assertEqual(signal.getsignal(signal.SIGINT), new_handler) 143 def new_handler(frame, signum): function 145 signal.signal(signal.SIGINT, new_handler)
|
/external/libcxx/src/ |
D | new.cpp | 76 std::new_handler nh = std::get_new_handler(); in operator new() 195 std::new_handler nh = std::get_new_handler(); in operator new()
|
/external/libchrome/base/message_loop/ |
D | message_loop_io_posix_unittest.cc | 325 MessagePumpForIO::FdWatcher* new_handler, in StopWatchingAndWatchAgain() argument 331 new_handler)); in StopWatchingAndWatchAgain()
|
/external/jemalloc_new/src/ |
D | jemalloc_cpp.cpp | 48 std::new_handler handler; in handleOOM()
|
/external/libchrome/base/allocator/ |
D | allocator_shim.cc | 57 std::new_handler nh = std::get_new_handler(); in CallNewHandler()
|