/libuv/tools/ |
H A D | vswhere_usability_wrapper.cmd | 9 if "%~1"=="prerelease" set VSWHERE_WITH_PRERELEASE=1 10 set "InstallerPath=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer" 11 if not exist "%InstallerPath%" set "InstallerPath=%ProgramFiles%\Microsoft Visual Studio\Installer" 14 set "Path=%Path%;%InstallerPath%" 17 set VSWHERE_REQ=-requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 18 set VSWHERE_PRP=-property installationPath 19 set VSWHERE_LMT=-version "[15.0,16.0)" 21 if not errorlevel 1 if "%VSWHERE_WITH_PRERELEASE%"=="1" set "VSWHERE_LMT=%VSWHERE_LMT% -prerelease" 25 set "VCINSTALLDIR=%%i\VC\" 26 set "VS150COMNTOOLS=%%i\Common7\Tools\"
|
/libuv/cmake-toolchains/ |
H A D | cross-mingw32.cmake | 10 set(COMPILER_PREFIX "${HOST_ARCH}-w64-mingw32") 15 set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) 16 set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) 17 set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
/libuv/ |
H A D | CMakeLists.txt | 20 set(CMAKE_C_VISIBILITY_PRESET hidden) 21 set(CMAKE_C_STANDARD_REQUIRED ON) 22 set(CMAKE_C_EXTENSIONS ON) 23 set(CMAKE_C_STANDARD 90) 25 set(CMAKE_EXPORT_COMPILE_COMMANDS ON) 174 set(uv_sources 605 test/test-pipe-set-fchmod.c 761 set(prefix ${CMAKE_INSTALL_PREFIX}) 790 set(CMAKE_DEBUG_POSTFIX d) 800 set(LIB_SELECTED uv) [all …]
|
/libuv/docs/src/ |
H A D | poll.rst | 77 .. versionchanged:: 1.2.2 the file descriptor is set to non-blocking mode. 84 .. versionchanged:: 1.2.2 the socket is set to non-blocking mode. 90 as an event is detected the callback will be called with `status` set to 0, 91 and the detected events set on the `events` field. 113 Though `UV_DISCONNECT` can be set, it is unsupported on AIX and as such 114 will not be set on the `events` field in the callback. 117 If one of the events `UV_READABLE` or `UV_WRITABLE` are set, the 126 available data (when `UV_READABLE` is set). 128 writable afterwards (when `UV_WRITABLE` is set). 135 events set in the bitmask). This behaviour is known as level
|
H A D | udp.rst | 36 * Indicates if SO_REUSEADDR will be set when binding the handle. 43 * they all set the flag) but only the last one to bind will receive 67 * Indicates if SO_REUSEPORT will be set when binding the handle. 111 `nread` set to 0, `addr` set to NULL and the buffer pointing at the initially 113 flag set. If a UDP socket error occurs, `nread` will be < 0. In either scenario, 168 The remaining bits can be used to set one of these flags: 186 .. versionchanged:: 1.2.1 the file descriptor is set to non-blocking mode. 282 :param multicast_addr: Multicast address to set membership for. 297 :param multicast_addr: Multicast address to set membership for. 385 For connected UDP handles, `addr` must be set to `NULL`, otherwise it will [all …]
|
H A D | handle.rst | 196 If `*value` == 0, then it will set `*value` to the current send buffer size. 197 If `*value` > 0 then it will use `*value` to set the new send buffer size. 206 Linux will set double the size and return double the size of the original set value. 213 If `*value` == 0, then it will set `*value` to the current receive buffer size. 214 If `*value` > 0 then it will use `*value` to set the new receive buffer size. 223 Linux will set double the size and return double the size of the original set value.
|
H A D | pipe.rst | 28 set, not the listening pipe that uv_accept is called on. 41 passing the handles should have this flag set, not the listening pipe 48 .. versionchanged:: 1.2.1 the file descriptor is set to non-blocking mode. 119 of the buffer and it's set to the number of bytes written to the buffer on 132 of the buffer and it's set to the number of bytes written to the buffer on 180 Equivalent to :man:`pipe(2)` with the `O_CLOEXEC` flag set.
|
H A D | misc.rst | 128 uint64_t ru_maxrss; /* maximum resident set size */ 147 The maximum resident set size is reported in kilobytes, the unit most 349 Gets the resident set size (RSS) for the current process. 538 `GetEnvironmentVariableW()`. If `USERPROFILE` is not set, 574 :man:`getpwuid_r(3)`. On Windows, uid and gid are set to -1 and have no 586 :man:`getpwuid_r(3)`. On Windows, uid and gid are set to -1 and have no 740 `size` is set to the amount of storage required to hold the value. If no 774 `buffer`, `UV_ENOBUFS` is returned, and `size` is set to the amount of 874 are not used and can be set to `NULL`. 894 WTF-8. If `utf16` is NUL terminated, `utf16_len` can be set to -1, [all …]
|
H A D | threading.rst | 85 If `UV_THREAD_HAS_STACK_SIZE` is set, `stack_size` specifies a stack size for the new thread. 86 `0` indicates that the default value should be used, i.e. behaves as if the flag was not set. 139 privilege to set specific priorities on some platforms. 140 The priority can be set to the following constants. UV_THREAD_PRIORITY_HIGHEST,
|
H A D | process.rst | 45 Flags to be set on the flags field of :c:type:`uv_process_options_t`. 175 The PID of the spawned process. It's set after calling :c:func:`uv_spawn`. 224 the appropriate bits are set in the flags fields. 227 This is not supported on Windows, :c:func:`uv_spawn` will fail and set the error
|
H A D | metrics.rst | 69 Copy the current set of event loop metrics to the ``metrics`` pointer.
|
H A D | stream.rst | 40 reached EOF, `nread` will be set to ``UV_EOF``. When `nread` < 0, 42 `buf.len` and `buf.base` are both set to 0. 247 recommended to set the blocking mode immediately after opening or creating
|
H A D | fs_poll.rst | 66 is not big enough `UV_ENOBUFS` will be returned and `size` will be set to
|
/libuv/src/unix/ |
H A D | core.c | 682 if (set) in uv__nonblock_fcntl() 703 if (set) in uv__cloexec() 1906 cpu_set_t set; in uv_available_parallelism() local 1908 memset(&set, 0, sizeof(set)); in uv_available_parallelism() 1914 if (0 == sched_getaffinity(0, sizeof(set), &set)) in uv_available_parallelism() 1923 cpuset_t set; in uv_available_parallelism() local 1925 memset(&set, 0, sizeof(set)); in uv_available_parallelism() 1927 if (0 == cpuset_getaffinity(CPU_LEVEL_WHICH, CPU_WHICH_PID, -1, sizeof(set), &set)) in uv_available_parallelism() 1931 if (set != NULL) { in uv_available_parallelism() 1932 if (0 == sched_getaffinity_np(getpid(), sizeof(set), &set)) in uv_available_parallelism() [all …]
|
H A D | internal.h | 247 int uv__cloexec(int fd, int set); 248 int uv__nonblock_ioctl(int fd, int set); 249 int uv__nonblock_fcntl(int fd, int set);
|
H A D | posix-poll.c | 137 sigset_t set; in uv__io_poll() local 177 pset = &set; in uv__io_poll()
|
H A D | kqueue.c | 170 sigset_t set; in uv__io_poll() local 248 pset = &set; in uv__io_poll()
|
/libuv/docs/ |
H A D | make.bat | 6 set SPHINXBUILD=sphinx-build 8 set BUILDDIR=build 9 set SRCDIR=src 10 set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% %SRCDIR% 11 set I18NSPHINXOPTS=%SPHINXOPTS% %SRCDIR% 13 set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS% 14 set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS% 31 echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter 55 echo.installed, then set the SPHINXBUILD environment variable to point
|
/libuv/docs/code/ |
H A D | CMakeLists.txt | 5 set(CMAKE_EXPORT_COMPILE_COMMANDS ON) 9 set(SIMPLE_SAMPLES
|
/libuv/docs/src/guide/ |
H A D | processes.rst | 43 The ``uv_process_t`` struct only acts as the handle, all options are set via 44 ``uv_process_options_t``. To simply launch a process, you need to set only the 82 form ``VAR=VALUE`` used to set up the environment variables for the process. Set 171 A normal, newly spawned process has its own set of file descriptors, with 0, 185 The file descriptors of the child process are set using the ``stdio`` field in 186 ``uv_process_options_t``. First set the ``stdio_count`` field to the number of 187 file descriptors being set. ``uv_process_options_t.stdio`` is an array of 206 Then we set the ``fd`` to ``stderr``. 251 The ``stdout`` of the CGI script is set to the socket so that whatever our tick 265 the ``uv_stream_t* stream`` field must be set to point to an initialized, [all …]
|
H A D | eventloops.rst | 28 ``stop_flag`` is set by ``uv_stop()``. Now all libuv callbacks are invoked 33 would be set. This causes ``uv_backend_timeout()`` to return ``0``, which is
|
H A D | utilities.rst | 13 started. libuv timers can also be set to invoke at regular intervals instead of 53 and then starting it with both initial ``timeout`` and ``repeat`` set to the 138 to the worker thread. The solution is to use a ``struct`` and set 251 things are set in motion. This simply starts a libuv `timer <#timers>`_ which 286 in the interval. Then depending on what event triggered the callback, we set 372 standardised`_ command set. This formatting is often used by programs to 387 to be set to use ``uv_read_start()`` on the stream. 389 It is then best to use ``uv_tty_set_mode`` to set the mode to *normal* 396 state of the terminal. Just good manners. Another set of good manners is to be
|
H A D | introduction.rst | 4 This 'book' is a small set of tutorials about using libuv_ as 26 written in C or C++ with a set of (a)synchronous APIs that are exposed to
|
H A D | networking.rst | 58 When a connection is initiated by clients, the callback is required to set up 69 The remaining set of functions is very similar to the streams example and can 132 It is **necessary** to set the broadcast flag, otherwise you will get an
|
/libuv/test/ |
H A D | test-spawn.c | 1052 sigset_t set; in TEST_IMPL() local 1053 sigemptyset(&set); in TEST_IMPL() 1054 sigaddset(&set, SIGTERM); in TEST_IMPL() 1055 ASSERT_OK(pthread_sigmask(SIG_BLOCK, &set, NULL)); in TEST_IMPL() 1065 sigset_t set; in TEST_IMPL() local 1066 sigemptyset(&set); in TEST_IMPL() 1067 sigaddset(&set, SIGTERM); in TEST_IMPL() 1068 ASSERT_OK(pthread_sigmask(SIG_UNBLOCK, &set, NULL)); in TEST_IMPL()
|