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.c488 uv_os_fd_t temp[2]; in uv_pipe() local
500 if (pipe2(temp, flags)) in uv_pipe()
504 fds[0] = temp[0]; in uv_pipe()
505 fds[1] = temp[1]; in uv_pipe()
509 if (pipe(temp)) in uv_pipe()
512 if ((err = uv__cloexec(temp[0], 1))) in uv_pipe()
515 if ((err = uv__cloexec(temp[1], 1))) in uv_pipe()
527 fds[0] = temp[0]; in uv_pipe()
528 fds[1] = temp[1]; in uv_pipe()
532 uv__close(temp[0]); in uv_pipe()
[all …]
H A Dtcp.c661 uv_os_sock_t temp[2]; in uv_socketpair() local
674 fds[0] = temp[0]; in uv_socketpair()
675 fds[1] = temp[1]; in uv_socketpair()
682 if ((err = uv__cloexec(temp[0], 1))) in uv_socketpair()
684 if ((err = uv__cloexec(temp[1], 1))) in uv_socketpair()
689 if ((err = uv__nonblock(temp[0], 1))) in uv_socketpair()
692 if ((err = uv__nonblock(temp[1], 1))) in uv_socketpair()
695 fds[0] = temp[0]; in uv_socketpair()
696 fds[1] = temp[1]; in uv_socketpair()
700 uv__close(temp[0]); in uv_socketpair()
[all …]
/libuv/src/win/
H A Dpipe.c350 uv_file temp[2]; in uv_pipe() local
363 temp[0] = _open_osfhandle((intptr_t) readh, 0); in uv_pipe()
364 if (temp[0] == -1) { in uv_pipe()
373 temp[1] = _open_osfhandle((intptr_t) writeh, 0); in uv_pipe()
374 if (temp[1] == -1) { in uv_pipe()
379 _close(temp[0]); in uv_pipe()
383 fds[0] = temp[0]; in uv_pipe()
384 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 29 milliseconds