/libuv/test/ |
H A D | test-idna.c | 36 ASSERT_PTR_EQ(p, b + 1); in TEST_IMPL() 38 ASSERT_PTR_EQ(p, b + 2); in TEST_IMPL() 44 ASSERT_PTR_EQ(p, b + 2); in TEST_IMPL() 46 ASSERT_PTR_EQ(p, b + 4); in TEST_IMPL() 52 ASSERT_PTR_EQ(p, b + 3); in TEST_IMPL() 54 ASSERT_PTR_EQ(p, b + 6); in TEST_IMPL() 60 ASSERT_PTR_EQ(p, b + 4); in TEST_IMPL() 62 ASSERT_PTR_EQ(p, b + 8); in TEST_IMPL() 68 ASSERT_PTR_EQ(p, b + 4); in TEST_IMPL() 70 ASSERT_PTR_EQ(p, b + 8); in TEST_IMPL() [all …]
|
H A D | test-getters-setters.c | 70 ASSERT_PTR_EQ(loop->data, &cookie1); in TEST_IMPL() 71 ASSERT_PTR_EQ(uv_loop_get_data(loop), &cookie1); in TEST_IMPL() 78 ASSERT_PTR_EQ(uv_handle_get_loop((uv_handle_t*)pipe), loop); in TEST_IMPL() 80 ASSERT_PTR_EQ(uv_handle_get_data((uv_handle_t*)pipe), &cookie2); in TEST_IMPL() 82 ASSERT_PTR_EQ(uv_handle_get_data((uv_handle_t*)pipe), &cookie1); in TEST_IMPL() 83 ASSERT_PTR_EQ(pipe->data, &cookie1); in TEST_IMPL() 102 ASSERT_PTR_EQ(uv_fs_get_ptr(fs), uv_fs_get_statbuf(fs)); in TEST_IMPL()
|
H A D | test-loop-handles.c | 111 ASSERT_PTR_EQ(handle, &timer_handle); in timer_cb() 119 ASSERT_PTR_EQ(handle, (uv_handle_t*)&idle_2_handle); in idle_2_close_cb() 132 ASSERT_PTR_EQ(handle, &idle_2_handle); in idle_2_cb() 182 ASSERT_PTR_EQ(handle, (uv_handle_t*)&prepare_1_handle); in prepare_1_close_cb() 191 ASSERT_PTR_EQ(handle, (uv_handle_t*)&check_handle); in check_close_cb() 200 ASSERT_PTR_EQ(handle, (uv_handle_t*)&prepare_2_handle); in prepare_2_close_cb() 211 ASSERT_PTR_EQ(handle, &check_handle); in check_cb() 247 ASSERT_PTR_EQ(handle, &prepare_2_handle); in prepare_2_cb() 267 ASSERT_PTR_EQ(handle, &prepare_1_handle); in prepare_1_cb()
|
H A D | test-threadpool.c | 32 ASSERT_PTR_EQ(req, &work_req); in work_cb() 33 ASSERT_PTR_EQ(req->data, &data); in work_cb() 40 ASSERT_PTR_EQ(req, &work_req); in after_work_cb() 41 ASSERT_PTR_EQ(req->data, &data); in after_work_cb()
|
H A D | test-shutdown-eof.c | 49 ASSERT_PTR_EQ((uv_tcp_t*)t, &tcp); in read_cb() 75 ASSERT_PTR_EQ(req, &shutdown_req); in shutdown_cb() 89 ASSERT_PTR_EQ(req, &connect_req); in connect_cb() 115 ASSERT_PTR_EQ(handle, (uv_handle_t*) &tcp); in tcp_close_cb() 127 ASSERT_PTR_EQ(handle, (uv_handle_t*) &timer); in timer_close_cb() 133 ASSERT_PTR_EQ(handle, &timer); in timer_cb()
|
H A D | test-tcp-close-reset.c | 106 ASSERT_PTR_EQ((uv_tcp_t*)stream, &tcp_client); in read_cb2() 113 ASSERT_PTR_EQ(conn_req, &connect_req); in connect_cb() 124 ASSERT_PTR_EQ(req->handle, (uv_stream_t*)&tcp_client); in write_cb() 131 ASSERT_PTR_EQ(handle, (uv_handle_t*) &tcp_client); in close_cb() 133 ASSERT_PTR_EQ(handle, (uv_handle_t*) &tcp_accepted); in close_cb() 140 ASSERT_PTR_EQ(req->handle, (uv_stream_t*) &tcp_client); in shutdown_cb() 142 ASSERT_PTR_EQ(req->handle, (uv_stream_t*) &tcp_accepted); in shutdown_cb() 149 ASSERT_PTR_EQ((uv_tcp_t*)stream, &tcp_accepted); in read_cb()
|
H A D | test-loop-close.c | 39 ASSERT_PTR_EQ(loop.data, (void*) &loop); in TEST_IMPL() 52 ASSERT_PTR_EQ(loop.data, (void*) &loop); in TEST_IMPL() 54 ASSERT_PTR_EQ(loop.data, (void*) &loop); in TEST_IMPL()
|
H A D | test-fs-readdir.c | 51 ASSERT_PTR_EQ(req, &closedir_req); in empty_closedir_cb() 62 ASSERT_PTR_EQ(req, &readdir_req); in empty_readdir_cb() 78 ASSERT_PTR_EQ(req, &opendir_req); in empty_opendir_cb() 172 ASSERT_PTR_EQ(req, &opendir_req); in non_existing_opendir_cb() 224 ASSERT_PTR_EQ(req, &opendir_req); in file_opendir_cb() 277 ASSERT_PTR_EQ(req, &closedir_req); in non_empty_closedir_cb() 286 ASSERT_PTR_EQ(req, &readdir_req); in non_empty_readdir_cb() 299 ASSERT_PTR_EQ(dir->dirents, dirents); in non_empty_readdir_cb() 327 ASSERT_PTR_EQ(req, &opendir_req); in non_empty_opendir_cb() 468 ASSERT_PTR_EQ(req, &readdir_req); in readdir_symlink_readdir_cb() [all …]
|
H A D | test-tcp-rst.c | 34 ASSERT_PTR_EQ(handle, (uv_handle_t*) &tcp); in close_cb() 47 ASSERT_PTR_EQ((uv_tcp_t*) t, &tcp); in read_cb() 62 ASSERT_PTR_EQ(req, &connect_req); in connect_cb()
|
H A D | test-idle.c | 42 ASSERT_PTR_EQ(handle, &timer_handle); in timer_cb() 55 ASSERT_PTR_EQ(handle, &idle_handle); in idle_cb() 64 ASSERT_PTR_EQ(handle, &check_handle); in check_cb()
|
H A D | test-shutdown-simultaneous.c | 45 ASSERT_PTR_EQ(req, &shutdown_req); in shutdown_cb() 53 ASSERT_PTR_EQ((uv_tcp_t*)t, &tcp); in read_cb() 83 ASSERT_PTR_EQ(req, &connect_req); in connect_cb()
|
H A D | benchmark-tcp-write-batch.c | 58 ASSERT_PTR_EQ(req->handle, (uv_stream_t*)&tcp_client); in connect_cb() 81 ASSERT_PTR_EQ(req->handle, (uv_stream_t*)&tcp_client); in shutdown_cb() 92 ASSERT_PTR_EQ(handle, (uv_handle_t*)&tcp_client); in close_cb()
|
H A D | test-walk-handles.c | 34 ASSERT_PTR_EQ(arg, (void*)magic_cookie); in walk_cb() 45 ASSERT_PTR_EQ(handle, &timer); in timer_cb()
|
H A D | test-udp-dgram-too-big.c | 30 ASSERT_PTR_EQ((uv_udp_t*)(handle), &handle_) 33 ASSERT_PTR_EQ((req), &req_);
|
H A D | test-loop-stop.c | 33 ASSERT_PTR_EQ(handle, &prepare_handle); in prepare_cb() 41 ASSERT_PTR_EQ(handle, &timer_handle); in timer_cb()
|
H A D | test-tcp-connect-timeout.c | 41 ASSERT_PTR_EQ(req, &connect_req); in connect_cb() 48 ASSERT_PTR_EQ(handle, &timer); in timer_cb() 98 ASSERT_PTR_EQ(req, &connect_req); in connect_local_cb()
|
H A D | test-queue-foreach-delete.c | 74 ASSERT_PTR_EQ(handle, &(name)[2]); \ 83 ASSERT_PTR_EQ(handle, &(name)[1]); \ 88 ASSERT_PTR_EQ(handle, &(name)[0]); \
|
H A D | test-async.c | 81 ASSERT_PTR_EQ(handle, &async); in async_cb() 97 ASSERT_PTR_EQ(handle, &prepare); in prepare_cb()
|
H A D | test-shutdown-close.c | 40 ASSERT_PTR_EQ(req, &shutdown_req); in shutdown_cb() 54 ASSERT_PTR_EQ(req, &connect_req); in connect_cb()
|
H A D | test-timer-again.c | 47 ASSERT_PTR_EQ(handle, &repeat_1); in repeat_1_cb() 70 ASSERT_PTR_EQ(handle, &repeat_2); in repeat_2_cb()
|
H A D | test-tcp-close.c | 62 ASSERT_PTR_EQ(req->handle, (uv_stream_t*)&tcp_handle); in write_cb() 69 ASSERT_PTR_EQ(handle, (uv_handle_t*)&tcp_handle); in close_cb()
|
H A D | test-tcp-unexpected-read.c | 63 ASSERT_PTR_EQ(req->handle, (uv_stream_t*) &client_handle); in connect_cb() 69 ASSERT_PTR_EQ(req->handle, (uv_stream_t*) &peer_handle); in write_cb()
|
H A D | test-tcp-write-to-half-open-connection.c | 48 ASSERT_PTR_EQ(server, (uv_stream_t*)&tcp_server); in connection_cb() 91 ASSERT_PTR_EQ(req, &connect_req); in connect_cb()
|
H A D | test-ipc-send-recv.c | 99 ASSERT_PTR_EQ(pipe, &ctx.channel); in recv_cb() 146 ASSERT_PTR_EQ(req, &ctx.connect_req); in connect_cb() 320 ASSERT_PTR_EQ(pipe, &ctx2.channel); in read_cb() 368 ASSERT_PTR_EQ(handle, (uv_stream_t*)&ctx2.listen); in listen_cb()
|
H A D | test-tcp-writealot.c | 68 ASSERT_PTR_EQ(req, &shutdown_req); in shutdown_cb() 118 ASSERT_PTR_EQ(req, &connect_req); in connect_cb()
|