/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
random.c | 18 * File: random.c * 20 * Description: Signed 16 bits random generator * 27 Word16 Random(Word16 * seed)
|
/prebuilts/go/darwin-x86/doc/progs/ |
cgo1.go | 13 func Random() int {
|
cgo2.go | 12 func Random() int {
|
/prebuilts/go/linux-x86/doc/progs/ |
cgo1.go | 13 func Random() int {
|
cgo2.go | 12 func Random() int {
|
/external/webrtc/webrtc/base/ |
random.h | 22 class Random { 24 explicit Random(uint64_t seed); 26 // Return pseudo-random integer of the specified type. 38 // Uniformly distributed pseudo-random number in the interval [0, t]. 41 // Uniformly distributed pseudo-random number in the interval [low, high]. 44 // Uniformly distributed pseudo-random number in the interval [low, high]. 54 // Outputs a nonzero 64-bit random number. 65 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(Random); 68 // Return pseudo-random number in the interval [0.0, 1.0). 70 float Random::Rand<float>() [all...] |
random.cc | 10 #include "webrtc/base/random.h" 18 Random::Random(uint64_t seed) { 23 uint32_t Random::Rand(uint32_t t) { 36 uint32_t Random::Rand(uint32_t low, uint32_t high) { 41 int32_t Random::Rand(int32_t low, int32_t high) { 51 float Random::Rand<float>() { 58 double Random::Rand<double>() { 65 bool Random::Rand<bool>() { 69 double Random::Gaussian(double mean, double standard_deviation) [all...] |
/prebuilts/clang/host/linux-x86/clang-3859424/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerRandom.h | 9 // fuzzer::Random 15 #include <random> 18 class Random { 20 Random(unsigned int seed) : R(seed) {}
|
/test/vts-testcase/fuzz/iface_fuzzer/include/ |
ProtoFuzzerUtils.h | 21 #include <random> 50 // 64-bit random number generator. 51 class Random { 53 Random(uint64_t seed) : rand_(seed) {} 54 virtual ~Random() {} 56 // Generates a 64-bit random number. 58 // Generates a random number in range [0, n). 62 // Used to generate a 64-bit Mersenne Twister pseudo-random number.
|
/external/eigen/Eigen/src/Core/ |
Random.h | 19 inline const Scalar operator() () const { return random<Scalar>(); } 28 /** \returns a random matrix expression 39 * it is redundant to pass \a rows and \a cols as arguments, so Random() should be used 48 * behavior with expressions involving random matrices. 50 * See DenseBase::NullaryExpr(Index, const CustomNullaryOp&) for an example using C++11 random generators. 52 * \sa DenseBase::setRandom(), DenseBase::Random(Index), DenseBase::Random() 56 DenseBase<Derived>::Random(Index rows, Index cols) 61 /** \returns a random vector expression 73 * it is redundant to pass \a size as argument, so Random() should be use [all...] |
/external/regex-re2/re2/testing/ |
string_generator.cc | 61 // Generates random digits_, return true if successful. 62 // Returns false if the random sequence is over. 95 // Sets generator up to return n random strings. 96 void StringGenerator::Random(int32 seed, int n) {
|
/external/skia/bench/ |
RectoriBench.cpp | 29 SkRandom Random; 32 SkScalar blurSigma = Random.nextRangeScalar(1.5f, 25.0f); 33 SkScalar size = Random.nextRangeScalar(20*blurSigma, 50*blurSigma); 35 SkScalar x = Random.nextRangeScalar(0.0f, W - size); 36 SkScalar y = Random.nextRangeScalar(0.0f, H - size); 56 paint.setColor(0xff000000 | Random.nextU());
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
unittest.h | 94 class Random {
96 Random(unsigned seed = 0) : mSeed(seed) {}
|
/external/deqp/framework/delibs/decpp/ |
deRandom.hpp | 23 * \brief Random number generator utilities. 35 //! Random self-test - compare returned values against hard-coded values. 38 class Random 41 Random (deUint32 seed) { deRandom_init(&m_rnd, seed); } 42 ~Random (void) {} 70 bool operator== (const Random& other) const; 71 bool operator!= (const Random& other) const; 79 inline float Random::getFloat (float min, float max) 85 inline double Random::getDouble (double min, double max) 91 inline int Random::getInt (int min, int max [all...] |
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKeyDxe/ |
HiKeyDxe.c | 58 struct RandomSerialNo *Random; 90 Random = (struct RandomSerialNo *)DataPtr; 91 if (Random->Magic != RANDOM_MAGIC) { 115 AsciiStrToUnicodeStr (Random->SerialNo, SerialNoUnicode);
|
/external/gemmlowp/test/ |
test.h | 34 inline int Random() { 106 (*m)(r, c) = Random() & mask;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
random.py | 0 """Random variable generators.
9 pick random element
10 pick random sample
11 generate random permutation
37 * The random() method is implemented in C, executes in a single Python step,
51 __all__ = ["Random","seed","random","uniform","randint","choice","sample",
72 class Random(_random.Random):
73 """Random number generator base class used by bound module functions. 690 def random(self): member in class:WichmannHill 813 def random(self): member in class:SystemRandom 887 random = _inst.random variable [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
random.py | 0 """Random variable generators.
9 pick random element
10 pick random sample
11 generate random permutation
37 * The random() method is implemented in C, executes in a single Python step,
51 __all__ = ["Random","seed","random","uniform","randint","choice","sample",
72 class Random(_random.Random):
73 """Random number generator base class used by bound module functions. 688 def random(self): member in class:WichmannHill 811 def random(self): member in class:SystemRandom 885 random = _inst.random variable [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/ |
IScsiMisc.c | 492 Generate random numbers.
494 @param[in, out] Rand The buffer to contain random numbers.
503 UINT32 Random;
506 Random = NET_RANDOM (NetRandomInitSeed ());
507 *Rand++ = (UINT8) (Random);
|
/external/llvm/lib/Fuzzer/ |
FuzzerInternal.h | 22 #include <random> 133 class Random { 135 Random(unsigned int seed) : R(seed) {} 242 MutationDispatcher(Random &Rand, const FuzzingOptions &Options); 302 Random &GetRand() { return Rand; } 316 Random &Rand;
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
random.py | 0 """Random variable generators. 9 pick random element 10 pick random sample 11 generate random permutation 37 * The random() method is implemented in C, executes in a single Python step, 51 __all__ = ["Random","seed","random","uniform","randint","choice","sample", 72 class Random(_random.Random): 73 """Random number generator base class used by bound module functions 684 def random(self): member in class:WichmannHill 807 def random(self): member in class:SystemRandom 881 random = _inst.random variable [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
random.py | 0 """Random variable generators. 9 pick random element 10 pick random sample 11 generate random permutation 37 * The random() method is implemented in C, executes in a single Python step, 51 __all__ = ["Random","seed","random","uniform","randint","choice","sample", 72 class Random(_random.Random): 73 """Random number generator base class used by bound module functions 684 def random(self): member in class:WichmannHill 807 def random(self): member in class:SystemRandom 881 random = _inst.random variable [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
random.py | 0 """Random variable generators. 9 pick random element 10 pick random sample 11 generate random permutation 37 * The random() method is implemented in C, executes in a single Python step, 51 __all__ = ["Random","seed","random","uniform","randint","choice","sample", 72 class Random(_random.Random): 73 """Random number generator base class used by bound module functions 684 def random(self): member in class:WichmannHill 807 def random(self): member in class:SystemRandom 881 random = _inst.random variable [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
random.py | 0 """Random variable generators. 9 pick random element 10 pick random sample 11 generate random permutation 37 * The random() method is implemented in C, executes in a single Python step, 51 __all__ = ["Random","seed","random","uniform","randint","choice","sample", 72 class Random(_random.Random): 73 """Random number generator base class used by bound module functions 684 def random(self): member in class:WichmannHill 807 def random(self): member in class:SystemRandom 881 random = _inst.random variable [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/ |
IScsiMisc.c | 446 Generate random numbers.
448 @param[in, out] Rand The buffer to contain random numbers.
458 UINT32 Random;
461 Random = NET_RANDOM (NetRandomInitSeed ());
462 *Rand++ = (UINT8) (Random);
[all...] |