HomeSort by relevance Sort by last modified time
    Searched refs:match (Results 76 - 100 of 1779) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regexp/
whitespace.js 46 "'" + whitespace + "'.match(new RegExp('\\s+'))",
47 String([whitespace]), String(whitespace.match(new RegExp('\\s+'))));
51 "'" + non_whitespace + "'.match(new RegExp('\\S+'))",
52 String([non_whitespace]), String(non_whitespace.match(new RegExp('\\S+'))));
56 "'" + non_whitespace + "'.match(new RegExp('\\s'))",
57 null, non_whitespace.match(new RegExp('\\s')));
61 "'" + whitespace + "'.match(new RegExp('\\S'))",
62 null, whitespace.match(new RegExp('\\S')));
68 "'" + s + "'.match(new RegExp('\\s+'))",
69 String([whitespace]), String(s.match(new RegExp('\\s+'))))
    [all...]
hexadecimal.js 47 "'" + testString + "'.match(new RegExp('" + testPattern + "'))",
48 String(["ABCDEFGHIJKLMNOPQRSTUVWXYZ"]), String(testString.match(new RegExp(testPattern))));
55 "'" + testString + "'.match(new RegExp('" + testPattern + "'))",
56 String(["abcdefghijklmnopqrstuvwxyz"]), String(testString.match(new RegExp(testPattern))));
63 "'" + testString + "'.match(new RegExp('" + testPattern + "'))",
64 String([" !\"#$%&'()*+,-./0123"]), String(testString.match(new RegExp(testPattern))));
71 "'" + testString + "'.match(new RegExp('" + testPattern + "'))",
72 String(["456789:;<=>?@"]), String(testString.match(new RegExp(testPattern))));
79 "'" + testString + "'.match(new RegExp('" + testPattern + "'))",
80 String(["{|}~"]), String(testString.match(new RegExp(testPattern))))
    [all...]
octal.js 47 "'" + testString + "'.match(new RegExp('" + testPattern + "'))",
48 String(["ABCDEFGHIJKLMNOPQRSTUVWXYZ"]), String(testString.match(new RegExp(testPattern))));
55 "'" + testString + "'.match(new RegExp('" + testPattern + "'))",
56 String(["abcdefghijklmnopqrstuvwxyz"]), String(testString.match(new RegExp(testPattern))));
63 "'" + testString + "'.match(new RegExp('" + testPattern + "'))",
64 String([" !\"#$%&'()*+,-./0123"]), String(testString.match(new RegExp(testPattern))));
71 "'" + testString + "'.match(new RegExp('" + testPattern + "'))",
72 String(["456789:;<=>?@"]), String(testString.match(new RegExp(testPattern))));
79 "'" + testString + "'.match(new RegExp('" + testPattern + "'))",
80 String(["{|}~"]), String(testString.match(new RegExp(testPattern))))
    [all...]
RegExp_lastMatch.js 41 // 'foo'.match(/foo/); RegExp.lastMatch
42 'foo'.match(/foo/);
43 testcases[count++] = new TestCase ( SECTION, "'foo'.match(/foo/); RegExp.lastMatch",
46 // 'foo'.match(new RegExp('foo')); RegExp.lastMatch
47 'foo'.match(new RegExp('foo'));
48 testcases[count++] = new TestCase ( SECTION, "'foo'.match(new RegExp('foo')); RegExp.lastMatch",
51 // 'xxx'.match(/bar/); RegExp.lastMatch
52 'xxx'.match(/bar/);
53 testcases[count++] = new TestCase ( SECTION, "'xxx'.match(/bar/); RegExp.lastMatch",
56 // 'xxx'.match(/$/); RegExp.lastMatc
    [all...]
RegExp_lastMatch_as_array.js 41 // 'foo'.match(/foo/); RegExp['$&']
42 'foo'.match(/foo/);
43 testcases[count++] = new TestCase ( SECTION, "'foo'.match(/foo/); RegExp['$&']",
46 // 'foo'.match(new RegExp('foo')); RegExp['$&']
47 'foo'.match(new RegExp('foo'));
48 testcases[count++] = new TestCase ( SECTION, "'foo'.match(new RegExp('foo')); RegExp['$&']",
51 // 'xxx'.match(/bar/); RegExp['$&']
52 'xxx'.match(/bar/);
53 testcases[count++] = new TestCase ( SECTION, "'xxx'.match(/bar/); RegExp['$&']",
56 // 'xxx'.match(/$/); RegExp['$&'
    [all...]
backspace.js 41 // 'abc\bdef'.match(new RegExp('.[\b].'))
42 testcases[count++] = new TestCase ( SECTION, "'abc\bdef'.match(new RegExp('.[\\b].'))",
43 String(["c\bd"]), String('abc\bdef'.match(new RegExp('.[\\b].'))));
45 // 'abc\\bdef'.match(new RegExp('.[\b].'))
46 testcases[count++] = new TestCase ( SECTION, "'abc\\bdef'.match(new RegExp('.[\\b].'))",
47 null, 'abc\\bdef'.match(new RegExp('.[\\b].')));
49 // 'abc\b\b\bdef'.match(new RegExp('c[\b]{3}d'))
50 testcases[count++] = new TestCase ( SECTION, "'abc\b\b\bdef'.match(new RegExp('c[\\b]{3}d'))",
51 String(["c\b\b\bd"]), String('abc\b\b\bdef'.match(new RegExp('c[\\b]{3}d'))));
53 // 'abc\bdef'.match(new RegExp('[^\\[\b\\]]+')
    [all...]
beginLine.js 41 // 'abcde'.match(new RegExp('^ab'))
42 testcases[count++] = new TestCase ( SECTION, "'abcde'.match(new RegExp('^ab'))",
43 String(["ab"]), String('abcde'.match(new RegExp('^ab'))));
45 // 'ab\ncde'.match(new RegExp('^..^e'))
46 testcases[count++] = new TestCase ( SECTION, "'ab\ncde'.match(new RegExp('^..^e'))",
47 null, 'ab\ncde'.match(new RegExp('^..^e')));
49 // 'yyyyy'.match(new RegExp('^xxx'))
50 testcases[count++] = new TestCase ( SECTION, "'yyyyy'.match(new RegExp('^xxx'))",
51 null, 'yyyyy'.match(new RegExp('^xxx')));
53 // '^^^x'.match(new RegExp('^\\^+')
    [all...]
endLine.js 41 // 'abcde'.match(new RegExp('de$'))
42 testcases[count++] = new TestCase ( SECTION, "'abcde'.match(new RegExp('de$'))",
43 String(["de"]), String('abcde'.match(new RegExp('de$'))));
45 // 'ab\ncde'.match(new RegExp('..$e$'))
46 testcases[count++] = new TestCase ( SECTION, "'ab\ncde'.match(new RegExp('..$e$'))",
47 null, 'ab\ncde'.match(new RegExp('..$e$')));
49 // 'yyyyy'.match(new RegExp('xxx$'))
50 testcases[count++] = new TestCase ( SECTION, "'yyyyy'.match(new RegExp('xxx$'))",
51 null, 'yyyyy'.match(new RegExp('xxx$')));
53 // 'a$$$'.match(new RegExp('\\$+$')
    [all...]
global.js 49 // '123 456 789'.match(/\d+/g)
50 testcases[count++] = new TestCase ( SECTION, "'123 456 789'.match(/\\d+/g)",
51 String(["123","456","789"]), String('123 456 789'.match(/\d+/g)));
53 // '123 456 789'.match(/(\d+)/g)
54 testcases[count++] = new TestCase ( SECTION, "'123 456 789'.match(/(\\d+)/g)",
55 String(["123","456","789"]), String('123 456 789'.match(/(\d+)/g)));
57 // '123 456 789'.match(/\d+/)
58 testcases[count++] = new TestCase ( SECTION, "'123 456 789'.match(/\\d+/)",
59 String(["123"]), String('123 456 789'.match(/\d+/)));
69 // '123 456 789'.match(new RegExp('\\d+','g')
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/
call-stack.rb 16 match = mstring.match( /`(.+)'/ )
17 method = match ? match[ 1 ] : nil
  /external/linux-tools-perf/scripts/python/bin/
failed-syscalls-by-pid-report 5 if ! expr match "$1" "-" > /dev/null ; then
syscall-counts-by-pid-report 5 if ! expr match "$1" "-" > /dev/null ; then
  /external/webkit/Source/ThirdParty/ANGLE/src/libEGL/
Config.cpp 304 bool match = true;
311 case EGL_BUFFER_SIZE: match = config->mBufferSize >= attribute[1]; break;
312 case EGL_ALPHA_SIZE: match = config->mAlphaSize >= attribute[1]; break;
313 case EGL_BLUE_SIZE: match = config->mBlueSize >= attribute[1]; break;
314 case EGL_GREEN_SIZE: match = config->mGreenSize >= attribute[1]; break;
315 case EGL_RED_SIZE: match = config->mRedSize >= attribute[1]; break;
316 case EGL_DEPTH_SIZE: match = config->mDepthSize >= attribute[1]; break;
317 case EGL_STENCIL_SIZE: match = config->mStencilSize >= attribute[1]; break;
318 case EGL_CONFIG_CAVEAT: match = config->mConfigCaveat == attribute[1]; break;
319 case EGL_CONFIG_ID: match = config->mConfigID == attribute[1]; break
    [all...]
  /external/webkit/Source/WebKit/chromium/src/
WebRegularExpression.cpp 57 int WebRegularExpression::match(const WebString& str, function in class:WebKit::WebRegularExpression
64 return m_private->match(str, startFrom, matchLength);
  /gdk/build/awk/
check-awk.awk 17 # implements the match() and substr() functions appropriately.
26 if (! match(s1,"world")) {
27 print "Fail match"
  /ndk/build/awk/
check-awk.awk 17 # implements the match() and substr() functions appropriately.
26 if (! match(s1,"world")) {
27 print "Fail match"
  /ndk/sources/host-tools/sed-4.2.1/testsuite/
runptests.c 62 regmatch_t match[20]; local
92 err = regexec (&re, tests[cnt].str, 20, match, 0);
97 puts ("no match, OK");
100 puts ("no match, FAIL");
106 if (match[0].rm_so == 0 && tests[cnt].start == 0
107 && match[0].rm_eo == 0 && tests[cnt].end == 0)
108 puts ("match, OK");
109 else if (match[0].rm_so + 1 == tests[cnt].start
110 && match[0].rm_eo == tests[cnt].end)
111 puts ("match, OK")
    [all...]
  /external/apache-http/src/org/apache/http/impl/cookie/
BasicPathHandler.java 58 if (!match(cookie, origin)) {
65 public boolean match(final Cookie cookie, final CookieOrigin origin) { method in class:BasicPathHandler
80 boolean match = targetpath.startsWith (topmostPath);
81 // if there is a match and these values are not exactly the same we have
83 if (match && targetpath.length() != topmostPath.length()) {
85 match = (targetpath.charAt(topmostPath.length()) == '/');
88 return match;
  /external/nist-sip/java/gov/nist/javax/sip/parser/
AcceptEncodingParser.java 102 lexer.match(TokenTypes.ID);
108 this.lexer.match(';');
110 this.lexer.match('q');
112 this.lexer.match('=');
114 lexer.match(TokenTypes.ID);
129 this.lexer.match(',');
AcceptLanguageParser.java 96 lexer.match(TokenTypes.ID);
102 this.lexer.match(';');
104 this.lexer.match('q');
106 this.lexer.match('=');
108 lexer.match(TokenTypes.ID);
123 this.lexer.match(',');
  /external/v8/tools/
disasm.py 47 # Keys must match constants in Logger::LogCodeInfo.
82 if _DISASM_HEADER_RE.match(line):
89 match = _DISASM_LINE_RE.match(line)
90 if match:
91 line_address = int(match.group(1), 16)
92 split_lines.append((line_address, match.group(2)))
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/String/
match-001.js 2 * File Name: String/match-001.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 var SECTION = "String/match-001.js";
34 var TITLE = "String.prototype.match( regexp )";
64 "( " + string + " ).match(" + str_regexp +").length",
66 string.match(regexp).length );
69 "( " + string + " ).match(" + str_regexp +").index"
    [all...]
match-003.js 2 * File Name: String/match-003.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 var SECTION = "String/match-003.js";
34 var TITLE = "String.prototype.match( regexp )";
43 // invoke RegExp.prototype.exec repeatedly until there is no match. If
44 // there is a match with an empty string (in other words, if the value of
102 if ( string.match(regexp) == null || matches_array == null )
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/
regress-187133.js 52 * the parens are non-capturing. A non-null match array in the example above
75 actualmatch = string.match(pattern);
81 actualmatch = string.match(pattern);
87 actualmatch = string.match(pattern);
95 actualmatch = string.match(pattern);
101 actualmatch = string.match(pattern);
107 actualmatch = string.match(pattern);
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Statements/
switch-001.js 30 var cnMatch = 'Match';
41 actual = match(17, f(fInverse(17)), f, fInverse);
46 actual = match(17, 18, f, fInverse);
51 actual = match(1, 1, Math.exp, Math.log);
56 actual = match(1, 2, Math.exp, Math.log);
61 actual = match(1, 1, Math.sin, Math.cos);
76 function match(x, y, F, G) function

Completed in 940 milliseconds

1 2 34 5 6 7 8 91011>>