Home
last modified time | relevance | path

Searched defs:rand (Results 1 – 25 of 401) sorted by relevance

12345678910>>...17

/external/linux-kselftest/tools/testing/selftests/rcutorture/bin/
Djitter.sh49 curcpu = ca[int(rand() * ncpus + 1)]; function
65 printf("%06d", int(rand() * sleepmax)); function
73 printf("%06d", int(rand() * spinmax)); function
/external/crosvm/sys_util/src/
Drand.rs78 let mut rand = Vec::with_capacity(len); in rand_vec() localVariable
97 let mut rand = vec![0u8; TEST_SIZE]; in randbytes_success() localVariable
104 let rand = rand_vec(TEST_SIZE, Source::Pseudorandom).unwrap(); in randvec_success() localVariable
111 let rand = rand_vec(TEST_SIZE, Source::Random).unwrap(); in sourcerandom_success() localVariable
/external/skqp/bench/
DStrokeBench.cpp56 static SkPoint rand_pt(SkRandom& rand) { in rand_pt()
62 SkRandom rand; in line_path_maker() local
71 SkRandom rand; in quad_path_maker() local
80 SkRandom rand; in conic_path_maker() local
89 SkRandom rand; in cubic_path_maker() local
DRTreeBench.cpp38 SkRandom rand; in onDraw() local
71 SkRandom rand; in onDelayedSetup() local
80 SkRandom rand; in onDraw() local
98 static inline SkRect make_XYordered_rects(SkRandom& rand, int index, int numRects) { in make_XYordered_rects()
106 static inline SkRect make_YXordered_rects(SkRandom& rand, int index, int numRects) { in make_YXordered_rects()
115 static inline SkRect make_random_rects(SkRandom& rand, int index, int numRects) { in make_random_rects()
/external/skia/bench/
DStrokeBench.cpp56 static SkPoint rand_pt(SkRandom& rand) { in rand_pt()
62 SkRandom rand; in line_path_maker() local
71 SkRandom rand; in quad_path_maker() local
80 SkRandom rand; in conic_path_maker() local
89 SkRandom rand; in cubic_path_maker() local
DRTreeBench.cpp39 SkRandom rand; in onDraw() local
72 SkRandom rand; in onDelayedSetup() local
81 SkRandom rand; in onDraw() local
99 static inline SkRect make_XYordered_rects(SkRandom& rand, int index, int numRects) { in make_XYordered_rects()
107 static inline SkRect make_YXordered_rects(SkRandom& rand, int index, int numRects) { in make_YXordered_rects()
116 static inline SkRect make_random_rects(SkRandom& rand, int index, int numRects) { in make_random_rects()
/external/skqp/tools/
Drandom_parse_path.cpp32 static void add_white(SkRandom* rand, SkString* atom) { in add_white()
46 static void add_comma(SkRandom* rand, SkString* atom) { in add_comma()
61 static void add_some_white(SkRandom* rand, SkString* atom) { in add_some_white()
68 SkString MakeRandomParsePathPiece(SkRandom* rand) { in MakeRandomParsePathPiece()
/external/skia/tools/
Drandom_parse_path.cpp32 static void add_white(SkRandom* rand, SkString* atom) { in add_white()
46 static void add_comma(SkRandom* rand, SkString* atom) { in add_comma()
61 static void add_some_white(SkRandom* rand, SkString* atom) { in add_some_white()
68 SkString MakeRandomParsePathPiece(SkRandom* rand) { in MakeRandomParsePathPiece()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptPrime.c121 RAND_STATE *rand // IN: the random state just in BnIsProbablyPrime()
172 RAND_STATE *rand in MillerRabin()
270 RAND_STATE *rand in RsaCheckPrime()
360 RAND_STATE *rand // IN: the random state in BnGeneratePrimeForRSA()
DRsaKeyCache.c130 RAND_STATE *rand // IN: if not NULL, the deterministic in InitializeKeyCache()
192 RAND_STATE *rand // IN: if not NULL, the deterministic in KeyCacheLoaded()
233 RAND_STATE *rand // IN: if not NULL, the deterministic in GetCachedRsaKey()
/external/skqp/tests/
DRTreeTest.cpp16 static SkRect random_rect(SkRandom& rand) { in random_rect()
46 static void run_queries(skiatest::Reporter* reporter, SkRandom& rand, SkRect rects[], in run_queries()
73 SkRandom rand; in DEF_TEST() local
DRandomTest.cpp63 SkRandom rand; in test_random_byte() local
75 SkRandom rand; in test_random_float() local
110 SkRandom rand; in test_single_gorilla() local
163 SkRandom rand; in test_range() local
/external/skia/tests/
DRTreeTest.cpp16 static SkRect random_rect(SkRandom& rand) { in random_rect()
46 static void run_queries(skiatest::Reporter* reporter, SkRandom& rand, SkRect rects[], in run_queries()
73 SkRandom rand; in DEF_TEST() local
DRandomTest.cpp63 SkRandom rand; in test_random_byte() local
75 SkRandom rand; in test_random_float() local
110 SkRandom rand; in test_single_gorilla() local
163 SkRandom rand; in test_range() local
/external/walt/android/WALT/app/src/test/java/org/chromium/latency/walt/
DAccelerometerFragmentTest.java33 Random rand = new Random(1234); in testSmoothEntries() local
46 Random rand = new Random(5678); in testFindShifts() local
/external/skqp/samplecode/
DSampleClip.cpp22 SkRandom rand; in show_text() local
35 SkRandom rand; in show_fill() local
56 static SkScalar randRange(SkRandom& rand, SkScalar min, SkScalar max) { in randRange()
62 SkRandom rand; in show_stroke() local
DSamplePoints.cpp36 static void fill_pts(SkPoint pts[], size_t n, SkRandom* rand) { in fill_pts()
44 SkRandom rand; in onDrawContent() local
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/
DUnitSphereRandomVectorGenerator.java35 private final RandomGenerator rand; field in UnitSphereRandomVectorGenerator
46 final RandomGenerator rand) { in UnitSphereRandomVectorGenerator()
/external/skia/gm/
Dmanypaths.cpp22 static SkColor gen_color(SkRandom* rand) { in gen_color()
52 SkRandom rand(1); in onDraw() local
91 SkRandom rand(1); in onDraw() local
Dbeziers.cpp23 static SkPath rnd_quad(SkPaint* paint, SkRandom& rand) { in rnd_quad()
44 static SkPath rnd_cubic(SkPaint* paint, SkRandom& rand) { in rnd_cubic()
87 SkRandom rand; in onDraw() local
/external/skqp/gm/
Dmanypaths.cpp16 static SkColor gen_color(SkRandom* rand) { in gen_color()
46 SkRandom rand(1); in onDraw() local
85 SkRandom rand(1); in onDraw() local
Dbeziers.cpp18 static void rnd_quad(SkPath* p, SkPaint* paint, SkRandom& rand) { in rnd_quad()
36 static void rnd_cubic(SkPath* p, SkPaint* paint, SkRandom& rand) { in rnd_cubic()
76 SkRandom rand; in onDraw() local
Dpoints.cpp26 static void fill_pts(SkPoint pts[], size_t n, SkRandom* rand) { in fill_pts()
40 SkRandom rand; in onDraw() local
/external/angle/third_party/vulkan_memory_allocator/src/
DSparseBindingTest.cpp110 void BaseImage::TestContent(RandomNumberGenerator& rand) in TestContent()
118 void BaseImage::FillImageCreateInfo(RandomNumberGenerator& rand) in FillImageCreateInfo()
245 void BaseImage::ValidateContent(RandomNumberGenerator& rand) in ValidateContent()
436 void TraditionalImage::Init(RandomNumberGenerator& rand) in Init()
460 void SparseBindingImage::Init(RandomNumberGenerator& rand) in Init()
546 RandomNumberGenerator rand(4652467); in TestSparseBinding() local
/external/compiler-rt/test/builtins/Unit/
Dfp_test.h237 static inline uint16_t makeNaN16(uint16_t rand) in makeNaN16()
242 static inline float makeNaN32(uint32_t rand) in makeNaN32()
247 static inline double makeNaN64(uint64_t rand) in makeNaN64()
253 static inline long double makeNaN128(uint64_t rand) in makeNaN128()

12345678910>>...17