Searched refs:pair1 (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | test-dumpevents.c | 72 evutil_socket_t pair1[2]; in main() local 96 if (evutil_make_internal_pipe_(pair1) < 0 || in main() 110 ev[0] = event_new(base, pair1[0], EV_WRITE, callback1, NULL); in main() 111 ev[1] = event_new(base, pair1[1], EV_READ|EV_PERSIST, callback1, NULL); in main() 152 printf(" %p [fd %ld] Write\n",ev[0],(long)pair1[0]); in main() 153 printf(" %p [fd %ld] Read Persist Timeout=T+1\n",ev[1],(long)pair1[1]); in main() 167 printf(" %p [fd %ld, priority=0] Read active\n", ev[1], (long)pair1[1]); in main()
|
H A D | regress.c | 394 evutil_socket_t pair1[2]={-1,-1}, pair2[2] = {-1, -1}; in test_simpleclose_rw() local 406 if (evutil_socketpair(LOCAL_SOCKETPAIR_AF, SOCK_STREAM, 0, pair1)<0) in test_simpleclose_rw() 410 if (evutil_make_socket_nonblocking(pair1[1]) < 0) in test_simpleclose_rw() 426 to_close[0] = &pair1[0]; in test_simpleclose_rw() 431 rev = event_new(base, pair1[1], EV_READ, record_event_cb, in test_simpleclose_rw() 433 TT_BLATHER(("Waiting for read on %d", (int)pair1[1])); in test_simpleclose_rw() 454 if (pair1[0] >= 0) in test_simpleclose_rw() 455 evutil_closesocket(pair1[0]); in test_simpleclose_rw() 456 if (pair1[1] >= 0) in test_simpleclose_rw() 457 evutil_closesocket(pair1[1]); in test_simpleclose_rw()
|
/freebsd/contrib/libevent/test/ |
H A D | test-dumpevents.c | 72 evutil_socket_t pair1[2]; in main() local 96 if (evutil_make_internal_pipe_(pair1) < 0 || in main() 110 ev[0] = event_new(base, pair1[0], EV_WRITE, callback1, NULL); in main() 111 ev[1] = event_new(base, pair1[1], EV_READ|EV_PERSIST, callback1, NULL); in main() 152 printf(" %p [fd %ld] Write\n",ev[0],(long)pair1[0]); in main() 153 printf(" %p [fd %ld] Read Persist Timeout=T+1\n",ev[1],(long)pair1[1]); in main() 167 printf(" %p [fd %ld, priority=0] Read active\n", ev[1], (long)pair1[1]); in main()
|
H A D | regress.c | 394 evutil_socket_t pair1[2]={-1,-1}, pair2[2] = {-1, -1}; in test_simpleclose_rw() local 406 if (evutil_socketpair(LOCAL_SOCKETPAIR_AF, SOCK_STREAM, 0, pair1)<0) in test_simpleclose_rw() 410 if (evutil_make_socket_nonblocking(pair1[1]) < 0) in test_simpleclose_rw() 426 to_close[0] = &pair1[0]; in test_simpleclose_rw() 431 rev = event_new(base, pair1[1], EV_READ, record_event_cb, in test_simpleclose_rw() 433 TT_BLATHER(("Waiting for read on %d", (int)pair1[1])); in test_simpleclose_rw() 454 if (pair1[0] >= 0) in test_simpleclose_rw() 455 evutil_closesocket(pair1[0]); in test_simpleclose_rw() 456 if (pair1[1] >= 0) in test_simpleclose_rw() 457 evutil_closesocket(pair1[1]); in test_simpleclose_rw()
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_qos_parser_y.y | 2802 uint64_t * pair1 = *((uint64_t **)p1); in __cmp_num_range() local 2805 if (pair1[0] < pair2[0]) in __cmp_num_range() 2807 if (pair1[0] > pair2[0]) in __cmp_num_range() 2810 if (pair1[1] < pair2[1]) in __cmp_num_range() 2812 if (pair1[1] > pair2[1]) in __cmp_num_range()
|