Public Member Functions | |
BitState (Prog *prog) | |
BitState (Prog *prog) | |
bool | Search (const StringPiece &text, const StringPiece &context, bool anchored, bool longest, StringPiece *submatch, int nsubmatch) |
bool | Search (const StringPiece &text, const StringPiece &context, bool anchored, bool longest, StringPiece *submatch, int nsubmatch) |
Private Member Functions | |
BitState (const BitState &)=delete | |
void | GrowStack () |
void | GrowStack () |
BitState & | operator= (const BitState &)=delete |
void | Push (int id, const char *p) |
void | Push (int id, const char *p) |
bool | ShouldVisit (int id, const char *p) |
bool | ShouldVisit (int id, const char *p) |
bool | TrySearch (int id, const char *p) |
bool | TrySearch (int id, const char *p) |
Private Attributes | |
bool | anchored_ |
PODArray< const char * > | cap_ |
StringPiece | context_ |
bool | endmatch_ |
PODArray< Job > | job_ |
bool | longest_ |
int | njob_ |
int | nsubmatch_ |
Prog * | prog_ |
StringPiece * | submatch_ |
StringPiece | text_ |
PODArray< uint32_t > | visited_ |
PODArray< uint64_t > | visited_ |
Static Private Attributes | |
static constexpr int | kVisitedBits = 64 |
static const int | VisitedBits = 32 |
Definition at line 39 of file bloaty/third_party/re2/re2/bitstate.cc.
|
explicit |
Definition at line 73 of file bloaty/third_party/re2/re2/bitstate.cc.
|
explicit |
|
private |
Definition at line 97 of file bloaty/third_party/re2/re2/bitstate.cc.
|
private |
Definition at line 104 of file bloaty/third_party/re2/re2/bitstate.cc.
bool re2::BitState::Search | ( | const StringPiece & | text, |
const StringPiece & | context, | ||
bool | anchored, | ||
bool | longest, | ||
StringPiece * | submatch, | ||
int | nsubmatch | ||
) |
Definition at line 285 of file bloaty/third_party/re2/re2/bitstate.cc.
bool re2::BitState::Search | ( | const StringPiece & | text, |
const StringPiece & | context, | ||
bool | anchored, | ||
bool | longest, | ||
StringPiece * | submatch, | ||
int | nsubmatch | ||
) |
Definition at line 87 of file bloaty/third_party/re2/re2/bitstate.cc.
Definition at line 135 of file bloaty/third_party/re2/re2/bitstate.cc.
|
private |
Definition at line 59 of file bloaty/third_party/re2/re2/bitstate.cc.
Definition at line 68 of file bloaty/third_party/re2/re2/bitstate.cc.
|
private |
Definition at line 58 of file bloaty/third_party/re2/re2/bitstate.cc.
|
private |
Definition at line 61 of file bloaty/third_party/re2/re2/bitstate.cc.
Definition at line 69 of file bloaty/third_party/re2/re2/bitstate.cc.
|
staticconstexprprivate |
Definition at line 66 of file re2/re2/bitstate.cc.
|
private |
Definition at line 60 of file bloaty/third_party/re2/re2/bitstate.cc.
|
private |
Definition at line 70 of file bloaty/third_party/re2/re2/bitstate.cc.
|
private |
Definition at line 63 of file bloaty/third_party/re2/re2/bitstate.cc.
|
private |
Definition at line 56 of file bloaty/third_party/re2/re2/bitstate.cc.
|
private |
Definition at line 62 of file bloaty/third_party/re2/re2/bitstate.cc.
|
private |
Definition at line 57 of file bloaty/third_party/re2/re2/bitstate.cc.
Definition at line 67 of file bloaty/third_party/re2/re2/bitstate.cc.
Definition at line 67 of file re2/re2/bitstate.cc.
Definition at line 66 of file bloaty/third_party/re2/re2/bitstate.cc.