Home
last modified time | relevance | path

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

123

/libuv/
H A DMakefile.am32 libuv_la_SOURCES = src/fs-poll.c \
34 src/idna.c \
36 src/inet.c \
38 src/random.c \
39 src/strscpy.c \
43 src/timer.c \
47 src/version.c \
48 src/strtok.c \
67 src/win/dl.c \
70 src/win/fs.c \
[all …]
H A DCMakeLists.txt170 src/fs-poll.c
171 src/idna.c
172 src/inet.c
173 src/random.c
174 src/strscpy.c
175 src/strtok.c
178 src/timer.c
181 src/version.c)
222 list(APPEND uv_test_sources src/win/snprintf.c test/runner-win.c)
290 list(APPEND uv_sources src/unix/bsd-ifaddrs.c src/unix/kqueue.c)
[all …]
/libuv/docs/src/
H A Derrors.rst22 .. c:macro:: UV_E2BIG
26 .. c:macro:: UV_EACCES
42 .. c:macro:: UV_EAGAIN
106 .. c:macro:: UV_EBADF
110 .. c:macro:: UV_EBUSY
138 .. c:macro:: UV_EEXIST
146 .. c:macro:: UV_EFBIG
154 .. c:macro:: UV_EINTR
162 .. c:macro:: UV_EIO
174 .. c:macro:: UV_ELOOP
[all …]
H A Dthreading.rst14 .. c:type:: uv_thread_t
18 .. c:type:: void (*uv_thread_cb)(void* arg)
23 .. c:type:: uv_key_t
27 .. c:type:: uv_once_t
31 .. c:type:: uv_mutex_t
35 .. c:type:: uv_rwlock_t
39 .. c:type:: uv_sem_t
43 .. c:type:: uv_cond_t
47 .. c:type:: uv_barrier_t
58 .. c:type:: uv_thread_options_t
[all …]
H A Drequest.rst4 :c:type:`uv_req_t` --- Base request
16 .. c:type:: uv_req_t
20 .. c:type:: uv_any_req
28 .. c:member:: void* uv_req_t.data
32 .. c:member:: uv_req_type uv_req_t.type
56 .. c:macro:: UV_REQ_TYPE_MAP(iter_macro)
64 .. c:function:: int uv_cancel(uv_req_t* req)
71 Only cancellation of :c:type:`uv_fs_t`, :c:type:`uv_getaddrinfo_t`,
72 :c:type:`uv_getnameinfo_t`, :c:type:`uv_random_t` and :c:type:`uv_work_t`
83 * A :c:type:`uv_work_t`, :c:type:`uv_getaddrinfo_t`,
[all …]
H A Dstream.rst4 :c:type:`uv_stream_t` --- Stream handle
9 in the form of :c:type:`uv_tcp_t`, :c:type:`uv_pipe_t` and :c:type:`uv_tty_t`.
15 .. c:type:: uv_stream_t
19 .. c:type:: uv_connect_t
23 .. c:type:: uv_shutdown_t
27 .. c:type:: uv_write_t
49 by calling :c:func:`uv_read_stop` or :c:func:`uv_close`. Trying to read
85 .. c:member:: uv_stream_t* uv_connect_t.handle
93 .. c:member:: uv_stream_t* uv_write_t.handle
131 per :c:type:`uv_connection_cb` call.
[all …]
H A Dfs.rst27 .. c:type:: uv_fs_t
31 .. c:type:: uv_timespec_t
43 .. c:type:: uv_stat_t
68 .. c:enum:: uv_fs_type
114 .. c:type:: uv_statfs_t
132 .. c:enum:: uv_dirent_t
155 .. c:type:: uv_dir_t
158 Used by :c:func:`uv_fs_opendir()`, :c:func:`uv_fs_readdir()`, and
194 as :c:func:`uv_fs_read` or :c:func:`uv_fs_write` it indicates the amount of
591 .. c:macro:: UV_FS_O_EXCL
[all …]
H A Dudp.rst4 :c:type:`uv_udp_t` --- UDP handle
13 .. c:type:: uv_udp_t
17 .. c:type:: uv_udp_send_t
21 .. c:type:: uv_udp_flags
23 Flags used in :c:func:`uv_udp_bind` and :c:type:`uv_udp_recv_cb`..
109 .. c:enum:: uv_membership
290 implicitly with :c:func:`uv_udp_send()` or :c:func:`uv_udp_recv_start`.
303 implicitly with :c:func:`uv_udp_send()` or :c:func:`uv_udp_recv_start`.
316 implicitly with :c:func:`uv_udp_send()` or :c:func:`uv_udp_recv_start`.
329 implicitly with :c:func:`uv_udp_send()` or :c:func:`uv_udp_recv_start`.
[all …]
H A Dprocess.rst4 :c:type:`uv_process_t` --- Process handle
14 .. c:type:: uv_process_t
18 .. c:type:: uv_process_options_t
43 .. c:type:: uv_process_flags
98 .. c:type:: uv_stdio_container_t
112 .. c:enum:: uv_stdio_flags
173 .. c:member:: int uv_process_t.pid
188 .. c:member:: char** uv_process_options_t.args
195 .. c:member:: char** uv_process_options_t.env
206 :c:type:`uv_process_flags`.
[all …]
H A Dhandle.rst4 :c:type:`uv_handle_t` --- Base handle
19 .. c:type:: uv_handle_t
23 .. c:enum:: uv_handle_type
51 .. c:type:: uv_any_handle
61 :c:type:`uv_read_cb` callback.
64 :c:type:`uv_udp_recv_cb` or the :c:type:`uv_read_cb` callback.
91 .. c:member:: uv_loop_t* uv_handle_t.loop
95 .. c:member:: uv_handle_type uv_handle_t.type
99 .. c:member:: void* uv_handle_t.data
107 .. c:macro:: UV_HANDLE_TYPE_MAP(iter_macro)
[all …]
H A Dprepare.rst4 :c:type:`uv_prepare_t` --- Prepare handle
14 .. c:type:: uv_prepare_t
18 .. c:type:: void (*uv_prepare_cb)(uv_prepare_t* handle)
20 Type definition for callback passed to :c:func:`uv_prepare_start`.
28 .. seealso:: The :c:type:`uv_handle_t` members also apply.
34 .. c:function:: int uv_prepare_init(uv_loop_t* loop, uv_prepare_t* prepare)
40 .. c:function:: int uv_prepare_start(uv_prepare_t* prepare, uv_prepare_cb cb)
47 .. c:function:: int uv_prepare_stop(uv_prepare_t* prepare)
54 .. seealso:: The :c:type:`uv_handle_t` API functions also apply.
H A Dcheck.rst4 :c:type:`uv_check_t` --- Check handle
14 .. c:type:: uv_check_t
18 .. c:type:: void (*uv_check_cb)(uv_check_t* handle)
20 Type definition for callback passed to :c:func:`uv_check_start`.
28 .. seealso:: The :c:type:`uv_handle_t` members also apply.
34 .. c:function:: int uv_check_init(uv_loop_t* loop, uv_check_t* check)
40 .. c:function:: int uv_check_start(uv_check_t* check, uv_check_cb cb)
47 .. c:function:: int uv_check_stop(uv_check_t* check)
54 .. seealso:: The :c:type:`uv_handle_t` API functions also apply.
H A Dasync.rst4 :c:type:`uv_async_t` --- Async handle
14 .. c:type:: uv_async_t
18 .. c:type:: void (*uv_async_cb)(uv_async_t* handle)
20 Type definition for callback passed to :c:func:`uv_async_init`.
28 .. seealso:: The :c:type:`uv_handle_t` members also apply.
34 .. c:function:: int uv_async_init(uv_loop_t* loop, uv_async_t* async, uv_async_cb async_cb)
43 .. c:function:: int uv_async_send(uv_async_t* async)
58 libuv will coalesce calls to :c:func:`uv_async_send`, that is, not every call to it will
59 yield an execution of the callback. For example: if :c:func:`uv_async_send` is called 5
61 :c:func:`uv_async_send` is called again after the callback was called, it will be called
[all …]
H A Didle.rst4 :c:type:`uv_idle_t` --- Idle handle
8 before the :c:type:`uv_prepare_t` handles.
22 .. c:type:: uv_idle_t
26 .. c:type:: void (*uv_idle_cb)(uv_idle_t* handle)
28 Type definition for callback passed to :c:func:`uv_idle_start`.
36 .. seealso:: The :c:type:`uv_handle_t` members also apply.
42 .. c:function:: int uv_idle_init(uv_loop_t* loop, uv_idle_t* idle)
48 .. c:function:: int uv_idle_start(uv_idle_t* idle, uv_idle_cb cb)
55 .. c:function:: int uv_idle_stop(uv_idle_t* idle)
62 .. seealso:: The :c:type:`uv_handle_t` API functions also apply.
H A Dmisc.rst14 .. c:type:: uv_buf_t
53 :c:func:`uv_random`.
55 .. c:type:: uv_file
59 .. c:type:: uv_os_sock_t
63 .. c:type:: uv_os_fd_t
68 .. c:type:: uv_pid_t
74 .. c:type:: uv_timeval_t
108 .. c:enum:: uv_clock_id
119 .. c:type:: uv_rusage_t
188 .. c:type:: uv_passwd_t
[all …]
H A Dtcp.rst4 :c:type:`uv_tcp_t` --- TCP handle
9 :c:type:`uv_tcp_t` is a 'subclass' of :c:type:`uv_stream_t`.
15 .. c:type:: uv_tcp_t
19 .. c:type:: uv_tcp_flags
21 Flags used in :c:func:`uv_tcp_bind`.
47 .. seealso:: The :c:type:`uv_stream_t` members also apply.
62 just like :c:func:`uv_tcp_init`.
109 error from :c:func:`uv_listen` or :c:func:`uv_tcp_connect` unless you specify
112 :c:func:`uv_tcp_connect` will succeed as well.
168 then calling :c:func:`uv_close`.
[all …]
H A Dtimer.rst4 :c:type:`uv_timer_t` --- Timer handle
13 .. c:type:: uv_timer_t
17 .. c:type:: void (*uv_timer_cb)(uv_timer_t* handle)
19 Type definition for callback passed to :c:func:`uv_timer_start`.
27 .. seealso:: The :c:type:`uv_handle_t` members also apply.
33 .. c:function:: int uv_timer_init(uv_loop_t* loop, uv_timer_t* handle)
50 .. c:function:: int uv_timer_stop(uv_timer_t* handle)
54 .. c:function:: int uv_timer_again(uv_timer_t* handle)
77 .. c:function:: uint64_t uv_timer_get_repeat(const uv_timer_t* handle)
84 :c:func:`uv_now()`.
[all …]
H A Dloop.rst4 :c:type:`uv_loop_t` --- Event loop
15 .. c:type:: uv_loop_t
19 .. c:enum:: uv_run_mode
21 Mode used to run the loop with :c:func:`uv_run`.
39 .. c:member:: void* uv_loop_t.data
48 .. c:function:: int uv_loop_init(uv_loop_t* loop)
78 .. c:function:: int uv_loop_close(uv_loop_t* loop)
85 .. c:function:: uv_loop_t* uv_default_loop(void)
124 .. c:function:: void uv_stop(uv_loop_t* loop)
131 .. c:function:: size_t uv_loop_size(void)
[all …]
H A Ddns.rst13 .. c:type:: uv_getaddrinfo_t
23 .. c:type:: uv_getnameinfo_t
37 .. c:member:: uv_loop_t* uv_getaddrinfo_t.loop
42 .. c:member:: struct addrinfo* uv_getaddrinfo_t.addrinfo
45 with :c:func:`uv_freeaddrinfo`.
49 .. c:member:: uv_loop_t* uv_getnameinfo_t.loop
54 .. c:member:: char[NI_MAXHOST] uv_getnameinfo_t.host
60 .. c:member:: char[NI_MAXSERV] uv_getnameinfo_t.service
66 .. seealso:: The :c:type:`uv_req_t` members also apply.
93 .. c:function:: void uv_freeaddrinfo(struct addrinfo* ai)
[all …]
H A Dmetrics.rst14 .. c:type:: uv_metrics_t
17 these metrics in a :c:type:`uv_prepare_cb` in order to make sure there are
34 .. c:member:: uint64_t uv_metrics_t.loop_count
38 .. c:member:: uint64_t uv_metrics_t.events
42 .. c:member:: uint64_t uv_metrics_t.events_waiting
51 .. c:function:: uint64_t uv_metrics_idle_time(uv_loop_t* loop)
57 provider starting from when the :c:type:`uv_loop_t` was configured to
62 time until calling :c:type:`uv_loop_configure` with
63 :c:type:`UV_METRICS_IDLE_TIME`.
67 .. c:function:: int uv_metrics_info(uv_loop_t* loop, uv_metrics_t* metrics)
H A Dversion.rst19 .. c:macro:: UV_VERSION_MAJOR
23 .. c:macro:: UV_VERSION_MINOR
27 .. c:macro:: UV_VERSION_PATCH
31 .. c:macro:: UV_VERSION_IS_RELEASE
36 .. c:macro:: UV_VERSION_SUFFIX
41 .. c:macro:: UV_VERSION_HEX
53 .. c:function:: unsigned int uv_version(void)
55 Returns :c:macro:`UV_VERSION_HEX`.
57 .. c:function:: const char* uv_version_string(void)
H A Dtty.rst4 :c:type:`uv_tty_t` --- TTY handle
9 :c:type:`uv_tty_t` is a 'subclass' of :c:type:`uv_stream_t`.
15 .. c:type:: uv_tty_t
19 .. c:enum:: uv_tty_mode_t
36 .. c:enum:: uv_tty_vtermstate_t
61 .. seealso:: The :c:type:`uv_stream_t` members also apply.
101 :c:type:`uv_tty_mode_t` value.
105 .. c:function:: int uv_tty_reset_mode(void)
112 :c:func:`uv_tty_set_mode`.
118 .. seealso:: The :c:type:`uv_stream_t` API functions also apply.
[all …]
/libuv/test/
H A Dtest-condvar.c75 worker_config* c = arg; in worker() local
76 c->signal_cond(c, &c->posted_1); in worker()
77 c->wait_cond(c, &c->posted_2); in worker()
87 uv_mutex_lock(&c->mutex); in condvar_signal()
93 if (c->use_broadcast) in condvar_signal()
96 uv_cond_signal(&c->cond); in condvar_signal()
98 uv_mutex_unlock(&c->mutex); in condvar_signal()
107 uv_mutex_lock(&c->mutex); in condvar_wait()
114 uv_cond_wait(&c->cond, &c->mutex); in condvar_wait()
171 uv_mutex_lock(&c->mutex); in condvar_timedwait()
[all …]
H A Dtest-semaphore.c37 worker_config* c = arg; in worker() local
39 if (c->delay) in worker()
40 uv_sleep(c->delay); in worker()
42 uv_mutex_lock(&c->mutex); in worker()
43 ASSERT_OK(c->posted); in worker()
44 uv_sem_post(&c->sem); in worker()
45 c->posted = 1; in worker()
46 uv_mutex_unlock(&c->mutex); in worker()
/libuv/src/
H A Didna.c75 unsigned c; in uv__utf8_decode1_slow() local
121 c &= 63; in uv__utf8_decode1_slow()
156 unsigned c; in uv__idna_toascii_label() local
183 if (c < 128) in uv__idna_toascii_label()
204 if (c > 127) in uv__idna_toascii_label()
235 if (c >= n) in uv__idna_toascii_label()
237 m = c; in uv__idna_toascii_label()
254 if (c < n) in uv__idna_toascii_label()
258 if (c != n) in uv__idna_toascii_label()
321 unsigned c; in uv__idna_toascii() local
[all …]

Completed in 81 milliseconds

123