/libuv/test/ |
H A D | test-timer.c | 117 uv_timer_t *once; in TEST_IMPL() local 127 once = once_timers + i; in TEST_IMPL() 128 r = uv_timer_init(uv_default_loop(), once); in TEST_IMPL() 130 r = uv_timer_start(once, once_cb, i * 50, 0); in TEST_IMPL() 165 uv_timer_t once; in TEST_IMPL() local 168 r = uv_timer_init(uv_default_loop(), &once); in TEST_IMPL() 170 r = uv_timer_start(&once, never_cb, 86400 * 1000, 0); in TEST_IMPL() 172 r = uv_timer_start(&once, twice_cb, 10, 0); in TEST_IMPL()
|
/libuv/src/unix/ |
H A D | random-getentropy.c | 31 static uv_once_t once = UV_ONCE_INIT; variable 43 uv_once(&once, uv__random_getentropy_init); in uv__random_getentropy()
|
H A D | random-getrandom.c | 37 static uv_once_t once = UV_ONCE_INIT; variable 44 uv_once(&once, uv__random_getrandom_init_once); in uv__random_getrandom_init()
|
H A D | random-devurandom.c | 28 static uv_once_t once = UV_ONCE_INIT; variable 87 uv_once(&once, uv__random_devurandom_init); in uv__random_devurandom()
|
H A D | os390-syscalls.c | 32 static uv_once_t once = UV_ONCE_INIT; variable 185 memcpy(&once, &child_once, sizeof(child_once)); in child_fork() 226 uv_once(&once, epoll_init); in epoll_create1() 357 uv_once(&once, epoll_init); in epoll_file_close()
|
H A D | darwin.c | 35 static uv_once_t once = UV_ONCE_INIT; variable 61 uv_once(&once, uv__hrtime_init_once); in uv__hrtime()
|
/libuv/src/ |
H A D | threadpool.c | 32 static uv_once_t once = UV_ONCE_INIT; variable 247 memcpy(&once, &child_once, sizeof(child_once)); in reset_once() 270 uv_once(&once, init_once); in uv__work_submit() 284 uv_once(&once, init_once); /* Ensure |mutex| is initialized. */ in uv__work_cancel()
|
/libuv/docs/src/ |
H A D | dns.rst | 19 Callback which will be called with the getaddrinfo request result once 29 Callback which will be called with the getnameinfo request result once
|
H A D | prepare.rst | 7 Prepare handles will run the given callback once per loop iteration, right
|
H A D | check.rst | 7 Check handles will run the given callback once per loop iteration, right
|
H A D | idle.rst | 7 Idle handles will run the given callback once per loop iteration, right
|
H A D | async.rst | 60 times in a row before the callback is called, the callback will only be called once. If
|
H A D | stream.rst | 130 it more than once, it may fail. It is suggested to only call this function once
|
H A D | loop.rst | 126 - UV_RUN_ONCE: Poll for i/o once. Note that this function blocks if 130 - UV_RUN_NOWAIT: Poll for i/o once but don't block if there are no
|
H A D | threading.rst | 190 Runs a function once and only once. Concurrent calls to :c:func:`uv_once` with the
|
H A D | misc.rst | 284 .. warning:: Only call :c:func:`uv_library_shutdown()` once. 304 points to. This function should be called exactly once, at program start-up. 858 after reading from `/dev/random` once, or the `KERN_RANDOM` 861 or `/dev/urandom` after reading from `/dev/random` once. 864 if available, or `/dev/urandom` after reading from `/dev/random` once. 867 - Other UNIX: `/dev/urandom` after reading from `/dev/random` once.
|
H A D | design.rst | 32 - A prepare handle gets its callback called once every loop iteration when active.
|
H A D | handle.rst | 63 Each buffer is used only once and the user is responsible for freeing it in the
|
H A D | fs.rst | 594 The file is opened for synchronous I/O. Write operations will complete once 699 The file is opened for synchronous I/O. Write operations will complete once
|
/libuv/docs/src/guide/ |
H A D | threads.rst | 153 pointer, **only the first one will win, the function will be called once and 154 only once**:: 234 ``uv_work_t`` structure and once the function returns, the *after* function 318 multiple calls to ``uv_async_send`` and invoke your callback only once. The 320 least once* after the call to ``uv_async_send``. If you have no pending 323 *may* invoke your callback *only once* for the multiple invocations of
|
H A D | utilities.rst | 14 just once. 45 the old repeat interval will be used once more before the timer switches to 102 The callbacks of idle handles are invoked once per event loop. The idle
|
H A D | networking.rst | 242 times, with each address being reported once.
|
H A D | basics.rst | 212 Here is an example of using an idle handle. The callback is called once on
|
/libuv/src/win/ |
H A D | thread.c | 41 static BOOL WINAPI uv__once_inner(INIT_ONCE *once, void* param, void** context) { in uv__once_inner() argument
|
/libuv/ |
H A D | CONTRIBUTING.md | 81 * Remember that source code usually gets written once and read often: ensure
|