/external/chromium_org/net/disk_cache/ |
disk_cache_test_util.cc | 32 int seed = static_cast<int>(Time::Now().ToInternalValue()); local 33 srand(seed);
|
/external/chromium_org/net/websockets/ |
websocket_test_util.cc | 26 LinearCongruentialGenerator::LinearCongruentialGenerator(uint32 seed) 27 : current_(seed) {}
|
/external/chromium_org/third_party/leveldatabase/src/util/ |
testharness.h | 35 // Return a randomization seed for this run. Typically returns the 37 // runs may be able to vary the seed.
|
/external/chromium_org/third_party/libyuv/source/ |
compare_posix.cc | 96 uint32 HashDjb2_SSE41(const uint8* src, int count, uint32 seed) { 138 "+rm"(seed), // %2
|
/external/chromium_org/third_party/openssl/openssl/crypto/evp/ |
c_allc.c | 120 EVP_add_cipher_alias(SN_seed_cbc,"SEED"); 121 EVP_add_cipher_alias(SN_seed_cbc,"seed");
|
/external/chromium_org/third_party/opus/src/silk/ |
decode_indices.c | 148 /* Decode seed */ 150 psDec->indices.Seed = (opus_int8)ec_dec_icdf( psRangeDec, silk_uniform4_iCDF, 8 );
|
/external/chromium_org/third_party/smhasher/src/ |
crc.cpp | 81 void crc32 ( const void * key, int len, uint32_t seed, void * out ) 84 uint32_t crc = seed ^ 0xffffffffL;
|
PMurHash.c | 176 /* Main hashing function. Initialise carry to 0 and h1 to 0 or an initial seed 286 uint32_t PMurHash32(uint32_t seed, const void *key, int len) 288 uint32_t h1=seed, carry=0; 296 void PMurHash32_test(const void *key, int len, uint32_t seed, void *out) 298 uint32_t h1=seed, carry=0;
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
system-alloc.cc | 131 void raninit(ranctx* x, u4 seed) { 134 x->b = x->c = x->d = seed; 176 // Pre-initialize our seed with a "random" address in case /dev/urandom is 178 uint32_t seed = (reinterpret_cast<uint64_t>(&c) >> 32) ^ 183 len = read(urandom_fd, &seed, sizeof(seed)); 184 ASSERT(len == sizeof(seed)); 188 raninit(&ctx, seed);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_stackdepot.cc | 27 const u32 seed = 0x9747b28c; local 29 u32 h = seed ^ (size * sizeof(uptr));
|
/external/deqp/framework/delibs/decpp/ |
deRandom.hpp | 41 Random (deUint32 seed) { deRandom_init(&m_rnd, seed); }
|
/external/fio/os/ |
os-linux.h | 152 static inline void os_random_seed(unsigned long seed, os_random_state_t *rs) 154 srand48_r(seed, rs);
|
os.h | 273 static inline void os_random_seed(unsigned long seed, os_random_state_t *rs) 275 srand(seed);
|
/external/libopus/silk/ |
decode_indices.c | 148 /* Decode seed */ 150 psDec->indices.Seed = (opus_int8)ec_dec_icdf( psRangeDec, silk_uniform4_iCDF, 8 );
|
/external/llvm/tools/llvm-stress/ |
llvm-stress.cpp | 36 static cl::opt<unsigned> SeedCL("seed", 37 cl::desc("Seed used for randomness"), cl::init(0)); 64 Random(unsigned _seed):Seed(_seed) {} 69 uint32_t Val = Seed + 0x000b07a1; 70 Seed = (Val * 0x3c7c0ac1); 72 return Seed & 0x7ffff; 94 unsigned Seed; 694 // Pick an initial seed value
|
/external/openssl/crypto/evp/ |
c_allc.c | 120 EVP_add_cipher_alias(SN_seed_cbc,"SEED"); 121 EVP_add_cipher_alias(SN_seed_cbc,"seed");
|
/frameworks/base/core/java/android/util/ |
MathUtils.java | 177 public static void randomSeed(long seed) { 178 sRandom.setSeed(seed);
|
/frameworks/rs/cpu_ref/linkloader/ |
main.cpp | 93 void stub_srand(unsigned int seed) { 94 srand(seed);
|
/external/libcxx/include/ |
random | 42 void seed(result_type s = default_seed); 43 template<class Sseq> void seed(Sseq& q); 102 void seed(result_type value = default_seed); 103 template<class Sseq> void seed(Sseq& q); 160 void seed(result_type value = default_seed); 161 template<class Sseq> void seed(Sseq& q); 211 void seed(); 212 void seed(result_type s); 213 template<class Sseq> void seed(Sseq& q); 264 void seed(); [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
random | 42 void seed(result_type s = default_seed); 43 template<class Sseq> void seed(Sseq& q); 102 void seed(result_type value = default_seed); 103 template<class Sseq> void seed(Sseq& q); 160 void seed(result_type value = default_seed); 161 template<class Sseq> void seed(Sseq& q); 211 void seed(); 212 void seed(result_type s); 213 template<class Sseq> void seed(Sseq& q); 264 void seed(); [all...] |
/prebuilts/ndk/9/sources/cxx-stl/llvm-libc++/libcxx/include/ |
random | 42 void seed(result_type s = default_seed); 43 template<class Sseq> void seed(Sseq& q); 102 void seed(result_type value = default_seed); 103 template<class Sseq> void seed(Sseq& q); 160 void seed(result_type value = default_seed); 161 template<class Sseq> void seed(Sseq& q); 211 void seed(); 212 void seed(result_type s); 213 template<class Sseq> void seed(Sseq& q); 264 void seed(); [all...] |
/external/chromium_org/third_party/opus/src/tests/ |
test_opus_decode.c | 427 fprintf(stderr,"Usage: %s [<seed>]\n",_argv[0]); 432 env_seed=getenv("SEED"); 444 fprintf(stderr,"Testing %s decoder. Random seed: %u (%.4X)\n", oversion, iseed, fast_rand() % 65535); 445 if(env_used)fprintf(stderr," Random seed set from the environment (SEED=%s).\n", env_seed);
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/ |
entropy_coding.c | 177 static void GenerateDitherQ7Lb(int16_t* bufQ7, uint32_t seed, 186 seed = (seed * 196314165) + 907633515; 189 /* dither = seed * 128 / 4294967295 */ 190 dither1_Q7 = (int16_t)(((int)seed + 16777216) >> 25); 193 seed = (seed * 196314165) + 907633515; 196 dither2_Q7 = (int16_t)(((int)seed + 16777216) >> 25); 198 shft = (seed >> 25) & 15; 219 seed = (seed * 196314165) + 907633515 [all...] |
/external/libopus/tests/ |
test_opus_decode.c | 427 fprintf(stderr,"Usage: %s [<seed>]\n",_argv[0]); 432 env_seed=getenv("SEED"); 444 fprintf(stderr,"Testing %s decoder. Random seed: %u (%.4X)\n", oversion, iseed, fast_rand() % 65535); 445 if(env_used)fprintf(stderr," Random seed set from the environment (SEED=%s).\n", env_seed);
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
entropy_coding.c | 177 static void GenerateDitherQ7Lb(WebRtc_Word16* bufQ7, WebRtc_UWord32 seed, 186 seed = (seed * 196314165) + 907633515; 189 /* dither = seed * 128 / 4294967295 */ 190 dither1_Q7 = (WebRtc_Word16)(((int)seed + 16777216) >> 25); 193 seed = (seed * 196314165) + 907633515; 196 dither2_Q7 = (WebRtc_Word16)(((int)seed + 16777216) >> 25); 198 shft = (seed >> 25) & 15; 219 seed = (seed * 196314165) + 907633515 [all...] |