Home
last modified time | relevance | path

Searched refs:foldcase (Results 1 – 9 of 9) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/
Dcompile.cc178 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 …]
Dprog.h73 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()
Dregexp.cc678 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()
Dtostring.cc129 static void AppendLiteral(std::string *t, Rune r, bool foldcase) { in AppendLiteral() argument
133 } else if (foldcase && 'a' <= r && r <= 'z') { in AppendLiteral()
Dprog.cc38 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()
Dregexp.h440 bool RequiredPrefix(std::string* prefix, bool* foldcase,
448 bool RequiredPrefixForAccel(std::string* prefix, bool* foldcase);
Donepass.cc495 if (ip->foldcase()) { in IsOnePass()
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/testing/
Drequired_prefix_test.cc18 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/
Ducs2.diff42 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 …]