Searched refs:handler (Results 1 – 8 of 8) sorted by relevance
/bionic/libc/bionic/ |
D | signal.cpp | 31 __LIBC_HIDDEN__ sighandler_t _signal(int signum, sighandler_t handler, int flags) { in _signal() argument 34 sa.sa_handler = handler; in _signal() 44 sighandler_t signal(int signum, sighandler_t handler) { in signal() argument 45 return _signal(signum, handler, SA_RESTART); in signal()
|
D | ndk_cruft.cpp | 242 sighandler_t bsd_signal(int signum, sighandler_t handler) { in bsd_signal() argument 243 return signal(signum, handler); in bsd_signal() 259 extern "C++" sighandler_t _signal(int signum, sighandler_t handler, int flags); 260 sighandler_t sysv_signal(int signum, sighandler_t handler) { in sysv_signal() argument 261 return _signal(signum, handler, SA_RESETHAND); in sysv_signal()
|
/bionic/tests/ |
D | ScopedSignalHandler.h | 25 ScopedSignalHandler(int signal_number, void (*handler)(int), int sa_flags = 0) 29 action_.sa_handler = handler; in signal_number_()
|
D | signal_test.cpp | 390 struct sigaction handler; in TEST() local 391 memset(&handler, 0, sizeof(handler)); in TEST() 392 handler.sa_sigaction = [](int, siginfo_t* siginfo, void*) { received = *siginfo; }; in TEST() 393 handler.sa_flags = SA_SIGINFO; in TEST() 395 ASSERT_EQ(0, sigaction(SIGUSR1, &handler, nullptr)); in TEST()
|
D | semaphore_test.cpp | 194 ScopedSignalHandler handler(SIGUSR1, sem_wait_test_signal_handler); in TEST() local 217 ScopedSignalHandler handler(SIGUSR1, sem_wait_test_signal_handler); in TEST() local
|
D | pthread_test.cpp | 1461 ScopedSignalHandler handler(SIGUSR1, getstack_signal_handler, SA_ONSTACK); in TEST() local 1922 ScopedSignalHandler handler(SIGUSR1, SignalHandlerOnAltStack, SA_SIGINFO | SA_ONSTACK); in TEST() local
|
D | unistd_test.cpp | 219 ScopedSignalHandler handler(SIGALRM, PauseTestSignalHandler); in TEST() local
|
/bionic/libc/include/android/ |
D | legacy_signal_inlines.h | 42 sighandler_t bsd_signal(int signum, sighandler_t handler) __REMOVED_IN(21);
|