/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/ |
D | compile.cc | 178 Frag ByteRange(int lo, int hi, bool foldcase); 194 void AddRuneRange(Rune lo, Rune hi, bool foldcase); 195 void AddRuneRangeLatin1(Rune lo, Rune hi, bool foldcase); 196 void AddRuneRangeUTF8(Rune lo, Rune hi, bool foldcase); 200 int UncachedRuneByteSuffix(uint8_t lo, uint8_t hi, bool foldcase, int next); 201 int CachedRuneByteSuffix(uint8_t lo, uint8_t hi, bool foldcase, int next); 226 Frag Literal(Rune r, bool foldcase); 399 Frag Compiler::ByteRange(int lo, int hi, bool foldcase) { in ByteRange() argument 403 inst_[id].InitByteRange(lo, hi, foldcase, 0); in ByteRange() 473 int Compiler::UncachedRuneByteSuffix(uint8_t lo, uint8_t hi, bool foldcase, in UncachedRuneByteSuffix() argument [all …]
|
D | prog.h | 73 void InitByteRange(int lo, int hi, int foldcase, uint32_t out); 89 int foldcase() { DCHECK_EQ(opcode(), kInstByteRange); return hint_foldcase_&1; } in foldcase() function 104 if (foldcase() && 'A' <= c && c <= 'Z') in Matches()
|
D | regexp.cc | 678 bool Regexp::RequiredPrefix(std::string* prefix, bool* foldcase, in RequiredPrefix() argument 681 *foldcase = false; in RequiredPrefix() 712 *foldcase = (re->parse_flags() & FoldCase) != 0; in RequiredPrefix() 719 bool Regexp::RequiredPrefixForAccel(std::string* prefix, bool* foldcase) { in RequiredPrefixForAccel() argument 721 *foldcase = false; in RequiredPrefixForAccel() 734 *foldcase = (re->parse_flags() & FoldCase) != 0; in RequiredPrefixForAccel()
|
D | tostring.cc | 129 static void AppendLiteral(std::string *t, Rune r, bool foldcase) { in AppendLiteral() argument 133 } else if (foldcase && 'a' <= r && r <= 'z') { in AppendLiteral()
|
D | prog.cc | 38 void Prog::Inst::InitByteRange(int lo, int hi, int foldcase, uint32_t out) { in InitByteRange() argument 43 hint_foldcase_ = foldcase&1; in InitByteRange() 87 foldcase() ? "/i" : "", in Dump() 461 if (ip->foldcase() && lo <= 'z' && hi >= 'a') { in ComputeByteMap() 898 if (ip->foldcase() && lo <= 'z' && hi >= 'a') { in ComputeHints()
|
D | regexp.h | 440 bool RequiredPrefix(std::string* prefix, bool* foldcase, 448 bool RequiredPrefixForAccel(std::string* prefix, bool* foldcase);
|
D | onepass.cc | 495 if (ip->foldcase()) { in IsOnePass()
|
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/testing/ |
D | required_prefix_test.cc | 18 bool foldcase; member 65 ASSERT_EQ(f, t.foldcase) in TEST() 118 ASSERT_EQ(f, t.foldcase) in TEST()
|
/external/rust/crates/grpcio-sys/grpc/third_party/re2/ |
D | ucs2.diff | 42 void AddRuneRangeLatin1(Rune lo, Rune hi, bool foldcase); 43 void AddRuneRangeUTF8(Rune lo, Rune hi, bool foldcase); 45 - void AddRuneRangeUCS2(Rune lo, Rune hi, bool foldcase); 50 Inst* RuneByteSuffix(uint8 lo, uint8 hi, bool foldcase, Inst* next); 62 AddRuneRangeLatin1(lo, hi, foldcase); 65 - AddRuneRangeUCS2(lo, hi, foldcase); 71 AddSuffix(RuneByteSuffix(lo, hi, foldcase, NULL)); 99 - void Compiler::AddRuneRangeUCS2(Rune lo, Rune hi, bool foldcase) { 121 - AddUCS2Pair(lo1, lo1, false, lo2, hi2, lo1==0 && foldcase); 127 - AddUCS2Pair(lo1, lo1, false, lo2, 0xFF, lo1==0 && foldcase); [all …]
|