/external/v8/test/webkit/fast/regex/ |
D | toString.js | 30 re1 = new RegExp(pattern); 31 re2 = eval(re1.toString()); 33 return re1.test(string) && re2.test(string); 38 re1 = new RegExp(pattern); 40 return /\n|\r|\u2028|\u2029/.test(re1.toString());
|
/external/v8/test/mjsunit/ |
D | regexp-cache-replace.js | 30 var re1 = /(o)/g; variable 31 assertEquals("FxxBar", "FooBar".replace(re1, "x")); 35 assertEquals("FxxBar", "FooBar".replace(re1, "x"));
|
/external/v8/test/mjsunit/regress/ |
D | regress-603.js | 37 var re1 = /c../; variable 38 re1.call = Function.prototype.call; 40 re1.call(null, 'abcdefghijklm') + 'z';
|
/external/regex-re2/re2/ |
D | parse.cc | 1072 Regexp* re1; in MaybeConcatString() local 1074 if ((re1 = stacktop_) == NULL || (re2 = re1->down_) == NULL) in MaybeConcatString() 1077 if (re1->op_ != kRegexpLiteral && re1->op_ != kRegexpLiteralString) in MaybeConcatString() 1081 if ((re1->parse_flags_ & FoldCase) != (re2->parse_flags_ & FoldCase)) in MaybeConcatString() 1094 if (re1->op_ == kRegexpLiteral) { in MaybeConcatString() 1095 re2->AddRuneToString(re1->rune_); in MaybeConcatString() 1097 for (int i = 0; i < re1->nrunes_; i++) in MaybeConcatString() 1098 re2->AddRuneToString(re1->runes_[i]); in MaybeConcatString() 1099 re1->nrunes_ = 0; in MaybeConcatString() 1100 delete[] re1->runes_; in MaybeConcatString() [all …]
|
D | simplify.cc | 120 static Regexp* Concat2(Regexp* re1, Regexp* re2, Regexp::ParseFlags flags); 297 Regexp* SimplifyWalker::Concat2(Regexp* re1, Regexp* re2, in Concat2() argument 302 subs[0] = re1; in Concat2()
|
/external/v8/test/webkit/ |
D | regexp-zero-length-alternatives-expected.txt | 29 PASS emptyStr.match(re1) is [""] 30 PASS s1.match(re1) is [""] 31 PASS s2.match(re1) is ["aaaa"] 32 PASS s3.match(re1) is ["aa"]
|
D | regexp-zero-length-alternatives.js | 38 var re1 = new RegExp(/(?:|a|z)*/); variable
|
/external/v8/benchmarks/ |
D | regexp.js | 74 var re1 = /(((\w+):\/\/)([^\/:]*)(:(\d+))?)?([^#?]*)(\?([^#]*))?(#(.*))?/; 125 re1.exec(s1[i]); 131 re1.exec(s3[i]); 134 re1.exec(s4[i]); 271 re1.exec(s46[i]); 286 re1.exec(s54[i]);
|
/external/icu/icu4c/source/test/intltest/ |
D | regextst.cpp | 1539 UnicodeString re1("abc[a-l][m-z]"); in API_Pattern() local 1544 RegexPattern *pat1 = RegexPattern::compile(re1, 0, pe, status); in API_Pattern() 1564 RegexPattern *pat1a = RegexPattern::compile(re1, pe, status); in API_Pattern() 1570 RegexPattern *pat1b = RegexPattern::compile(re1, UREGEX_CASE_INSENSITIVE, pe, status); in API_Pattern() 2819 UText re1 = UTEXT_INITIALIZER; in API_Pattern_UTF8() local 2826 utext_openUTF8(&re1, str_abcalmz, -1, &status); in API_Pattern_UTF8() 2829 RegexPattern *pat1 = RegexPattern::compile(&re1, 0, pe, status); in API_Pattern_UTF8() 2849 RegexPattern *pat1a = RegexPattern::compile(&re1, pe, status); in API_Pattern_UTF8() 2855 RegexPattern *pat1b = RegexPattern::compile(&re1, UREGEX_CASE_INSENSITIVE, pe, status); in API_Pattern_UTF8() 2873 utext_close(&re1); in API_Pattern_UTF8() [all …]
|
/external/protobuf/gtest/test/ |
D | gtest-port_test.cc | 679 const RE re1("a"); in TEST() local 680 EXPECT_TRUE(RE::FullMatch("a", re1)); in TEST()
|
/external/google-breakpad/src/testing/gtest/test/ |
D | gtest-port_test.cc | 872 const RE re1("a"); in TEST() local 873 EXPECT_TRUE(RE::FullMatch("a", re1)); in TEST()
|
/external/gtest/test/ |
D | gtest-port_test.cc | 909 const RE re1("a"); in TEST() local 910 EXPECT_TRUE(RE::FullMatch("a", re1)); in TEST()
|
/external/icu/icu4c/source/data/translit/ |
D | Latin_Bopomofo.txt | 1063 re1 ← ㄖㄜ;
|