/third_party/FreeBSD/sys/dev/random/ |
H A D | yarrow.c | 472 rdata1 = (int)rand(); in run_harvester_iterate() 473 rdata2 = (int)rand(); in run_harvester_iterate()
|
/third_party/libuv/test/ |
H A D | test-poll.c | 219 int action = rand() % 7; 301 int action = rand() % 7;
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_test_conv.c | 439 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 D | tsnmfmt.cpp | 111 // 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 D | rbbimonkeytest.cpp | 395 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 D | tsdate.cpp | 232 // 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 D | stress.c | 488 d = sqrt(rand()); in hogcpu() 755 j = rand(); in hoghdd()
|
H A D | genload.c | 488 d = sqrt(rand()); in hogcpu() 755 j = rand(); in hoghdd()
|
/third_party/pulseaudio/src/pulsecore/ffmpeg/ |
H A D | resample2.c | 291 #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 D | deqp.go | 24 "math/rand" 208 for i, j := range rand.New(rand.NewSource(42)).Perm(len(list.Tests)) {
|
/third_party/skia/gm/ |
H A D | cubicpaths.cpp | 192 SkRandom rand; variable 312 SkRandom rand; variable
|
/third_party/skia/bench/ |
H A D | GameBench.cpp | 271 SkRandom rand; in makeAtlas() local 277 colors[x][y] = rand.nextU() | 0xff000000; in makeAtlas()
|
/third_party/backends/backend/ |
H A D | test-picture.c | 164 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 D | h2load_quic.cc | 39 #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 D | UtilsTest.cpp | 129 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 D | crawler.c | 141 double r = rand(); in follow_links()
|
/third_party/ltp/lib/ |
H A D | tst_af_alg.c | 145 keybuf[i] = rand(); in tst_alg_setkey()
|
/third_party/node/deps/cares/src/lib/ |
H A D | ares_rand.c | 100 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 D | nghttp2_map_test.c | 100 size_t j = (size_t)((double)(i + 1) * rand() / (RAND_MAX + 1.0)); in shuffle()
|
/third_party/ltp/testcases/kernel/sched/tool/ |
H A D | trace_sched.c | 221 * rand() / (RAND_MAX + in thread_func()
|
/third_party/ltp/testcases/kernel/mem/mtest06/ |
H A D | shmat1.c | 237 fsize = (1 + (int)(1000.0 * rand() / (RAND_MAX + 1.0))) * 4096; in shmat_shmdt()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/msgstress/ |
H A D | msgstress03.c | 139 keyarray[i] = (key_t) rand(); in main()
|
/third_party/ltp/testcases/kernel/syscalls/linkat/ |
H A D | linkat01.c | 243 int tnum = rand(), vnum = ~tnum; in mylinkat_test()
|
/third_party/ltp/utils/sctp/func_tests/ |
H A D | test_assoc_abort.c | 136 ppid = rand(); /* Choose an arbitrary value. */ in main()
|
H A D | test_assoc_shutdown.c | 136 ppid = rand(); /* Choose an arbitrary value. */ in main()
|