Home
last modified time | relevance | path

Searched refs:dummy (Results 1 – 8 of 8) sorted by relevance

/libuv/test/
H A Dtest-timer-again.c32 static uv_timer_t dummy, repeat_1, repeat_2; variable
102 r = uv_timer_init(uv_default_loop(), &dummy); in TEST_IMPL()
104 r = uv_timer_again(&dummy); in TEST_IMPL()
106 uv_unref((uv_handle_t*)&dummy); in TEST_IMPL()
H A Dtest-tty.c222 char dummy[1]; in TEST_IMPL() local
251 bufs[0].base = &dummy[0]; in TEST_IMPL()
268 char dummy[10000]; in TEST_IMPL() local
294 memset(dummy, '.', sizeof(dummy) - 1); in TEST_IMPL()
295 dummy[sizeof(dummy) - 1] = '\n'; in TEST_IMPL()
297 bufs[0] = uv_buf_init(dummy, sizeof(dummy)); in TEST_IMPL()
H A Dtest-async-null-cb.c32 static void thread_cb(void* dummy) { in thread_cb() argument
33 (void) &dummy; in thread_cb()
/libuv/src/win/
H A Dwinsock.c81 SOCKET dummy; in uv__winsock_init() local
105 dummy = socket(AF_INET, SOCK_STREAM, IPPROTO_IP); in uv__winsock_init()
106 if (dummy != INVALID_SOCKET) { in uv__winsock_init()
108 if (getsockopt(dummy, in uv__winsock_init()
116 closesocket(dummy); in uv__winsock_init()
121 dummy = socket(AF_INET6, SOCK_STREAM, IPPROTO_IP); in uv__winsock_init()
122 if (dummy != INVALID_SOCKET) { in uv__winsock_init()
124 if (getsockopt(dummy, in uv__winsock_init()
132 closesocket(dummy); in uv__winsock_init()
/libuv/src/unix/
H A Dtty.c85 int dummy; in uv__tty_is_slave() local
87 result = ioctl(fd, TIOCGPTN, &dummy) != 0; in uv__tty_is_slave()
89 char dummy[256]; in uv__tty_is_slave() local
91 result = ioctl(fd, TIOCPTYGNAME, &dummy) != 0; in uv__tty_is_slave()
H A Dlinux.c703 struct epoll_event dummy; in uv__platform_invalidate_fd() local
728 memset(&dummy, 0, sizeof(dummy)); in uv__platform_invalidate_fd()
729 epoll_ctl(loop->backend_fd, EPOLL_CTL_DEL, fd, &dummy); in uv__platform_invalidate_fd()
2546 uv__io_t* dummy, in uv__inotify_read() argument
H A Dos390.c589 struct epoll_event dummy; in uv__platform_invalidate_fd() local
606 epoll_ctl(loop->ep, EPOLL_CTL_DEL, fd, &dummy); in uv__platform_invalidate_fd()
/libuv/include/uv/
H A Dwin.h483 uv_write_t dummy; /* TODO: retained for ABI compat; remove this in v2.x. */ \
487 uint64_t dummy; /* TODO: retained for ABI compat; remove this in v2.x. */ \

Completed in 25 milliseconds