Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ccsrc/common/
Dduplex_pipe.cc80 signal_handler_ = std::make_shared<SignalHandler>(weak_from_this(), &pid_); in Open()
162 DuplexPipe::SignalHandler::SignalHandler(const std::weak_ptr<DuplexPipe> &dp, pid_t *pid) { in SignalHandler() function in mindspore::DuplexPipe::SignalHandler
169 DuplexPipe::SignalHandler::~SignalHandler() {} in ~SignalHandler()
171 void DuplexPipe::SignalHandler::SetAlarm(unsigned int interval_secs) const { in SetAlarm()
176 void DuplexPipe::SignalHandler::CancelAlarm() const { (void)alarm(0); } in CancelAlarm()
178 void DuplexPipe::SignalHandler::SigAlarmHandler(int sig) { in SigAlarmHandler()
189 void DuplexPipe::SignalHandler::SigPipeHandler(int sig) { in SigPipeHandler()
200 void DuplexPipe::SignalHandler::SigChildHandler(int) { in SigChildHandler()
Dduplex_pipe.h106 class SignalHandler {
108 SignalHandler(const std::weak_ptr<DuplexPipe> &dp, pid_t *pid);
109 ~SignalHandler();
127 std::shared_ptr<SignalHandler> signal_handler_;
Dduplex_pipe_win.cc40 void DuplexPipe::SignalHandler::SetAlarm(unsigned int interval_secs) const { in SetAlarm()
44 void DuplexPipe::SignalHandler::CancelAlarm() const { DP_EXCEPTION << "Not support for Windows by n… in CancelAlarm()
/third_party/musl/libc-test/src/functionalext/fortify/
Dunistd.c33 .sa_handler = SignalHandler, in unistd_dynamic_chk_001()
68 .sa_handler = SignalHandler, in unistd_dynamic_chk_002()
107 .sa_handler = SignalHandler, in unistd_dynamic_chk_003()
147 .sa_handler = SignalHandler, in unistd_dynamic_chk_004()
186 .sa_handler = SignalHandler, in unistd_dynamic_chk_005()
229 .sa_handler = SignalHandler, in unistd_dynamic_chk_006()
267 .sa_handler = SignalHandler, in unistd_dynamic_chk_007()
307 .sa_handler = SignalHandler, in unistd_dynamic_chk_008()
346 .sa_handler = SignalHandler, in unistd_dynamic_chk_009()
380 .sa_handler = SignalHandler, in unistd_dynamic_chk_010()
[all …]
Dstring_ext.c69 .sa_handler = SignalHandler, in test_strcat_0020()
120 .sa_handler = SignalHandler, in test_strncat_0020()
170 .sa_handler = SignalHandler, in test_stpcpy_0020()
219 .sa_handler = SignalHandler, in test_stpncpy_0020()
268 .sa_handler = SignalHandler, in test_strncpy_0020()
318 .sa_handler = SignalHandler, in test_memchr_0020()
365 .sa_handler = SignalHandler, in test_memrchr_0020()
412 .sa_handler = SignalHandler, in test_strchr_0020()
460 .sa_handler = SignalHandler, in test_strrchr_0020()
508 .sa_handler = SignalHandler, in test_strlcat_0020()
[all …]
Dfcntl_ext.c47 .sa_handler = SignalHandler, in open_0020()
81 .sa_handler = SignalHandler, in open_0030()
130 .sa_handler = SignalHandler, in openat_0020()
164 .sa_handler = SignalHandler, in openat_0030()
213 .sa_handler = SignalHandler, in open64_0020()
247 .sa_handler = SignalHandler, in open64_0030()
296 .sa_handler = SignalHandler, in openat64_0020()
330 .sa_handler = SignalHandler, in openat64_0030()
Dstdio.c103 .sa_handler = SignalHandler, in stdio_dynamic_chk_003()
140 .sa_handler = SignalHandler, in stdio_dynamic_chk_004()
225 .sa_handler = SignalHandler, in stdio_dynamic_chk_007()
294 .sa_handler = SignalHandler, in stdio_dynamic_chk_010()
329 .sa_handler = SignalHandler, in stdio_dynamic_chk_011()
385 .sa_handler = SignalHandler, in stdio_dynamic_chk_012()
416 .sa_handler = SignalHandler, in stdio_dynamic_chk_013()
Dsocket_ext.c55 .sa_handler = SignalHandler, in send_0010()
90 .sa_handler = SignalHandler, in recv_0010()
152 .sa_handler = SignalHandler, in sendto_0010()
187 .sa_handler = SignalHandler, in recvfrom_0010()
Dpoll.c47 .sa_handler = SignalHandler, in poll_0020()
99 .sa_handler = SignalHandler, in ppoll_0020()
Dfortify_test.h24 void SignalHandler(int signum) in SignalHandler() function
Dstat_ext.c45 .sa_handler = SignalHandler, in umask_0020()
/third_party/boost/libs/asio/include/boost/asio/
Dbasic_signal_set.hpp522 SignalHandler BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(executor_type)>
523 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(SignalHandler, in BOOST_ASIO_INITFN_AUTO_RESULT_TYPE() argument
526 BOOST_ASIO_MOVE_ARG(SignalHandler) handler in BOOST_ASIO_INITFN_AUTO_RESULT_TYPE()
529 return async_initiate<SignalHandler, void (boost::system::error_code, int)>( in BOOST_ASIO_INITFN_AUTO_RESULT_TYPE()
553 template <typename SignalHandler>
554 void operator()(BOOST_ASIO_MOVE_ARG(SignalHandler) handler) const in operator ()()
558 BOOST_ASIO_SIGNAL_HANDLER_CHECK(SignalHandler, handler) type_check; in operator ()()
560 detail::non_const_lvalue<SignalHandler> handler2(handler); in operator ()()
/third_party/boost/boost/asio/
Dbasic_signal_set.hpp522 SignalHandler BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(executor_type)>
523 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(SignalHandler, in BOOST_ASIO_INITFN_AUTO_RESULT_TYPE() argument
526 BOOST_ASIO_MOVE_ARG(SignalHandler) handler in BOOST_ASIO_INITFN_AUTO_RESULT_TYPE()
529 return async_initiate<SignalHandler, void (boost::system::error_code, int)>( in BOOST_ASIO_INITFN_AUTO_RESULT_TYPE()
553 template <typename SignalHandler>
554 void operator()(BOOST_ASIO_MOVE_ARG(SignalHandler) handler) const in operator ()()
558 BOOST_ASIO_SIGNAL_HANDLER_CHECK(SignalHandler, handler) type_check; in operator ()()
560 detail::non_const_lvalue<SignalHandler> handler2(handler); in operator ()()
/third_party/boost/boost/process/detail/posix/
Dsigchld_service.hpp34 template <typename SignalHandler>
35 BOOST_ASIO_INITFN_RESULT_TYPE(SignalHandler, in BOOST_ASIO_INITFN_RESULT_TYPE() argument
37 async_wait(::pid_t pid, SignalHandler && handler) in BOOST_ASIO_INITFN_RESULT_TYPE()
40 SignalHandler, void(boost::system::error_code)> init{handler}; in BOOST_ASIO_INITFN_RESULT_TYPE()
/third_party/musl/libc-test/src/functionalext/tgkill/
Dtgkill_ext.c31 static void SignalHandler(int signum) in SignalHandler() function
56 .sa_handler = SignalHandler, in tgkill_0020()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/runner/android/
DAngleNativeTest.cpp47 void SignalHandler(int sig, siginfo_t *info, void *reserved) in SignalHandler() function
97 sa.sa_sigaction = SignalHandler; in InstallExceptionHandlers()
/third_party/protobuf/src/google/protobuf/compiler/
Dsubprocess.cc366 typedef void SignalHandler(int); in Communicate() typedef
369 SignalHandler* old_pipe_handler = signal(SIGPIPE, SIG_IGN); in Communicate()
/third_party/boost/libs/asio/doc/requirements/
DSignalHandler.qbk8 [section:SignalHandler Signal handler requirements]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DSignals.inc60 static RETSIGTYPE SignalHandler(int Sig); // defined below.
109 NewHandler.sa_handler = SignalHandler;
212 // SignalHandler - The signal handler that runs.
213 static RETSIGTYPE SignalHandler(int Sig) {
/third_party/curl/docs/examples/
Dephiperfifo.c458 void SignalHandler(int signo) in SignalHandler() function
475 signal(SIGINT, SignalHandler); in main()
/third_party/mindspore/mindspore/ccsrc/fl/server/
Dserver.cc38 void SignalHandler(int signal) { in SignalHandler() function
67 (void)signal(SIGTERM, SignalHandler); in Initialize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DSignals.inc82 static RETSIGTYPE SignalHandler(int Sig); // defined below.
308 NewHandler.sa_handler = SignalHandler;
365 static RETSIGTYPE SignalHandler(int Sig) {
/third_party/boost/doc/html/
Dasio_HTML.manifest125 boost_asio/reference/SignalHandler.html
/third_party/node/doc/changelogs/
DCHANGELOG_ARCHIVE.md3480 * Feature: node.SignalHandler (Brandon Beacher)
/third_party/boost/libs/asio/doc/
Dreference.qbk59 [include requirements/SignalHandler.qbk]
30257 …typename ``[link boost_asio.reference.SignalHandler SignalHandler]`` = ``[link boost_asio.referenc…
30259SignalHandler && handler = ``[link boost_asio.reference.asynchronous_operations.default_completion…