MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / Matches

Method Matches

extern/re2/re2/prog.h:102–107  ·  view source on GitHub ↗

Does this inst (an kInstByteRange) match c?

Source from the content-addressed store, hash-verified

100
101 // Does this inst (an kInstByteRange) match c?
102 inline bool Matches(int c) {
103 DCHECK_EQ(opcode(), kInstByteRange);
104 if (foldcase() && 'A' <= c && c <= 'Z')
105 c += 'a' - 'A';
106 return lo_ <= c && c <= hi_;
107 }
108
109 // Returns string representation for debugging.
110 std::string Dump();

Callers 4

TrySearchMethod · 0.80
RunWorkqOnByteMethod · 0.80
AddToThreadqMethod · 0.80
TryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected