/external/chromium_org/third_party/re2/re2/ |
D | compile.cc | 175 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 RuneByteSuffix(uint8 lo, uint8 hi, bool foldcase, int next); 201 int UncachedRuneByteSuffix(uint8 lo, uint8 hi, bool foldcase, int next); 210 Frag Literal(Rune r, bool foldcase); 393 Frag Compiler::ByteRange(int lo, int hi, bool foldcase) { in ByteRange() argument 397 inst_[id].InitByteRange(lo, hi, foldcase, 0); in ByteRange() 400 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/ |
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/chromium_org/third_party/re2/re2/testing/ |
D | required_prefix_test.cc | 14 bool foldcase; member 56 CHECK_EQ(f, t.foldcase) in TEST()
|
/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 …]
|
/external/chromium_org/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 …]
|
/external/chromium_org/third_party/re2/patches/ |
D | remove-static-initializers.patch | 38 Frag Compiler::Literal(Rune r, bool foldcase) { 45 return ByteRange(r, r, foldcase);
|
D | re2-msvc9-chrome.patch | 28 @@ -502,7 +502,7 @@ int Compiler::RuneByteSuffix(uint8 lo, uint8 hi, bool foldcase, int next) { 29 return UncachedRuneByteSuffix(lo, hi, foldcase, next); 32 - uint64 key = ((uint64)next << 17) | (lo<<9) | (hi<<1) | foldcase; 33 + uint64 key = ((uint64)next << 17) | (lo<<9) | (hi<<1) | (foldcase ? 1ULL : 0ULL);
|