Home
last modified time | relevance | path

Searched refs:uv_random (Results 1 – 8 of 8) sorted by relevance

/libuv/test/
H A Dtest-random.c57 ASSERT_EQ(UV_EINVAL, uv_random(loop, &req, scratch, sizeof(scratch), -1, in TEST_IMPL()
59 ASSERT_EQ(UV_E2BIG, uv_random(loop, &req, scratch, -1, -1, random_cb)); in TEST_IMPL()
61 ASSERT_OK(uv_random(loop, &req, scratch, 0, 0, random_cb)); in TEST_IMPL()
67 ASSERT_OK(uv_random(loop, &req, scratch, sizeof(scratch), 0, random_cb)); in TEST_IMPL()
82 ASSERT_EQ(UV_EINVAL, uv_random(NULL, NULL, buf, sizeof(buf), -1, NULL)); in TEST_IMPL()
83 ASSERT_EQ(UV_E2BIG, uv_random(NULL, NULL, buf, -1, -1, NULL)); in TEST_IMPL()
86 ASSERT_OK(uv_random(NULL, NULL, buf, sizeof(buf), 0, NULL)); in TEST_IMPL()
H A Dtest-metrics.c354 ASSERT_OK(uv_random(uv_default_loop(), in TEST_IMPL()
H A Dtest-threadpool-cancel.c275 ASSERT_OK(uv_random(loop, in TEST_IMPL()
/libuv/src/
H A Drandom.c94 int uv_random(uv_loop_t* loop, in uv_random() function
/libuv/docs/code/udp-dhcp/
H A Dmain.c56 if (uv_random(NULL, NULL, &buffer.base[4], 4, 0, NULL)) in make_discover_msg()
/libuv/docs/src/
H A Dmisc.rst51 Callback passed to :c:func:`uv_random`. `status` is non-zero in case of
53 :c:func:`uv_random`.
841 .. c:function:: int uv_random(uv_loop_t* loop, uv_random_t* req, void* buf, size_t buflen, unsigned…
/libuv/include/
H A Duv.h1781 UV_EXTERN int uv_random(uv_loop_t* loop,
/libuv/
H A DChangeLog1925 * unix,win: add uv_random() (Ben Noordhuis)

Completed in 23 milliseconds