Home
last modified time | relevance | path

Searched refs:digits_ (Results 1 – 2 of 2) sorted by relevance

/external/regex-re2/re2/testing/
Dstring_generator.cc35 digits_.clear(); in Reset()
46 for (int i = digits_.size() - 1; i >= 0; i--) { in IncrementDigits()
47 if (++digits_[i] < alphabet_.size()) in IncrementDigits()
49 digits_[i] = 0; in IncrementDigits()
53 if (digits_.size() < maxlen_) { in IncrementDigits()
54 digits_.push_back(0); in IncrementDigits()
69 digits_.resize(len); in RandomDigits()
71 digits_[i] = acm_->Uniform(alphabet_.size()); in RandomDigits()
87 for (int i = 0; i < digits_.size(); i++) { in Next()
88 s_ += alphabet_[digits_[i]]; in Next()
Dstring_generator.h48 vector<int> digits_; // Alphabet indices for next string. variable