Home
last modified time | relevance | path

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

/external/chromium_org/third_party/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/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/chromium_org/third_party/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
Dsimplify.cc237 nre->cap_ = re->cap_; in PostVisit()
Dprog.cc34 cap_ = cap; in InitCapture()
76 return StringPrintf("capture %d -> %d", cap_, out()); in Dump()
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/chromium_org/media/audio/
Dsimple_sources.cc24 cap_(0), in SineWaveAudioSource()
40 int max_frames = cap_ > 0 ? in OnMoreData()
41 std::min(audio_bus->frames(), cap_ - time_state_) : audio_bus->frames(); in OnMoreData()
58 cap_ = cap; in CapSamples()
Dsimple_sources.h42 int cap_; variable
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
Dfakewebrtcvideocapturemodule.h80 cap_ = cap; in StartCapture()
97 settings = cap_; in CaptureSettings()
131 return cap_; in cap()
142 webrtc::VideoCaptureCapability cap_; variable
/external/libcxx/src/
Ddebug.cpp413 std::swap(p1->cap_, p2->cap_); in swap()
430 if (end_ == cap_) in __add()
432 size_t nc = 2*static_cast<size_t>(cap_ - beg_); in __add()
448 cap_ = beg_ + nc; in __add()
/external/libcxx/include/
D__debug62 __i_node** cap_;
75 : __c_(__c), __next_(__next), beg_(nullptr), end_(nullptr), cap_(nullptr) {}
Dlist776 std::swap(__cn1->cap_, __cn2->cap_);
/external/regex-re2/
Ducs2.diff24 cap_[0] = p;
349 cap_[0] = p;
/external/chromium_org/third_party/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().