Home
last modified time | relevance | path

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

/external/regex-re2/re2/
Dcompile.cc174 Frag ByteRange(int lo, int hi, bool foldcase);
193 void AddRuneRange(Rune lo, Rune hi, bool foldcase);
194 void AddRuneRangeLatin1(Rune lo, Rune hi, bool foldcase);
195 void AddRuneRangeUTF8(Rune lo, Rune hi, bool foldcase);
199 int RuneByteSuffix(uint8 lo, uint8 hi, bool foldcase, int next);
200 int UncachedRuneByteSuffix(uint8 lo, uint8 hi, bool foldcase, int next);
209 Frag Literal(Rune r, bool foldcase);
392 Frag Compiler::ByteRange(int lo, int hi, bool foldcase) { in ByteRange() argument
396 inst_[id].InitByteRange(lo, hi, foldcase, 0); in ByteRange()
399 if (foldcase && lo <= 'z' && hi >= 'a') { in ByteRange()
[all …]
Dtostring.cc120 static void AppendLiteral(string *t, Rune r, bool foldcase) { in AppendLiteral() argument
124 } else if (foldcase && 'a' <= r && r <= 'z') { in AppendLiteral()
Dprog.h90 void InitByteRange(int lo, int hi, int foldcase, uint32 out);
105 int foldcase() { DCHECK_EQ(opcode(), kInstByteRange); return foldcase_; } in foldcase() function
Dprog.cc23 void Prog::Inst::InitByteRange(int lo, int hi, int foldcase, uint32 out) { in InitByteRange() argument
28 foldcase_ = foldcase; in InitByteRange()
Dregexp.cc617 bool Regexp::RequiredPrefix(string *prefix, bool *foldcase, Regexp** suffix) { in RequiredPrefix() argument
623 *foldcase = false; in RequiredPrefix()
672 *foldcase = (sub[i]->parse_flags() & FoldCase); in RequiredPrefix()
Dregexp.h430 bool RequiredPrefix(string* prefix, bool *foldcase, Regexp** suffix);
Donepass.cc482 if (ip->foldcase()) { in IsOnePass()
Dnfa.cc648 if (ip->foldcase() && 'a' <= ip->lo() && ip->lo() <= 'z') in ComputeFirstByte()
/external/regex-re2/re2/testing/
Drequired_prefix_test.cc14 bool foldcase; member
56 CHECK_EQ(f, t.foldcase) in TEST()
/external/regex-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 …]