Go to the documentation of this file.
26 #include "util/logging.h"
29 #include "re2/regexp.h"
46 bool anchored,
bool longest,
51 void Push(
int id,
const char* p);
108 LOG(DFATAL) <<
"GrowStack() failed: "
109 <<
"njob_ = " <<
njob_ <<
", "
110 <<
"job_.size() = " <<
job_.size();
117 if (
id >= 0 &&
njob_ > 0) {
120 p ==
top->p +
top->rle + 1 &&
136 bool matched =
false;
168 LOG(DFATAL) <<
"Unexpected opcode: " << ip->
opcode();
258 static_cast<size_t>(
cap_[2 *
i + 1] -
cap_[2 *
i]));
286 bool anchored,
bool longest,
311 int ncap = 2*nsubmatch;
332 for (
const char* p =
text.data(); p <=
text.data() +
text.size(); p++) {
335 if (fb >= 0 && p <
text.data() +
text.size() && (p[0] & 0xFF) != fb) {
336 p =
reinterpret_cast<const char*
>(
337 memchr(p, fb,
text.data() +
text.size() - p));
bool TrySearch(int id, const char *p)
static const int VisitedBits
return memset(p, 0, total)
const_iterator end() const
bool Search(const StringPiece &text, const StringPiece &context, bool anchored, bool longest, StringPiece *submatch, int nsubmatch)
unsigned char match[65280+2]
PODArray< const char * > cap_
static AllocList * Next(int i, AllocList *prev, LowLevelAlloc::Arena *arena)
constexpr absl::remove_reference_t< T > && move(T &&t) noexcept
bool SearchBitState(const StringPiece &text, const StringPiece &context, Anchor anchor, MatchKind kind, StringPiece *match, int nmatch)
bool ShouldVisit(int id, const char *p)
void Push(int id, const char *p)
promise_detail::Loop< F > Loop(F f)
const_pointer data() const
const_iterator begin() const
PODArray< uint32_t > visited_
grpc::ClientContext context
#define DCHECK(condition)
static upb_pb_encoder_segment * top(upb_pb_encoder *e)
static uint32_t EmptyFlags(const StringPiece &context, const char *p)
grpc
Author(s):
autogenerated on Fri May 16 2025 02:57:48