/external/icu4c/i18n/ |
D | uregex.cpp | 324 RegularExpression *regexp = (RegularExpression*)regexp2; in uregex_pattern() local 326 if (validateRE(regexp, FALSE, status) == FALSE) { in uregex_pattern() 330 *patLength = regexp->fPatStringLen; in uregex_pattern() 332 return regexp->fPatString; in uregex_pattern() 344 RegularExpression *regexp = (RegularExpression*)regexp2; in uregex_patternUText() local 345 return regexp->fPat->patternText(*status); in uregex_patternUText() 356 RegularExpression *regexp = (RegularExpression*)regexp2; in uregex_flags() local 357 if (validateRE(regexp, FALSE, status) == FALSE) { in uregex_flags() 360 int32_t flags = regexp->fPat->flags(); in uregex_flags() 375 RegularExpression *regexp = (RegularExpression*)regexp2; in uregex_setText() local [all …]
|
/external/icu4c/i18n/unicode/ |
D | uregex.h | 209 uregex_close(URegularExpression *regexp); 249 uregex_clone(const URegularExpression *regexp, UErrorCode *status); 269 uregex_pattern(const URegularExpression *regexp, 285 uregex_patternUText(const URegularExpression *regexp, 297 uregex_flags(const URegularExpression *regexp, 322 uregex_setText(URegularExpression *regexp, 345 uregex_setUText(URegularExpression *regexp, 370 uregex_getText(URegularExpression *regexp, 391 uregex_getUText(URegularExpression *regexp, 421 uregex_refreshUText(URegularExpression *regexp, [all …]
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/String/ |
D | match-004.js | 98 regexp, str_regexp, string, str_string, index, matches_array ) { argument 102 if ( regexp.exec(string) == null || matches_array == null ) { 104 string + ".match(" + regexp +")", 106 string.match(regexp) ); 114 string.match(regexp).length ); 119 string.match(regexp).index ); 124 string.match(regexp).input ); 126 var limit = matches_array.length > string.match(regexp).length ? 128 string.match(regexp).length; 134 string.match(regexp)[matches] ); [all …]
|
D | match-002.js | 99 regexp, str_regexp, string, index, matches_array ) { argument 103 if ( regexp.exec(string) == null || matches_array == null ) { 105 string + ".match(" + regexp +")", 107 string.match(regexp) ); 115 string.match(regexp).length ); 120 string.match(regexp).index ); 125 string.match(regexp).input ); 127 var limit = matches_array.length > string.match(regexp).length ? 129 string.match(regexp).length; 135 string.match(regexp)[matches] ); [all …]
|
D | match-001.js | 61 regexp, str_regexp, string, length, index, matches_array ) { argument 66 string.match(regexp).length ); 71 string.match(regexp).index ); 76 string.match(regexp).input ); 82 string.match(regexp)[matches] ); 87 regexp, str_regexp, string, length, matches_array ) { argument 92 string.match(regexp).length ); 98 string.match(regexp)[matches] );
|
D | match-003.js | 98 regexp, str_regexp, string, matches_array ) { argument 102 if ( string.match(regexp) == null || matches_array == null ) { 106 string.match(regexp) ); 114 string.match(regexp).length ); 116 var limit = matches_array.length > string.match(regexp).length ? 118 string.match(regexp).length; 124 string.match(regexp)[matches] );
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/RegExp/ |
D | multiline-001.js | 27 ( regexp, pattern, index, matches_array ) { argument 31 if ( regexp.exec(pattern) == null || matches_array == null ) { 33 regexp + ".exec(" + pattern +")", 35 regexp.exec(pattern) ); 41 regexp.toString() + ".exec(" + pattern +").length", 43 regexp.exec(pattern).length ); 46 regexp.toString() + ".exec(" + pattern +").index", 48 regexp.exec(pattern).index ); 51 regexp + ".exec(" + pattern +").input", 53 regexp.exec(pattern).input ); [all …]
|
D | exec-002.js | 139 regexp, pattern, index, matches_array ) { argument 143 if ( regexp.exec(pattern) == null || matches_array == null ) { 145 regexp + ".exec(" + pattern +")", 147 regexp.exec(pattern) ); 152 regexp + ".exec(" + pattern +").length", 154 regexp.exec(pattern).length ); 157 regexp + ".exec(" + pattern +").index", 159 regexp.exec(pattern).index ); 162 regexp + ".exec(" + pattern +").input", 164 regexp.exec(pattern).input ); [all …]
|
D | octal-003.js | 38 regexp, str_regexp, pattern, str_pattern, index, matches_array ) { argument 42 if ( regexp.exec(pattern) == null || matches_array == null ) { 44 regexp + ".exec(" + str_pattern +")", 46 regexp.exec(pattern) ); 53 regexp.exec(pattern).length ); 58 regexp.exec(pattern).index ); 63 escape(regexp.exec(pattern).input) ); 68 escape(regexp.exec(pattern).toString()) ); 70 var limit = matches_array.length > regexp.exec(pattern).length 72 : regexp.exec(pattern).length; [all …]
|
D | octal-001.js | 29 regexp, str_regexp, pattern, str_pattern, index, matches_array ) { argument 33 if ( regexp.exec(pattern) == null || matches_array == null ) { 35 regexp + ".exec(" + str_pattern +")", 37 regexp.exec(pattern) ); 44 regexp.exec(pattern).length ); 49 regexp.exec(pattern).index ); 54 regexp.exec(pattern).input ); 59 regexp.exec(pattern).toString() );
|
D | octal-002.js | 44 regexp, str_regexp, pattern, str_pattern, index, matches_array ) { argument 48 if ( regexp.exec(pattern) == null || matches_array == null ) { 50 regexp + ".exec(" + str_pattern +")", 52 regexp.exec(pattern) ); 59 regexp.exec(pattern).length ); 64 regexp.exec(pattern).index ); 69 regexp.exec(pattern).input ); 74 regexp.exec(pattern).toString() );
|
D | hex-001.js | 29 regexp, str_regexp, pattern, str_pattern, length, index, matches_array ) { argument 33 if ( regexp.exec(pattern) == null || matches_array == null ) { 37 regexp.exec(pattern) ); 45 regexp.exec(pattern).length ); 50 regexp.exec(pattern).index ); 55 regexp.exec(pattern).input ); 61 regexp.exec(pattern)[matches] );
|
D | unicode-001.js | 30 regexp, str_regexp, pattern, str_pattern, length, index, matches_array ) { argument 35 regexp.exec(pattern).length ); 40 regexp.exec(pattern).index ); 45 regexp.exec(pattern).input ); 51 regexp.exec(pattern)[matches] );
|
D | regress-001.js | 25 function AddRegExpCases( regexp, str_regexp, length, matches_array ) { argument 29 regexp.length, 30 regexp.length ); 37 regexp[matches] );
|
/external/regex-re2/re2/testing/ |
D | regexp_benchmark.cc | 42 const char* regexp = "(\\d+)-(\\d+)-(\\d+)"; in MemoryUsage() local 46 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); in MemoryUsage() 69 PCRE re(regexp, PCRE::UTF8); in MemoryUsage() 78 PCRE* re = new PCRE(regexp, PCRE::UTF8); in MemoryUsage() 88 RE2 re(regexp); in MemoryUsage() 105 typedef void SearchImpl(int iters, const char* regexp, const StringPiece& text, 113 typedef void ParseImpl(int iters, const char* regexp, const StringPiece& text); 150 void Search(int iters, int nbytes, const char* regexp, SearchImpl* search) { in Search() argument 156 search(iters, regexp, s, Prog::kUnanchored, false); in Search() 243 string regexp = "^" + s + ".*$"; in SearchBigFixed() local [all …]
|
D | possible_match_test.cc | 24 const char* regexp; member 109 LOG(INFO) << "Checking regexp=" << CEscape(t.regexp); in TEST() 110 Regexp* re = Regexp::Parse(t.regexp, Regexp::LikePerl, NULL); in TEST() 115 << " " << t.regexp; in TEST() 119 CHECK(RE2(t.regexp).PossibleMatchRange(&min, &max, t.maxlen)); in TEST() 121 EXPECT_EQ(t.min, min) << t.regexp; in TEST() 122 EXPECT_EQ(t.max, max) << t.regexp; in TEST() 181 void HandleRegexp(const string& regexp); 194 void PossibleMatchTester::HandleRegexp(const string& regexp) { in HandleRegexp() argument 197 VLOG(3) << CEscape(regexp); in HandleRegexp() [all …]
|
D | simplify_test.cc | 15 const char* regexp; member 144 VLOG(1) << "Testing " << tests[i].regexp; in TEST() 145 Regexp* re = Regexp::Parse(tests[i].regexp, in TEST() 149 CHECK(re != NULL) << " " << tests[i].regexp << " " << status.Text(); in TEST() 154 if (strcmp(tests[i].regexp, tests[i].simplified) == 0) { in TEST() 155 CHECK(re == sre) << " " << tests[i].regexp in TEST() 160 << " " << tests[i].regexp << " " << sre->Dump(); in TEST()
|
D | required_prefix_test.cc | 11 const char* regexp; member 46 Regexp* re = Regexp::Parse(t.regexp, flags, NULL); in TEST() 47 CHECK(re) << " " << t.regexp; in TEST() 52 << " " << t.regexp << " " << (j==0 ? "latin1" : "utf") << " " << re->Dump(); in TEST() 55 << " " << t.regexp << " " << (j==0 ? "latin1" : "utf"); in TEST() 57 << " " << t.regexp << " " << (j==0 ? "latin1" : "utf"); in TEST() 59 << " " << t.regexp << " " << (j==0 ? "latin1" : "utf"); in TEST()
|
D | exhaustive_tester.cc | 79 string regexp = const_regexp; in HandleRegexp() local 81 regexp = StringPrintf(topwrapper_.c_str(), regexp.c_str()); in HandleRegexp() 84 printf("\r%s", regexp.c_str()); in HandleRegexp() 100 printf("%s\n", escape(regexp)); in HandleRegexp() 102 RE2 re(regexp); in HandleRegexp() 105 RE2 relongest(regexp, longest); in HandleRegexp() 125 Tester tester(regexp); in HandleRegexp()
|
/external/v8/src/ |
D | regexp.js | 123 function DoRegExpExec(regexp, string, index) { argument 124 var result = %_RegExpExec(regexp, string, index, lastMatchInfo); 160 function RegExpExecNoTests(regexp, string, start) { argument 162 var matchInfo = %_RegExpExec(regexp, string, start, lastMatchInfo); 253 var regexp = this; 254 if (%_StringCharCodeAt(regexp.source, 0) == 46 && // '.' 255 %_StringCharCodeAt(regexp.source, 1) == 42 && // '*' 256 %_StringCharCodeAt(regexp.source, 2) != 63) { // '?' 257 regexp = TrimRegExp(regexp); 259 %_Log('regexp', 'regexp-exec,%0r,%1S,%2i', [regexp, string, lastIndex]); [all …]
|
/external/oprofile/libregex/ |
D | op_regex.cpp | 26 string op_regerror(int err, regex_t const & regexp) in op_regerror() argument 28 size_t needed_size = regerror(err, ®exp, 0, 0); in op_regerror() 30 regerror(err, ®exp, buffer, needed_size); in op_regerror() 36 void op_regcomp(regex_t & regexp, string const & pattern) in op_regcomp() argument 38 int err = regcomp(®exp, pattern.c_str(), REG_EXTENDED); in op_regcomp() 40 throw bad_regex("regcomp error: " + op_regerror(err, regexp) in op_regcomp() 53 void op_regfree(regex_t & regexp) in op_regfree() argument 55 regfree(®exp); in op_regfree() 92 op_regfree(regex_replace[i].regexp); in ~regular_expression_replace() 108 regex_t regexp; in add_pattern() local [all …]
|
/external/libvpx/libvpx/examples/ |
D | gen_example_doxy.php | 45 $regexp = '/\[\[(.*?)\]\]/'; // Double square bracket delimiters variable 46 $page_body = preg_replace_callback($regexp, 'ASCIIMathPHPCallback', $page_body); 60 $regexp = '|<pre><code>(.*?)<\/code><\/pre>|si'; variable 61 while (preg_match($regexp, $page_body, $matches) > 0) 64 $page_body = preg_replace($regexp, $tmp_token, $page_body, 1); 73 $regexp = '|<div class="codeblock">(.*?)<\/div>|si'; variable 76 while (preg_match($regexp, $page_body, $matches)) 85 $page_body = preg_replace($regexp, $block_new, $page_body, 1);
|
/external/smack/src/org/xbill/DNS/ |
D | NAPTRRecord.java | 19 private byte [] flags, service, regexp; field in NAPTRRecord 44 String flags, String service, String regexp, Name replacement) in NAPTRRecord() argument 52 this.regexp = byteArrayFromString(regexp); in NAPTRRecord() 66 regexp = in.readCountedString(); in rrFromWire() 77 regexp = byteArrayFromString(st.getString()); in rdataFromString() 97 sb.append(byteArrayToString(regexp, true)); in rrToString() 130 return byteArrayToString(regexp, false); in getRegexp() 145 out.writeCountedString(regexp); in rrToWire()
|
/external/chromium/build/ |
D | common.croc | 23 'regexp' : '.*\\.(h|hpp)$', 29 'regexp' : '', 33 'regexp' : '.*_(test|unittest)\\.', 39 'regexp' : '.*\\.(c|h)$', 43 'regexp' : '.*\\.(cc|cpp|hpp)$', 50 'regexp' : '^CHROMIUM/(base|media|net|printing|remoting|chrome|webkit/glue|native_client)/', 55 'regexp' : '.*/(\\.svn|\\.hg)/', 60 'regexp' : '.*/(Debug|Release|sconsbuild|out|xcodebuild)/', 65 'regexp' : '.*/third_party/', 70 'regexp' : '.*/v8/',
|
/external/chromium/build/mac/ |
D | chrome_mac.croc | 11 'regexp' : '.*(_|/)(chromeos|linux|win|views)(\\.|_)', 16 'regexp' : '.*/chromeos/', 22 'regexp' : '.*_test_mac\\.', 28 'regexp' : '.*\\.m$', 32 'regexp' : '.*\\.mm$',
|