/external/strace/tests-m32/ |
D | getrandom.c | 31 #ifdef __NR_getrandom 41 if (syscall(__NR_getrandom, buf, sizeof(buf) - 1, 0) != sizeof(buf) - 1) in main() 46 if (syscall(__NR_getrandom, buf, sizeof(buf), 1) != sizeof(buf)) in main() 51 if (syscall(__NR_getrandom, buf, sizeof(buf), 0x3003) != -1) in main()
|
/external/strace/tests/ |
D | getrandom.c | 31 #ifdef __NR_getrandom 41 if (syscall(__NR_getrandom, buf, sizeof(buf) - 1, 0) != sizeof(buf) - 1) in main() 46 if (syscall(__NR_getrandom, buf, sizeof(buf), 1) != sizeof(buf)) in main() 51 if (syscall(__NR_getrandom, buf, sizeof(buf), 0x3003) != -1) in main()
|
/external/strace/tests-mx32/ |
D | getrandom.c | 31 #ifdef __NR_getrandom 41 if (syscall(__NR_getrandom, buf, sizeof(buf) - 1, 0) != sizeof(buf) - 1) in main() 46 if (syscall(__NR_getrandom, buf, sizeof(buf), 1) != sizeof(buf)) in main() 51 if (syscall(__NR_getrandom, buf, sizeof(buf), 0x3003) != -1) in main()
|
/external/boringssl/src/crypto/fipsmodule/rand/ |
D | urandom.c | 64 #if defined(__NR_getrandom) 66 #if __NR_getrandom != EXPECTED_NR_getrandom 72 #define __NR_getrandom EXPECTED_NR_getrandom macro 124 syscall(__NR_getrandom, &dummy, sizeof(dummy), GRND_NONBLOCK); in init_once() 137 syscall(__NR_getrandom, &dummy, sizeof(dummy), 0 /* no flags */); in init_once() 252 r = syscall(__NR_getrandom, out, len, 0 /* no flags */); in fill_with_entropy()
|
/external/ltp/testcases/kernel/syscalls/getrandom/ |
D | getrandom01.c | 38 TEST(tst_syscall(__NR_getrandom, NULL, 100, modes[n])); in verify_getrandom()
|
D | getrandom03.c | 55 TEST(tst_syscall(__NR_getrandom, buf, sizes[n], 0)); in verify_getrandom()
|
D | getrandom04.c | 48 TEST(tst_syscall(__NR_getrandom, buf, 100, 0)); in verify_getrandom()
|
D | getrandom02.c | 65 TEST(tst_syscall(__NR_getrandom, buf, sizeof(buf), modes[n])); in verify_getrandom()
|
/external/valgrind/include/vki/ |
D | vki-scnums-arm64-linux.h | 314 #define __NR_getrandom 278 macro
|
D | vki-scnums-s390x-linux.h | 317 #define __NR_getrandom 349 macro
|
D | vki-scnums-amd64-linux.h | 402 #define __NR_getrandom 318 macro
|
D | vki-scnums-ppc64-linux.h | 396 #define __NR_getrandom 359 macro
|
D | vki-scnums-arm-linux.h | 423 #define __NR_getrandom 384 macro
|
D | vki-scnums-ppc32-linux.h | 404 #define __NR_getrandom 359 macro
|
D | vki-scnums-x86-linux.h | 392 #define __NR_getrandom 355 macro
|
D | vki-scnums-solaris.h | 198 #define __NR_getrandom SYS_getrandom macro
|
D | vki-scnums-mips64-linux.h | 352 #define __NR_getrandom (__NR_Linux + 313) macro
|
D | vki-scnums-mips32-linux.h | 391 #define __NR_getrandom (__NR_Linux + 353) macro
|
/external/kernel-headers/original/uapi/asm-x86/asm/ |
D | unistd_64.h | 322 #define __NR_getrandom 318 macro
|
D | unistd_32.h | 355 #define __NR_getrandom 355 macro
|
D | unistd_x32.h | 278 #define __NR_getrandom (__X32_SYSCALL_BIT + 318) macro
|
/external/strace/ |
D | scno.h | 794 #ifndef __NR_getrandom 795 # define __NR_getrandom (SYSCALL_BIT | 278) macro
|
/external/kernel-headers/original/uapi/asm-mips/asm/ |
D | unistd.h | 377 #define __NR_getrandom (__NR_Linux + 353) macro 722 #define __NR_getrandom (__NR_Linux + 313) macro 1070 #define __NR_getrandom (__NR_Linux + 317) macro
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | unistd.h | 707 #define __NR_getrandom 278 macro 708 __SYSCALL(__NR_getrandom, sys_getrandom)
|
/external/kernel-headers/original/uapi/asm-arm/asm/ |
D | unistd-common.h | 343 #define __NR_getrandom (__NR_SYSCALL_BASE + 384) macro
|