Home
last modified time | relevance | path

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

12345678910>>...19

/external/skia/tests/graphite/precompile/
DPaintParamsKeyTest.cpp354 const skcms_TransferFunction& random_xfer_function(SkRandom* rand) { in random_xfer_function()
368 const skcms_Matrix3x3& random_gamut(SkRandom* rand) { in random_gamut()
384 ColorSpaceType random_colorspacetype(SkRandom* rand) { in random_colorspacetype()
388 sk_sp<SkColorSpace> random_colorspace(SkRandom* rand) { in random_colorspace()
413 SkColor random_color(SkRandom* rand, ColorConstraint constraint) { in random_color()
425 SkColor4f random_color4f(SkRandom* rand, ColorConstraint constraint) { in random_color4f()
440 SkTileMode random_tilemode(SkRandom* rand) { in random_tilemode()
444 ShaderType random_shadertype(SkRandom* rand) { in random_shadertype()
448 SkBlendMode random_porter_duff_bm(SkRandom* rand) { in random_porter_duff_bm()
456 SkBlendMode random_complex_bm(SkRandom* rand) { in random_complex_bm()
[all …]
/external/coreboot/src/arch/x86/
Drdrand.c18 static inline uint8_t rdrand_32(uint32_t *rand) in rdrand_32()
33 static inline uint8_t rdrand_64(uint64_t *rand) in rdrand_64()
44 enum cb_err get_random_number_32(uint32_t *rand) in get_random_number_32()
56 enum cb_err get_random_number_64(uint64_t *rand) in get_random_number_64()
/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
73 SkRandom rand; in onDelayedSetup() local
82 SkRandom rand; in onDraw() local
100 static inline SkRect make_XYordered_rects(SkRandom& rand, int index, int numRects) { in make_XYordered_rects()
108 static inline SkRect make_YXordered_rects(SkRandom& rand, int index, int numRects) { in make_YXordered_rects()
117 static inline SkRect make_random_rects(SkRandom& rand, int index, int numRects) { in make_random_rects()
/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()
/external/skia/gm/
Dpoints.cpp32 static void fill_pts(SkPoint pts[], size_t n, SkRandom* rand) { in fill_pts()
46 SkRandom rand; in onDraw() local
82 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()
48 SkRandom rand(1); in onDraw() local
82 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()
82 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
/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, const 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/pigweed/pw_bluetooth_sapphire/host/hci-spec/public/pw_bluetooth_sapphire/internal/host/hci-spec/
Dlink_key.h28 LinkKey(const UInt128& value, uint64_t rand, uint16_t ediv) in LinkKey()
37 uint64_t rand() const { return rand_; } in rand() function
/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/apache-commons-math/src/main/java/org/apache/commons/math3/random/
DUnitSphereRandomVectorGenerator.java29 private final RandomGenerator rand; field in UnitSphereRandomVectorGenerator
38 public UnitSphereRandomVectorGenerator(final int dimension, 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/cronet/stable/net/third_party/quiche/src/quiche/quic/core/crypto/
Dcurve25519_key_exchange.cc26 QuicRandom* rand) { in New()
60 std::string Curve25519KeyExchange::NewPrivateKey(QuicRandom* rand) { in NewPrivateKey()
/external/cronet/tot/net/third_party/quiche/src/quiche/quic/core/crypto/
Dcurve25519_key_exchange.cc26 QuicRandom* rand) { in New()
60 std::string Curve25519KeyExchange::NewPrivateKey(QuicRandom* rand) { in NewPrivateKey()
/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>>...19