Home
last modified time | relevance | path

Searched refs:temp (Results 1 – 5 of 5) sorted by relevance

/libuv/test/
H A Dtest-uname.c35 char temp[256]; in TEST_IMPL() local
54 snprintf(temp, sizeof(temp), "%s.%s", buf.version, buf.release); in TEST_IMPL()
55 ASSERT_OK(strcmp(buffer.release, temp)); in TEST_IMPL()
/libuv/src/unix/
H A Dpipe.c503 uv_os_fd_t temp[2]; in uv_pipe() local
515 if (pipe2(temp, flags)) in uv_pipe()
519 fds[0] = temp[0]; in uv_pipe()
520 fds[1] = temp[1]; in uv_pipe()
524 if (pipe(temp)) in uv_pipe()
527 if ((err = uv__cloexec(temp[0], 1))) in uv_pipe()
530 if ((err = uv__cloexec(temp[1], 1))) in uv_pipe()
542 fds[0] = temp[0]; in uv_pipe()
543 fds[1] = temp[1]; in uv_pipe()
547 uv__close(temp[0]); in uv_pipe()
[all …]
H A Dtcp.c631 uv_os_sock_t temp[2]; in uv_socketpair() local
644 fds[0] = temp[0]; in uv_socketpair()
645 fds[1] = temp[1]; in uv_socketpair()
652 if ((err = uv__cloexec(temp[0], 1))) in uv_socketpair()
654 if ((err = uv__cloexec(temp[1], 1))) in uv_socketpair()
659 if ((err = uv__nonblock(temp[0], 1))) in uv_socketpair()
662 if ((err = uv__nonblock(temp[1], 1))) in uv_socketpair()
665 fds[0] = temp[0]; in uv_socketpair()
666 fds[1] = temp[1]; in uv_socketpair()
670 uv__close(temp[0]); in uv_socketpair()
[all …]
/libuv/src/win/
H A Dpipe.c350 uv_file temp[2]; in uv_pipe() local
368 temp[0] = _open_osfhandle((intptr_t) readh, 0); in uv_pipe()
369 if (temp[0] == -1) { in uv_pipe()
378 temp[1] = _open_osfhandle((intptr_t) writeh, 0); in uv_pipe()
379 if (temp[1] == -1) { in uv_pipe()
384 _close(temp[0]); in uv_pipe()
388 fds[0] = temp[0]; in uv_pipe()
389 fds[1] = temp[1]; in uv_pipe()
/libuv/docs/src/
H A Dmisc.rst554 Gets the temp directory. On Windows, `uv_os_tmpdir()` uses `GetTempPathW()`.
558 `"/data/local/tmp"` is used. The temp directory is stored in `buffer`. When

Completed in 24 milliseconds