HomeSort by: relevance | last modified time | path
    Searched defs:read_cb (Results 1 - 25 of 40) sorted by relevancy

1 2

  /src/external/bsd/libarchive/dist/libarchive/test/
test_archive_read_open2.c 35 read_cb(struct archive *a, void *client, const void **buff) function
83 test(1, open_cb, read_cb, NULL, NULL,
85 test(1, open_cb, read_cb, skip_cb, NULL,
87 test(1, open_cb, read_cb, skip_cb, close_cb,
89 test(1, NULL, read_cb, skip_cb, close_cb,
91 test(1, open_cb, read_cb, skip_cb, NULL,
93 test(1, NULL, read_cb, skip_cb, NULL,
95 test(1, NULL, read_cb, NULL, NULL,
102 test(0, open_cb, read_cb, NULL, NULL,
104 test(0, open_cb, read_cb, skip_cb, NULL
    [all...]
  /src/external/mit/libuv/dist/test/
test-close-fd.c 36 static void read_cb(uv_stream_t* handle, ssize_t nread, const uv_buf_t* buf) { function
73 ASSERT_OK(uv_read_start((uv_stream_t *) &pipe_handle, alloc_cb, read_cb));
77 ASSERT_OK(uv_read_start((uv_stream_t *) &pipe_handle, alloc_cb, read_cb));
blackhole-server.c 37 static void read_cb(uv_stream_t* stream, ssize_t nread, const uv_buf_t* buf);
58 r = uv_read_start((uv_stream_t*)&conn->handle, alloc_cb, read_cb);
72 static void read_cb(uv_stream_t* stream, ssize_t nread, const uv_buf_t* buf) { function
test-osx-select.c 40 static void read_cb(uv_stream_t* stream, ssize_t nread, const uv_buf_t* buf) { function
67 uv_read_start((uv_stream_t*) &tty, alloc_cb, read_cb);
120 r = uv_read_start((uv_stream_t*) &tty, alloc_cb, read_cb);
test-tcp-rst.c 46 static void read_cb(uv_stream_t* t, ssize_t nread, const uv_buf_t* buf) { function
65 ASSERT_OK(uv_read_start((uv_stream_t*) &tcp, alloc_cb, read_cb));
test-not-readable-nor-writable-on-read-error.c 53 static void read_cb(uv_stream_t* handle, ssize_t nread, const uv_buf_t* buf) { function
70 r = uv_read_start((uv_stream_t*) &tcp_client, alloc_cb, read_cb);
test-readable-on-eof.c 53 static void read_cb(uv_stream_t* handle, ssize_t nread, const uv_buf_t* buf) { function
65 r = uv_read_start((uv_stream_t*) &tcp_client, alloc_cb, read_cb);
77 read_cb((uv_stream_t*) &tcp_client, UV_EOF, NULL);
test-shutdown-simultaneous.c 52 static void read_cb(uv_stream_t* t, ssize_t nread, const uv_buf_t* buf) { function
86 ASSERT_OK(uv_read_start((uv_stream_t*)&tcp, alloc_cb, read_cb));
89 ASSERT_EQ(UV_EALREADY, uv_read_start((uv_stream_t*)&tcp, alloc_cb, read_cb));
90 ASSERT_EQ(UV_EINVAL, uv_read_start(NULL, alloc_cb, read_cb));
91 ASSERT_EQ(UV_EINVAL, uv_read_start((uv_stream_t*)&tcp, NULL, read_cb));
test-tcp-oob.c 58 static void read_cb(uv_stream_t* handle, ssize_t nread, const uv_buf_t* buf) { function
89 ASSERT_OK(uv_read_start((uv_stream_t*) &peer_handle, alloc_cb, read_cb));
test-tcp-unexpected-read.c 57 static void read_cb(uv_stream_t* handle, ssize_t nread, const uv_buf_t* buf) { function
58 ASSERT(0 && "read_cb should not have been called");
81 ASSERT_OK(uv_read_start((uv_stream_t*) &peer_handle, alloc_cb, read_cb));
test-tcp-write-to-half-open-connection.c 32 static void read_cb(uv_stream_t* stream, ssize_t nread, const uv_buf_t* buf);
57 r = uv_read_start((uv_stream_t*)&tcp_peer, alloc_cb, read_cb);
77 static void read_cb(uv_stream_t* stream, ssize_t nread, const uv_buf_t* buf) { function
79 fprintf(stderr, "read_cb error: %s\n", uv_err_name(nread));
test-callback-stack.c 70 static void read_cb(uv_stream_t* tcp, ssize_t nread, const uv_buf_t* buf) { function
71 ASSERT(nested == 0 && "read_cb must be called from a fresh stack");
114 if (uv_read_start((uv_stream_t*)&client, alloc_cb, read_cb)) {
136 * for the backend to use dirty stack for calling read_cb. */
test-delayed-accept.c 118 static void read_cb(uv_stream_t* tcp, ssize_t nread, const uv_buf_t* buf) { function
143 r = uv_read_start((uv_stream_t*)(req->handle), alloc_cb, read_cb);
test-ipc-heavy-traffic-deadlock-bug.c 93 static void read_cb(uv_stream_t* handle, ssize_t nread, const uv_buf_t* buf) { function
123 r = uv_read_start(handle, alloc_cb, read_cb);
test-pipe-sendmsg.c 73 static void read_cb(uv_stream_t* handle, function
149 ASSERT_OK(uv_read_start((uv_stream_t*) &p, alloc_cb, read_cb));
test-shutdown-eof.c 48 static void read_cb(uv_stream_t* t, ssize_t nread, const uv_buf_t* buf) { function
92 ASSERT_OK(uv_read_start((uv_stream_t*)&tcp, alloc_cb, read_cb));
95 ASSERT_EQ(UV_EALREADY, uv_read_start((uv_stream_t*)&tcp, alloc_cb, read_cb));
96 ASSERT_EQ(UV_EINVAL, uv_read_start(NULL, alloc_cb, read_cb));
97 ASSERT_EQ(UV_EINVAL, uv_read_start((uv_stream_t*)&tcp, NULL, read_cb));
test-tcp-close-accept.c 87 static void read_cb(uv_stream_t* stream, ssize_t nread, const uv_buf_t* buf) { function
114 ASSERT_OK(uv_read_start((uv_stream_t*) &tcp_check, alloc_cb, read_cb));
138 ASSERT_OK(uv_read_start((uv_stream_t*) incoming, alloc_cb, read_cb));
test-tcp-shutdown-after-write.c 76 static void read_cb(uv_stream_t* handle, ssize_t nread, const uv_buf_t* buf) { function
86 r = uv_read_start((uv_stream_t*)&conn, alloc_cb, read_cb);
test-tcp-try-write.c 78 static void read_cb(uv_stream_t* tcp, ssize_t nread, const uv_buf_t* buf) { function
96 ASSERT_OK(uv_read_start((uv_stream_t*) &incoming, alloc_cb, read_cb));
  /src/external/bsd/libevent/dist/test/
test-eof.c 60 read_cb(evutil_socket_t fd, short event, void *arg) function
112 event_set(&ev, pair[1], EV_READ | EV_TIMEOUT, read_cb, &ev);
bench_cascade.c 70 read_cb(evutil_socket_t fd, short which, void *arg) function
114 event_set(&events[i], cp[0], EV_READ, read_cb,
regress_et.c 67 read_cb(evutil_socket_t fd, short event, void *arg) function
110 ev = event_new(base, xpair[1], EV_READ|EV_ET|EV_PERSIST, read_cb, &ev);
157 ev_et = event_new(base, data->pair[0], EV_READ|EV_ET, read_cb, ev_et);
159 ev_lt = event_new(base, data->pair[0], EV_READ, read_cb, ev_lt);
  /src/external/bsd/ntp/dist/sntp/libevent/test/
test-eof.c 59 read_cb(evutil_socket_t fd, short event, void *arg) function
111 event_set(&ev, pair[1], EV_READ | EV_TIMEOUT, read_cb, &ev);
bench_cascade.c 69 read_cb(evutil_socket_t fd, short which, void *arg) function
113 event_set(&events[i], cp[0], EV_READ, read_cb,
regress_et.c 65 read_cb(evutil_socket_t fd, short event, void *arg) function
108 ev = event_new(base, pair[1], EV_READ|EV_ET|EV_PERSIST, read_cb, &ev);
155 ev_et = event_new(base, data->pair[0], EV_READ|EV_ET, read_cb, ev_et);
157 ev_lt = event_new(base, data->pair[0], EV_READ, read_cb, ev_lt);

Completed in 38 milliseconds

1 2