Home
last modified time | relevance | path

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

12345678910>>...14

/external/skia/tests/graphite/
DPaintParamsKeyTest.cpp125 ColorSpaceType random_colorspacetype(SkRandom* rand) { in random_colorspacetype()
129 sk_sp<SkColorSpace> random_colorspace(SkRandom* rand) { in random_colorspace()
149 SkColor random_opaque_color(SkRandom* rand) { in random_opaque_color()
153 SkColor4f random_color(SkRandom* rand) { in random_color()
166 SkTileMode random_tilemode(SkRandom* rand) { in random_tilemode()
170 ShaderType random_shadertype(SkRandom* rand) { in random_shadertype()
174 SkBlendMode random_porter_duff_bm(SkRandom* rand) { in random_porter_duff_bm()
179 SkBlendMode random_complex_bm(SkRandom* rand) { in random_complex_bm()
184 SkBlendMode random_blend_mode(SkRandom* rand) { in random_blend_mode()
188 BlenderType random_blendertype(SkRandom* rand) { in random_blendertype()
[all …]
/external/linux-kselftest/tools/testing/selftests/rcutorture/bin/
Djitter.sh71 print ca[int(rand() * ncpus + 1)]; function
83 printf("%06d", int(rand() * sleepmax)); function
91 printf("%06d", int(rand() * spinmax)); function
/external/skia/bench/
DStrokeBench.cpp57 static SkPoint rand_pt(SkRandom& rand) { in rand_pt()
63 SkRandom rand; in line_path_maker() local
72 SkRandom rand; in quad_path_maker() local
81 SkRandom rand; in conic_path_maker() local
90 SkRandom rand; in cubic_path_maker() local
DRTreeBench.cpp41 SkRandom rand; in onDraw() local
74 SkRandom rand; in onDelayedSetup() local
83 SkRandom rand; in onDraw() local
101 static inline SkRect make_XYordered_rects(SkRandom& rand, int index, int numRects) { in make_XYordered_rects()
109 static inline SkRect make_YXordered_rects(SkRandom& rand, int index, int numRects) { in make_YXordered_rects()
118 static inline SkRect make_random_rects(SkRandom& rand, int index, int numRects) { in make_random_rects()
DTessellateBench.cpp43 SkRandom rand; in make_cubic_path() local
54 SkRandom rand; in make_conic_path() local
67 SkRandom rand; in make_quad_path() local
77 SkRandom rand; in make_line_path() local
259 SkRandom rand; in make_motionmark_paths() 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
/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()
DCryptRsa.c325 RAND_STATE *rand // IN: the random number generator to use in OaepEncode()
503 RAND_STATE *rand in RSAES_PKCS1v1_5Encode()
607 RAND_STATE *rand // IN: random number source in PssEncode()
1070 RAND_STATE *rand // IN: random number generator in CryptRsaEncrypt()
1203 RAND_STATE *rand // IN: the random number generator in CryptRsaSign()
1305 #define GET_CACHED_KEY(publicArea, sensitive, rand) \ argument
1308 #define GET_CACHED_KEY(key, rand) argument
1348 RAND_STATE *rand // IN: if not NULL, the deterministic in CryptRsaGenerateKey()
DCryptEccSignature.c122 RAND_STATE *rand // IN: used in debug of signing in BnSignEcdsa()
218 RAND_STATE *rand // IN: a random number state in BnSignEcdaa()
316 RAND_STATE *rand // IN: non-NULL when testing in BnSignEcSchnorr()
406 RAND_STATE *rand // IN: random number generator (mostly for in BnSignEcSm2()
507 RAND_STATE *rand in CryptEccSign()
/external/skia/gm/
Dpoints.cpp37 static void fill_pts(SkPoint pts[], size_t n, SkRandom* rand) { in fill_pts()
51 SkRandom rand; in onDraw() local
87 SkRandom rand; variable
Darcto.cpp148 static void add_white(SkRandom* rand, SkString* atom) { in add_white()
162 static void add_comma(SkRandom* rand, SkString* atom) { in add_comma()
177 static void add_some_white(SkRandom* rand, SkString* atom) { in add_some_white()
184 static SkString make_random_svg_path(SkRandom* rand) { in make_random_svg_path()
224 SkRandom rand; in DEF_SIMPLE_GM() local
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
Dwidebuttcaps.cpp25 static void draw_strokes(SkCanvas* canvas, SkRandom* rand, const SkPath& path, in draw_strokes()
53 SkRandom rand; in draw_test() local
Dstrokerects.cpp40 static void rnd_rect(SkRect* r, SkRandom& rand) { in rnd_rect()
68 SkRandom rand; in onDraw() local
/external/skia/tests/
DRTreeTest.cpp25 static SkRect random_rect(SkRandom& rand) { in random_rect()
55 static void run_queries(skiatest::Reporter* reporter, SkRandom& rand, SkRect rects[], in run_queries()
82 SkRandom rand; in DEF_TEST() local
DRandomTest.cpp68 SkRandom rand; in test_random_byte() local
80 SkRandom rand; in test_random_float() local
115 SkRandom rand; in test_single_gorilla() local
168 SkRandom rand; in test_range() local
DWangsFormulaTest.cpp93 static void for_random_matrices(SkRandom* rand, std::function<void(const SkMatrix&)> f) { in for_random_matrices()
115 static void for_random_beziers(int numPoints, SkRandom* rand, in for_random_beziers()
267 SkRandom rand; in DEF_TEST() local
308 SkRandom rand; in DEF_TEST() local
350 SkRandom rand; in DEF_TEST() local
368 SkRandom rand; in DEF_TEST() local
418 SkRandom rand; in DEF_TEST() local
460 SkRandom rand; in DEF_TEST() local
493 SkRandom rand; in DEF_TEST() local
518 SkRandom rand; in DEF_TEST() local
DSortTest.cpp22 static void rand_array(SkRandom& rand, int array[], int n) { in rand_array()
46 SkRandom rand; in DEF_TEST() 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/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/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()
548 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()
/external/cronet/net/third_party/quiche/src/quiche/quic/core/crypto/
Dcurve25519_key_exchange.cc25 QuicRandom* rand) { in New()
59 std::string Curve25519KeyExchange::NewPrivateKey(QuicRandom* rand) { in NewPrivateKey()

12345678910>>...14