Home
last modified time | relevance | path

Searched refs:new_handler (Results 1 – 25 of 30) sorted by relevance

12

/external/autotest/client/common_lib/cros/
Dretry.py16 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/
Dnew_handler_fallback.ipp13 _LIBCPP_SAFE_STATIC static std::new_handler __new_handler;
15 new_handler
16 set_new_handler(new_handler handler) _NOEXCEPT
21 new_handler
/external/llvm-project/libcxx/src/support/runtime/
Dnew_handler_fallback.ipp12 _LIBCPP_SAFE_STATIC static std::new_handler __new_handler;
14 new_handler
15 set_new_handler(new_handler handler) _NOEXCEPT
20 new_handler
/external/llvm-project/libcxxabi/src/
Dcxa_handlers.cpp96 new_handler __cxa_new_handler = 0;
99 new_handler
100 set_new_handler(new_handler handler) _NOEXCEPT in set_new_handler()
105 new_handler
Dstdlib_new_delete.cpp34 std::new_handler nh = std::get_new_handler(); in operator new()
155 std::new_handler nh = std::get_new_handler(); in operator new()
/external/libcxxabi/src/
Dcxa_handlers.cpp95 new_handler __cxa_new_handler = 0;
98 new_handler
99 set_new_handler(new_handler handler) _NOEXCEPT in set_new_handler()
104 new_handler
Dstdlib_new_delete.cpp36 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/
Dnew_handler.pass.cpp20 static_assert((std::is_same<std::new_handler, void(*)()>::value), ""); in main()
21 std::new_handler p = f; in main()
/external/llvm-project/libcxx/test/std/language.support/support.dynamic/alloc.errors/new.handler/
Dnew_handler.pass.cpp21 static_assert((std::is_same<std::new_handler, void(*)()>::value), ""); in main()
22 std::new_handler p = f; in main()
/external/llvm-project/libcxx/include/
Dnew44 typedef void (*new_handler)();
45 new_handler set_new_handler(new_handler new_p) noexcept;
46 new_handler get_new_handler() noexcept;
144 typedef void (*new_handler)();
145 _LIBCPP_FUNC_VIS new_handler set_new_handler(new_handler) _NOEXCEPT;
146 _LIBCPP_FUNC_VIS new_handler get_new_handler() _NOEXCEPT;
/external/libcxx/include/
Dnew39 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/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/test/
Dtest_break.py97 new_handler = signal.getsignal(signal.SIGINT)
101 self.assertEqual(signal.getsignal(signal.SIGINT), new_handler)
126 def new_handler(frame, signum): function
128 signal.signal(signal.SIGINT, new_handler)
/external/python/cpython3/Lib/unittest/test/
Dtest_break.py103 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/
Dtsan_libdispatch_mac.cc364 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()
Dtsan_interceptors_mac.cc244 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/
Dlogging_manager.py586 new_handler = logging.StreamHandler(new_stream)
587 new_handler.setLevel(handler.level)
588 new_handler.setFormatter(handler.formatter)
590 new_handler.addFilter(log_filter)
591 logger.addHandler(new_handler)
/external/python/cpython2/Lib/unittest/test/
Dtest_break.py110 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/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_interceptors_libdispatch.cpp423 dispatch_block_t new_handler = Block_copy(^(void) { in TSAN_INTERCEPTOR() local
429 REAL(dispatch_source_set_event_handler)(source, new_handler); in TSAN_INTERCEPTOR()
430 Block_release(new_handler); in TSAN_INTERCEPTOR()
452 dispatch_block_t new_handler = Block_copy(^(void) { in TSAN_INTERCEPTOR() local
458 REAL(dispatch_source_set_cancel_handler)(source, new_handler); in TSAN_INTERCEPTOR()
459 Block_release(new_handler); in TSAN_INTERCEPTOR()
483 dispatch_block_t new_handler = Block_copy(^(void) { in TSAN_INTERCEPTOR() local
489 REAL(dispatch_source_set_registration_handler)(source, new_handler); in TSAN_INTERCEPTOR()
490 Block_release(new_handler); in TSAN_INTERCEPTOR()
Dtsan_interceptors_mac.cpp296 xpc_handler_t new_handler = ^(xpc_object_t object) { in TSAN_INTERCEPTOR()
303 REAL(xpc_connection_set_event_handler)(connection, new_handler); in TSAN_INTERCEPTOR()
326 xpc_handler_t new_handler = ^(xpc_object_t object) { in TSAN_INTERCEPTOR()
334 (connection, message, replyq, new_handler); in TSAN_INTERCEPTOR()
/external/llvm-project/libcxx/src/
Dnew.cpp71 std::new_handler nh = std::get_new_handler(); in operator new()
192 std::new_handler nh = std::get_new_handler(); in operator new()
/external/libcxx/src/
Dnew.cpp76 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/
Dmessage_loop_io_posix_unittest.cc325 MessagePumpForIO::FdWatcher* new_handler, in StopWatchingAndWatchAgain() argument
331 new_handler)); in StopWatchingAndWatchAgain()
/external/jemalloc_new/src/
Djemalloc_cpp.cpp48 std::new_handler handler; in handleOOM()
/external/llvm-project/llvm/lib/Support/
DErrorHandling.cpp195 std::new_handler old = std::set_new_handler(out_of_memory_new_handler); in install_out_of_memory_new_handler()
/external/libchrome/base/allocator/
Dallocator_shim.cc57 std::new_handler nh = std::get_new_handler(); in CallNewHandler()

12