Uniform 141 third_party/re2/re2/testing/regexp_generator.cc if (nstk == 1 && acm_->Uniform(maxatoms_ + 1 - atoms) == 0) { Uniform 153 third_party/re2/re2/testing/regexp_generator.cc if (ops < maxops_ && acm_->Uniform(2) == 0) { Uniform 154 third_party/re2/re2/testing/regexp_generator.cc const string& fmt = ops_[acm_->Uniform(ops_.size())]; Uniform 167 third_party/re2/re2/testing/regexp_generator.cc if (atoms < maxatoms_ && acm_->Uniform(2) == 0) { Uniform 168 third_party/re2/re2/testing/regexp_generator.cc post->push_back(atoms_[acm_->Uniform(atoms_.size())]); Uniform 68 third_party/re2/re2/testing/string_generator.cc int len = acm_->Uniform(maxlen_+1); Uniform 71 third_party/re2/re2/testing/string_generator.cc digits_[i] = acm_->Uniform(alphabet_.size()); Uniform 19 third_party/re2/util/random.h int32 Uniform(int32); Uniform 52 third_party/tcmalloc/chromium/src/tests/addressmap_unittest.cc size_t Uniform(size_t max_size) { Uniform 85 third_party/tcmalloc/chromium/src/tests/addressmap_unittest.cc size_t s = rnd.Uniform(kMaxRealSize); Uniform 103 third_party/tcmalloc/chromium/src/tests/addressmap_unittest.cc int offs = rnd.Uniform(ptrs_and_sizes[i].size); Uniform 129 third_party/tcmalloc/chromium/src/tests/addressmap_unittest.cc int offs = rnd.Uniform(ptrs_and_sizes[i].size); Uniform 141 third_party/tcmalloc/chromium/src/tests/addressmap_unittest.cc int offs = rnd.Uniform(ptrs_and_sizes[i].size); Uniform 268 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc int v = Uniform(total_weight_); Uniform 295 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc memalign_fraction_ = (Uniform(10000)/10000.0 * delta + Uniform 304 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc if (Uniform(100) < memalign_fraction_ * 100) { Uniform 307 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc size_t alignment = 1 << Uniform(FLAGS_lg_max_memalign); Uniform 433 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc const int index = rnd_.Uniform(heap_.size()); Uniform 442 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc const int index = rnd_.Uniform(heap_.size()); Uniform 470 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc const int index = rnd_.Uniform(heap_.size()); Uniform 475 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc const int tid = rnd_.Uniform(FLAGS_numthreads); Uniform 557 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc for (size_t i = 0; i < 70000; i += rnd->Uniform(20)) { Uniform 52 third_party/tcmalloc/vendor/src/tests/addressmap_unittest.cc size_t Uniform(size_t max_size) { Uniform 85 third_party/tcmalloc/vendor/src/tests/addressmap_unittest.cc size_t s = rnd.Uniform(kMaxRealSize); Uniform 103 third_party/tcmalloc/vendor/src/tests/addressmap_unittest.cc int offs = rnd.Uniform(ptrs_and_sizes[i].size); Uniform 129 third_party/tcmalloc/vendor/src/tests/addressmap_unittest.cc int offs = rnd.Uniform(ptrs_and_sizes[i].size); Uniform 141 third_party/tcmalloc/vendor/src/tests/addressmap_unittest.cc int offs = rnd.Uniform(ptrs_and_sizes[i].size); Uniform 268 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc int v = Uniform(total_weight_); Uniform 295 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc memalign_fraction_ = (Uniform(10000)/10000.0 * delta + Uniform 304 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc if (Uniform(100) < memalign_fraction_ * 100) { Uniform 307 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc size_t alignment = 1 << Uniform(FLAGS_lg_max_memalign); Uniform 433 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc const int index = rnd_.Uniform(heap_.size()); Uniform 442 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc const int index = rnd_.Uniform(heap_.size()); Uniform 470 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc const int index = rnd_.Uniform(heap_.size()); Uniform 475 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc const int tid = rnd_.Uniform(FLAGS_numthreads); Uniform 557 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc for (size_t i = 0; i < 70000; i += rnd->Uniform(20)) {