Home
last modified time | relevance | path

Searched refs:ASSERT_PTR_EQ (Results 1 – 25 of 63) sorted by relevance

123

/libuv/test/
H A Dtest-idna.c36 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 Dtest-getters-setters.c70 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 Dtest-loop-handles.c111 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 Dtest-threadpool.c32 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 Dtest-shutdown-eof.c49 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 Dtest-tcp-close-reset.c106 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 Dtest-loop-close.c39 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 Dtest-fs-readdir.c51 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 Dtest-tcp-rst.c34 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 Dtest-idle.c42 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 Dtest-shutdown-simultaneous.c45 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 Dbenchmark-tcp-write-batch.c58 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 Dtest-walk-handles.c34 ASSERT_PTR_EQ(arg, (void*)magic_cookie); in walk_cb()
45 ASSERT_PTR_EQ(handle, &timer); in timer_cb()
H A Dtest-udp-dgram-too-big.c30 ASSERT_PTR_EQ((uv_udp_t*)(handle), &handle_)
33 ASSERT_PTR_EQ((req), &req_);
H A Dtest-loop-stop.c33 ASSERT_PTR_EQ(handle, &prepare_handle); in prepare_cb()
41 ASSERT_PTR_EQ(handle, &timer_handle); in timer_cb()
H A Dtest-tcp-connect-timeout.c41 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 Dtest-queue-foreach-delete.c74 ASSERT_PTR_EQ(handle, &(name)[2]); \
83 ASSERT_PTR_EQ(handle, &(name)[1]); \
88 ASSERT_PTR_EQ(handle, &(name)[0]); \
H A Dtest-async.c81 ASSERT_PTR_EQ(handle, &async); in async_cb()
97 ASSERT_PTR_EQ(handle, &prepare); in prepare_cb()
H A Dtest-shutdown-close.c40 ASSERT_PTR_EQ(req, &shutdown_req); in shutdown_cb()
54 ASSERT_PTR_EQ(req, &connect_req); in connect_cb()
H A Dtest-timer-again.c47 ASSERT_PTR_EQ(handle, &repeat_1); in repeat_1_cb()
70 ASSERT_PTR_EQ(handle, &repeat_2); in repeat_2_cb()
H A Dtest-tcp-close.c62 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 Dtest-tcp-unexpected-read.c63 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 Dtest-tcp-write-to-half-open-connection.c48 ASSERT_PTR_EQ(server, (uv_stream_t*)&tcp_server); in connection_cb()
91 ASSERT_PTR_EQ(req, &connect_req); in connect_cb()
H A Dtest-ipc-send-recv.c99 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 Dtest-tcp-writealot.c68 ASSERT_PTR_EQ(req, &shutdown_req); in shutdown_cb()
118 ASSERT_PTR_EQ(req, &connect_req); in connect_cb()

Completed in 52 milliseconds

123