/third_party/ltp/testcases/kernel/syscalls/getrandom/ |
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()
|
D | getrandom01.c | 12 static int modes[] = {0, GRND_RANDOM, GRND_NONBLOCK, 13 GRND_RANDOM | GRND_NONBLOCK};
|
/third_party/ltp/include/lapi/ |
D | getrandom.h | 22 #ifndef GRND_NONBLOCK 23 # define GRND_NONBLOCK 0x0001 macro
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
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/ |
D | missing.h | 73 #ifndef GRND_NONBLOCK 74 #define GRND_NONBLOCK 0x0001 macro
|
D | random-util.c | 49 r = getrandom(p, n, GRND_NONBLOCK); in dev_urandom()
|
/third_party/musl/include/sys/ |
D | random.h | 11 #define GRND_NONBLOCK 0x0001 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
D | random.h | 11 #define GRND_NONBLOCK 0x0001 macro
|
/third_party/musl/ndk_musl_include/sys/ |
D | random.h | 11 #define GRND_NONBLOCK 0x0001 macro
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
D | random.h | 11 #define GRND_NONBLOCK 0x0001 macro
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
D | random.h | 11 #define GRND_NONBLOCK 0x0001 macro
|
/third_party/musl/porting/linux/user/ldso/ |
D | dynlink_rand.c | 101 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/ |
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/ |
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/ |
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/python/Python/ |
D | bootstrap_hash.c | 125 flags = blocking ? 0 : GRND_NONBLOCK; in py_getrandom()
|
/third_party/python/Lib/test/ |
D | pythoninfo.py | 172 os.getrandom(1, os.GRND_NONBLOCK)
|
D | test_os.py | 1825 os.getrandom(1, os.GRND_NONBLOCK)
|
/third_party/python/Misc/NEWS.d/ |
D | 3.6.0a2.rst | 304 ``GRND_NONBLOCK`` to fall back on reading ``/dev/urandom`` if the urandom
|
D | 3.5.2rc1.rst | 459 ``GRND_NONBLOCK`` to fall back on reading ``/dev/urandom`` if the urandom
|
/third_party/expat/lib/ |
D | xmlparse.c | 106 # 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/ |
D | xmlparse.c | 106 # 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/ |
D | xmlparse.c | 106 # 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/ |
D | os.rst | 4861 :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/ |
D | posixmodule.c | 15342 if (PyModule_AddIntMacro(m, GRND_NONBLOCK)) return -1; in all_ins()
|