Home
last modified time | relevance | path

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

12

/third_party/ltp/testcases/kernel/syscalls/getrandom/
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()
Dgetrandom01.c12 static int modes[] = {0, GRND_RANDOM, GRND_NONBLOCK,
13 GRND_RANDOM | GRND_NONBLOCK};
/third_party/ltp/include/lapi/
Dgetrandom.h22 #ifndef GRND_NONBLOCK
23 # define GRND_NONBLOCK 0x0001 macro
/third_party/musl/libc-test/src/functionalext/supplement/linux/
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/
Dmissing.h73 #ifndef GRND_NONBLOCK
74 #define GRND_NONBLOCK 0x0001 macro
Drandom-util.c49 r = getrandom(p, n, GRND_NONBLOCK); in dev_urandom()
/third_party/musl/include/sys/
Drandom.h11 #define GRND_NONBLOCK 0x0001 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Drandom.h11 #define GRND_NONBLOCK 0x0001 macro
/third_party/musl/ndk_musl_include/sys/
Drandom.h11 #define GRND_NONBLOCK 0x0001 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
Drandom.h11 #define GRND_NONBLOCK 0x0001 macro
/third_party/musl/porting/uniproton/kernel/include/sys/
Drandom.h11 #define GRND_NONBLOCK 0x0001 macro
/third_party/musl/porting/linux/user/ldso/
Ddynlink_rand.c101 if (getrandom(&handle, sizeof handle, GRND_RANDOM | GRND_NONBLOCK) == -1) { in gen_handle()
218 if (getrandom(&index, sizeof index, GRND_RANDOM | GRND_NONBLOCK) == -1) { in shuffle_loadtasks()
/third_party/mesa3d/src/util/
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/
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/
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/python/Python/
Dbootstrap_hash.c125 flags = blocking ? 0 : GRND_NONBLOCK; in py_getrandom()
/third_party/python/Lib/test/
Dpythoninfo.py172 os.getrandom(1, os.GRND_NONBLOCK)
Dtest_os.py1825 os.getrandom(1, os.GRND_NONBLOCK)
/third_party/python/Misc/NEWS.d/
D3.6.0a2.rst304 ``GRND_NONBLOCK`` to fall back on reading ``/dev/urandom`` if the urandom
D3.5.2rc1.rst459 ``GRND_NONBLOCK`` to fall back on reading ``/dev/urandom`` if the urandom
/third_party/expat/lib/
Dxmlparse.c106 # if ! defined(GRND_NONBLOCK)
107 # define GRND_NONBLOCK 0x0001 macro
744 const unsigned int getrandomFlags = GRND_NONBLOCK; in writeRandomBytes_getrandom_nonblock()
/third_party/python/Modules/expat/
Dxmlparse.c106 # if ! defined(GRND_NONBLOCK)
107 # define GRND_NONBLOCK 0x0001 macro
745 const unsigned int getrandomFlags = GRND_NONBLOCK; in writeRandomBytes_getrandom_nonblock()
/third_party/skia/third_party/externals/expat/expat/lib/
Dxmlparse.c106 # if ! defined(GRND_NONBLOCK)
107 # define GRND_NONBLOCK 0x0001 macro
745 const unsigned int getrandomFlags = GRND_NONBLOCK; in writeRandomBytes_getrandom_nonblock()
/third_party/python/Doc/library/
Dos.rst4861 :py:data:`GRND_NONBLOCK`.
4882 random bytes in non-blocking mode (using the :data:`GRND_NONBLOCK` flag) or
4910 .. data:: GRND_NONBLOCK
4916 If the :py:data:`GRND_NONBLOCK` flag is set, then :func:`getrandom` does not
/third_party/python/Modules/
Dposixmodule.c15342 if (PyModule_AddIntMacro(m, GRND_NONBLOCK)) return -1; in all_ins()

12