/external/v8/test/mjsunit/regress/ |
H A D | regress-187.js | 30 assertEquals(["f", undefined], "foo".match(/(?:(?=(f)o)fx|)./));
|
H A D | regress-176.js | 31 "foo".match(/(?:(?=(f)o))?f/), 32 "zero length match in (?:) with capture in lookahead"); 34 "foo".match(/(?=(f)o)?f/), 35 "zero length match in (?=) with capture in lookahead"); 37 "foo".match(/(?:(?=(f)o)f)?o/), 38 "non-zero length match with capture in lookahead"); 40 "foo".match(/(?:(?=(f)o)f?)?o/), 41 "non-zero length match with greedy ? in (?:)"); 43 "foo".match(/(?:(?=(f)o)f??)?o/), 44 "non-zero length match wit [all...] |
H A D | regress-399.js | 31 var year = Number(String(date).match(/.*(200\d)/)[1]);
|
H A D | regress-851.js | 31 assertNull(JSON.stringify({x: null}).match(/\0/));
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regexp/ |
H A D | dot.js | 41 // 'abcde'.match(new RegExp('ab.de')) 42 testcases[count++] = new TestCase ( SECTION, "'abcde'.match(new RegExp('ab.de'))", 43 String(["abcde"]), String('abcde'.match(new RegExp('ab.de')))); 45 // 'line 1\nline 2'.match(new RegExp('.+')) 46 testcases[count++] = new TestCase ( SECTION, "'line 1\nline 2'.match(new RegExp('.+'))", 47 String(["line 1"]), String('line 1\nline 2'.match(new RegExp('.+')))); 49 // 'this is a test'.match(new RegExp('.*a.*')) 50 testcases[count++] = new TestCase ( SECTION, "'this is a test'.match(new RegExp('.*a.*'))", 51 String(["this is a test"]), String('this is a test'.match(new RegExp('.*a.*')))); 53 // 'this is a *&^%$# test'.match(ne [all...] |
H A D | interval.js | 41 // 'aaabbbbcccddeeeefffff'.match(new RegExp('b{2}c')) 42 testcases[count++] = new TestCase ( SECTION, "'aaabbbbcccddeeeefffff'.match(new RegExp('b{2}c'))", 43 String(["bbc"]), String('aaabbbbcccddeeeefffff'.match(new RegExp('b{2}c')))); 45 // 'aaabbbbcccddeeeefffff'.match(new RegExp('b{8}')) 46 testcases[count++] = new TestCase ( SECTION, "'aaabbbbcccddeeeefffff'.match(new RegExp('b{8}'))", 47 null, 'aaabbbbcccddeeeefffff'.match(new RegExp('b{8}'))); 49 // 'aaabbbbcccddeeeefffff'.match(new RegExp('b{2,}c')) 50 testcases[count++] = new TestCase ( SECTION, "'aaabbbbcccddeeeefffff'.match(new RegExp('b{2,}c'))", 51 String(["bbbbc"]), String('aaabbbbcccddeeeefffff'.match(new RegExp('b{2,}c')))); 53 // 'aaabbbbcccddeeeefffff'.match(ne [all...] |
H A D | RegExp_multiline_as_array.js | 47 // (['$*'] == false) '123\n456'.match(/^4../) 48 testcases[count++] = new TestCase ( SECTION, "(['$*'] == false) '123\\n456'.match(/^4../)", 49 null, '123\n456'.match(/^4../)); 51 // (['$*'] == false) 'a11\na22\na23\na24'.match(/^a../g) 52 testcases[count++] = new TestCase ( SECTION, "(['$*'] == false) 'a11\\na22\\na23\\na24'.match(/^a../g)", 53 String(['a11']), String('a11\na22\na23\na24'.match(/^a../g))); 55 // (['$*'] == false) 'a11\na22'.match(/^.+^./) 56 testcases[count++] = new TestCase ( SECTION, "(['$*'] == false) 'a11\na22'.match(/^.+^./)", 57 null, 'a11\na22'.match(/^.+^./)); 59 // (['$*'] == false) '123\n456'.match(/ [all...] |
H A D | character_class.js | 41 // 'abcde'.match(new RegExp('ab[ercst]de')) 42 testcases[count++] = new TestCase ( SECTION, "'abcde'.match(new RegExp('ab[ercst]de'))", 43 String(["abcde"]), String('abcde'.match(new RegExp('ab[ercst]de')))); 45 // 'abcde'.match(new RegExp('ab[erst]de')) 46 testcases[count++] = new TestCase ( SECTION, "'abcde'.match(new RegExp('ab[erst]de'))", 47 null, 'abcde'.match(new RegExp('ab[erst]de'))); 49 // 'abcdefghijkl'.match(new RegExp('[d-h]+')) 50 testcases[count++] = new TestCase ( SECTION, "'abcdefghijkl'.match(new RegExp('[d-h]+'))", 51 String(["defgh"]), String('abcdefghijkl'.match(new RegExp('[d-h]+')))); 53 // 'abc6defghijkl'.match(ne [all...] |
H A D | parentheses.js | 41 // 'abc'.match(new RegExp('(abc)')) 42 testcases[count++] = new TestCase ( SECTION, "'abc'.match(new RegExp('(abc)'))", 43 String(["abc","abc"]), String('abc'.match(new RegExp('(abc)')))); 45 // 'abcdefg'.match(new RegExp('a(bc)d(ef)g')) 46 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.match(new RegExp('a(bc)d(ef)g'))", 47 String(["abcdefg","bc","ef"]), String('abcdefg'.match(new RegExp('a(bc)d(ef)g')))); 49 // 'abcdefg'.match(new RegExp('(.{3})(.{4})')) 50 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.match(new RegExp('(.{3})(.{4})'))", 51 String(["abcdefg","abc","defg"]), String('abcdefg'.match(new RegExp('(.{3})(.{4})')))); 53 // 'aabcdaabcd'.match(ne [all...] |
H A D | special_characters.js | 42 testcases[count++] = new TestCase ( SECTION, "'^abcdefghi'.match(/\^abc/)", String(["^abc"]), String('^abcdefghi'.match(/\^abc/))); 45 testcases[count++] = new TestCase ( SECTION, "'abcdefghi'.match(/^abc/)", String(["abc"]), String('abcdefghi'.match(/^abc/))); 48 testcases[count++] = new TestCase ( SECTION, "'abcdefghi'.match(/fghi$/)", String(["ghi"]), String('abcdefghi'.match(/ghi$/))); 51 testcases[count++] = new TestCase ( SECTION, "'eeeefghi'.match(/e*/)", String(["eeee"]), String('eeeefghi'.match(/e*/))); 54 testcases[count++] = new TestCase ( SECTION, "'abcdeeeefghi'.match(/e+/)", String(["eeee"]), String('abcdeeeefghi'.match(/ [all...] |
H A D | asterisk.js | 41 // 'abcddddefg'.match(new RegExp('d*')) 42 testcases[count++] = new TestCase ( SECTION, "'abcddddefg'.match(new RegExp('d*'))", 43 String([""]), String('abcddddefg'.match(new RegExp('d*')))); 45 // 'abcddddefg'.match(new RegExp('cd*')) 46 testcases[count++] = new TestCase ( SECTION, "'abcddddefg'.match(new RegExp('cd*'))", 47 String(["cdddd"]), String('abcddddefg'.match(new RegExp('cd*')))); 49 // 'abcdefg'.match(new RegExp('cx*d')) 50 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.match(new RegExp('cx*d'))", 51 String(["cd"]), String('abcdefg'.match(new RegExp('cx*d')))); 53 // 'xxxxxxx'.match(ne [all...] |
H A D | question_mark.js | 41 // 'abcdef'.match(new RegExp('cd?e')) 42 testcases[count++] = new TestCase ( SECTION, "'abcdef'.match(new RegExp('cd?e'))", 43 String(["cde"]), String('abcdef'.match(new RegExp('cd?e')))); 45 // 'abcdef'.match(new RegExp('cdx?e')) 46 testcases[count++] = new TestCase ( SECTION, "'abcdef'.match(new RegExp('cdx?e'))", 47 String(["cde"]), String('abcdef'.match(new RegExp('cdx?e')))); 49 // 'pqrstuvw'.match(new RegExp('o?pqrst')) 50 testcases[count++] = new TestCase ( SECTION, "'pqrstuvw'.match(new RegExp('o?pqrst'))", 51 String(["pqrst"]), String('pqrstuvw'.match(new RegExp('o?pqrst')))); 53 // 'abcd'.match(ne [all...] |
H A D | RegExp_leftContext_as_array.js | 41 // 'abc123xyz'.match(/123/); RegExp['$`'] 42 'abc123xyz'.match(/123/); 43 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/123/); RegExp['$`']", 46 // 'abc123xyz'.match(/456/); RegExp['$`'] 47 'abc123xyz'.match(/456/); 48 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/456/); RegExp['$`']", 51 // 'abc123xyz'.match(/abc123xyz/); RegExp['$`'] 52 'abc123xyz'.match(/abc123xyz/); 53 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/abc123xyz/); RegExp['$`']", 56 // 'xxxx'.match(/ [all...] |
H A D | RegExp_rightContext_as_array.js | 41 // 'abc123xyz'.match(/123/); RegExp['$\''] 42 'abc123xyz'.match(/123/); 43 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/123/); RegExp['$\'']", 46 // 'abc123xyz'.match(/456/); RegExp['$\''] 47 'abc123xyz'.match(/456/); 48 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/456/); RegExp['$\'']", 51 // 'abc123xyz'.match(/abc123xyz/); RegExp['$\''] 52 'abc123xyz'.match(/abc123xyz/); 53 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/abc123xyz/); RegExp['$\'']", 56 // 'xxxx'.match(/ [all...] |
H A D | ignoreCase.js | 49 // 'ABC def ghi'.match(/[a-z]+/ig) 50 testcases[count++] = new TestCase ( SECTION, "'ABC def ghi'.match(/[a-z]+/ig)", 51 String(["ABC","def","ghi"]), String('ABC def ghi'.match(/[a-z]+/ig))); 53 // 'ABC def ghi'.match(/[a-z]+/i) 54 testcases[count++] = new TestCase ( SECTION, "'ABC def ghi'.match(/[a-z]+/i)", 55 String(["ABC"]), String('ABC def ghi'.match(/[a-z]+/i))); 57 // 'ABC def ghi'.match(/([a-z]+)/ig) 58 testcases[count++] = new TestCase ( SECTION, "'ABC def ghi'.match(/([a-z]+)/ig)", 59 String(["ABC","def","ghi"]), String('ABC def ghi'.match(/([a-z]+)/ig))); 61 // 'ABC def ghi'.match(/([ [all...] |
H A D | vertical_bar.js | 41 // 'abc'.match(new RegExp('xyz|abc')) 42 testcases[count++] = new TestCase ( SECTION, "'abc'.match(new RegExp('xyz|abc'))", 43 String(["abc"]), String('abc'.match(new RegExp('xyz|abc')))); 45 // 'this is a test'.match(new RegExp('quiz|exam|test|homework')) 46 testcases[count++] = new TestCase ( SECTION, "'this is a test'.match(new RegExp('quiz|exam|test|homework'))", 47 String(["test"]), String('this is a test'.match(new RegExp('quiz|exam|test|homework')))); 49 // 'abc'.match(new RegExp('xyz|...')) 50 testcases[count++] = new TestCase ( SECTION, "'abc'.match(new RegExp('xyz|...'))", 51 String(["abc"]), String('abc'.match(new RegExp('xyz|...')))); 53 // 'abc'.match(ne [all...] |
H A D | RegExp_multiline.js | 47 // (multiline == false) '123\n456'.match(/^4../) 48 testcases[count++] = new TestCase ( SECTION, "(multiline == false) '123\\n456'.match(/^4../)", 49 null, '123\n456'.match(/^4../)); 51 // (multiline == false) 'a11\na22\na23\na24'.match(/^a../g) 52 testcases[count++] = new TestCase ( SECTION, "(multiline == false) 'a11\\na22\\na23\\na24'.match(/^a../g)", 53 String(['a11']), String('a11\na22\na23\na24'.match(/^a../g))); 55 // (multiline == false) 'a11\na22'.match(/^.+^./) 56 testcases[count++] = new TestCase ( SECTION, "(multiline == false) 'a11\na22'.match(/^.+^./)", 57 null, 'a11\na22'.match(/^.+^./)); 59 // (multiline == false) '123\n456'.match(/ [all...] |
/external/nist-sip/java/gov/nist/core/ |
H A D | Match.java | 39 /** Return true if a match occurs for searchString. 40 * This is used for pattern matching in the find and replace and match 45 public boolean match(String searchString); method in interface:Match
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
H A D | Selector.java | 6 boolean match(Object obj); method in interface:Selector
|
/external/v8/test/mjsunit/ |
H A D | function-caller.js | 28 function f(match) { 29 g(match); 32 function g(match) { 34 assertEquals(match, f.caller);
|
H A D | with-function-expression.js | 36 var res = assertTrue(eval(source).match(regexp) == 'function');
|
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/ |
H A D | SearchSymbol.cpp | 18 match = false; 30 match = true; 36 return match;
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/ |
H A D | perlstress-002.js | 45 * null match in Perl. Thus we set |expectedmatch| = |null| in each section. 79 actualmatch = string.match(pattern); 86 actualmatch = string.match(pattern); 93 actualmatch = string.match(pattern); 100 actualmatch = string.match(pattern); 107 actualmatch = string.match(pattern); 114 actualmatch = string.match(pattern); 121 actualmatch = string.match(pattern); 128 actualmatch = string.match(pattern); 135 actualmatch = string.match(patter [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/String/ |
H A D | match-004.js | 2 * File Name: String/match-004.js 11 * String.match( regexp ) 20 * RegExp.prototype.exec repeatedly until there is no match. If there is a 21 * match with an empty string (in other words, if the value of 27 * Note that the match function is intentionally generic; it does not 32 * The match function should be intentionally generic, and not require 37 var SECTION = "String/match-004.js"; 39 var TITLE = "String.prototype.match( regexp )"; 49 Number.prototype.match = String.prototype.match; [all...] |
/external/elfutils/libdw/ |
H A D | dwarf_getsrc_file.c | 74 Dwarf_Line **match = *nsrcs == 0 ? NULL : *srcsp; local 95 no match is performed. */ 121 /* See whether line and possibly column match. */ 125 /* Cannot match. */ 128 /* Determine whether this is the best match so far. */ 131 if (match[inner]->files == line->files 132 && match[inner]->file == line->file) 135 && (match[inner]->line != line->line 136 || match[inner]->line != lineno 138 && (match[inne [all...] |