Home
last modified time | relevance | path

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

/libuv/test/
H A Dtest-tty-escape-sequence-processing.c86 int length; member
209 DWORD length; in capture_screen() local
219 tty_out->handle, cs->text, cs->si.length, origin, &length)); in capture_screen()
220 ASSERT_EQ((unsigned int) cs->si.length, length); in capture_screen()
223 ASSERT_EQ((unsigned int) cs->si.length, length); in capture_screen()
280 length = length > remain_length ? remain_length : length; in make_expect_screen_write()
292 length = length > remain_length ? remain_length : length; in make_expect_screen_set_attr()
293 while (length) { in make_expect_screen_set_attr()
296 length--; in make_expect_screen_set_attr()
310 if (actual->si.length != expect->si.length) { in compare_screen()
[all …]
/libuv/src/unix/
H A Dibmi.c155 static void iconv_e2a(unsigned char src[], unsigned char dst[], size_t length) { in iconv_e2a() argument
157 for (i = 0; i < length; i++) in iconv_e2a()
162 static void iconv_a2e(const char* src, unsigned char dst[], size_t length) { in iconv_a2e() argument
167 if (srclen > length) in iconv_a2e()
168 srclen = length; in iconv_a2e()
172 for (; i < length; i++) in iconv_a2e()
/libuv/docs/src/
H A Dfs_poll.rst65 On success, `buffer` will contain the path and `size` its length. If the buffer
69 .. versionchanged:: 1.3.0 the returned length no longer includes the terminating null byte,
72 .. versionchanged:: 1.9.0 the returned length includes the terminating null
H A Dmisc.rst457 Maximum IPv6 interface identifier name length. Defined as
465 `*size` indicates the length of the `buffer`, which is used to store the
468 `*size` represents the string length of the `buffer`, excluding the NUL
545 required length for `buffer`, including the null byte.
560 On success `size` is set to the string length of `buffer` (which does not
562 required length for `buffer`, including the null byte.
736 into `buffer`, and sets `size` to the string length of the value. When
771 `size` to the string length of the hostname. When calling this function,
902 `utf16_len` count (in characters) gives the length of `utf16`. If `utf16`
905 length (equal to `uv_utf16_length_as_wtf8`) will be stored in `wtf8_ptr`.
[all …]
H A Dfs_event.rst128 On success, `buffer` will contain the path and `size` its length. If the buffer
132 .. versionchanged:: 1.3.0 the returned length no longer includes the terminating null byte,
135 .. versionchanged:: 1.9.0 the returned length includes the terminating null
H A Dpipe.rst118 A preallocated buffer must be provided. The size parameter holds the length
123 .. versionchanged:: 1.3.0 the returned length no longer includes the terminating null byte,
131 A preallocated buffer must be provided. The size parameter holds the length
H A Dhandle.rst59 :c:type:`uv_buf_t` structure. If NULL is assigned as the buffer's base or 0 as its length,
H A Dfs.rst414 …* loop, uv_fs_t* req, uv_file out_fd, uv_file in_fd, int64_t in_offset, size_t length, uv_fs_cb cb)
717 successfully for write access, its length shall be truncated to zero.
/libuv/src/win/
H A Dfs.c2227 size_t length = req->fs.info.bufsml[0].len; in fs__sendfile() local
2230 size_t buf_size = length < max_buf_size ? length : max_buf_size; in fs__sendfile()
2245 while (length > 0) { in fs__sendfile()
2246 n = _read(fd_in, buf, length < buf_size ? length : buf_size); in fs__sendfile()
2254 length -= n; in fs__sendfile()
3455 uv_file fd_in, int64_t in_offset, size_t length, uv_fs_cb cb) { in uv_fs_sendfile() argument
3460 req->fs.info.bufsml[0].len = length; in uv_fs_sendfile()
H A Dutil.c346 int length; in uv_set_process_title() local
356 length = wcslen(title_w); in uv_set_process_title()
357 if (length >= MAX_TITLE_LENGTH) in uv_set_process_title()
H A Dtty.c1189 static int uv__tty_emit_text(uv_tty_t* handle, WCHAR buffer[], DWORD length, in uv__tty_emit_text() argument
1199 length, in uv__tty_emit_text()
/libuv/docs/src/guide/
H A Dfilesystem.rst148 … loop, uv_fs_t* req, uv_file out_fd, uv_file in_fd, int64_t in_offset, size_t length, uv_fs_cb cb);
189 a collection of a pointer to bytes (``uv_buf_t.base``) and the length
244 The allocation callback may return a buffer with length zero if it fails to
H A Dnetworking.rst56 arguments is the backlog queue -- the maximum length of queued connections.
/libuv/include/
H A Duv.h1569 size_t length,
/libuv/
H A DChangeLog168 * test: handle zero-length udp datagram (Ben Noordhuis)
336 * fix: reject zero-length idna inputs (Ben Noordhuis)
1128 * macos: fix the cfdata length in uv__get_cpu_speed (Jesper Storm Bache)
1844 * ibmi: fix the CMSG length issue (Xu Meng)
2703 * unix: disable clang variable length array warning (Peter Johnson)

Completed in 53 milliseconds