Searched refs:listener2 (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | regress_listener.c | 75 struct evconnlistener *listener1 = NULL, *listener2 = NULL; in regress_pick_a_port() local 99 listener2 = evconnlistener_new_bind(base, acceptcb, &count2, in regress_pick_a_port() 101 tt_assert(listener2); in regress_pick_a_port() 104 tt_assert(evconnlistener_get_fd(listener2) != EVUTIL_INVALID_SOCKET); in regress_pick_a_port() 107 tt_assert(getsockname(evconnlistener_get_fd(listener2), in regress_pick_a_port() 119 tt_ptr_op(evconnlistener_get_base(listener2), ==, base); in regress_pick_a_port() 143 if (listener2) in regress_pick_a_port() 144 evconnlistener_free(listener2); in regress_pick_a_port()
|
/freebsd/contrib/libevent/test/ |
H A D | regress_listener.c | 75 struct evconnlistener *listener1 = NULL, *listener2 = NULL; in regress_pick_a_port() local 99 listener2 = evconnlistener_new_bind(base, acceptcb, &count2, in regress_pick_a_port() 101 tt_assert(listener2); in regress_pick_a_port() 104 tt_assert(evconnlistener_get_fd(listener2) != EVUTIL_INVALID_SOCKET); in regress_pick_a_port() 107 tt_assert(getsockname(evconnlistener_get_fd(listener2), in regress_pick_a_port() 119 tt_ptr_op(evconnlistener_get_base(listener2), ==, base); in regress_pick_a_port() 143 if (listener2) in regress_pick_a_port() 144 evconnlistener_free(listener2); in regress_pick_a_port()
|
/freebsd/contrib/googletest/googlemock/test/ |
H A D | gmock-matchers-comparisons_test.cc | 208 StringMatchResultListener listener2; in TEST_P() local 209 EXPECT_FALSE(m.MatchAndExplain(-9, &listener2)); in TEST_P() 210 EXPECT_EQ("which is 9 less than 0", listener2.str()); in TEST_P() 2115 StringMatchResultListener listener2; in TEST() local 2116 EXPECT_FALSE(ExplainMatchResult(Ge(42), 1.5, &listener2)); in TEST() 2117 EXPECT_EQ("", listener2.str()); in TEST() 2127 StringMatchResultListener listener2; in TEST() local 2128 EXPECT_FALSE(ExplainMatchResult(is_zero, 1.5, &listener2)); in TEST() 2129 EXPECT_EQ("", listener2.str()); in TEST()
|