Home
last modified time | relevance | path

Searched refs:rand (Results 426 - 450 of 788) sorted by relevance

1...<<11121314151617181920>>...32

/third_party/FreeBSD/sys/dev/random/
H A Dyarrow.c472 rdata1 = (int)rand(); in run_harvester_iterate()
473 rdata2 = (int)rand(); in run_harvester_iterate()
/third_party/libuv/test/
H A Dtest-poll.c219 int action = rand() % 7;
301 int action = rand() % 7;
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_test_conv.c439 src_type = &conv_types[rand() % num_types]; in test_some()
442 dst_type = &conv_types[rand() % num_types]; in test_some()
/third_party/icu/icu4c/source/test/intltest/
H A Dtsnmfmt.cpp111 // Assume 8-bit (or larger) rand values. Also assume in randDouble()
112 // that the system rand() function is very poor, which it always is. in randDouble()
120 poke[i] = (char)(rand() & 0xFF); in randDouble()
133 // Assume 8-bit (or larger) rand values. Also assume in randLong()
134 // that the system rand() function is very poor, which it always is. in randLong()
141 poke[i] = (char)(rand() & 0xFF); in randLong()
H A Drbbimonkeytest.cpp395 void MonkeyTestData::set(BreakRules *rules, IntlTest::icu_rand &rand, UErrorCode &status) { in set() argument
403 fRandomSeed = rand.getSeed(); // Save initial seed for use in error messages, in set()
408 int charClassIndex = rand() % rules->fCharClassList->size(); in set()
414 int32_t charIndex = rand() % cclass->fSet->size(); in set()
H A Dtsdate.cpp232 // Assume 8-bit (or larger) rand values. Also assume in randDouble()
233 // that the system rand() function is very poor, which it always is. in randDouble()
241 poke[i] = (char)(rand() & 0xFF); in randDouble()
/third_party/ltp/tools/genload/
H A Dstress.c488 d = sqrt(rand()); in hogcpu()
755 j = rand(); in hoghdd()
H A Dgenload.c488 d = sqrt(rand()); in hogcpu()
755 j = rand(); in hoghdd()
/third_party/pulseaudio/src/pulsecore/ffmpeg/
H A Dresample2.c291 #undef rand in av_resample()
292 av_resample_compensate(c, rand() % (8000*2) - 8000, 8000*2); in av_resample()
/third_party/skia/third_party/externals/swiftshader/tests/regres/deqp/
H A Ddeqp.go24 "math/rand"
208 for i, j := range rand.New(rand.NewSource(42)).Perm(len(list.Tests)) {
/third_party/skia/gm/
H A Dcubicpaths.cpp192 SkRandom rand; variable
312 SkRandom rand; variable
/third_party/skia/bench/
H A DGameBench.cpp271 SkRandom rand; in makeAtlas() local
277 colors[x][y] = rand.nextU() | 0xff000000; in makeAtlas()
/third_party/backends/backend/
H A Dtest-picture.c164 color = (rand ()) & 0x01; in init_picture_buffer()
185 color = (rand ()) & 0x01; in init_picture_buffer()
201 color = (SANE_Byte) ((rand ()) & 0xff); in init_picture_buffer()
/third_party/nghttp2/src/
H A Dh2load_quic.cc39 #include <openssl/rand.h>
285 void rand(uint8_t *dest, size_t destlen, const ngtcp2_rand_ctx *rand_ctx) { in rand() function
357 h2load::rand, in quic_init()
/third_party/skia/tests/
H A DUtilsTest.cpp129 SkRandom rand; in test_search() local
132 array[i] = rand.nextS(); in test_search()
150 int value = rand.nextS(); in test_search()
/third_party/curl/docs/examples/
H A Dcrawler.c141 double r = rand(); in follow_links()
/third_party/ltp/lib/
H A Dtst_af_alg.c145 keybuf[i] = rand(); in tst_alg_setkey()
/third_party/node/deps/cares/src/lib/
H A Dares_rand.c100 key[i] = (unsigned char)(rand() % 256); /* LCOV_EXCL_LINE */ in ares_rc4_generate_key()
304 break; /* critical error, will reinit rand state */ in ares__rand_bytes_fetch()
319 /* If we didn't return before we got here, that means we had a critical rand in ares__rand_bytes_fetch()
/third_party/nghttp2/tests/
H A Dnghttp2_map_test.c100 size_t j = (size_t)((double)(i + 1) * rand() / (RAND_MAX + 1.0)); in shuffle()
/third_party/ltp/testcases/kernel/sched/tool/
H A Dtrace_sched.c221 * rand() / (RAND_MAX + in thread_func()
/third_party/ltp/testcases/kernel/mem/mtest06/
H A Dshmat1.c237 fsize = (1 + (int)(1000.0 * rand() / (RAND_MAX + 1.0))) * 4096; in shmat_shmdt()
/third_party/ltp/testcases/kernel/syscalls/ipc/msgstress/
H A Dmsgstress03.c139 keyarray[i] = (key_t) rand(); in main()
/third_party/ltp/testcases/kernel/syscalls/linkat/
H A Dlinkat01.c243 int tnum = rand(), vnum = ~tnum; in mylinkat_test()
/third_party/ltp/utils/sctp/func_tests/
H A Dtest_assoc_abort.c136 ppid = rand(); /* Choose an arbitrary value. */ in main()
H A Dtest_assoc_shutdown.c136 ppid = rand(); /* Choose an arbitrary value. */ in main()

Completed in 17 milliseconds

1...<<11121314151617181920>>...32