/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_archive_read_open2.c | 35 read_cb(struct archive *a, void *client, const void **buff) 83 test(1, open_cb, read_cb, NULL, NULL, in DEFINE_TEST() 85 test(1, open_cb, read_cb, skip_cb, NULL, in DEFINE_TEST() 87 test(1, open_cb, read_cb, skip_cb, close_cb, in DEFINE_TEST() 89 test(1, NULL, read_cb, skip_cb, close_cb, in DEFINE_TEST() 91 test(1, open_cb, read_cb, skip_cb, NULL, in DEFINE_TEST() 93 test(1, NULL, read_cb, skip_cb, NULL, in DEFINE_TEST() 95 test(1, NULL, read_cb, NULL, NULL, in DEFINE_TEST() 102 test(0, open_cb, read_cb, NULL, NULL, in DEFINE_TEST() 104 test(0, open_cb, read_cb, skip_c in DEFINE_TEST() 36 read_cb(struct archive *a, void *client, const void **buff) read_cb() function [all...] |
/freebsd/tests/sys/aio/ |
H A D | lio_test.c | 217 struct aiocb write_cb, read_cb, writev_cb, readv_cb; in ATF_TC_BODY() local 218 struct aiocb *list[] = {&write_cb, &read_cb, &writev_cb, &readv_cb}; in ATF_TC_BODY() 241 bzero(&read_cb, sizeof(read_cb)); in ATF_TC_BODY() 242 read_cb.aio_sigevent.sigev_notify = SIGEV_NONE; in ATF_TC_BODY() 243 read_cb.aio_fildes = fd; in ATF_TC_BODY() 244 read_cb.aio_lio_opcode = LIO_READ; in ATF_TC_BODY() 245 read_cb.aio_buf = &buffer[1]; in ATF_TC_BODY() 246 read_cb.aio_nbytes = 1; in ATF_TC_BODY() 247 read_cb.aio_offset = 1; in ATF_TC_BODY() 278 ATF_CHECK_EQ(0, aio_error(&read_cb)); in ATF_TC_BODY() [all …]
|
/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | regress_et.c | 63 read_cb(evutil_socket_t fd, short event, void *arg) in read_cb() function 106 ev = event_new(base, pair[1], EV_READ|EV_ET|EV_PERSIST, read_cb, &ev); in test_edgetriggered() 153 ev_et = event_new(base, data->pair[0], EV_READ|EV_ET, read_cb, ev_et); in test_edgetriggered_mix_error() 155 ev_lt = event_new(base, data->pair[0], EV_READ, read_cb, ev_lt); in test_edgetriggered_mix_error()
|
H A D | test-eof.c | 57 read_cb(evutil_socket_t fd, short event, void *arg) in read_cb() function 109 event_set(&ev, pair[1], EV_READ | EV_TIMEOUT, read_cb, &ev); in main()
|
H A D | bench_cascade.c | 67 read_cb(evutil_socket_t fd, short which, void *arg) in read_cb() function 111 event_set(&events[i], cp[0], EV_READ, read_cb, in run_once()
|
H A D | bench.c | 77 read_cb(evutil_socket_t fd, short which, void *arg) in read_cb() function 109 event_assign(&events[i], base, cp[0], EV_READ | EV_PERSIST, read_cb, (void *)(ev_intptr_t) i); in run_once()
|
/freebsd/contrib/libevent/test/ |
H A D | regress_et.c | 63 read_cb(evutil_socket_t fd, short event, void *arg) in read_cb() function 106 ev = event_new(base, pair[1], EV_READ|EV_ET|EV_PERSIST, read_cb, &ev); in test_edgetriggered() 153 ev_et = event_new(base, data->pair[0], EV_READ|EV_ET, read_cb, ev_et); in test_edgetriggered_mix_error() 155 ev_lt = event_new(base, data->pair[0], EV_READ, read_cb, ev_lt); in test_edgetriggered_mix_error()
|
H A D | test-eof.c | 57 read_cb(evutil_socket_t fd, short event, void *arg) in read_cb() function 109 event_set(&ev, pair[1], EV_READ | EV_TIMEOUT, read_cb, &ev); in main()
|
H A D | bench_cascade.c | 67 read_cb(evutil_socket_t fd, short which, void *arg) in read_cb() function 111 event_set(&events[i], cp[0], EV_READ, read_cb, in run_once()
|
H A D | bench.c | 77 read_cb(evutil_socket_t fd, short which, void *arg) in read_cb() function 109 event_assign(&events[i], base, cp[0], EV_READ | EV_PERSIST, read_cb, (void *)(ev_intptr_t) i); in run_once()
|
/freebsd/usr.sbin/bhyve/ |
H A D | libslirp.h | 354 int slirp_state_load(Slirp *s, int version_id, SlirpReadCb read_cb,
|