Home
last modified time | relevance | path

Searched refs:cap_ (Results 1 – 10 of 10) sorted by relevance

/third_party/re2/re2/testing/
Dbacktrack.cc82 const char* cap_[64]; // capture registers member in re2::Backtracker
119 CHECK_LT(2*nsubmatch_, static_cast<int>(arraysize(cap_))); in Search()
120 memset(cap_, 0, sizeof cap_); in Search()
140 cap_[0] = text.data(); in Search()
148 cap_[0] = p; in Search()
209 ip->cap() < static_cast<int>(arraysize(cap_))) { in Try()
211 const char* q = cap_[ip->cap()]; in Try()
212 cap_[ip->cap()] = p; in Try()
215 cap_[ip->cap()] = q; in Try()
233 cap_[1] = p; in Try()
[all …]
/third_party/re2/re2/
Dbitstate.cc68 PODArray<const char*> cap_; // capture registers member in re2::BitState
152 cap_[prog_->inst(-id)->cap()] = p; in TrySearch()
208 if (0 <= ip->cap() && ip->cap() < cap_.size()) { in TrySearch()
210 Push(-id, cap_[ip->cap()]); // undo when we're done in TrySearch()
211 cap_[ip->cap()] = p; in TrySearch()
252 cap_[1] = p; in TrySearch()
257 StringPiece(cap_[2 * i], in TrySearch()
258 static_cast<size_t>(cap_[2 * i + 1] - cap_[2 * i])); in TrySearch()
314 cap_ = PODArray<const char*>(ncap); in Search()
315 memset(cap_.data(), 0, ncap*sizeof cap_[0]); in Search()
[all …]
Dprog.h86 int cap() { DCHECK_EQ(opcode(), kInstCapture); return cap_; } in cap()
138 int32_t cap_; // opcode == kInstCapture member
Dregexp.h338 int cap() { DCHECK_EQ(op_, kRegexpCapture); return cap_; } in cap()
566 int cap_; member
Dsimplify.cc244 nre->cap_ = re->cap(); in PostVisit()
503 nre->cap_ = re->cap(); in PostVisit()
Dprog.cc43 cap_ = cap; in InitCapture()
85 return StringPrintf("capture %d -> %d", cap_, out()); in Dump()
Dparse.cc611 re->cap_ = ++ncap_; in DoLeftParen()
620 re->cap_ = -1; in DoLeftParenNoCapture()
700 if (re->cap_ > 0) { in DoRightParen()
Dregexp.cc302 re->cap_ = cap; in Capture()
/third_party/boost/libs/beast/test/beast/core/
Dbuffered_read_stream.cpp69 std::size_t cap_; member
81 : cap_(cap) in loop()
/third_party/re2/
Ducs2.diff24 cap_[0] = p;
349 cap_[0] = p;