Home
last modified time | relevance | path

Searched refs:GRND_NONBLOCK (Results 1 - 25 of 46) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/getrandom/
H A Dgetrandom02.c15 static int modes[] = { 0, GRND_RANDOM, GRND_NONBLOCK,
16 GRND_RANDOM | GRND_NONBLOCK };
53 } while ((modes[n] & GRND_NONBLOCK) && TST_RET == -1 in verify_getrandom()
H A Dgetrandom01.c12 static int modes[] = {0, GRND_RANDOM, GRND_NONBLOCK,
13 GRND_RANDOM | GRND_NONBLOCK};
/third_party/ltp/include/lapi/
H A Dgetrandom.h18 * GRND_NONBLOCK Don't block and return EAGAIN instead
22 #ifndef GRND_NONBLOCK
23 # define GRND_NONBLOCK 0x0001 macro
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dgetrandom.c20 #define GRND_NONBLOCK 0x0001 macro
31 int32_t ret = getrandom(&tmp, sizeof(unsigned int), GRND_NONBLOCK); in getrandom_0100()
/third_party/eudev/src/shared/
H A Dmissing.h73 #ifndef GRND_NONBLOCK
74 #define GRND_NONBLOCK 0x0001 macro
H A Drandom-util.c49 r = getrandom(p, n, GRND_NONBLOCK); in dev_urandom()
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Drandom.h11 #define GRND_NONBLOCK 0x0001 macro
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Drandom.h11 #define GRND_NONBLOCK 0x0001 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Drandom.h11 #define GRND_NONBLOCK 0x0001 macro
/third_party/musl/include/sys/
H A Drandom.h11 #define GRND_NONBLOCK 0x0001 macro
/third_party/rust/crates/rustix/src/backend/linux_raw/rand/
H A Dtypes.rs10 /// `GRND_NONBLOCK`
11 const NONBLOCK = linux_raw_sys::general::GRND_NONBLOCK;
/third_party/rust/crates/rustix/src/backend/libc/rand/
H A Dtypes.rs14 /// `GRND_NONBLOCK`
15 const NONBLOCK = c::GRND_NONBLOCK;
/third_party/musl/libc-test/src/functionalext/supplement/linux/linux_gtest/
H A Dlinux_getrandom_test.cpp21 int32_t result = getrandom(&randomValue, sizeof(unsigned int), GRND_NONBLOCK); in HWTEST_F()
/third_party/musl/porting/linux/user/ldso/
H A Ddynlink_rand.c99 if (getrandom(&handle, sizeof handle, GRND_RANDOM | GRND_NONBLOCK) == -1) { in gen_handle()
216 if (getrandom(&index, sizeof index, GRND_RANDOM | GRND_NONBLOCK) == -1) { in shuffle_loadtasks()
/third_party/musl/ldso/linux/
H A Ddynlink_rand.c99 if (getrandom(&handle, sizeof handle, GRND_RANDOM | GRND_NONBLOCK) == -1) { in gen_handle()
221 if (getrandom(&index, sizeof index, GRND_NONBLOCK) == -1) { in shuffle_loadtasks()
/third_party/mesa3d/src/util/
H A Drand_xor.c72 ssize_t ret = getrandom(seed, seed_size, GRND_NONBLOCK); in s_rand_xorshift128plus()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
H A Drandom.c253 sizeof(dummy_key) - dummy_key_avail, GRND_NONBLOCK); in random_pool_ready()
457 if (getrandom(&dummy, 0, GRND_NONBLOCK) == 0 || in random_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
H A Drandom.c253 sizeof(stub_key) - stub_key_avail, GRND_NONBLOCK); in random_pool_ready()
457 if (getrandom(&stub, 0, GRND_NONBLOCK) == 0 || in random_init()
/third_party/rust/crates/libc/src/unix/newlib/horizon/
H A Dmod.rs175 pub const GRND_NONBLOCK: ::c_uint = 0x1; consts
/third_party/python/Python/
H A Dbootstrap_hash.c77 or if getrandom(GRND_NONBLOCK) failed with EAGAIN (system urandom not
100 flags = blocking ? 0 : GRND_NONBLOCK; in py_getrandom()
150 /* getrandom(GRND_NONBLOCK) fails with EAGAIN if the system urandom in py_getrandom()
/third_party/musl/porting/linux/user/src/gwp_asan/
H A Dgwp_asan.c155 if (getrandom(&random_value, sizeof(random_value), GRND_RANDOM | GRND_NONBLOCK) == -1) { in should_sample_process()
/third_party/musl/src/gwp_asan/linux/
H A Dgwp_asan.c155 if (getrandom(&random_value, sizeof(random_value), GRND_RANDOM | GRND_NONBLOCK) == -1) { in should_sample_process()
/third_party/python/Lib/test/
H A Dpythoninfo.py185 os.getrandom(1, os.GRND_NONBLOCK)
/third_party/skia/third_party/externals/expat/expat/lib/
H A Dxmlparse.c115 # if ! defined(GRND_NONBLOCK)
116 # define GRND_NONBLOCK 0x0001 macro
117 # endif /* defined(GRND_NONBLOCK) */
766 const unsigned int getrandomFlags = GRND_NONBLOCK; in writeRandomBytes_getrandom_nonblock()
/third_party/python/Modules/expat/
H A Dxmlparse.c110 # if ! defined(GRND_NONBLOCK)
111 # define GRND_NONBLOCK 0x0001 macro
112 # endif /* defined(GRND_NONBLOCK) */
749 const unsigned int getrandomFlags = GRND_NONBLOCK; in writeRandomBytes_getrandom_nonblock()

Completed in 29 milliseconds

12