/third_party/openssl/test/helpers/ |
H A D | cmp_testlib.h | 17 # include <openssl/rand.h>
|
/third_party/rust/crates/rustix/src/backend/libc/rand/ |
H A D | syscalls.rs | 1 //! libc syscalls supporting `rustix::rand`. 4 use {super::super::c, super::super::conv::ret_ssize_t, crate::io, crate::rand::GetRandomFlags};
|
/third_party/node/deps/ngtcp2/ngtcp2/lib/ |
H A D | ngtcp2_bbr2.c | 893 uint8_t rand; in bbr_pick_probe_wait() local 895 bbr->rand(&rand, 1, &bbr->rand_ctx); in bbr_pick_probe_wait() 897 bbr->rounds_since_bw_probe = (uint64_t)(rand * 2 / 256); in bbr_pick_probe_wait() 899 bbr->rand(&rand, 1, &bbr->rand_ctx); in bbr_pick_probe_wait() 902 (ngtcp2_tstamp)((double)rand / 255. * NGTCP2_SECONDS); in bbr_pick_probe_wait() 1337 ngtcp2_rand rand, const ngtcp2_rand_ctx *rand_ctx, in bbr2_cc_init() 1341 bbr->rand = rand; in bbr2_cc_init() 1335 bbr2_cc_init(ngtcp2_bbr2_cc *bbr, ngtcp2_conn_stat *cstat, ngtcp2_rst *rst, ngtcp2_tstamp initial_ts, ngtcp2_rand rand, const ngtcp2_rand_ctx *rand_ctx, ngtcp2_log *log) bbr2_cc_init() argument 1452 ngtcp2_cc_bbr2_cc_init(ngtcp2_cc *cc, ngtcp2_log *log, ngtcp2_conn_stat *cstat, ngtcp2_rst *rst, ngtcp2_tstamp initial_ts, ngtcp2_rand rand, const ngtcp2_rand_ctx *rand_ctx, const ngtcp2_mem *mem) ngtcp2_cc_bbr2_cc_init() argument [all...] |
/kernel/liteos_a/testsuites/unittest/libc/io/full/ |
H A D | IO_test_dcgettext_001.cpp | 44 r = rand() % 36; // 36: 0-9 and a-z in testcase()
|
/kernel/liteos_a/testsuites/unittest/libc/sys/smoke/ |
H A D | sys_test_017.cpp | 45 r = rand() % 36; // 36: 0-9 and a-z in TestCase()
|
/kernel/liteos_a/testsuites/unittest/net/resolv/smoke/ |
H A D | net_resolv_test_007.cpp | 42 r[i] = rand() % 16; // 16: 0x0-0xf in EtherNtoarTest()
|
H A D | net_resolv_test_006.cpp | 43 r[i] = rand() % 16; // 16: 0x0-0xf in EtherNtoaTest()
|
/third_party/cups-filters/ |
H A D | config.h | 91 # define CUPS_RAND() rand()
|
/third_party/libwebsockets/lib/plat/windows/ |
H A D | windows-misc.c | 89 p[n] = (unsigned char)rand(); in lws_get_random()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/strlen/ |
H A D | 1-1.c | 39 output_string[i] = rand() % 254 + 1; in random_string()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/ |
H A D | 16-1.c | 27 r = rand(); in get_rand()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/ |
H A D | mod.rs | 44 #[cfg(feature = "rand")] 45 pub(crate) mod rand;
|
/kernel/linux/linux-5.10/include/net/ |
H A D | rose.h | 123 unsigned int rand; member 135 unsigned int lci, rand; member
|
/kernel/linux/linux-6.6/include/net/ |
H A D | rose.h | 124 unsigned int rand; member 137 unsigned int lci, rand; member
|
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/ |
H A D | semctl06.c | 179 maxsemvals[i] = (short) (rand() % HVAL); in dotest() 269 (-(short) (rand() % in dosemas()
|
/third_party/ltp/testcases/kernel/fs/mongo/ |
H A D | reiser_fract_tree.c | 104 nr_random = rand(); in determine_size() 372 (rand() % this_directory_branching); in do_subtree() 482 depend on resetting rand() to get the same result later. */ in main()
|
/third_party/pcre2/pcre2/src/ |
H A D | pcre2_fuzzsupport.c | 81 r1 = rand(); in LLVMFuzzerTestOneInput() 82 r2 = rand(); in LLVMFuzzerTestOneInput()
|
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
H A D | DrawElementsPerf.cpp | 128 mShortIndexData.push_back(static_cast<GLushort>(rand() % mCount)); in initializeBenchmark() 129 mIntIndexData.push_back(rand() % mCount); in initializeBenchmark()
|
/third_party/skia/samplecode/ |
H A D | SampleStrokePath.cpp | 126 SkRandom rand; member in StrokePathView 178 float r = rand.nextUScalar1() + 0.5f;
|
/third_party/pulseaudio/src/modules/rtp/ |
H A D | sap.c | 61 c->msg_id_hash = (uint16_t) (rand()*rand()); in pa_sap_context_init_send()
|
/third_party/skia/gm/ |
H A D | convexpaths.cpp | 235 SkRandom rand; variable 246 SkColor color = rand.nextU();
|
H A D | savelayer.cpp | 151 SkRandom rand; in draw_list() local 155 SkColor c = rand.nextU(); // ensure we're opaque in draw_list()
|
/third_party/rust/crates/rust-openssl/openssl/examples/ |
H A D | mk_certs.rs | 34 serial.rand(159, MsbOption::MAYBE_ZERO, false)?; in mk_ca_cert() 97 serial.rand(159, MsbOption::MAYBE_ZERO, false)?; in mk_ca_signed_cert()
|
/third_party/skia/tests/ |
H A D | PathTest.cpp | 835 SkRandom rand; in test_arb_round_rect_is_convex() local 840 SkScalar size = rand.nextUScalar1() * 30; in test_arb_round_rect_is_convex() 844 r.fLeft = rand.nextUScalar1() * 300; in test_arb_round_rect_is_convex() 845 r.fTop = rand.nextUScalar1() * 300; in test_arb_round_rect_is_convex() 862 SkRandom rand; in test_arb_zero_rad_round_rect_is_rect() local 867 SkScalar size = rand.nextUScalar1() * 30; in test_arb_zero_rad_round_rect_is_rect() 871 r.fLeft = rand.nextUScalar1() * 300; in test_arb_zero_rad_round_rect_is_rect() 872 r.fTop = rand.nextUScalar1() * 300; in test_arb_zero_rad_round_rect_is_rect() 1012 SkRandom rand; in test_addPoly() local 1015 pts[i].fX = rand in test_addPoly() 5006 rand_path(SkPath* path, SkRandom& rand, SkPath::Verb verb, int n) rand_path() argument 5033 SkRandom rand; DEF_TEST() local [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/media_tests/ |
H A D | video_device_test.c | 70 count = rand(); in main()
|