Lines Matching refs:signal_handler_call_count
857 static int signal_handler_call_count = 0; in TestSigholdSigpauseSigrelse() local
858 ScopedSignalHandler ssh{sig, [](int) { signal_handler_call_count++; }}; in TestSigholdSigpauseSigrelse()
869 ASSERT_EQ(0, signal_handler_call_count); in TestSigholdSigpauseSigrelse()
873 ASSERT_EQ(1, signal_handler_call_count); in TestSigholdSigpauseSigrelse()
904 static int signal_handler_call_count = 0; in TEST() local
905 auto signal_handler = [](int) { signal_handler_call_count++; }; in TEST()
918 ASSERT_EQ(0, signal_handler_call_count); in TEST()
920 ASSERT_EQ(1, signal_handler_call_count); in TEST()
924 static int signal_handler_call_count = 0; in TEST() local
925 auto signal_handler = [](int) { signal_handler_call_count++; }; in TEST()
929 ASSERT_EQ(0, signal_handler_call_count); in TEST()
931 ASSERT_EQ(1, signal_handler_call_count); in TEST()