Home
last modified time | relevance | path

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

/external/regex-re2/re2/testing/
Dbacktrack.cc73 const char* cap_[64]; // capture registers member in re2::Backtracker
110 CHECK(2*nsubmatch_ < arraysize(cap_)); in Search()
111 memset(cap_, 0, sizeof cap_); in Search()
131 cap_[0] = text.begin(); in Search()
139 cap_[0] = p; in Search()
187 if (0 <= ip->cap() && ip->cap() < arraysize(cap_)) { in Visit()
189 const char* q = cap_[ip->cap()]; in Visit()
190 cap_[ip->cap()] = p; in Visit()
193 cap_[ip->cap()] = q; in Visit()
211 cap_[1] = p; in Visit()
[all …]
/external/regex-re2/re2/
Dbitstate.cc59 const char** cap_; // capture registers member in re2::BitState
78 cap_(NULL), in BitState()
90 delete[] cap_; in ~BitState()
231 Push(id, cap_[ip->cap()], 1); // come back when we're done in TrySearch()
232 cap_[ip->cap()] = p; in TrySearch()
239 cap_[ip->cap()] = p; in TrySearch()
269 cap_[1] = p; in TrySearch()
273 submatch_[i] = StringPiece(cap_[2*i], cap_[2*i+1] - cap_[2*i]); in TrySearch()
322 cap_ = new const char*[ncap_]; in Search()
323 memset(cap_, 0, ncap_*sizeof cap_[0]); in Search()
[all …]
Dprog.h102 int cap() { DCHECK_EQ(opcode(), kInstCapture); return cap_; } in cap()
146 int32 cap_; // opcode == kInstCapture member
Dprog.cc34 cap_ = cap; in InitCapture()
76 return StringPrintf("capture %d -> %d", cap_, out()); in Dump()
Dsimplify.cc237 nre->cap_ = re->cap_; in PostVisit()
Dregexp.h330 int cap() { DCHECK_EQ(op_, kRegexpCapture); return cap_; } in cap()
552 int cap_; member
Dparse.cc505 re->cap_ = ++ncap_; in DoLeftParen()
514 re->cap_ = -1; in DoLeftParenNoCapture()
613 if (re->cap_ > 0) { in DoRightParen()
Dregexp.cc270 re->cap_ = cap; in Capture()
/external/libcxx/src/
Ddebug.cpp451 std::swap(p1->cap_, p2->cap_); in swap()
470 if (end_ == cap_) in __add()
472 size_t nc = 2*static_cast<size_t>(cap_ - beg_); in __add()
488 cap_ = beg_ + nc; in __add()
/external/libcxx/include/
D__debug66 __i_node** cap_;
79 : __c_(__c), __next_(__next), beg_(nullptr), end_(nullptr), cap_(nullptr) {}
Dlist769 std::swap(__cn1->cap_, __cn2->cap_);
/external/regex-re2/
Ducs2.diff24 cap_[0] = p;
349 cap_[0] = p;
/external/iputils/
DRELNOTES49 arping,ping,ping6: Do not ideologically check return value from cap_free,cap_{set,get}_flag().