Searched refs:uv_random (Results 1 – 8 of 8) sorted by relevance
/libuv/test/ |
H A D | test-random.c | 57 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 D | test-metrics.c | 354 ASSERT_OK(uv_random(uv_default_loop(), in TEST_IMPL()
|
H A D | test-threadpool-cancel.c | 275 ASSERT_OK(uv_random(loop, in TEST_IMPL()
|
/libuv/src/ |
H A D | random.c | 94 int uv_random(uv_loop_t* loop, in uv_random() function
|
/libuv/docs/code/udp-dhcp/ |
H A D | main.c | 56 if (uv_random(NULL, NULL, &buffer.base[4], 4, 0, NULL)) in make_discover_msg()
|
/libuv/docs/src/ |
H A D | misc.rst | 51 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 D | uv.h | 1781 UV_EXTERN int uv_random(uv_loop_t* loop,
|
/libuv/ |
H A D | ChangeLog | 1925 * unix,win: add uv_random() (Ben Noordhuis)
|
Completed in 23 milliseconds