Home
last modified time | relevance | path

Searched refs:rand (Results 676 - 700 of 1057) sorted by relevance

1...<<21222324252627282930>>...43

/kernel/linux/linux-6.6/scripts/kconfig/
H A Dconf.c142 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 Dscftorture.c450 DEFINE_TORTURE_RANDOM(rand); in scftorture_invoker()
481 scftorture_invoke_one(scfp, &rand); in scftorture_invoker()
/third_party/NuttX/fs/nfs/
H A Drpc_clnt.c420 rpcclnt_xid = rand(); in rpcclnt_newxid()
428 xidp = rand(); in rpcclnt_newxid()
/third_party/skia/samplecode/
H A DSamplePatch.cpp351 SkRandom rand; in make_verts() local
353 builder.colors()[i] = rand.nextU() | 0xFF000000; in make_verts()
/third_party/toybox/toys/pending/
H A Ddhcp6.c232 iana.iaid = rand(); in fill_iaid()
260 int i, r = rand() % 0xffffff; in generate_transection_id()
/third_party/openssl/test/
H A Devp_test.c2425 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 Ddmascc.c259 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 Dstdlibndk.cpp147 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 Dtstbackend.c1007 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 Dmmap-basic.c106 expected_nr_events[i] = 1 + rand() % 127; in test__basic_mmap()
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/x86_64/
H A Damx_test.c259 memset(addr_gva2hva(vm, tiledata), rand() | 1, 2 * getpagesize()); in main()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/map_tests/
H A Dmap_percpu_stats.c162 val = rand(); in patch_map_thread()
/kernel/linux/linux-6.6/tools/testing/selftests/sched/
H A Dcs_prctl_test.c293 pidx = rand() % num_processes; in main()
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/aarch64/
H A Darch_timer.c268 pcpu = rand() % nproc_conf; in test_get_pcpu()
/third_party/alsa-lib/test/
H A Dmixtest.c252 *s = (rand() % (max * 2)) - max; in main()
/third_party/benchmark/test/
H A Dbenchmark_test.cc92 for (int j = 0; j < state.range(1); ++j) data.insert(rand()); in BM_SetInsert()
/third_party/googletest/googlemock/src/
H A Dgmock-matchers.cc265 b = static_cast<char>(rand() & 1); // NOLINT in Randomize()
/third_party/icu/icu4c/source/test/intltest/
H A Dnmfmtrt.cpp66 // 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 Dpeak_chunk_test.c132 data [k] = (rand () % 2000) / 3000.0 ; in test_float_peak()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
H A Decma-builtin-math.c328 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 Dcrypto_random.cc10 #include <openssl/rand.h>
/third_party/ltp/testcases/kernel/mem/vmtests/
H A Dstack_space.c258 chunk = rand() % nchunks; in dotest()
H A Ddata_space.c290 chunk = rand() % nchunks;
/third_party/ltp/testcases/kernel/syscalls/epoll/
H A Depoll-ltp.c261 fd_set_size = abs(rand() + SHRT_MAX) % INT_MAX; in test_epoll_create()
/third_party/ltp/utils/sctp/func_tests/
H A Dtest_fragments.c160 ppid = rand(); /* Choose an arbitrary value. */ in main()

Completed in 27 milliseconds

1...<<21222324252627282930>>...43