Searched refs:nsub_ (Results 1 – 5 of 5) sorted by relevance
186 if (re->nsub_ == 1) in WalkInternal()188 else if (re->nsub_ > 1) in WalkInternal()189 s->child_args = new T[re->nsub_]; in WalkInternal()193 if (re->nsub_ > 0) { in WalkInternal()195 if (s->n < re->nsub_) { in WalkInternal()207 if (re->nsub_ > 1) in WalkInternal()
21 nsub_(0), in Regexp()33 if (nsub_ > 0) in ~Regexp()55 if (nsub_ == 0) { in QuickDestroy()136 if (re->nsub_ > 0) { in Destroy()138 for (int i = 0; i < re->nsub_; i++) { in Destroy()151 if (re->nsub_ > 1) in Destroy()153 re->nsub_ = 0; in Destroy()631 while (i < nsub_ && sub[i]->op_ == kRegexpBeginText) in RequiredPrefix()633 if (i == 0 || i >= nsub_) in RequiredPrefix()676 if (i < nsub_) { in RequiredPrefix()[all …]
63 for (int i = 0; i < nsub_; i++) in ComputeSimple()202 for (int i = 0; i < re->nsub_; i++) { in PostVisit()211 for (int i = 0; i < re->nsub_; i++) { in PostVisit()219 nre->AllocSub(re->nsub_); in PostVisit()221 for (int i = 0; i <re->nsub_; i++) in PostVisit()
314 int nsub() { return nsub_; } in nsub()320 if(nsub_ <= 1) in sub()495 nsub_ = n; in AllocSub()535 uint16 nsub_; variable
675 re->nsub_--; in RemoveLeadingRegexp()676 memmove(sub, sub + 1, re->nsub_ * sizeof sub[0]); in RemoveLeadingRegexp()775 re->nsub_--; in RemoveLeadingString()776 memmove(sub, sub + 1, re->nsub_ * sizeof sub[0]); in RemoveLeadingString()1005 n += sub->nsub_; in DoCollapse()1023 for (int k = sub->nsub_ - 1; k >= 0; k--) in DoCollapse()