/external/valgrind/main/coregrind/ |
H A D | m_libcfile.c | 664 UInt seed; local 672 seed = (VG_(getpid)() << 9) ^ VG_(getppid)(); 682 tmpdir, part_of_name, VG_(random)( &seed ));
|
/external/valgrind/main/none/tests/amd64/ |
H A D | sse4-64.c | 80 static UInt seed = 80021; local 81 seed = 1103515245 * seed + 12345; 82 return (seed >> 17) & 0xFF;
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
H A D | structs.h | 182 WebRtc_Word16 seed; member in struct:__anon28055
|
/external/webrtc/src/modules/audio_processing/aecm/ |
H A D | aecm_core.h | 123 WebRtc_UWord32 seed; member in struct:__anon28105
|
/external/chromium/testing/gtest/src/ |
H A D | gtest-internal-inl.h | 99 // A valid random seed must be in [1, kMaxRandomSeed]. 122 // Returns a random seed in range [1, kMaxRandomSeed] based on the 129 // Normalizes the actual seed to range [1, kMaxRandomSeed] such that 137 // Returns the first valid random seed after 'seed'. The behavior is 138 // undefined if 'seed' is invalid. The seed after kMaxRandomSeed is 140 inline int GetNextRandomSeed(int seed) { argument 141 GTEST_CHECK_(1 <= seed && seed < [all...] |
/external/chromium_org/testing/gtest/src/ |
H A D | gtest-internal-inl.h | 99 // A valid random seed must be in [1, kMaxRandomSeed]. 128 // Returns a random seed in range [1, kMaxRandomSeed] based on the 135 // Normalizes the actual seed to range [1, kMaxRandomSeed] such that 143 // Returns the first valid random seed after 'seed'. The behavior is 144 // undefined if 'seed' is invalid. The seed after kMaxRandomSeed is 146 inline int GetNextRandomSeed(int seed) { argument 147 GTEST_CHECK_(1 <= seed && seed < [all...] |
/external/chromium_org/third_party/freetype/src/cff/ |
H A D | cffgload.c | 893 FT_Fixed seed; local 905 /* compute random seed from stack address of parameter */ 906 seed = (FT_Fixed)( ( (FT_PtrDist)(char*)&seed ^ 910 seed = ( seed ^ ( seed >> 10 ) ^ ( seed >> 20 ) ) & 0xFFFFL; 911 if ( seed == 0 ) 912 seed [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | ssearch.cpp | 1678 // 2. Get access to current seed, to more easily reproduce failures. 2077 const char *name, const char *strength, uint32_t seed) 2097 " strength=%s seed=%d", 2098 name, expectedStart, expectedEnd, actualStart, actualEnd, strength, seed); 2114 " strength=%s seed=%d", 2115 name, expectedStart, expectedEnd, actualStart, actualEnd, strength, seed); 2147 const char *name, const char *strength, uint32_t seed) 2165 " strength=%s seed=%d <pattern>: %s", 2166 name, expectedStart, expectedEnd, actualStart, actualEnd, strength, seed, hexbuf); 2182 " strength=%s seed 2076 monkeyTestCase(UCollator *coll, const UnicodeString &testCase, const UnicodeString &pattern, const UnicodeString &altPattern, const char *name, const char *strength, uint32_t seed) argument 2145 bmMonkeyTestCase(UCollator *coll, const UnicodeString &testCase, const UnicodeString &pattern, const UnicodeString &altPattern, BoyerMooreSearch *bms, BoyerMooreSearch *abms, const char *name, const char *strength, uint32_t seed) argument 2291 uint32_t seed = m_seed; local 2434 uint32_t seed = m_seed; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gtest/src/ |
H A D | gtest-internal-inl.h | 99 // A valid random seed must be in [1, kMaxRandomSeed]. 122 // Returns a random seed in range [1, kMaxRandomSeed] based on the 129 // Normalizes the actual seed to range [1, kMaxRandomSeed] such that 137 // Returns the first valid random seed after 'seed'. The behavior is 138 // undefined if 'seed' is invalid. The seed after kMaxRandomSeed is 140 inline int GetNextRandomSeed(int seed) { argument 141 GTEST_CHECK_(1 <= seed && seed < [all...] |
/external/chromium_org/third_party/opus/src/celt/ |
H A D | bands.c | 44 opus_uint32 celt_lcg_rand(opus_uint32 seed) argument 46 return 1664525 * seed + 1013904223; 205 opus_val16 *prev2logE, int *pulses, opus_uint32 seed) 285 seed = celt_lcg_rand(seed); 286 X[(j<<LM)+k] = (seed&0x8000 ? r : -r); 639 opus_uint32 *seed, opus_val16 gain, celt_norm *lowband_scratch, int fill) 956 cm = quant_band(encode, m, i, x2, NULL, N, mbits, spread, B, intensity, tf_change, lowband, ec, remaining_bits, LM, lowband_out, NULL, level, seed, gain, lowband_scratch, orig_fill); 1013 NULL, next_level, seed, stereo ? Q15ONE : MULT16_16_P15(gain,mid), lowband_scratch, fill); 1022 NULL, next_level, seed, MULT16_16_P1 203 anti_collapse(const CELTMode *m, celt_norm *X_, unsigned char *collapse_masks, int LM, int C, int size, int start, int end, opus_val16 *logE, opus_val16 *prev1logE, opus_val16 *prev2logE, int *pulses, opus_uint32 seed) argument 636 quant_band(int encode, const CELTMode *m, int i, celt_norm *X, celt_norm *Y, int N, int b, int spread, int B, int intensity, int tf_change, celt_norm *lowband, ec_ctx *ec, opus_int32 *remaining_bits, int LM, celt_norm *lowband_out, const celt_ener *bandE, int level, opus_uint32 *seed, opus_val16 gain, celt_norm *lowband_scratch, int fill) argument 1171 quant_all_bands(int encode, const CELTMode *m, int start, int end, celt_norm *X_, celt_norm *Y_, unsigned char *collapse_masks, const celt_ener *bandE, int *pulses, int shortBlocks, int spread, int dual_stereo, int intensity, int *tf_res, opus_int32 total_bits, opus_int32 balance, ec_ctx *ec, int LM, int codedBands, opus_uint32 *seed) argument [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
H A D | tcmalloc_unittest.cc | 209 TestHarness(int seed) argument 211 srandom(seed); 287 explicit AllocatorState(int seed) : TestHarness(seed), memalign_fraction_(0) { argument 354 explicit ACMRandom(int32 seed) { seed_ = seed; } argument 975 // Optional argv[1] is the seed
|
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
H A D | tcmalloc_unittest.cc | 209 TestHarness(int seed) argument 211 srandom(seed); 287 explicit AllocatorState(int seed) : TestHarness(seed), memalign_fraction_(0) { argument 354 explicit ACMRandom(int32 seed) { seed_ = seed; } argument 975 // Optional argv[1] is the seed
|
/external/chromium_org/v8/src/ |
H A D | heap.h | 1799 uint32_t seed = static_cast<uint32_t>(hash_seed()->value()); local 1800 ASSERT(FLAG_randomize_hashes || seed == 0); 1801 return seed;
|
H A D | stub-cache.cc | 89 int seed = PrimaryOffset(primary->key, old_flags, old_map); local 90 int secondary_offset = SecondaryOffset(primary->key, old_flags, seed);
|
/external/eigen/unsupported/test/mpreal/ |
H A D | mpreal.h | 409 // Use parameter to setup seed, e.g.: random((unsigned)time(NULL))
411 friend const mpreal random(unsigned int seed = 0);
2349 // a = random(seed); <- initialization & first random number generation
2351 // seed != 0
2352 inline const mpreal random(unsigned int seed)
argument 2366 if(seed != 0) gmp_randseed_ui(state,seed);
2370 if(seed != 0) std::srand(seed);
|
/external/freetype/src/cff/ |
H A D | cffgload.c | 916 FT_Fixed seed; local 928 /* compute random seed from stack address of parameter */ 929 seed = (FT_Fixed)( ( (FT_PtrDist)(char*)&seed ^ 933 seed = ( seed ^ ( seed >> 10 ) ^ ( seed >> 20 ) ) & 0xFFFFL; 934 if ( seed == 0 ) 935 seed [all...] |
/external/gtest/src/ |
H A D | gtest-internal-inl.h | 99 // A valid random seed must be in [1, kMaxRandomSeed]. 122 // Returns a random seed in range [1, kMaxRandomSeed] based on the 129 // Normalizes the actual seed to range [1, kMaxRandomSeed] such that 137 // Returns the first valid random seed after 'seed'. The behavior is 138 // undefined if 'seed' is invalid. The seed after kMaxRandomSeed is 140 inline int GetNextRandomSeed(int seed) { argument 141 GTEST_CHECK_(1 <= seed && seed < [all...] |
/external/icu4c/test/intltest/ |
H A D | ssearch.cpp | 976 // 2. Get access to current seed, to more easily reproduce failures. 1308 const char *name, const char *strength, uint32_t seed) 1328 " strength=%s seed=%d", 1329 name, expectedStart, expectedEnd, actualStart, actualEnd, strength, seed); 1345 " strength=%s seed=%d", 1346 name, expectedStart, expectedEnd, actualStart, actualEnd, strength, seed); 1413 m_seed = getIntParam("seed", p, m_seed); 1453 uint32_t seed = m_seed; local 1461 notFoundCount += monkeyTestCase(coll, pattern, pattern, altPattern, "pattern", strengthNames[s], seed); 1468 notFoundCount += monkeyTestCase(coll, testCase, pattern, altPattern, "prefix + pattern", strengthNames[s], seed); 1307 monkeyTestCase(UCollator *coll, const UnicodeString &testCase, const UnicodeString &pattern, const UnicodeString &altPattern, const char *name, const char *strength, uint32_t seed) argument [all...] |
/external/iputils/ |
H A D | ping6.c | 306 unsigned long seed; local 308 seed = (unsigned long)getpid(); 310 seed ^= tv.tv_usec; 311 srand(seed);
|
/external/libvorbis/lib/ |
H A D | psy.c | 387 static void seed_curve(float *seed, argument 407 if(seed[seedptr]<lin)seed[seedptr]=lin; 418 float *seed, 440 seed_curve(seed, 510 float *seed, 517 seed_chase(seed,linesper,n); /* for masking */ 522 float minV=seed[pos]; 527 if((seed[pos]>NEGINF && seed[po 414 seed_loop(vorbis_look_psy *p, const float ***curves, const float *f, const float *flr, float *seed, float specmax) argument 509 max_seeds(vorbis_look_psy *p, float *seed, float *flr) argument 755 float *seed=alloca(sizeof(*seed)*p->total_octave_lines); local 767 seed_loop(p,(const float ***)p->tonecurves,logfft,logmask,seed,global_specmax); local [all...] |
/external/libvpx/libvpx/examples/includes/PHP-Markdown-Extra-1.2.3/ |
H A D | markdown.php | 1478 $seed = (int)abs(crc32($addr) / strlen($addr)); # Deterministic seed. variable 1484 $r = ($seed * (1 + $key)) % 100; # Pseudo-random function.
|
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
H A D | gtest-internal-inl.h | 99 // A valid random seed must be in [1, kMaxRandomSeed]. 122 // Returns a random seed in range [1, kMaxRandomSeed] based on the 129 // Normalizes the actual seed to range [1, kMaxRandomSeed] such that 137 // Returns the first valid random seed after 'seed'. The behavior is 138 // undefined if 'seed' is invalid. The seed after kMaxRandomSeed is 140 inline int GetNextRandomSeed(int seed) { argument 141 GTEST_CHECK_(1 <= seed && seed < [all...] |
/external/mesa3d/src/gtest/src/ |
H A D | gtest-internal-inl.h | 99 // A valid random seed must be in [1, kMaxRandomSeed]. 122 // Returns a random seed in range [1, kMaxRandomSeed] based on the 129 // Normalizes the actual seed to range [1, kMaxRandomSeed] such that 137 // Returns the first valid random seed after 'seed'. The behavior is 138 // undefined if 'seed' is invalid. The seed after kMaxRandomSeed is 140 inline int GetNextRandomSeed(int seed) { argument 141 GTEST_CHECK_(1 <= seed && seed < [all...] |
/external/okhttp/src/test/java/com/squareup/okhttp/internal/http/ |
H A D | HttpResponseCacheTest.java | 759 // 1. seed the cache (potentially) 794 // 1. seed the cache 816 // 1. seed the cache 1115 private RecordedRequest assertClientSuppliedCondition(MockResponse seed, String conditionName, argument 1117 server.enqueue(seed.setBody("A")); 1129 server.takeRequest(); // seed 1631 // cache miss; seed the cache
|
/external/open-vcdiff/gtest/src/ |
H A D | gtest-internal-inl.h | 96 // A valid random seed must be in [1, kMaxRandomSeed]. 102 // Returns a random seed in range [1, kMaxRandomSeed] based on the 109 // Normalizes the actual seed to range [1, kMaxRandomSeed] such that 117 // Returns the first valid random seed after 'seed'. The behavior is 118 // undefined if 'seed' is invalid. The seed after kMaxRandomSeed is 120 inline int GetNextRandomSeed(int seed) { argument 121 GTEST_CHECK_(1 <= seed && seed < [all...] |