Home
last modified time | relevance | path

Searched refs:zero (Results 1 – 15 of 15) sorted by relevance

/libuv/test/
H A Dtest-random.c32 char zero[sizeof(scratch)]; in random_cb() local
34 memset(zero, 0, sizeof(zero)); in random_cb()
41 ASSERT_OK(memcmp(scratch, zero, sizeof(zero))); in random_cb()
45 ASSERT_NE(0, memcmp(scratch, zero, sizeof(zero))); in random_cb()
79 char zero[256]; in TEST_IMPL() local
89 memset(zero, 0, sizeof(zero)); in TEST_IMPL()
90 ASSERT_NE(0, memcmp(buf, zero, sizeof(zero))); in TEST_IMPL()
/libuv/docs/src/
H A Dhandle.rst117 Returns non-zero if the handle is active, zero if it's inactive. What
136 Returns non-zero if the handle is closing or closed, zero otherwise.
175 Returns non-zero if the handle referenced, zero otherwise.
199 On success, zero is returned. On error, a negative result is
216 On success, zero is returned. On error, a negative result is
H A Dloop.rst123 referenced handles or requests. Returns non-zero if :c:func:`uv_stop`
125 zero in all other cases.
127 there are no pending callbacks. Returns zero when done (no active handles
128 or requests left), or non-zero if more callbacks are expected (meaning
131 pending callbacks. Returns zero if done (no active handles
132 or requests left), or non-zero if more callbacks are expected (meaning
139 Returns non-zero if there are referenced active handles, active
H A Dtimer.rst41 If `timeout` is zero, the callback fires on the next event loop iteration.
42 If `repeat` is non-zero, the callback fires first after `timeout`
H A Didle.rst12 the loop will perform a zero timeout poll instead of blocking for i/o.
H A Derrors.rst363 Returns the error message for the given error code. The zero-terminated
375 Returns the error name for the given error code. The zero-terminated
H A Dpipe.rst71 ``flags`` must be zero or ``UV_PIPE_NO_TRUNCATE``. Returns ``UV_EINVAL``
101 ``flags`` must be zero or ``UV_PIPE_NO_TRUNCATE``. Returns ``UV_EINVAL``
H A Dmisc.rst51 Callback passed to :c:func:`uv_random`. `status` is non-zero in case of
318 returned. If `buffer` is `NULL` or `size` is zero, `UV_EINVAL` is returned.
378 use. Always returns a non-zero value.
467 On success, zero is returned, `buffer` contains the interface name, and
635 This function currently only returns a non-zero value on Linux, based
830 zero on success, and a non-zero error value otherwise.
848 available, a non-zero error value is returned or passed to the callback.
H A Dtcp.rst83 ignored when `enable` is zero.
168 setting the `SO_LINGER` socket option with a linger interval of zero and
H A Dthreading.rst137 If the function fails, the return value is less than zero.
145 If the function fails, the return value is less than zero.
H A Dstream.rst155 unnecessary. A non-zero return indicates that finishing releasing resources
H A Dfs.rst358 underlying operating system are set to zero.
717 successfully for write access, its length shall be truncated to zero.
/libuv/docs/src/guide/
H A Dnetworking.rst140 ``nread`` may be zero if there is no more data to be read. If ``addr`` is NULL,
205 If ``uv_getaddrinfo`` returns non-zero, something went wrong in the setup and
H A Dfilesystem.rst244 The allocation callback may return a buffer with length zero if it fails to
/libuv/
H A DChangeLog42 * unix,win: error on zero delay tcp keepalive (Saúl Ibarra Corretgé)
119 * test: handle zero-length udp datagram (Ben Noordhuis)
285 * fix: always zero-terminate idna output (Ben Noordhuis)
287 * fix: reject zero-length idna inputs (Ben Noordhuis)
1165 * linux-core: add proper divide by zero assert (yiyuaner)
1641 * ibmi: ensure that pipe backlog is not zero (Xu Meng)
1725 * ibmi: set the amount of memory in use to zero (Xu Meng)
2146 * test: test zero-sized uv_fs_sendfile() writes (Ben Noordhuis)
2334 * unix,stream: fix zero byte writes (Santiago Gimeno)
2349 * unix: zero epoll_event before use (Ashe Connor)
[all …]

Completed in 38 milliseconds