Home
last modified time | relevance | path

Searched refs:random (Results 1 – 25 of 1255) sorted by relevance

12345678910>>...51

/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/signal/
H A Dsigfuz.c153 ucp->uc_mcontext.gp_regs[PT_MSR] = random(); in trap_signal_handler()
155 ucp->uc_mcontext.gp_regs[PT_NIP] = random(); in trap_signal_handler()
157 ucp->uc_link->uc_mcontext.gp_regs[PT_MSR] = random(); in trap_signal_handler()
159 ucp->uc_link->uc_mcontext.gp_regs[PT_NIP] = random(); in trap_signal_handler()
161 ucp->uc_mcontext.gp_regs[PT_TRAP] = random(); in trap_signal_handler()
162 ucp->uc_mcontext.gp_regs[PT_DSISR] = random(); in trap_signal_handler()
163 ucp->uc_mcontext.gp_regs[PT_DAR] = random(); in trap_signal_handler()
164 ucp->uc_mcontext.gp_regs[PT_ORIG_R3] = random(); in trap_signal_handler()
165 ucp->uc_mcontext.gp_regs[PT_XER] = random(); in trap_signal_handler()
166 ucp->uc_mcontext.gp_regs[PT_RESULT] = random(); in trap_signal_handler()
[all …]
/OK3568_Linux_fs/kernel/arch/x86/lib/
H A Dkaslr.c56 unsigned long raw, random = get_boot_seed(); in kaslr_get_random_long() local
65 random ^= raw; in kaslr_get_random_long()
74 random ^= raw; in kaslr_get_random_long()
80 random ^= i8254(); in kaslr_get_random_long()
85 : "=a" (random), "=d" (raw) in kaslr_get_random_long()
86 : "a" (random), "rm" (mix_const)); in kaslr_get_random_long()
87 random += raw; in kaslr_get_random_long()
91 return random; in kaslr_get_random_long()
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/stringloops/
H A Dmemcmp.c105 s1[j] = random(); in testcase()
107 rand_s1 += random() % MAX_OFFSET_DIFF_S1_S2; in testcase()
108 rand_s2 += random() % MAX_OFFSET_DIFF_S1_S2; in testcase()
112 change = random() % comp_size; in testcase()
113 rand_s2[change] = random() & 0xff; in testcase()
131 s1[j] = random(); in testcase()
133 rand_s1 += random() % MAX_OFFSET_DIFF_S1_S2; in testcase()
134 rand_s2 += random() % MAX_OFFSET_DIFF_S1_S2; in testcase()
139 change = random() % comp_size; in testcase()
140 s2[change] = random() & 0xff; in testcase()
/OK3568_Linux_fs/kernel/arch/s390/boot/
H A Dkaslr.c56 unsigned long seed, random; in get_random() local
65 cpacf_trng(NULL, 0, (u8 *) &random, sizeof(random)); in get_random()
70 cpacf_prno(CPACF_PRNO_SHA512_DRNG_GEN, &prno, (u8 *) &random, in get_random()
71 sizeof(random), NULL, 0); in get_random()
82 random = seed; in get_random()
83 cpacf_kmc(CPACF_KMC_PRNG, prng.parm_block, (u8 *) &random, in get_random()
84 (u8 *) &random, sizeof(random)); in get_random()
89 *value = random % limit; in get_random()
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/valgrind/valgrind/
H A Davoid-neon-for-targets-which-don-t-support-it.patch6 The sh-mem-random.c test app tries to use neon loads and stores to
15 memcheck/tests/sh-mem-random.c | 2 +-
18 diff --git a/memcheck/tests/sh-mem-random.c b/memcheck/tests/sh-mem-random.c
20 --- a/memcheck/tests/sh-mem-random.c
21 +++ b/memcheck/tests/sh-mem-random.c
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/unbound/unbound/
H A D0001-contrib-add-yocto-compatible-init-script.patch34 + if ! egrep -q '^/[^[:space:]]+[[:space:]]+'${rootdir}'/dev/random' /proc/mounts; then
38 + [ -e ${rootdir}/dev/random ] || touch ${rootdir}/dev/random
39 + mount --bind -n /dev/random ${rootdir}/dev/random >/dev/null 2>&1;
62 + if egrep -q '^/[^[:space:]]+[[:space:]]+'${rootdir}'/dev/random' /proc/mounts; then
63 + umount ${rootdir}/dev/random >/dev/null 2>&1
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bs4/
H A Ddiagnose.py14 import random
144 s += random.choice(t)
149 return " ".join(rword(random.randint(4,9)) for i in range(length))
156 choice = random.randint(0,3)
159 tag_name = random.choice(tag_names)
162 elements.append(rsentence(random.randint(1,4)))
165 tag_name = random.choice(tag_names)
/OK3568_Linux_fs/buildroot/utils/
H A Dtest-pkg15 local cfg dir pkg random toolchains_csv toolchain all number mode prepare_only
25 random=0
58 (-r|--random)
59 random="${2}"; shift 2
86 if [ ${random} -gt 0 ]; then
110 |if [ ${random} -gt 0 ]; then \
111 sort -R |head -n ${random}
231 in order, -r for random).
257 -r N, --random N
/OK3568_Linux_fs/u-boot/drivers/rng/
H A DKconfig5 Enable driver model for random number generator(rng) devices.
7 read the random seed from the device.
12 bool "Enable random number generator for rockchip crypto rng"
16 Enable random number generator for rockchip.This driver is
/OK3568_Linux_fs/external/rknn-toolkit2/examples/tensorflow/ssd_mobilenet_v1/
H A Dtest.py5 import random
205 (random.random()*255, random.random()*255, random.random()*255), 3)
/OK3568_Linux_fs/buildroot/package/poke/
H A D0004-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch10 In file included from ./sys/random.h:40,
12 /tmp/instance-0/output-1/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:27:35:…
15 /tmp/instance-0/output-1/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:8:1: n…
43 #include <sys/random.h>
55 #include <sys/random.h>
67 #include <sys/random.h>
/OK3568_Linux_fs/kernel/arch/powerpc/mm/nohash/
H A Dkaslr_booke.c288 unsigned long offset, random; in kaslr_choose_location() local
297 random = get_boot_seed(dt_ptr); in kaslr_choose_location()
301 random = rotate_xor(random, &seed, sizeof(seed)); in kaslr_choose_location()
308 random = rotate_xor(random, &seed, sizeof(seed)); in kaslr_choose_location()
340 index = random & 0xFF; in kaslr_choose_location()
344 offset = random % (SZ_64M - kernel_sz); in kaslr_choose_location()
/OK3568_Linux_fs/buildroot/package/perl-crypt-openssl-random/
H A DConfig.in2 bool "perl-crypt-openssl-random"
6 OpenSSL/LibreSSL pseudo-random number generator access.
10 comment "perl-crypt-openssl-random needs a toolchain w/ dynamic library"
/OK3568_Linux_fs/yocto/poky/meta/recipes-support/curl/
H A Dcurl_7.82.0.bb51 # Entropy source for random PACKAGECONFIG option
54 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} libidn openssl proxy random th…
55 PACKAGECONFIG:class-native = "ipv6 openssl proxy random threaded-resolver verbose zlib"
56 PACKAGECONFIG:class-nativesdk = "ipv6 openssl proxy random threaded-resolver verbose zlib"
79 PACKAGECONFIG[random] = "--with-random=${RANDOM},--without-random"
/OK3568_Linux_fs/debian/overlay-debug/rockchip-test/suspend_resume/
H A Dsuspend_resume.sh20 random() { function
40 sus_time=$(( ( $(random) % $SUSPEND_INTERVAL ) + $SUSPEND_MIN ))
45 wake_time=$(( ( $(random) % $WKAE_INTERVAL ) + $WAKE_MIN ))
/OK3568_Linux_fs/external/rockchip-test/suspend_resume/
H A Dsuspend_resume.sh20 random() { function
40 sus_time=$(( ( $(random) % $SUSPEND_INTERVAL ) + $SUSPEND_MIN ))
45 wake_time=$(( ( $(random) % $WKAE_INTERVAL ) + $WAKE_MIN ))
/OK3568_Linux_fs/buildroot/package/coreutils/
H A D0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch10 In file included from ./sys/random.h:40,
12 /home/fabrice/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:…
15 /home/fabrice/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:…
41 #include <sys/random.h>
/OK3568_Linux_fs/buildroot/package/tar/
H A D0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch10 In file included from ./sys/random.h:40,
12 …r-package/tar/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:27:35: error: un…
15 …r-package/tar/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:8:1: note: 'size…
41 #include <sys/random.h>
/OK3568_Linux_fs/buildroot/package/wget/
H A D0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch10 In file included from ./sys/random.h:40,
12 /home/fabrice/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:…
15 /home/fabrice/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:…
41 #include <sys/random.h>
/OK3568_Linux_fs/buildroot/package/nano/
H A D0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch10 In file included from ./sys/random.h:40,
12 /home/fabrice/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:…
15 /home/fabrice/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:…
41 #include <sys/random.h>
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/
H A Drandom1 // <random> -*- C++ -*-
25 /** @file include/random
49 #include <bits/random.h>
51 #include <bits/random.tcc>
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/
H A Drandom1 // <random> -*- C++ -*-
25 /** @file include/random
49 #include <bits/random.h>
51 #include <bits/random.tcc>
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/tr1/
H A Drandom1 // random number generation -*- C++ -*-
26 * @file tr1/random
47 #include <tr1/random.h>
48 #include <tr1/random.tcc>
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/tr1/
H A Drandom1 // random number generation -*- C++ -*-
26 * @file tr1/random
47 #include <tr1/random.h>
48 #include <tr1/random.tcc>
/OK3568_Linux_fs/yocto/poky/bitbake/contrib/
H A Dbbparse-torture.py9 import random
66 wait_time = random.random() * max_wait_time

12345678910>>...51