Searched refs:random_cb (Results 1 – 1 of 1) sorted by relevance
/libuv/test/ |
H A D | test-random.c | 31 static void random_cb(uv_random_t* req, int status, void* buf, size_t buflen) { in random_cb() function 58 random_cb)); 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()
|
Completed in 3 milliseconds