Searched refs:nrunes_ (Results 1 – 3 of 3) sorted by relevance
172 if (nrunes_ == 0) { in AddRuneToString()175 } else if (nrunes_ >= 8 && (nrunes_ & (nrunes_ - 1)) == 0) { in AddRuneToString()178 runes_ = new Rune[nrunes_ * 2]; in AddRuneToString()179 for (int i = 0; i < nrunes_; i++) in AddRuneToString()184 runes_[nrunes_++] = r; in AddRuneToString()686 prefix->resize(re->nrunes_); in RequiredPrefix()687 for (int j = 0; j < re->nrunes_; j++) in RequiredPrefix()692 prefix->resize(re->nrunes_ * UTFmax); in RequiredPrefix()694 for (int j = 0; j < re->nrunes_; j++) { in RequiredPrefix()736 nrunes_ = 0; in CharClassBuilder()[all …]
250 int size() { return nrunes_; } in size()251 bool empty() { return nrunes_ == 0; } in empty()252 bool full() { return nrunes_ == Runemax+1; } in full()266 int nrunes_; variable341 int nrunes() { DCHECK_EQ(op_, kRegexpLiteralString); return nrunes_; } in nrunes()570 int nrunes_; member600 int size() { return nrunes_; } in size()601 bool empty() { return nrunes_ == 0; } in empty()602 bool full() { return nrunes_ == Runemax+1; } in full()618 int nrunes_; variable
787 *nrune = re->nrunes_; in LeadingString()816 if (n >= re->nrunes_) { in RemoveLeadingString()819 re->nrunes_ = 0; in RemoveLeadingString()821 } else if (n == re->nrunes_ - 1) { in RemoveLeadingString()822 Rune rune = re->runes_[re->nrunes_ - 1]; in RemoveLeadingString()825 re->nrunes_ = 0; in RemoveLeadingString()829 re->nrunes_ -= n; in RemoveLeadingString()830 memmove(re->runes_, re->runes_ + n, re->nrunes_ * sizeof re->runes_[0]); in RemoveLeadingString()1292 re2->nrunes_ = 0; in MaybeConcatString()1301 for (int i = 0; i < re1->nrunes_; i++) in MaybeConcatString()[all …]