| /external/chromium_org/third_party/tcmalloc/vendor/src/ |
| sampler.cc | 77 void Sampler::Init(uint32_t seed) { 79 if (seed != 0) { 80 rnd_ = seed;
|
| /external/libvpx/libvpx/test/ |
| video_source.h | 145 RandomVideoSource(int seed = ACMRandom::DeterministicSeed()) 146 : rnd_(seed), 147 seed_(seed) { }
|
| /external/libvpx/libvpx/third_party/libwebm/ |
| mkvmuxerutil.hpp | 145 // Returns a random number to be used for UID, using |seed| to seed 147 uint64 MakeUID(unsigned int* seed);
|
| /external/llvm/lib/Transforms/Utils/ |
| MetaRenamer.cpp | 35 void srand(unsigned int seed) { 36 next = seed; 62 // Seed our PRNG with simple additive sum of ModuleID. We're looking to
|
| /external/openssl/crypto/dsa/ |
| dsagen.c | 72 unsigned char seed[20]={ variable 105 memcpy(seed_buf,seed,20); 106 dsa=DSA_generate_parameters(1024,seed,20,&counter,&h,cb,bio_err);
|
| /external/pixman/test/ |
| utils.h | 29 prng_srand (uint32_t seed) 33 /* Without setting a seed, PRNG does not work properly (is just 40 prng_srand_r (prng_state, seed);
|
| /external/skia/tests/ |
| NameAllocatorTest.cpp | 102 const GrGLuint seed = (count + fRandomName) / 2; local 103 const GrGLuint a = seed * kRange + 1; 104 const GrGLuint c = (seed * 743) % kRange;
|
| /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
| video_source.h | 145 RandomVideoSource(int seed = ACMRandom::DeterministicSeed()) 146 : rnd_(seed), 147 seed_(seed) { }
|
| /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libwebm/ |
| mkvmuxerutil.hpp | 145 // Returns a random number to be used for UID, using |seed| to seed 147 uint64 MakeUID(unsigned int* seed);
|
| /packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
| Test.java | 73 "test [-s seed] [-m maxUnigrams] [-n] [testName...]\n" 74 + "If seed is not specified, the current time is used.\n" 118 // seed for Random, and an int for a vocabulary size to test the dictionary with. They
|
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
| sortperf.py | 147 Extra arguments are used to seed the random generator. 160 # derive random seed from remaining arguments 164 random.seed(x)
|
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
| sortperf.py | 147 Extra arguments are used to seed the random generator. 160 # derive random seed from remaining arguments 164 random.seed(x)
|
| /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/crypto/ |
| CipherFactory.java | 152 byte[] seed, iv; 154 seed = mRandomNumberProvider.getBytes(NUM_BYTES); 162 // Old versions of SecureRandom do not seed themselves as securely as possible. 164 // users. The seed comes from RandomNumberProvider.getBytes(), which reads 171 random.setSeed(seed);
|
| /external/chromium_org/testing/gtest/test/ |
| gtest_shuffle_test.py | 262 # Get the test lists in all 3 iterations, using random seed 1, 2, 263 # and 3 respectively. Google Test picks a different seed in each 271 # Make sure running the tests with random seed 1 gets the same 277 # Make sure running the tests with random seed 2 gets the same 285 # Make sure running the tests with random seed 3 gets the same
|
| /external/chromium_org/third_party/libyuv/unit_test/ |
| compare_test.cc | 23 // hash seed of 5381 recommended. 24 static uint32 ReferenceHashDjb2(const uint8* src, uint64 count, uint32 seed) { 25 uint32 hash = seed; 75 // Mask seed different. Expect hash is different. 108 // Make a zeros and seed of zero. Test different lengths. Expect hash is same.
|
| /external/chromium_org/third_party/openssl/openssl/crypto/ec/ |
| eck_prn.c | 156 const unsigned char *seed; local 262 if ((seed = EC_GROUP_get0_seed(x)) != NULL) 330 if (seed && !print_bin(bp, "Seed:", seed, seed_len, off))
|
| /external/chromium_org/third_party/smhasher/src/ |
| Types.h | 36 typedef void (*pfHash) ( const void * blob, const int len, const uint32_t seed, void * out ); 68 inline void operator () ( const void * key, const int len, const uint32_t seed, uint32_t * out ) 70 m_hash(key,len,seed,out); 78 inline T operator () ( const void * key, const int len, const uint32_t seed ) 82 m_hash(key,len,seed,(uint32_t*)&result);
|
| /external/deqp/modules/glshared/ |
| glsLifetimeTests.hpp | 212 virtual void initAttachment (GLuint seed, GLuint attachment) = 0; 250 virtual void setupContainer (GLuint seed, GLuint container) = 0; 281 void initAttachment (GLuint seed, GLuint element); 303 void setupContainer (GLuint seed, GLuint container); 338 void initAttachment (GLuint seed, GLuint element);
|
| /external/gtest/test/ |
| gtest_shuffle_test.py | 262 # Get the test lists in all 3 iterations, using random seed 1, 2, 263 # and 3 respectively. Google Test picks a different seed in each 271 # Make sure running the tests with random seed 1 gets the same 277 # Make sure running the tests with random seed 2 gets the same 285 # Make sure running the tests with random seed 3 gets the same
|
| /external/openssl/crypto/ec/ |
| eck_prn.c | 156 const unsigned char *seed; local 262 if ((seed = EC_GROUP_get0_seed(x)) != NULL) 330 if (seed && !print_bin(bp, "Seed:", seed, seed_len, off))
|
| /external/protobuf/gtest/test/ |
| gtest_shuffle_test.py | 268 # Get the test lists in all 3 iterations, using random seed 1, 2, 269 # and 3 respectively. Google Test picks a different seed in each 277 # Make sure running the tests with random seed 1 gets the same 283 # Make sure running the tests with random seed 2 gets the same 291 # Make sure running the tests with random seed 3 gets the same
|
| /ndk/sources/third_party/googletest/googletest/test/ |
| gtest_shuffle_test.py | 262 # Get the test lists in all 3 iterations, using random seed 1, 2, 263 # and 3 respectively. Google Test picks a different seed in each 271 # Make sure running the tests with random seed 1 gets the same 277 # Make sure running the tests with random seed 2 gets the same 285 # Make sure running the tests with random seed 3 gets the same
|
| /external/chromium_org/v8/tools/ |
| run-deopt-fuzzer.py | 85 def __init__(self, seed=None): 86 seed = seed or random.randint(1, sys.maxint) 87 print "Using random distribution with seed %d" % seed 88 self._random = random.Random(seed) 142 return RandomDistribution(options.seed) 210 result.add_option("--seed", help="The seed for the random distribution", 216 result.add_option("--random-seed", default=0, dest="random_seed" [all...] |
| /external/chromium_org/components/variations/ |
| study_filtering_unittest.cc | 380 VariationsSeed seed; local 381 Study* study1 = seed.add_study(); 387 Study* study2 = seed.add_study(); 390 ASSERT_EQ(seed.study(0).name(), seed.study(1).name()); 392 Study* study3 = seed.add_study(); 400 seed, "en-CA", base::Time::Now(), base::Version("20.0.0.0"),
|
| /external/dnsmasq/src/ |
| util.c | 48 static uint32 seed[32]; variable 57 !read_write(fd, (unsigned char *)&seed, sizeof(seed), 1) || 59 die(_("failed to seed the random number generator: %s"), NULL, EC_MISC); 65 #define MUSH(i,b) x = t[i] += (((x ^ seed[i]) + sum) ^ ROTATE(x,b)); 72 for (i = 0;i < 12;++i) t[i] = in[i] ^ seed[12 + i]; 73 for (i = 0;i < 8;++i) out[i] = seed[24 + i];
|