• Home
  • Raw
  • Download

Lines Matching refs:SIGALRM

139   ASSERT_EQ(SIGALRM, signal_number);  in raise_in_signal_handler_helper()
142 raise(SIGALRM); in raise_in_signal_handler_helper()
147 ScopedSignalHandler ssh(SIGALRM, raise_in_signal_handler_helper); in TEST()
148 raise(SIGALRM); in TEST()
152 ScopedSignalHandler ssh(SIGALRM, [](int sig) { ASSERT_EQ(SIGALRM, sig); }); in TEST()
156 sigaddset(&wait_set, SIGALRM); in TEST()
164 ASSERT_EQ(SIGALRM, received_signal); in TEST()
197 sigaddset(&just_SIGALRM, SIGALRM); in TEST()
200 ScopedSignalHandler ssh(SIGALRM, [](int) { ++g_sigsuspend_signal_handler_call_count; }); in TEST()
211 raise(SIGALRM); in TEST()
218 EXPECT_EQ((i == SIGALRM), sigismember(&pending, i)); in TEST()
224 sigdelset(&not_SIGALRM, SIGALRM); in TEST()
334 TestSigAction(sigaction, sigaddset, SIGALRM); in TEST()
615 ASSERT_EQ(SIGALRM, signum); in SigqueueSignalHandler()
616 ASSERT_EQ(SIGALRM, info->si_signo); in SigqueueSignalHandler()
623 ScopedSignalHandler ssh(SIGALRM, SigqueueSignalHandler, SA_SIGINFO); in TEST()
627 ASSERT_EQ(0, sigqueue(getpid(), SIGALRM, sigval)); in TEST()
633 ScopedSignalHandler ssh(SIGALRM, SigqueueSignalHandler, SA_SIGINFO); in TEST()
637 ASSERT_EQ(0, pthread_sigqueue(pthread_self(), SIGALRM, sigval)); in TEST()
643 ScopedSignalHandler ssh(SIGALRM, SigqueueSignalHandler, SA_SIGINFO); in TEST()
662 ASSERT_EQ(0, pthread_sigqueue(thread, SIGALRM, sigval)); in TEST()
674 sigaddset(&just_SIGALRM, SIGALRM); in TEST()
680 ASSERT_EQ(0, sigqueue(getpid(), SIGALRM, sigval)); in TEST()
685 ASSERT_EQ(SIGALRM, sigwaitinfo(&just_SIGALRM, &info)); in TEST()
687 ASSERT_EQ(SIGALRM, info.si_signo); in TEST()
720 sigaddset(&just_SIGALRM, SIGALRM); in TEST()
725 ASSERT_EQ(0, sigqueue(getpid(), SIGALRM, sigval)); in TEST()
731 ASSERT_EQ(SIGALRM, sigtimedwait(&just_SIGALRM, &info, &timeout)); in TEST()
766 sigaddset(&just_SIGALRM, SIGALRM); in TEST()
843 ScopedSignalHandler sigalrm{SIGALRM}; in TEST()
844 ASSERT_EQ(0, sigignore(SIGALRM)); in TEST()
847 ASSERT_EQ(0, sigaction(SIGALRM, nullptr, &sa)); in TEST()
903 TestSigholdSigpauseSigrelse(SIGALRM); in TEST()
939 ScopedSignalHandler ssh{SIGALRM, signal_handler}; in TEST()
943 raise(SIGALRM); in TEST()
949 sigaddset(&set, SIGALRM); in TEST()
953 ASSERT_EQ(SIG_HOLD, sigset(SIGALRM, signal_handler)); in TEST()
955 EXPECT_FALSE(sigismember(&set, SIGALRM)); in TEST()
957 ASSERT_EQ(signal_handler, sigset(SIGALRM, SIG_IGN)); in TEST()
959 EXPECT_FALSE(sigismember(&set, SIGALRM)); in TEST()
961 ASSERT_EQ(SIG_IGN, sigset(SIGALRM, SIG_DFL)); in TEST()
963 EXPECT_FALSE(sigismember(&set, SIGALRM)); in TEST()
965 ASSERT_EQ(SIG_DFL, sigset(SIGALRM, SIG_HOLD)); in TEST()
967 EXPECT_TRUE(sigismember(&set, SIGALRM)); in TEST()