Home
last modified time | relevance | path

Searched refs:GRND_NONBLOCK (Results 1 – 25 of 39) sorted by relevance

12

/external/strace/xlat/
Dgetrandom_flags.h6 #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),
Dgetrandom_flags.in1 GRND_NONBLOCK 1
/external/ltp/testcases/kernel/syscalls/getrandom/
Dgetrandom02.c13 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()
Dgetrandom01.c12 static int modes[] = {0, GRND_RANDOM, GRND_NONBLOCK,
13 GRND_RANDOM | GRND_NONBLOCK};
/external/ltp/include/lapi/
Dgetrandom.h35 #ifndef GRND_NONBLOCK
36 # define GRND_NONBLOCK 0x0001 macro
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rand/
Dgetrandom_fillin.h54 #if !defined(GRND_NONBLOCK)
55 #define GRND_NONBLOCK 1 macro
Durandom.c147 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()
Durandom_test.cc220 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/
Dgetrandom_fillin.h54 #if !defined(GRND_NONBLOCK)
55 #define GRND_NONBLOCK 1 macro
Durandom.c147 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()
Durandom_test.cc220 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/
Dosrandom_engine.h24 #ifndef GRND_NONBLOCK
25 #define GRND_NONBLOCK 0x0001 macro
/external/llvm-project/compiler-rt/lib/scudo/standalone/
Dlinux.cpp156 #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/
Dlinux.cpp195 #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/
Drandom.h54 #define GRND_NONBLOCK 0x0001 macro
/external/mesa3d/src/util/
Drand_xor.c72 ssize_t ret = getrandom(seed, seed_size, GRND_NONBLOCK); in s_rand_xorshift128plus()
/external/rust/crates/getrandom/src/
Dlinux_android.rs28 let res = unsafe { getrandom(core::ptr::null_mut(), 0, libc::GRND_NONBLOCK) }; in is_getrandom_available()
/external/wpa_supplicant_8/src/crypto/
Drandom.c249 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/
Dguid_creator.cc133 int read_bytes = getrandom(buf, sizeof(GUID), GRND_NONBLOCK);
/external/python/cpython3/Python/
Dbootstrap_hash.c125 flags = blocking ? 0 : GRND_NONBLOCK; in py_getrandom()
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd13/
Dmod.rs200 pub const GRND_NONBLOCK: ::c_uint = 0x1; constant
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd12/
Dmod.rs200 pub const GRND_NONBLOCK: ::c_uint = 0x1; constant
/external/python/cryptography/docs/hazmat/backends/
Dopenssl.rst109 | Linux >= 3.17 with working | ``getrandom(GRND_NONBLOCK)`` |
/external/python/cpython2/Lib/test/
Dpythoninfo.py246 os.getrandom(1, os.GRND_NONBLOCK)
/external/python/cpython3/Lib/test/
Dpythoninfo.py171 os.getrandom(1, os.GRND_NONBLOCK)

12