Searched defs:seed (Results 276 - 300 of 350) sorted by relevance

<<11121314

/external/valgrind/main/coregrind/
H A Dm_libcfile.c664 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 Dsse4-64.c80 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 Dstructs.h182 WebRtc_Word16 seed; member in struct:__anon28055
/external/webrtc/src/modules/audio_processing/aecm/
H A Daecm_core.h123 WebRtc_UWord32 seed; member in struct:__anon28105
/external/chromium/testing/gtest/src/
H A Dgtest-internal-inl.h99 // 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 Dgtest-internal-inl.h99 // 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 Dcffgload.c893 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 Dssearch.cpp1678 // 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 Dgtest-internal-inl.h99 // 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 Dbands.c44 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 Dtcmalloc_unittest.cc209 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 Dtcmalloc_unittest.cc209 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 Dheap.h1799 uint32_t seed = static_cast<uint32_t>(hash_seed()->value()); local
1800 ASSERT(FLAG_randomize_hashes || seed == 0);
1801 return seed;
H A Dstub-cache.cc89 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 Dmpreal.h409 // 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 Dcffgload.c916 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 Dgtest-internal-inl.h99 // 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 Dssearch.cpp976 // 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 Dping6.c306 unsigned long seed; local
308 seed = (unsigned long)getpid();
310 seed ^= tv.tv_usec;
311 srand(seed);
/external/libvorbis/lib/
H A Dpsy.c387 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 Dmarkdown.php1478 $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 Dgtest-internal-inl.h99 // 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 Dgtest-internal-inl.h99 // 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 DHttpResponseCacheTest.java759 // 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 Dgtest-internal-inl.h96 // 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...]

Completed in 1381 milliseconds

<<11121314