Home | History | Annotate | Download | only in testing

Lines Matching full:digits_

25   // Next() will return empty string (digits_ is empty).
35 digits_.clear();
42 // Increments the big number in digits_, returning true if successful.
46 for (int i = digits_.size() - 1; i >= 0; i--) {
47 if (++digits_[i] < alphabet_.size())
49 digits_[i] = 0;
53 if (digits_.size() < maxlen_) {
54 digits_.push_back(0);
61 // Generates random digits_, return true if successful.
69 digits_.resize(len);
71 digits_[i] = acm_->Uniform(alphabet_.size());
76 // currently described by digits_. Calls IncrementDigits
87 for (int i = 0; i < digits_.size(); i++) {
88 s_ += alphabet_[digits_[i]];