Searched refs:foldcase (Results 1 – 10 of 10) sorted by relevance
/external/regex-re2/re2/ |
D | compile.cc | 174 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 …]
|
D | tostring.cc | 120 static void AppendLiteral(string *t, Rune r, bool foldcase) { in AppendLiteral() argument 124 } else if (foldcase && 'a' <= r && r <= 'z') { in AppendLiteral()
|
D | prog.h | 90 void InitByteRange(int lo, int hi, int foldcase, uint32 out); 105 int foldcase() { DCHECK_EQ(opcode(), kInstByteRange); return foldcase_; } in foldcase() function
|
D | prog.cc | 23 void Prog::Inst::InitByteRange(int lo, int hi, int foldcase, uint32 out) { in InitByteRange() argument 28 foldcase_ = foldcase; in InitByteRange()
|
D | regexp.cc | 617 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()
|
D | regexp.h | 430 bool RequiredPrefix(string* prefix, bool *foldcase, Regexp** suffix);
|
D | onepass.cc | 482 if (ip->foldcase()) { in IsOnePass()
|
D | nfa.cc | 648 if (ip->foldcase() && 'a' <= ip->lo() && ip->lo() <= 'z') in ComputeFirstByte()
|
/external/regex-re2/re2/testing/ |
D | required_prefix_test.cc | 14 bool foldcase; member 56 CHECK_EQ(f, t.foldcase) in TEST()
|
/external/regex-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 …]
|