Lines Matching refs:fn
46 template <typename Fn>
47 static void TestSigSet1(Fn fn) {
51 ASSERT_EQ(-1, fn(set_ptr));
57 ASSERT_EQ(0, fn(&set));
61 template <typename Fn>
62 static void TestSigSet2(Fn fn) {
66 ASSERT_EQ(-1, fn(set_ptr, SIGSEGV));
74 ASSERT_EQ(-1, fn(&set, 0));
79 ASSERT_EQ(-1, fn(&set, SIGNAL_MAX() + 1));
84 ASSERT_EQ(0, fn(&set, SIGNAL_MIN()));
86 ASSERT_EQ(0, fn(&set, SIGNAL_MAX()));