/external/dnsmasq/src/ |
H A D | 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];
|
/external/chromium_org/chrome/browser/metrics/variations/ |
H A D | variations_service.cc | 55 // Default server of Variations seed info. 57 "https://clients4.google.com/chrome-variations/seed"; 119 // Gets the version number to use for variations seed simulation. Must be called 215 // Use the build time for date checks if either the seed date is invalid or 216 // the build time is newer than the seed date. 224 // resource bundle. Used as a callback passed to the variations seed processor. 257 variations::VariationsSeed seed; local 258 if (!seed_store_.LoadSeed(&seed)) 270 seed, 281 // Log the "freshness" of the seed tha 600 PerformSimulationWithVersion( scoped_ptr<variations::VariationsSeed> seed, const base::Version& version) argument [all...] |
/external/chromium_org/chrome/browser/prefs/ |
H A D | pref_hash_calculator.cc | 95 PrefHashCalculator::PrefHashCalculator(const std::string& seed, argument 97 : seed_(seed),
|
H A D | profile_pref_store_manager.h | 42 // |seed| and |device_id| are used to track preference value changes and must 49 const std::string& seed,
|
/external/chromium_org/components/variations/ |
H A D | entropy_provider.cc | 21 SeededRandGenerator::SeededRandGenerator(uint32 seed) { argument 22 mersenne_twister_.init_genrand(seed);
|
H A D | entropy_provider.h | 22 // A functor that generates random numbers based on a seed, using the Mersenne 25 explicit SeededRandGenerator(uint32 seed);
|
H A D | study_filtering.h | 65 // Filters the list of studies in |seed| and validates and pre-processes them, 68 void FilterAndValidateStudies(const VariationsSeed& seed,
|
H A D | variations_seed_processor.h | 25 // Helper class to instantiate field trials from a variations seed. 34 // Creates field trials from the specified variations |seed|, based on the 37 void CreateTrialsFromSeed(const VariationsSeed& seed,
|
H A D | variations_seed_simulator.h | 27 // The result of variations seed simulation, counting the number of experiment 29 // seed. 53 // the result of evaluating |seed| with the given parameters. Returns the 56 Result SimulateSeedStudies(const VariationsSeed& seed,
|
/external/chromium_org/net/disk_cache/ |
H A D | disk_cache_test_util.cc | 32 int seed = static_cast<int>(Time::Now().ToInternalValue()); local 33 srand(seed);
|
/external/chromium_org/net/tools/quic/test_tools/ |
H A D | packet_dropping_test_writer.h | 108 void set_seed(uint64 seed) { argument 109 simple_random_.set_seed(seed);
|
/external/chromium_org/third_party/smhasher/src/ |
H A D | lookup3.cpp | 69 void lookup3_test ( const void * key, int len, uint32_t seed, void * out ) argument 71 *(uint32_t*)out = lookup3(key,len,seed);
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
H A D | decode_plc.c | 474 (ISACdec_obj->plcstr_obj).seed = WEBRTC_SPL_RAND( 475 (ISACdec_obj->plcstr_obj).seed ); 477 (ISACdec_obj->plcstr_obj).seed, 10 ) - 16; 480 (ISACdec_obj->plcstr_obj).seed = WEBRTC_SPL_RAND( 481 (ISACdec_obj->plcstr_obj).seed ); 483 (ISACdec_obj->plcstr_obj).seed, 10 ) - 16; 488 (ISACdec_obj->plcstr_obj).seed = WEBRTC_SPL_RAND( 489 (ISACdec_obj->plcstr_obj).seed ); 491 (ISACdec_obj->plcstr_obj).seed, 10 ) - 16; 493 (ISACdec_obj->plcstr_obj).seed [all...] |
/external/compiler-rt/lib/msan/ |
H A D | msan_chained_origin_depot.cc | 24 const u32 seed = 0x9747b28c; local 26 u32 h = seed;
|
/external/llvm/lib/Transforms/Utils/ |
H A D | MetaRenamer.cpp | 35 void srand(unsigned int seed) { argument 36 next = seed;
|
/external/openfst/src/include/fst/ |
H A D | randequivalent.h | 119 // of length no more than 'path_length' using the seed 'seed' in these FSTs. 124 int seed = time(0), int path_length = INT_MAX, 126 UniformArcSelector<Arc> uniform_selector(seed);
|
/external/openssl/apps/ |
H A D | progs.pl | 74 "des", "des3", "desx", "idea", "seed", "rc4", "rc4-40", 81 "seed-cbc","seed-ecb", "seed-cfb", "seed-ofb", 94 elsif ($_ =~ /seed/) { $t="#ifndef OPENSSL_NO_SEED\n${t}#endif\n"; }
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
H A D | decode_plc.c | 474 (ISACdec_obj->plcstr_obj).seed = WEBRTC_SPL_RAND( 475 (ISACdec_obj->plcstr_obj).seed ); 477 (ISACdec_obj->plcstr_obj).seed, 10 ) - 16; 480 (ISACdec_obj->plcstr_obj).seed = WEBRTC_SPL_RAND( 481 (ISACdec_obj->plcstr_obj).seed ); 483 (ISACdec_obj->plcstr_obj).seed, 10 ) - 16; 488 (ISACdec_obj->plcstr_obj).seed = WEBRTC_SPL_RAND( 489 (ISACdec_obj->plcstr_obj).seed ); 491 (ISACdec_obj->plcstr_obj).seed, 10 ) - 16; 493 (ISACdec_obj->plcstr_obj).seed [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/rsa/ |
H A D | padding.c | 322 int PKCS1_MGF1(uint8_t *mask, unsigned len, const uint8_t *seed, argument 341 !EVP_DigestUpdate(&c, seed, seedlen) || !EVP_DigestUpdate(&c, cnt, 4)) { 370 uint8_t *db, *seed; local 403 seed = to + 1; 412 if (RAND_pseudo_bytes(seed, mdlen) <= 0) { 423 if (PKCS1_MGF1(dbmask, emlen - mdlen, seed, mdlen, mgf1md) < 0) { 434 seed[i] ^= seedmask[i]; 451 uint8_t *db = NULL, seed[EVP_MAX_MD_SIZE], phash[EVP_MAX_MD_SIZE]; local 483 if (PKCS1_MGF1(seed, mdlen, maskeddb, dblen, mgf1md)) { 487 seed[ [all...] |
/external/pixman/test/ |
H A D | stress-test.c | 847 run_test (uint32_t seed, pixman_bool_t verbose, uint32_t mod) argument 854 if (mod == 0 || (seed % mod) == 0) 855 printf ("Seed 0x%08x\n", seed); 860 prng_srand (seed); 968 uint32_t seed = 1; local 995 get_int (argv[i + 1], &seed); 1011 "-s <seed> Seed of first test (ignored if PIXMAN_RANDOMIZE_TESTS is set)\n" 1013 "-v <n> Print out every n'th seed\n\n"); 1021 seed = get_random_seed(); 1022 printf ("First seed [all...] |
/external/openssl/crypto/ec/ |
H A D | ec_asn1.c | 170 ASN1_BIT_STRING *seed; member in struct:x9_62_curve_st 241 ASN1_OPT(X9_62_CURVE, seed, ASN1_BIT_STRING) 532 /* set the seed (optional) */ 533 if (group->seed) 535 if (!curve->seed) 536 if ((curve->seed = ASN1_BIT_STRING_new()) == NULL) 541 curve->seed->flags &= ~(ASN1_STRING_FLAG_BITS_LEFT|0x07); 542 curve->seed->flags |= ASN1_STRING_FLAG_BITS_LEFT; 543 if (!ASN1_BIT_STRING_set(curve->seed, group->seed, [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | SVGFETurbulenceElement.h | 49 SVGAnimatedNumber* seed() { return m_seed.get(); } function in class:blink::FINAL
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
H A D | db_iter.cc | 52 uint32_t seed) 59 rnd_(seed), 313 uint32_t seed) { 314 return new DBIter(db, user_key_comparator, internal_iter, sequence, seed); 51 DBIter(DBImpl* db, const Comparator* cmp, Iterator* iter, SequenceNumber s, uint32_t seed) argument 308 NewDBIterator( DBImpl* db, const Comparator* user_key_comparator, Iterator* internal_iter, SequenceNumber sequence, uint32_t seed) argument
|
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/include/libyuv/ |
H A D | compare.h | 23 uint32 HashDjb2(const uint8* src, uint64 count, uint32 seed);
|
/external/chromium_org/third_party/libyuv/include/libyuv/ |
H A D | compare.h | 23 uint32 HashDjb2(const uint8* src, uint64 count, uint32 seed);
|