Home
last modified time | relevance | path

Searched refs:__NR_getrandom (Results 1 – 25 of 45) sorted by relevance

12

/external/strace/tests-mx32/
Dgetrandom.c31 #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/
Dgetrandom.c31 #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-m32/
Dgetrandom.c31 #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/minijail/
Dgen_syscalls-inl.h25 #ifndef __NR_getrandom
27 #define __NR_getrandom 318 macro
29 #define __NR_getrandom 355 macro
31 #define __NR_getrandom 278 macro
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rand/
Dgetrandom_fillin.h40 #if defined(__NR_getrandom)
42 #if __NR_getrandom != EXPECTED_NR_getrandom
48 #define __NR_getrandom EXPECTED_NR_getrandom macro
Durandom.c91 ret = syscall(__NR_getrandom, buf, buf_len, flags); in boringssl_getrandom()
/external/cronet/third_party/boringssl/src/crypto/fipsmodule/rand/
Dgetrandom_fillin.h40 #if defined(__NR_getrandom)
42 #if __NR_getrandom != EXPECTED_NR_getrandom
48 #define __NR_getrandom EXPECTED_NR_getrandom macro
Durandom.c88 ret = syscall(__NR_getrandom, buf, buf_len, flags); in boringssl_getrandom()
Durandom_test.cc476 case __NR_getrandom: in GetTrace()
783 (syscall(__NR_getrandom, scratch, sizeof(scratch), GRND_NONBLOCK) != -1 || in TEST()
/external/boringssl/src/crypto/fipsmodule/rand/
Dgetrandom_fillin.h40 #if defined(__NR_getrandom)
42 #if __NR_getrandom != EXPECTED_NR_getrandom
48 #define __NR_getrandom EXPECTED_NR_getrandom macro
Durandom.c88 ret = syscall(__NR_getrandom, buf, buf_len, flags); in boringssl_getrandom()
Durandom_test.cc476 case __NR_getrandom: in GetTrace()
783 (syscall(__NR_getrandom, scratch, sizeof(scratch), GRND_NONBLOCK) != -1 || in TEST()
/external/ltp/testcases/kernel/syscalls/getrandom/
Dgetrandom01.c17 TEST(tst_syscall(__NR_getrandom, NULL, 100, modes[n])); in verify_getrandom()
Dgetrandom03.c31 TEST(tst_syscall(__NR_getrandom, buf, sizes[n], 0)); in verify_getrandom()
Dgetrandom04.c24 TEST(tst_syscall(__NR_getrandom, buf, 100, 0)); in verify_getrandom()
Dgetrandom02.c52 TEST(tst_syscall(__NR_getrandom, buf, bufsize, modes[n])); in verify_getrandom()
/external/AFLplusplus/utils/libdislocator/
Dlibdislocator.so.c47 #ifdef __NR_getrandom
51 ssize_t rd = syscall(__NR_getrandom, p, l, 0); \
/external/linux-kselftest/tools/testing/selftests/bpf/benchs/
Dbench_bloom_filter_map.c152 err = syscall(__NR_getrandom, val, val_size, 0); in map_prepare_thread()
233 nr_rand_bytes = syscall(__NR_getrandom, ctx.skel->bss->rand_vals, in populate_maps()
/external/minijail/linux-x86/
Dlibsyscalls.gen.c960 #ifdef __NR_getrandom
961 { "getrandom", __NR_getrandom },
/external/cronet/base/
Drand_util_posix.cc109 HANDLE_EINTR(syscall(__NR_getrandom, output, output_length, 0)); in GetRandomSyscall()
/external/kernel-headers/original/uapi/asm-x86/asm/
Dunistd_64.h322 #define __NR_getrandom 318 macro
Dunistd_32.h355 #define __NR_getrandom 355 macro
/external/strace/
Dscno.h962 #ifndef __NR_getrandom
963 # define __NR_getrandom (SYSCALL_BIT | 318) macro
/external/cronet/third_party/lss/
Dlinux_syscall_support.h1141 #ifndef __NR_getrandom
1142 #define __NR_getrandom 355 macro
1251 #ifndef __NR_getrandom
1252 #define __NR_getrandom (__NR_SYSCALL_BASE + 384) macro
1353 #ifndef __NR_getrandom
1354 #define __NR_getrandom 278 macro
1449 #ifndef __NR_getrandom
1450 #define __NR_getrandom 318 macro
1553 #ifndef __NR_getrandom
1554 #define __NR_getrandom (__NR_Linux + 353) macro
[all …]
/external/musl/arch/aarch64/bits/
Dsyscall.h.in263 #define __NR_getrandom 278 macro

12