HomeSort by relevance Sort by last modified time
    Searched defs:rand (Results 1 - 25 of 207) sorted by null

1 2 3 4 5 6 7 8 9

  /external/libvpx/libvpx/vp8/common/x86/
postproc_x86.c 11 /* On Android NDK, rand is inlined function, but postproc needs rand symbol */
13 #define rand __rand macro
15 #undef rand macro
17 extern int rand(void) function
  /external/chromium_org/v8/test/mjsunit/regress/
regress-2612.js 44 function rand() { function
61 source += [varname(i), "=", rand(), ","].join("");
  /external/chromium_org/net/quic/crypto/
curve25519_key_exchange_test.cc 21 QuicRandom* const rand = QuicRandom::GetInstance(); local
24 const string alice_key(Curve25519KeyExchange::NewPrivateKey(rand));
25 const string bob_key(Curve25519KeyExchange::NewPrivateKey(rand));
  /external/chromium_org/third_party/tcmalloc/chromium/src/base/
spinlock_internal.cc 83 static base::subtle::Atomic64 rand; local
84 uint64 r = base::subtle::NoBarrier_Load(&rand);
86 base::subtle::NoBarrier_Store(&rand, r);
  /external/chromium_org/third_party/tcmalloc/vendor/src/base/
spinlock_internal.cc 83 static base::subtle::Atomic64 rand; local
84 uint64 r = base::subtle::NoBarrier_Load(&rand);
86 base::subtle::NoBarrier_Store(&rand, r);
  /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);
ColorPrivBench.cpp 23 SkRandom rand; variable
25 fSrcs[i] = SkPreMultiplyColor(rand.nextU());
26 fDsts[i] = SkPreMultiplyColor(rand.nextU());
FSRectBench.cpp 27 SkRandom rand; variable
32 fRects[i].fLeft = -kMinOffset - SkScalarMul(rand.nextUScalar1(), kOffsetRange);
33 fRects[i].fTop = -kMinOffset - SkScalarMul(rand.nextUScalar1(), kOffsetRange);
34 fRects[i].fRight = W + kMinOffset + SkScalarMul(rand.nextUScalar1(), kOffsetRange);
35 fRects[i].fBottom = H + kMinOffset + SkScalarMul(rand.nextUScalar1(), kOffsetRange);
36 fColors[i] = rand.nextU() | 0xFF000000;
MatrixConvolutionBench.cpp 42 SkRandom rand; local
44 SkRect r = SkRect::MakeWH(rand.nextUScalar1() * 400,
45 rand.nextUScalar1() * 400);
  /external/skia/gm/
arcofzorro.cpp 32 SkRandom rand; variable
44 SkColor color = rand.nextU();
getpostextpath.cpp 54 SkLCGRandom rand; local
58 pos[i].set(x, y + rand.nextSScalar1() * 24);
hittestpath.cpp 45 SkLCGRandom rand; local
49 path.lineTo(rand.nextUScalar1() * scale, rand.nextUScalar1() * scale);
50 path.quadTo(rand.nextUScalar1() * scale, rand.nextUScalar1() * scale,
51 rand.nextUScalar1() * scale, rand.nextUScalar1() * scale);
52 path.cubicTo(rand.nextUScalar1() * scale, rand.nextUScalar1() * scale,
53 rand.nextUScalar1() * scale, rand.nextUScalar1() * scale
    [all...]
imageblur.cpp 38 SkRandom rand; local
42 int x = rand.nextULessThan(WIDTH);
43 int y = rand.nextULessThan(HEIGHT);
44 textPaint.setColor(rand.nextBits(24) | 0xFF000000);
45 textPaint.setTextSize(rand.nextRangeScalar(0, 300));
  /external/skia/tests/
MipMapTest.cpp 14 static void make_bitmap(SkBitmap* bm, SkRandom& rand) {
17 int w = 2 + rand.nextU() % 1000;
18 int h = 2 + rand.nextU() % 1000;
26 SkRandom rand; local
29 make_bitmap(&bm, rand);
SortTest.cpp 19 static void rand_array(SkRandom& rand, int array[], int n) {
21 array[j] = rand.nextS() & 0xFF;
44 SkRandom rand; local
47 int count = rand.nextRangeU(1, SK_ARRAY_COUNT(randomArray));
48 rand_array(rand, randomArray, count);
  /external/srtp/crypto/include/
kernel_compat.h 68 /* rand() implementation. */
71 static inline int rand(void) function
prng.h 27 rand_source_func_t rand; /* random source for re-initialization */ member in struct:__anon26579
44 rand_source_func_t rand; /* random source for re-initialization */ member in struct:__anon26580
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/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/chromium_org/crypto/
p224_spake_unittest.cc 84 const uint32 rand = i * 16777619; local
91 if ((rand & 1) == round) {
92 const bool server_or_client = rand & 2;
94 if (rand & 4) {
100 const size_t bit_to_corrupt = (rand >> 3) % bits;
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/
string-fasta.js 8 function rand(max) { function
66 var r = rand(1);
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
string-fasta.js 8 function rand(max) { function
66 var r = rand(1);
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/
string-fasta.js 8 function rand(max) { function
66 var r = rand(1);
  /external/chromium_org/v8/test/mjsunit/
unicodelctest-no-optimization.js 59 function rand() { function
75 var c = rand();
78 if (rand() & 1) {
82 if (rand() & 31 == 0) c = 0xfff8 + (rand() & 7)
83 if (rand() & 31 == 0) c = (rand() & 7)
86 if (rand() & 1) c = last + (rand() & 15) - 8;
96 var len = rand() & 0x1f
    [all...]
unicodelctest.js 58 function rand() { function
74 var c = rand();
77 if (rand() & 1) {
81 if (rand() & 31 == 0) c = 0xfff8 + (rand() & 7)
82 if (rand() & 31 == 0) c = (rand() & 7)
85 if (rand() & 1) c = last + (rand() & 15) - 8;
94 var len = rand() & 0x1f
    [all...]

Completed in 768 milliseconds

1 2 3 4 5 6 7 8 9