| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/openbsd/ |
| unistd.d | 15 int getentropy(void*, size_t);
|
| /src/lib/libc/gen/ |
| getentropy.c | 1 /* $NetBSD: getentropy.c,v 1.3 2022/05/31 13:42:59 riastradh Exp $ */ 33 __RCSID("$NetBSD: getentropy.c,v 1.3 2022/05/31 13:42:59 riastradh Exp $"); 45 __weak_alias(getentropy,_getentropy) 51 getentropy(void *buf, size_t buflen)
|
| Makefile.inc | 18 getdevmajor.c getdomainname.c getentropy.c getgrent.c \ 67 getdomainname.3 getdiskbyname.3 getentropy.3 getfsent.3 \
|
| /src/external/bsd/unbound/dist/compat/ |
| getentropy_win.c | 19 * Emulation of getentropy(2) as documented at: 20 * http://man.openbsd.org/getentropy.2 30 int getentropy(void *buf, size_t len); 37 getentropy(void *buf, size_t len) function
|
| getentropy_freebsd.c | 19 * Emulation of getentropy(2) as documented at: 20 * http://man.openbsd.org/getentropy.2 55 getentropy(void *buf, size_t len) function
|
| getentropy_solaris.c | 72 int getentropy(void *buf, size_t len); 83 getentropy(void *buf, size_t len) function 312 HF(getentropy); /* an addr in this library */
|
| getentropy_linux.c | 19 * Emulation of getentropy(2) as documented at: 20 * http://man.openbsd.org/getentropy.2 88 int getentropy(void *buf, size_t len); 101 getentropy(void *buf, size_t len) function 389 HF(getentropy); /* an addr in this library */
|
| getentropy_osx.c | 19 * Emulation of getentropy(2) as documented at: 20 * http://man.openbsd.org/getentropy.2 83 int getentropy(void *buf, size_t len); 89 getentropy(void *buf, size_t len) function 289 HF(getentropy); /* an addr in this library */
|
| arc4random.c | 92 /* fallback for getentropy in case libc returns failure */ 186 if (getentropy(rnd, sizeof rnd) == -1) {
|
| /src/tests/lib/libc/gen/ |
| t_getentropy.c | 49 atf_tc_set_md_var(tc, "descr", "getentropy 0 bytes"); 56 if (getentropy(buf, 0) == -1) 57 atf_tc_fail("getentropy: %d (%s)", errno, strerror(errno)); 64 atf_tc_set_md_var(tc, "descr", "getentropy 32 bytes"); 71 if (getentropy(buf + 1, 32) == -1) 72 atf_tc_fail("getentropy: %d (%s)", errno, strerror(errno)); 81 atf_tc_set_md_var(tc, "descr", "getentropy 256 bytes"); 88 if (getentropy(buf + 1, 256) == -1) 89 atf_tc_fail("getentropy: %d (%s)", errno, strerror(errno)); 98 atf_tc_set_md_var(tc, "descr", "getentropy 257 bytes (beyond max)") [all...] |
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/ |
| random.cc | 185 if (::getentropy(&val, sizeof(val)) != 0) 186 std::__throw_runtime_error(__N("random_device: getentropy failed")); 247 device_file = 1, prng = 2, rand_s = 4, getentropy = 8, arc4random = 16, 296 return getentropy; 355 else if (token == "getentropy") 356 which = getentropy; 455 if (which & getentropy) 458 if (::getentropy(&i, sizeof(i)) == 0) // On linux the syscall can fail. 622 case getentropy:
|
| /src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/ |
| random.cc | 189 if (::getentropy(&val, sizeof(val)) != 0) 190 std::__throw_runtime_error(__N("random_device: getentropy failed")); 251 device_file = 1, prng = 2, rand_s = 4, getentropy = 8, arc4random = 16, 300 return getentropy; 359 else if (token == "getentropy") 360 which = getentropy; 471 if (which & getentropy) 474 if (::getentropy(&i, sizeof(i)) == 0) // On linux the syscall can fail. 643 case getentropy:
|
| /src/crypto/external/apache2/openssl/dist/providers/implementations/rands/seeding/ |
| rand_unix.c | 343 * Do runtime detection to find getentropy(). 351 * Note: Sometimes getentropy() can be provided but not implemented 356 extern int getentropy(void *buffer, size_t length) __attribute__((weak)); 358 if (getentropy != NULL) { 359 if (getentropy(buf, buflen) == 0) 381 p_getentropy.p = DSO_global_lookup("getentropy"); 398 if (getentropy(buf, buflen) == 0) 452 * readable. However, such kernels support the getentropy(2)
|
| /src/external/apache2/llvm/dist/libcxx/src/ |
| random.cpp | 61 int err = getentropy(&r, n); 63 __throw_system_error(errno, "random_device getentropy failed");
|
| /src/external/bsd/unbound/dist/util/ |
| random.c | 192 if(getentropy(buf, sizeof(buf)) != -1) { 198 "getentropy failed: %s", strerror(errno));
|
| /src/crypto/external/bsd/openssl/dist/providers/implementations/rands/seeding/ |
| rand_unix.c | 347 * Do runtime detection to find getentropy(). 356 * Note: Sometimes getentropy() can be provided but not implemented 361 extern int getentropy(void *buffer, size_t length) __attribute__((weak)); 363 if (getentropy != NULL) { 364 if (getentropy(buf, buflen) == 0) 386 p_getentropy.p = DSO_global_lookup("getentropy"); 452 * readable. However, such kernels support the getentropy(2)
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/rand/ |
| rand_unix.c | 360 * Do runtime detection to find getentropy(). 369 * Note: Sometimes getentropy() can be provided but not implemented 373 extern int getentropy(void *buffer, size_t length) __attribute__((weak)); 375 if (getentropy != NULL) { 376 if (getentropy(buf, buflen) == 0) 397 p_getentropy.p = DSO_global_lookup("getentropy"); 459 * readable. However, such kernels support the getentropy(2)
|
| /src/include/ |
| unistd.h | 328 int getentropy(void *, size_t);
|
| /src/external/gpl3/gdb/lib/libgnulib/arch/aarch64/gnulib/import/ |
| unistd.h | 124 /* Mac OS X 10.13, Solaris 11.4, and Android 9.0 declare getentropy in 1698 _GL_FUNCDECL_SYS (getentropy, int, (void *buffer, size_t length)); 1700 _GL_CXXALIAS_SYS (getentropy, int, (void *buffer, size_t length)); 1701 _GL_CXXALIASWARN (getentropy); 1703 # undef getentropy macro 1705 _GL_WARN_ON_USE (getentropy, "getentropy is unportable - " 1706 "use gnulib module getentropy for portability");
|
| /src/external/gpl3/gdb/lib/libgnulib/arch/aarch64eb/gnulib/import/ |
| unistd.h | 124 /* Mac OS X 10.13, Solaris 11.4, and Android 9.0 declare getentropy in 1698 _GL_FUNCDECL_SYS (getentropy, int, (void *buffer, size_t length)); 1700 _GL_CXXALIAS_SYS (getentropy, int, (void *buffer, size_t length)); 1701 _GL_CXXALIASWARN (getentropy); 1703 # undef getentropy macro 1705 _GL_WARN_ON_USE (getentropy, "getentropy is unportable - " 1706 "use gnulib module getentropy for portability");
|
| /src/external/gpl3/gdb/lib/libgnulib/arch/alpha/gnulib/import/ |
| unistd.h | 124 /* Mac OS X 10.13, Solaris 11.4, and Android 9.0 declare getentropy in 1698 _GL_FUNCDECL_SYS (getentropy, int, (void *buffer, size_t length)); 1700 _GL_CXXALIAS_SYS (getentropy, int, (void *buffer, size_t length)); 1701 _GL_CXXALIASWARN (getentropy); 1703 # undef getentropy macro 1705 _GL_WARN_ON_USE (getentropy, "getentropy is unportable - " 1706 "use gnulib module getentropy for portability");
|
| /src/external/gpl3/gdb/lib/libgnulib/arch/arm/gnulib/import/ |
| unistd.h | 124 /* Mac OS X 10.13, Solaris 11.4, and Android 9.0 declare getentropy in 1698 _GL_FUNCDECL_SYS (getentropy, int, (void *buffer, size_t length)); 1700 _GL_CXXALIAS_SYS (getentropy, int, (void *buffer, size_t length)); 1701 _GL_CXXALIASWARN (getentropy); 1703 # undef getentropy macro 1705 _GL_WARN_ON_USE (getentropy, "getentropy is unportable - " 1706 "use gnulib module getentropy for portability");
|
| /src/external/gpl3/gdb/lib/libgnulib/arch/armeb/gnulib/import/ |
| unistd.h | 124 /* Mac OS X 10.13, Solaris 11.4, and Android 9.0 declare getentropy in 1698 _GL_FUNCDECL_SYS (getentropy, int, (void *buffer, size_t length)); 1700 _GL_CXXALIAS_SYS (getentropy, int, (void *buffer, size_t length)); 1701 _GL_CXXALIASWARN (getentropy); 1703 # undef getentropy macro 1705 _GL_WARN_ON_USE (getentropy, "getentropy is unportable - " 1706 "use gnulib module getentropy for portability");
|
| /src/external/gpl3/gdb/lib/libgnulib/arch/hppa/gnulib/import/ |
| unistd.h | 124 /* Mac OS X 10.13, Solaris 11.4, and Android 9.0 declare getentropy in 1698 _GL_FUNCDECL_SYS (getentropy, int, (void *buffer, size_t length)); 1700 _GL_CXXALIAS_SYS (getentropy, int, (void *buffer, size_t length)); 1701 _GL_CXXALIASWARN (getentropy); 1703 # undef getentropy macro 1705 _GL_WARN_ON_USE (getentropy, "getentropy is unportable - " 1706 "use gnulib module getentropy for portability");
|
| /src/external/gpl3/gdb/lib/libgnulib/arch/i386/gnulib/import/ |
| unistd.h | 124 /* Mac OS X 10.13, Solaris 11.4, and Android 9.0 declare getentropy in 1698 _GL_FUNCDECL_SYS (getentropy, int, (void *buffer, size_t length)); 1700 _GL_CXXALIAS_SYS (getentropy, int, (void *buffer, size_t length)); 1701 _GL_CXXALIASWARN (getentropy); 1703 # undef getentropy macro 1705 _GL_WARN_ON_USE (getentropy, "getentropy is unportable - " 1706 "use gnulib module getentropy for portability");
|