/external/chromium_org/third_party/tcmalloc/chromium/src/ |
sampler.h | 124 static uint64_t NextRandom(uint64_t rnd_); // Returns the next prng value 130 uint64_t rnd_; // Cheap random number generator member in class:tcmalloc::Sampler
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
sampler.h | 124 static uint64_t NextRandom(uint64_t rnd_); // Returns the next prng value 130 uint64_t rnd_; // Cheap random number generator member in class:tcmalloc::Sampler
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
db_iter.cc | 59 rnd_(seed), 108 return rnd_.Uniform(2*config::kReadBytesPeriod); 122 Random rnd_; member in class:leveldb::__anon11688::DBIter
|
skiplist.h | 113 Random rnd_; member in class:leveldb::SkipList 244 while (height < kMaxHeight && ((rnd_.Next() % kBranching) == 0)) { 327 rnd_(0xdeadbeef) {
|
/external/libvpx/libvpx/test/ |
video_source.h | 146 : rnd_(seed), 153 rnd_.Reset(seed_); 162 img_->img_data[i] = rnd_.Rand8(); 167 ACMRandom rnd_; member in class:libvpx_test::RandomVideoSource
|
sad_test.cc | 83 rnd_.Reset(ACMRandom::DeterministicSeed()); 119 data[h * stride + w] = rnd_.Rand8(); 130 ACMRandom rnd_; member in class:__anon21170::SADTestBase
|
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
sampler_test.cc | 444 uint32_t rnd_; // Cheap random number generator member in class:OldSampler 459 rnd_ = seed; 461 rnd_ = 12345; 474 uint32_t r = rnd_; 475 rnd_ = (r << 1) ^ ((static_cast<int32_t>(r) >> 31) & kPoly); 477 // Next point is "rnd_ % (sample_period)". I.e., average 489 bytes_until_sample_ += rnd_ % sample_period;
|
tcmalloc_unittest.cc | 340 AllocatorState rnd_; // For generating random numbers member in class:testing::TesterThread 378 rnd_(id+1), 394 rnd_.AddType(ALLOC, FLAGS_allocweight, "allocate"); 395 rnd_.AddType(FREE, FLAGS_freeweight, "free"); 396 rnd_.AddType(UPDATE, FLAGS_updateweight, "update"); 397 rnd_.AddType(PASS, FLAGS_passweight, "pass"); 402 switch (rnd_.PickType()) { 421 object.size = rnd_.Skewed(FLAGS_lgmaxsize); 422 object.ptr = static_cast<char*>(rnd_.alloc(object.size)); 433 const int index = rnd_.Uniform(heap_.size()) [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
sampler_test.cc | 444 uint32_t rnd_; // Cheap random number generator member in class:OldSampler 459 rnd_ = seed; 461 rnd_ = 12345; 474 uint32_t r = rnd_; 475 rnd_ = (r << 1) ^ ((static_cast<int32_t>(r) >> 31) & kPoly); 477 // Next point is "rnd_ % (sample_period)". I.e., average 489 bytes_until_sample_ += rnd_ % sample_period;
|
tcmalloc_unittest.cc | 340 AllocatorState rnd_; // For generating random numbers member in class:testing::TesterThread 378 rnd_(id+1), 394 rnd_.AddType(ALLOC, FLAGS_allocweight, "allocate"); 395 rnd_.AddType(FREE, FLAGS_freeweight, "free"); 396 rnd_.AddType(UPDATE, FLAGS_updateweight, "update"); 397 rnd_.AddType(PASS, FLAGS_passweight, "pass"); 402 switch (rnd_.PickType()) { 421 object.size = rnd_.Skewed(FLAGS_lgmaxsize); 422 object.ptr = static_cast<char*>(rnd_.alloc(object.size)); 433 const int index = rnd_.Uniform(heap_.size()) [all...] |