Searched refs:seed_ (Results 1 – 11 of 11) sorted by relevance
/external/regex-re2/util/ |
D | random.h | 17 ACMRandom(int32 seed) : seed_(seed) {} in ACMRandom() 21 void Reset(int32 seed) { seed_ = seed; } in Reset() 24 int32 seed_;
|
D | random.cc | 15 uint32 lo = A * (int32)(seed_ & 0xFFFF); in Next() 16 uint32 hi = A * (int32)((uint32)seed_ >> 16); in Next() 27 return (seed_ = (int32) lo); in Next()
|
/external/v8/src/base/utils/ |
D | random-number-generator.cc | 117 uint64_t product = static_cast<uint64_t>(seed_) * kMultiplier; in Next() 122 seed_ = seed; in Next() 129 seed_ = (seed ^ kMultiplier) & kMask; in SetSeed()
|
D | random-number-generator.h | 87 int64_t seed_; variable
|
/external/libvpx/libvpx/test/ |
D | video_source.h | 206 seed_(seed) { } in rnd_() 212 rnd_.Reset(seed_); in Begin() 229 int seed_; variable
|
/external/vixl/src/vixl/a64/ |
D | simulator-a64.h | 733 SimExclusiveLocalMonitor() : kSkipClearProbability(8), seed_(0x87654321) { in SimExclusiveLocalMonitor() 745 if ((seed_ % kSkipClearProbability) != 0) { in MaybeClear() 750 seed_ = (seed_ * 48271) % 2147483647; in MaybeClear() 772 uint32_t seed_; variable 781 SimExclusiveGlobalMonitor() : kPassProbability(8), seed_(0x87654321) {} in SimExclusiveGlobalMonitor() 787 bool pass = (seed_ % kPassProbability) != 0; in IsExclusive() 789 seed_ = (seed_ * 48271) % 2147483647; in IsExclusive() 795 uint32_t seed_; variable
|
/external/openfst/src/test/ |
D | algo_test.h | 71 : seed_(seed), zero_fst_(zero_fst), one_fst_(one_fst), in WeightedTester() 822 UniformArcSelector<Arc> uniform_selector(seed_); in Equiv() 829 int seed_; variable 1160 weight_generator_(generator), seed_(seed) { in AlgoTester() 1184 weighted_tester(seed_, zero_fst_, one_fst_, in Test() 1266 int seed_; variable
|
/external/openfst/src/include/fst/ |
D | randgen.h | 119 seed_(seed) {} 132 int Seed() const { return seed_; } in Seed() 134 int seed_;
|
/external/libvpx/libvpx/third_party/libwebm/ |
D | mkvmuxer.cpp | 1973 seed_ = static_cast<unsigned int>(curr_time); in Segment() 1975 srand(seed_); in Segment() 2198 Track* const track = new (std::nothrow) Track(&seed_); // NOLINT in AddTrack() 2211 Chapter* Segment::AddChapter() { return chapters_.AddChapter(&seed_); } in AddChapter() 2214 VideoTrack* const track = new (std::nothrow) VideoTrack(&seed_); // NOLINT in AddVideoTrack() 2253 AudioTrack* const track = new (std::nothrow) AudioTrack(&seed_); // NOLINT in AddAudioTrack()
|
D | mkvmuxer.hpp | 1240 unsigned int seed_; member in mkvmuxer::Segment
|
/external/v8/src/ |
D | objects-inl.h | 502 : string_(string), hash_field_(0), seed_(seed) { } in SequentialStringKey() 507 seed_); in Hash() 521 uint32_t seed_; variable 588 : string_(string), hash_field_(0), seed_(seed) { } in Utf8StringKey() 596 hash_field_ = StringHasher::ComputeUtf8Hash(string_, seed_, &chars_); in Hash() 615 uint32_t seed_; variable
|