Home
last modified time | relevance | path

Searched refs:nsub_ (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/
Dwalker-inl.h188 if (re->nsub_ == 1) in WalkInternal()
190 else if (re->nsub_ > 1) in WalkInternal()
191 s->child_args = new T[re->nsub_]; in WalkInternal()
195 if (re->nsub_ > 0) { in WalkInternal()
197 if (s->n < re->nsub_) { in WalkInternal()
209 if (re->nsub_ > 1) in WalkInternal()
Dregexp.cc35 nsub_(0), in Regexp()
47 if (nsub_ > 0) in ~Regexp()
70 if (nsub_ == 0) { in QuickDestroy()
148 if (re->nsub_ > 0) { in Destroy()
150 for (int i = 0; i < re->nsub_; i++) { in Destroy()
163 if (re->nsub_ > 1) in Destroy()
165 re->nsub_ = 0; in Destroy()
691 while (i < nsub_ && sub()[i]->op_ == kRegexpBeginText) in RequiredPrefix()
693 if (i == 0 || i >= nsub_) in RequiredPrefix()
700 if (i < nsub_) { in RequiredPrefix()
[all …]
Dregexp.h322 int nsub() { return nsub_; } in nsub()
328 if(nsub_ <= 1) in sub()
516 nsub_ = static_cast<uint16_t>(n); in AllocSub()
556 uint16_t nsub_; variable
Dparse.cc763 re->nsub_--; in RemoveLeadingRegexp()
764 memmove(sub, sub + 1, re->nsub_ * sizeof sub[0]); in RemoveLeadingRegexp()
863 re->nsub_--; in RemoveLeadingString()
864 memmove(sub, sub + 1, re->nsub_ * sizeof sub[0]); in RemoveLeadingString()
1211 n += sub->nsub_; in DoCollapse()
1229 for (int k = sub->nsub_ - 1; k >= 0; k--) in DoCollapse()
Dsimplify.cc67 for (int i = 0; i < nsub_; i++) in ComputeSimple()