HomeSort by relevance Sort by last modified time
    Searched defs:rand (Results 26 - 50 of 442) sorted by null

12 3 4 5 6 7 8 91011>>

  /prebuilts/go/linux-x86/src/crypto/rand/
util.go 5 package rand package
30 // Prime will return error for any error returned by rand.Read or if bits < 2.
31 func Prime(rand io.Reader, bits int) (p *big.Int, err error) {
33 err = errors.New("crypto/rand: prime size must be at least 2-bit")
48 _, err = io.ReadFull(rand, bytes)
106 func Int(rand io.Reader, max *big.Int) (n *big.Int, err error) {
108 panic("crypto/rand: argument to Int is <= 0")
129 _, err = io.ReadFull(rand, bytes)
  /device/linaro/bootloader/edk2/StdLib/LibC/StdLib/
Rand.c 31 //__FBSDID("$FreeBSD: src/lib/libc/stdlib/rand.c,v 1.17.2.1.2.1 2009/10/25 01:10:29 kensmith Exp $");
48 rand() function
  /prebuilts/go/darwin-x86/src/io/ioutil/
tempfile.go 19 var rand uint32 var
28 r := rand
33 rand = r
59 rand = reseed()
88 rand = reseed()
  /prebuilts/go/darwin-x86/src/math/rand/
exp.go 5 package rand package
31 func (r *Rand) ExpFloat64() float64 {
normal.go 5 package rand package
38 func (r *Rand) NormFloat64() float64 {
zipf.go 10 package rand package
16 r *Rand
39 func NewZipf(r *Rand, s float64, v float64, imax uint64) *Zipf {
60 panic("rand: nil Zipf")
  /prebuilts/go/linux-x86/src/io/ioutil/
tempfile.go 19 var rand uint32 var
28 r := rand
33 rand = r
59 rand = reseed()
88 rand = reseed()
  /prebuilts/go/linux-x86/src/math/rand/
exp.go 5 package rand package
31 func (r *Rand) ExpFloat64() float64 {
normal.go 5 package rand package
38 func (r *Rand) NormFloat64() float64 {
zipf.go 10 package rand package
16 r *Rand
39 func NewZipf(r *Rand, s float64, v float64, imax uint64) *Zipf {
60 panic("rand: nil Zipf")
  /system/bt/osi/src/
osi.cc 36 int rand; local
40 LOG_ERROR(LOG_TAG, "%s can't open rand fd %s: %s ", __func__, RANDOM_PATH,
45 ssize_t read_bytes = read(rand_fd, &rand, sizeof(rand));
48 CHECK(read_bytes == sizeof(rand));
50 if (rand < 0) rand = -rand;
52 return rand;
  /external/fio/lib/
zipf.h 5 #include "rand.h"
13 struct frand_state rand; member in struct:zipf_state
  /external/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/
discard.pass.cpp 32 rand() function
66 rand<unsigned int>();
67 rand<unsigned long>();
68 rand<unsigned long long>();
  /external/libdrm/tests/
random.c 102 unsigned long rand; local
106 rand = drmRandom(state);
108 ret = rand != state->check;
110 rand, state->check,
  /external/skia/bench/
LineBench.cpp 34 SkRandom rand; local
36 fPts[i].set(rand.nextUScalar1() * 640, rand.nextUScalar1() * 480);
PathIterBench.cpp 17 static int rand_pts(SkRandom& rand, SkPoint pts[4]) {
18 int n = rand.nextU() & 3;
22 pts[i].fX = rand.nextSScalar1();
23 pts[i].fY = rand.nextSScalar1();
38 SkRandom rand; local
41 int n = rand_pts(rand, pts);
QuickRejectBench.cpp 21 SkRandom rand; variable
23 fFloats[i] = 300.0f * (rand.nextSScalar1() + 0.5f);
  /external/skia/gm/
arcofzorro.cpp 34 SkRandom rand; variable
46 SkColor color = rand.nextU();
discard.cpp 55 SkRandom rand; variable
60 SkColor color = sk_tool_utils::color_to_565(rand.nextU() | 0xFF404040);
61 switch (rand.nextULessThan(3)) {
getpostextpath.cpp 45 SkRandom rand; local
49 pos[i].set(x, y + rand.nextSScalar1() * 24);
hittestpath.cpp 34 SkRandom rand; local
41 randoms[index] = rand.nextUScalar1();
imageblur.cpp 22 SkRandom rand; local
27 int x = rand.nextULessThan(WIDTH);
28 int y = rand.nextULessThan(HEIGHT);
29 textPaint.setColor(sk_tool_utils::color_to_565(rand.nextBits(24) | 0xFF000000));
30 textPaint.setTextSize(rand.nextRangeScalar(0, 300));
  /external/skia/samplecode/
SampleTextAlpha.cpp 56 SkRandom rand; variable
59 paint.setColor(rand.nextU() | (0xFF << 24));
  /external/skia/tests/
ChecksumTest.cpp 16 SkRandom rand; local
19 data[i] = tweaked[i] = rand.nextU();
32 tweaked[j] = rand.nextU();
SkColor4fTest.cpp 46 SkRandom rand; local
51 rand.nextUScalar1(), rand.nextUScalar1(), rand.nextUScalar1(), 1
61 c4.fA = rand.nextUScalar1();

Completed in 1408 milliseconds

12 3 4 5 6 7 8 91011>>