Searched refs:handler (Results 1 – 12 of 12) sorted by relevance
/bionic/libc/private/ |
D | ScopedSignalHandler.h | 23 ScopedSignalHandler(int signal_number, void (*handler)(int), int sa_flags = 0) 25 action_ = { .sa_flags = sa_flags, .sa_handler = handler }; in signal_number_()
|
/bionic/libc/bionic/ |
D | ndk_cruft.cpp | 243 sighandler_t bsd_signal(int signum, sighandler_t handler) { in bsd_signal() argument 244 return signal(signum, handler); in bsd_signal() 260 extern "C++" sighandler_t _signal(int signum, sighandler_t handler, int flags); 261 sighandler_t sysv_signal(int signum, sighandler_t handler) { in sysv_signal() argument 262 return _signal(signum, handler, SA_RESETHAND); in sysv_signal()
|
D | signal.cpp | 195 __LIBC_HIDDEN__ sighandler_t _signal(int sig, sighandler_t handler, int flags) { in _signal() argument 196 struct sigaction64 sa = { .sa_handler = handler, .sa_flags = flags }; in _signal() 200 sighandler_t signal(int sig, sighandler_t handler) { in signal() argument 201 return _signal(sig, handler, SA_RESTART); in signal()
|
D | pthread_internal.cpp | 229 auto handler = [](int, siginfo_t*, void*) { in android_run_on_all_threads() local 239 act.sa_sigaction = handler; in android_run_on_all_threads()
|
/bionic/tests/ |
D | semaphore_test.cpp | 228 ScopedSignalHandler handler(SIGUSR1, sem_wait_test_signal_handler); in TEST() local 251 ScopedSignalHandler handler(SIGUSR1, sem_wait_test_signal_handler); in TEST() local
|
D | signal_test.cpp | 801 struct sigaction handler = {}; in TEST() local 802 handler.sa_sigaction = [](int, siginfo_t* siginfo, void*) { received = *siginfo; }; in TEST() 803 handler.sa_flags = SA_SIGINFO; in TEST() 805 ASSERT_EQ(0, sigaction(SIGUSR1, &handler, nullptr)); in TEST()
|
D | pthread_test.cpp | 1943 ScopedSignalHandler handler(SIGUSR1, getstack_signal_handler, SA_ONSTACK); in TEST() local 2749 ScopedSignalHandler handler(SIGUSR1, SignalHandlerOnAltStack, SA_SIGINFO | SA_ONSTACK); in TEST() local
|
D | unistd_test.cpp | 229 ScopedSignalHandler handler(SIGALRM, PauseTestSignalHandler); in TEST() local
|
/bionic/tests/libs/ |
D | stack_tagging_helper.cpp | 221 SigActionScoped(int signo, handler_t handler) : signo(signo) { in SigActionScoped() argument 223 sa.sa_sigaction = handler; in SigActionScoped()
|
D | Android.bp | 1148 // This library used to test phtread_atfork handler behaviour
|
/bionic/docs/ |
D | EINTR.md | 28 guarantee. If any code has installed a signal handler, you need to cope with
|
/bionic/libc/malloc_debug/ |
D | README.md | 350 signal handler directly. Instead, the next time any allocation call occurs,
|