/external/strace/xlat/ |
D | getrandom_flags.h | 6 #if defined(GRND_NONBLOCK) || (defined(HAVE_DECL_GRND_NONBLOCK) && HAVE_DECL_GRND_NONBLOCK) 8 static_assert((GRND_NONBLOCK) == (1), "GRND_NONBLOCK != 1"); 11 # define GRND_NONBLOCK 1 31 XLAT(GRND_NONBLOCK),
|
D | getrandom_flags.in | 1 GRND_NONBLOCK 1
|
/external/ltp/testcases/kernel/syscalls/getrandom/ |
D | getrandom02.c | 13 static int modes[] = { 0, GRND_RANDOM, GRND_NONBLOCK, 14 GRND_RANDOM | GRND_NONBLOCK }; 45 } while ((modes[n] & GRND_NONBLOCK) && TST_RET == -1 in verify_getrandom()
|
D | getrandom01.c | 12 static int modes[] = {0, GRND_RANDOM, GRND_NONBLOCK, 13 GRND_RANDOM | GRND_NONBLOCK};
|
/external/ltp/include/lapi/ |
D | getrandom.h | 35 #ifndef GRND_NONBLOCK 36 # define GRND_NONBLOCK 0x0001 macro
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rand/ |
D | getrandom_fillin.h | 54 #if !defined(GRND_NONBLOCK) 55 #define GRND_NONBLOCK 1 macro
|
D | urandom.c | 147 boringssl_getrandom(&dummy, sizeof(dummy), GRND_NONBLOCK); in DEFINE_STATIC_ONCE() 228 boringssl_getrandom(&dummy, sizeof(dummy), GRND_NONBLOCK); in DEFINE_STATIC_ONCE() 297 getrandom_flags |= GRND_NONBLOCK; in fill_with_entropy()
|
D | urandom_test.cc | 220 if (regs.rdx & GRND_NONBLOCK) { in GetTrace() 353 ret.push_back(Event::GetRandom(1, GRND_NONBLOCK)); in TestFunctionPRNGModel() 403 ret.push_back(Event::GetRandom(1, GRND_NONBLOCK)); in TestFunctionPRNGModel() 411 ret.push_back(Event::GetRandom(len, block ? 0 : GRND_NONBLOCK)); in TestFunctionPRNGModel() 454 if ((event.flags & GRND_NONBLOCK) == 0) { in CheckInvariants()
|
/external/boringssl/src/crypto/fipsmodule/rand/ |
D | getrandom_fillin.h | 54 #if !defined(GRND_NONBLOCK) 55 #define GRND_NONBLOCK 1 macro
|
D | urandom.c | 147 boringssl_getrandom(&dummy, sizeof(dummy), GRND_NONBLOCK); in DEFINE_STATIC_ONCE() 228 boringssl_getrandom(&dummy, sizeof(dummy), GRND_NONBLOCK); in DEFINE_STATIC_ONCE() 297 getrandom_flags |= GRND_NONBLOCK; in fill_with_entropy()
|
D | urandom_test.cc | 220 if (regs.rdx & GRND_NONBLOCK) { in GetTrace() 353 ret.push_back(Event::GetRandom(1, GRND_NONBLOCK)); in TestFunctionPRNGModel() 403 ret.push_back(Event::GetRandom(1, GRND_NONBLOCK)); in TestFunctionPRNGModel() 411 ret.push_back(Event::GetRandom(len, block ? 0 : GRND_NONBLOCK)); in TestFunctionPRNGModel() 454 if ((event.flags & GRND_NONBLOCK) == 0) { in CheckInvariants()
|
/external/python/cryptography/src/_cffi_src/openssl/src/ |
D | osrandom_engine.h | 24 #ifndef GRND_NONBLOCK 25 #define GRND_NONBLOCK 0x0001 macro
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/ |
D | linux.cpp | 156 #if !defined(GRND_NONBLOCK) in getRandom() 157 #define GRND_NONBLOCK 1 in getRandom() macro 161 syscall(SYS_getrandom, Buffer, Length, Blocking ? 0 : GRND_NONBLOCK); in getRandom()
|
/external/scudo/standalone/ |
D | linux.cpp | 195 #if !defined(GRND_NONBLOCK) in getRandom() 196 #define GRND_NONBLOCK 1 in getRandom() macro 200 syscall(SYS_getrandom, Buffer, Length, Blocking ? 0 : GRND_NONBLOCK); in getRandom()
|
/external/kernel-headers/original/uapi/linux/ |
D | random.h | 54 #define GRND_NONBLOCK 0x0001 macro
|
/external/mesa3d/src/util/ |
D | rand_xor.c | 72 ssize_t ret = getrandom(seed, seed_size, GRND_NONBLOCK); in s_rand_xorshift128plus()
|
/external/rust/crates/getrandom/src/ |
D | linux_android.rs | 28 let res = unsafe { getrandom(core::ptr::null_mut(), 0, libc::GRND_NONBLOCK) }; in is_getrandom_available()
|
/external/wpa_supplicant_8/src/crypto/ |
D | random.c | 249 sizeof(dummy_key) - dummy_key_avail, GRND_NONBLOCK); in random_pool_ready() 452 if (getrandom(&dummy, 0, GRND_NONBLOCK) == 0 || in random_init()
|
/external/google-breakpad/src/common/linux/ |
D | guid_creator.cc | 133 int read_bytes = getrandom(buf, sizeof(GUID), GRND_NONBLOCK);
|
/external/python/cpython3/Python/ |
D | bootstrap_hash.c | 125 flags = blocking ? 0 : GRND_NONBLOCK; in py_getrandom()
|
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd13/ |
D | mod.rs | 200 pub const GRND_NONBLOCK: ::c_uint = 0x1; constant
|
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd12/ |
D | mod.rs | 200 pub const GRND_NONBLOCK: ::c_uint = 0x1; constant
|
/external/python/cryptography/docs/hazmat/backends/ |
D | openssl.rst | 109 | Linux >= 3.17 with working | ``getrandom(GRND_NONBLOCK)`` |
|
/external/python/cpython2/Lib/test/ |
D | pythoninfo.py | 246 os.getrandom(1, os.GRND_NONBLOCK)
|
/external/python/cpython3/Lib/test/ |
D | pythoninfo.py | 171 os.getrandom(1, os.GRND_NONBLOCK)
|