Home
last modified time | relevance | path

Searched refs:rand (Results 251 - 275 of 1036) sorted by relevance

1...<<11121314151617181920>>...42

/third_party/ffmpeg/libavutil/tests/
H A Ddes.c33 uint64_t r = rand(); in rand64()
34 r = (r << 32) | rand(); in rand64()
/third_party/alsa-lib/test/
H A Dpcm-multi-thread.c69 mode = rand() % MODE_RANDOM; in peeper()
241 int size = rand() % (bufsize / 2); in main()
/third_party/ltp/testcases/network/sctp/
H A Dsctp_big_chunk.c124 uint32_t init_tag = rand(); in setup_client()
128 uint32_t init_tsn = rand(); in setup_client()
/third_party/pulseaudio/src/tests/
H A Dconnect-stress.c206 usleep(rand() % 500000); in START_TEST()
208 usleep(rand() % 500000); in START_TEST()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DBlendMinMaxTest.cpp62 static_cast<float>(minValue + (rand() % (maxValue - minValue))); in runTest()
74 bool blendMin = (rand() % 2 == 0); in runTest()
/third_party/skia/tests/
H A DTopoSortTest.cpp163 SkRandom rand; in DEF_TEST() local
185 ToolUtils::TopoTestNode::Shuffle(&graph, &rand); in DEF_TEST()
/third_party/skia/gm/
H A Dnested.cpp89 SkRandom rand; variable
97 p.setColor(rand.nextU() | 0xFF000000);
H A Dsharedcorners.cpp96 SkRandom rand; variable
106 theta += rand.nextRangeF(0, SK_ScalarPI/3);
H A Demptypath.cpp73 SkRandom rand; variable
91 SkColor color = rand.nextU();
/third_party/rust/crates/regex/tests/
H A Dcrazy.rs140 use rand::rngs::SmallRng; in dfa_handles_pathological_case()
141 use rand::{Rng, SeedableRng}; in dfa_handles_pathological_case()
/third_party/musl/libc-test/src/functionalext/supplement/prng/
H A Drand.c25 * @tc.desc : Verify rand process success
33 int num = rand() % RANGE; in rand_0100()
/third_party/node/deps/openssl/openssl/crypto/rand/
H A Drand_deprecated.c12 #include <openssl/rand.h>
H A Drand_local.h18 # include <openssl/rand.h>
20 # include "crypto/rand.h"
/third_party/openssl/crypto/rand/
H A Drand_deprecated.c12 #include <openssl/rand.h>
H A Drand_local.h18 # include <openssl/rand.h>
20 # include "crypto/rand.h"
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/analyzer/
H A DRandomPulseGenerator.h39 return static_cast<uint8_t>(rand());
/third_party/ffmpeg/libswscale/tests/
H A Dfloatimg_cmp.c87 AVLFG rand; in main() local
179 av_lfg_init(&rand, 1); in main()
187 v0.f = (float)av_lfg_get(&rand)/(float)(UINT32_MAX); in main()
/third_party/lame/frontend/
H A Drtp.c359 foo->b.sequence = rand() & 65535; in rtp_initialization()
360 foo->timestamp = rand(); in rtp_initialization()
361 foo->ssrc = rand(); in rtp_initialization()
/third_party/ltp/testcases/kernel/fs/ftest/
H A Dftest05.c255 #define NEXTMISC ((rand() % misc_intvl) + 5)
326 chunk = rand() % nchunks; in dotest()
477 chunk = rand() % (file_max / csize); in domisc()
H A Dftest06.c286 seekval = lseek64(fd, (off64_t) (rand() % M), 0); in crfile()
383 if (rand() & 0x01) { in fussdir()
419 thing = (rand() >> 3) % NTHING; in dotest()
H A Dftest01.c254 #define NEXTMISC ((rand() % misc_intvl) + 5)
331 chunk = rand() % nchunks; in dotest()
487 chunk = rand() % (file_max / csize); in domisc()
H A Dftest02.c265 val = lseek(fd, (rand() % M), 0); in crfile()
365 if (rand() & 0x01) { in fussdir()
401 thing = (rand() >> 3) % NTHING; in dotest()
/third_party/icu/icu4c/source/test/intltest/
H A Dwinnmtst.cpp75 /* Assume rand has at least 12 bits of precision */ in randomInt64()
77 ((char*)&ran)[i] = (char)((rand() & 0x0FF0) >> 4); in randomInt64()
97 /* Assume rand has at least 12 bits of precision */ in randomDouble()
99 ((char*)&ran)[i] = (char)((rand() & 0x0FF0) >> 4); in randomDouble()
129 /* Assume rand has at least 12 bits of precision */ in randomInt32()
131 ((char*)&ran)[i] = (char)((rand() & 0x0FF0) >> 4); in randomInt32()
/third_party/ltp/testcases/kernel/mem/mmapstress/
H A Dmmapstress09.c89 extern int rand(void);
474 * Use srand/rand to diffuse the information from the in initrand()
480 seed = rand(); in initrand()
482 seed = (seed ^ rand()) % 100000; in initrand()
/third_party/lwip/test/unit/core/
H A Dtest_pbuf.c129 testbuf_1[i] = (u8_t)rand(); in START_TEST()
132 testbuf_2[i] = (u8_t)rand(); in START_TEST()
135 testbuf_3[i] = (u8_t)rand(); in START_TEST()

Completed in 10 milliseconds

1...<<11121314151617181920>>...42