Home
last modified time | relevance | path

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

12345678

/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()
DPathIterBench.cpp17 static int rand_pts(SkRandom& rand, SkPoint pts[4]) { in rand_pts()
38 SkRandom rand; in PathIterBench() local
DRegionContainBench.cpp31 SkIRect randrect(SkRandom& rand, int i) { in randrect()
40 SkRandom rand; in RegionContainBench() local
DScalarBench.cpp47 SkRandom rand; in init9() local
97 SkRandom rand; in IsFiniteScalarBench() local
135 SkRandom rand; in RectBoundsBench() local
DHairlinePathBench.cpp89 SkRandom rand; in makePath() local
121 SkRandom rand; in makePath() local
153 SkRandom rand; in makePath() local
189 SkRandom rand; in makePath() local
DControlBench.cpp19 volatile uint32_t rand = 0; in onDraw() local
/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/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
DSortTest.cpp20 static void rand_array(SkRandom& rand, int array[], int n) { in rand_array()
44 SkRandom rand; in DEF_TEST() local
DOverAlignedTest.cpp15 SkRandom rand; in DEF_TEST() local
DRegionTest.cpp110 static SkIRect randRect(SkRandom& rand) { in randRect()
118 static void randRgn(SkRandom& rand, SkRegion* rgn, int n) { in randRgn()
195 SkRandom rand; in test_proc() local
205 static void rand_rect(SkIRect* rect, SkRandom& rand) { in rand_rect()
249 SkRandom rand; in DEF_TEST() 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/samplecode/
DSampleClip.cpp22 SkRandom rand; in show_text() local
37 SkRandom rand; in show_fill() local
58 static SkScalar randRange(SkRandom& rand, SkScalar min, SkScalar max) { in randRange()
64 SkRandom rand; in show_stroke() local
DSamplePoints.cpp38 static void fill_pts(SkPoint pts[], size_t n, SkRandom* rand) { in fill_pts()
46 SkRandom rand; in onDrawContent() local
DSampleHT.cpp42 SkRandom rand(seed); in rand_opaque_color() local
53 HTDrawable(SkRandom& rand) { in HTDrawable()
132 SkRandom rand; in HTView() 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
Dstrokerects.cpp36 static void rnd_rect(SkRect* r, SkRandom& rand) { in rnd_rect()
64 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/slf4j/slf4j-ext/src/test/java/org/slf4j/profiler/
DRandomIntegerArrayGenerator.java30 Random rand = new Random(11); field in RandomIntegerArrayGenerator
/external/syslinux/gpxe/src/include/
Dstdlib.h57 static inline int rand ( void ) { in rand() function

12345678