Home
last modified time | relevance | path

Searched refs:once (Results 1 – 25 of 30) sorted by relevance

12

/libuv/test/
H A Dtest-timer.c117 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 Drandom-getentropy.c31 static uv_once_t once = UV_ONCE_INIT; variable
43 uv_once(&once, uv__random_getentropy_init); in uv__random_getentropy()
H A Drandom-getrandom.c37 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 Drandom-devurandom.c28 static uv_once_t once = UV_ONCE_INIT; variable
87 uv_once(&once, uv__random_devurandom_init); in uv__random_devurandom()
H A Dos390-syscalls.c32 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 Ddarwin.c35 static uv_once_t once = UV_ONCE_INIT; variable
61 uv_once(&once, uv__hrtime_init_once); in uv__hrtime()
/libuv/src/
H A Dthreadpool.c32 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 Ddns.rst19 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 Dprepare.rst7 Prepare handles will run the given callback once per loop iteration, right
H A Dcheck.rst7 Check handles will run the given callback once per loop iteration, right
H A Didle.rst7 Idle handles will run the given callback once per loop iteration, right
H A Dasync.rst60 times in a row before the callback is called, the callback will only be called once. If
H A Dstream.rst130 it more than once, it may fail. It is suggested to only call this function once
H A Dloop.rst126 - 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 Dthreading.rst190 Runs a function once and only once. Concurrent calls to :c:func:`uv_once` with the
H A Dmisc.rst284 .. 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 Ddesign.rst32 - A prepare handle gets its callback called once every loop iteration when active.
H A Dhandle.rst63 Each buffer is used only once and the user is responsible for freeing it in the
H A Dfs.rst594 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 Dthreads.rst153 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 Dutilities.rst14 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 Dnetworking.rst242 times, with each address being reported once.
H A Dbasics.rst212 Here is an example of using an idle handle. The callback is called once on
/libuv/src/win/
H A Dthread.c41 static BOOL WINAPI uv__once_inner(INIT_ONCE *once, void* param, void** context) { in uv__once_inner() argument
/libuv/
H A DCONTRIBUTING.md81 * Remember that source code usually gets written once and read often: ensure

Completed in 40 milliseconds

12