Home
last modified time | relevance | path

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

12345678910>>...14

/external/linux-kselftest/tools/testing/selftests/rcutorture/bin/
Djitter.sh57 curcpu = ca[int(rand() * ncpus + 1)]; function
73 printf("%06d", int(rand() * sleepmax)); function
81 printf("%06d", int(rand() * spinmax)); function
/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.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/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/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/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/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
DSamplePatternDictionaryTest.cpp22 static SkTArray<SkPoint> make_random_sample_pattern(SkRandom* rand) { in make_random_sample_pattern()
95 SkRandom rand; in DEF_TEST() local
/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/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/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/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/skia/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/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()
/external/tensorflow/tensorflow/contrib/coder/kernels/
Dpmf_to_cdf_op_test.cc48 void GenerateData(random::SimplePhilox* rand, in GenerateData()
96 random::SimplePhilox rand(&gen); in TEST_F() local
121 random::SimplePhilox rand(&gen); in TEST_F() local

12345678910>>...14