/third_party/ltp/testcases/kernel/syscalls/getrandom/ |
H A D | getrandom02.c | 15 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 D | getrandom01.c | 12 static int modes[] = {0, GRND_RANDOM, GRND_NONBLOCK, 13 GRND_RANDOM | GRND_NONBLOCK};
|
/third_party/ltp/include/lapi/ |
H A D | getrandom.h | 18 * 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 D | getrandom.c | 20 #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 D | missing.h | 73 #ifndef GRND_NONBLOCK 74 #define GRND_NONBLOCK 0x0001 macro
|
H A D | random-util.c | 49 r = getrandom(p, n, GRND_NONBLOCK); in dev_urandom()
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | random.h | 11 #define GRND_NONBLOCK 0x0001 macro
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | random.h | 11 #define GRND_NONBLOCK 0x0001 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | random.h | 11 #define GRND_NONBLOCK 0x0001 macro
|
/third_party/musl/include/sys/ |
H A D | random.h | 11 #define GRND_NONBLOCK 0x0001 macro
|
/third_party/rust/crates/rustix/src/backend/linux_raw/rand/ |
H A D | types.rs | 10 /// `GRND_NONBLOCK` 11 const NONBLOCK = linux_raw_sys::general::GRND_NONBLOCK;
|
/third_party/rust/crates/rustix/src/backend/libc/rand/ |
H A D | types.rs | 14 /// `GRND_NONBLOCK` 15 const NONBLOCK = c::GRND_NONBLOCK;
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/linux_gtest/ |
H A D | linux_getrandom_test.cpp | 21 int32_t result = getrandom(&randomValue, sizeof(unsigned int), GRND_NONBLOCK); in HWTEST_F()
|
/third_party/musl/porting/linux/user/ldso/ |
H A D | dynlink_rand.c | 99 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 D | dynlink_rand.c | 99 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 D | rand_xor.c | 72 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 D | random.c | 253 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 D | random.c | 253 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 D | mod.rs | 175 pub const GRND_NONBLOCK: ::c_uint = 0x1; consts
|
/third_party/python/Python/ |
H A D | bootstrap_hash.c | 77 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 D | gwp_asan.c | 155 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 D | gwp_asan.c | 155 if (getrandom(&random_value, sizeof(random_value), GRND_RANDOM | GRND_NONBLOCK) == -1) {
in should_sample_process()
|
/third_party/python/Lib/test/ |
H A D | pythoninfo.py | 185 os.getrandom(1, os.GRND_NONBLOCK)
|
/third_party/skia/third_party/externals/expat/expat/lib/ |
H A D | xmlparse.c | 115 # 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 D | xmlparse.c | 110 # 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()
|