/kernel/linux/linux-6.6/scripts/kconfig/ |
H A D | conf.c | 142 def = rand() % cnt; in randomize_choice_values() 248 cnt = rand() % 100; in conf_set_all_new_symbols()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | scftorture.c | 450 DEFINE_TORTURE_RANDOM(rand); in scftorture_invoker() 481 scftorture_invoke_one(scfp, &rand); in scftorture_invoker()
|
/third_party/NuttX/fs/nfs/ |
H A D | rpc_clnt.c | 420 rpcclnt_xid = rand(); in rpcclnt_newxid() 428 xidp = rand(); in rpcclnt_newxid()
|
/third_party/skia/samplecode/ |
H A D | SamplePatch.cpp | 351 SkRandom rand; in make_verts() local 353 builder.colors()[i] = rand.nextU() | 0xFF000000; in make_verts()
|
/third_party/toybox/toys/pending/ |
H A D | dhcp6.c | 232 iana.iaid = rand(); in fill_iaid() 260 int i, r = rand() % 0xffffff; in generate_transection_id()
|
/third_party/openssl/test/ |
H A D | evp_test.c | 2425 EVP_RAND *rand; in rand_test_init() local 2433 rand = EVP_RAND_fetch(libctx, "TEST-RAND", "-fips"); in rand_test_init() 2434 if (rand == NULL) in rand_test_init() 2436 rdata->parent = EVP_RAND_CTX_new(rand, NULL); in rand_test_init() 2437 EVP_RAND_free(rand); in rand_test_init() 2445 rand = EVP_RAND_fetch(libctx, name, NULL); in rand_test_init() 2446 if (rand == NULL) in rand_test_init() 2448 rdata->ctx = EVP_RAND_CTX_new(rand, rdata->parent); in rand_test_init() 2449 EVP_RAND_free(rand); in rand_test_init()
|
/kernel/linux/linux-5.10/drivers/net/hamradio/ |
H A D | dmascc.c | 259 static unsigned long rand; variable 305 rand = jiffies; in dmascc_init() 1084 rand = rand * 1664525L + 1013904223L; in random() 1085 return (unsigned char) (rand >> 24); in random()
|
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | stdlibndk.cpp | 147 int randValue = rand();
in Rand() 152 int randValue = rand();
in Rand() 254 sin_value = rand();
in Srand() 273 sin_value = rand();
in Srand48() 292 sin_value = rand();
in Srandom() 1343 {"rand", nullptr, Rand, nullptr, nullptr, nullptr, napi_default, nullptr},
in Init()
|
/third_party/backends/frontend/ |
H A D | tstbackend.c | 1007 i=1+(rand() % opt->constraint.word_list[0]); in set_random_value() 1020 i = rand() % i; in set_random_value() 1032 i = rand() % i; in set_random_value() 1352 ask_len = rand() & 0x7ffff; /* 0 to 512K-1 */ in test_scan() 1427 len = rand(); /* garbage */ in test_scan()
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | mmap-basic.c | 106 expected_nr_events[i] = 1 + rand() % 127; in test__basic_mmap()
|
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/x86_64/ |
H A D | amx_test.c | 259 memset(addr_gva2hva(vm, tiledata), rand() | 1, 2 * getpagesize()); in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/map_tests/ |
H A D | map_percpu_stats.c | 162 val = rand(); in patch_map_thread()
|
/kernel/linux/linux-6.6/tools/testing/selftests/sched/ |
H A D | cs_prctl_test.c | 293 pidx = rand() % num_processes; in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/aarch64/ |
H A D | arch_timer.c | 268 pcpu = rand() % nproc_conf; in test_get_pcpu()
|
/third_party/alsa-lib/test/ |
H A D | mixtest.c | 252 *s = (rand() % (max * 2)) - max; in main()
|
/third_party/benchmark/test/ |
H A D | benchmark_test.cc | 92 for (int j = 0; j < state.range(1); ++j) data.insert(rand()); in BM_SetInsert()
|
/third_party/googletest/googlemock/src/ |
H A D | gmock-matchers.cc | 265 b = static_cast<char>(rand() & 1); // NOLINT in Randomize()
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | nmfmtrt.cpp | 66 // Assume 8-bit (or larger) rand values. Also assume in randLong() 67 // that the system rand() function is very poor, which it always is. in randLong() 73 poke[i] = (char)(rand() & 0xFF); in randLong()
|
/third_party/libsnd/tests/ |
H A D | peak_chunk_test.c | 132 data [k] = (rand () % 2000) / 3000.0 ; in test_float_peak()
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
H A D | ecma-builtin-math.c | 328 return ecma_make_number_value (((ecma_number_t) rand ()) / rand_max * rand_max_min_1 / rand_max); in ecma_builtin_math_object_random()
|
/third_party/node/src/crypto/ |
H A D | crypto_random.cc | 10 #include <openssl/rand.h>
|
/third_party/ltp/testcases/kernel/mem/vmtests/ |
H A D | stack_space.c | 258 chunk = rand() % nchunks; in dotest()
|
H A D | data_space.c | 290 chunk = rand() % nchunks;
|
/third_party/ltp/testcases/kernel/syscalls/epoll/ |
H A D | epoll-ltp.c | 261 fd_set_size = abs(rand() + SHRT_MAX) % INT_MAX; in test_epoll_create()
|
/third_party/ltp/utils/sctp/func_tests/ |
H A D | test_fragments.c | 160 ppid = rand(); /* Choose an arbitrary value. */ in main()
|