Home
last modified time | relevance | path

Searched refs:acm_ (Results 1 – 4 of 4) sorted by relevance

/external/regex-re2/re2/testing/
Dstring_generator.cc19 random_(false), nrandom_(0), acm_(NULL) { in StringGenerator()
30 delete acm_; in ~StringGenerator()
68 int len = acm_->Uniform(maxlen_+1); in RandomDigits()
71 digits_[i] = acm_->Uniform(alphabet_.size()); in RandomDigits()
97 if (acm_ == NULL) in Random()
98 acm_ = new ACMRandom(seed); in Random()
100 acm_->Reset(seed); in Random()
Dregexp_generator.cc67 acm_ = &acm; in GenerateRandom()
74 acm_ = NULL; in GenerateRandom()
141 if (nstk == 1 && acm_->Uniform(maxatoms_ + 1 - atoms) == 0) { in GenerateRandomPostfix()
153 if (ops < maxops_ && acm_->Uniform(2) == 0) { in GenerateRandomPostfix()
154 const string& fmt = ops_[acm_->Uniform(ops_.size())]; in GenerateRandomPostfix()
167 if (atoms < maxatoms_ && acm_->Uniform(2) == 0) { in GenerateRandomPostfix()
168 post->push_back(atoms_[acm_->Uniform(atoms_.size())]); in GenerateRandomPostfix()
Dstring_generator.h52 ACMRandom* acm_; // Random number generator variable
Dregexp_generator.h55 ACMRandom* acm_; // Random generator. variable