Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/testing/
Dbacktrack.cc82 const char* cap_[64]; // capture registers member in re2::Backtracker
115 CHECK_LT(2*nsubmatch_, static_cast<int>(arraysize(cap_))); in Search()
116 memset(cap_, 0, sizeof cap_); in Search()
136 cap_[0] = text.data(); in Search()
144 cap_[0] = p; in Search()
206 ip->cap() < static_cast<int>(arraysize(cap_))) { in Try()
208 const char* q = cap_[ip->cap()]; in Try()
209 cap_[ip->cap()] = p; in Try()
212 cap_[ip->cap()] = q; in Try()
230 cap_[1] = p; in Try()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/
Dbitstate.cc68 PODArray<const char*> cap_; // capture registers member in re2::BitState
155 cap_[prog_->inst(-id)->cap()] = p; in TrySearch()
211 if (0 <= ip->cap() && ip->cap() < cap_.size()) { in TrySearch()
213 Push(-id, cap_[ip->cap()]); // undo when we're done in TrySearch()
214 cap_[ip->cap()] = p; in TrySearch()
255 cap_[1] = p; in TrySearch()
260 StringPiece(cap_[2 * i], in TrySearch()
261 static_cast<size_t>(cap_[2 * i + 1] - cap_[2 * i])); in TrySearch()
317 cap_ = PODArray<const char*>(ncap); in Search()
318 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()
573 int cap_; member
Dsimplify.cc245 nre->cap_ = re->cap(); in PostVisit()
505 nre->cap_ = re->cap(); in PostVisit()
Dprog.cc49 cap_ = cap; in InitCapture()
91 return StringPrintf("capture %d -> %d", cap_, out()); in Dump()
Dparse.cc612 re->cap_ = ++ncap_; in DoLeftParen()
621 re->cap_ = -1; in DoLeftParenNoCapture()
701 if (re->cap_ > 0) { in DoRightParen()
Dregexp.cc299 re->cap_ = cap; in Capture()
/external/boringssl/src/ssl/
Dssl_buffer.cc47 cap_ = 0; in Clear()
56 if (cap_ >= new_cap) { in EnsureCap()
98 cap_ = new_cap; in EnsureCap()
115 cap_ -= (uint16_t)len; in Consume()
Dinternal.h1208 size_t cap() const { return cap_; }
1246 uint16_t cap_ = 0;
/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dssl_buffer.cc47 cap_ = 0; in Clear()
56 if (cap_ >= new_cap) { in EnsureCap()
98 cap_ = new_cap; in EnsureCap()
115 cap_ -= (uint16_t)len; in Consume()
Dinternal.h1203 size_t cap() const { return cap_; }
1241 uint16_t cap_ = 0;
/external/llvm-project/libcxx/src/
Ddebug.cpp468 std::swap(p1->cap_, p2->cap_); in swap()
487 if (end_ == cap_) in __add()
489 size_t nc = 2*static_cast<size_t>(cap_ - beg_); in __add()
502 cap_ = beg_ + nc; in __add()
/external/libcxx/src/
Ddebug.cpp508 std::swap(p1->cap_, p2->cap_); in swap()
527 if (end_ == cap_) in __add()
529 size_t nc = 2*static_cast<size_t>(cap_ - beg_); in __add()
542 cap_ = beg_ + nc; in __add()
/external/libcap/go/
Dmknames.go86 v := strings.ToUpper(strings.TrimPrefix(name, "cap_"))
/external/llvm-project/libcxx/include/
D__debug112 __i_node** cap_;
125 : __c_(__c), __next_(__next), beg_(nullptr), end_(nullptr), cap_(nullptr) {}
Dlist804 _VSTD::swap(__cn1->cap_, __cn2->cap_);
/external/libcxx/include/
D__debug146 __i_node** cap_;
159 : __c_(__c), __next_(__next), beg_(nullptr), end_(nullptr), cap_(nullptr) {}
Dlist802 std::swap(__cn1->cap_, __cn2->cap_);
/external/rust/crates/grpcio-sys/grpc/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().