/external/chromium_org/chrome/browser/web_dev_style/ |
H A D | regex_check.py | 18 def _highlight(match): 22 return match.start(1) * ' ' + (match.end(1) - match.start(1)) * '^' 24 match = re.search(regex, line) 25 if match: 26 assert len(match.groups()) == 1 27 return ' line %d: %s\n%s\n%s' % (line_number, msg, line, _highlight(match))
|
/external/chromium_org/v8/test/mjsunit/regress/ |
H A D | regress-crbug-181422.js | 28 assertArrayEquals(["\u00a0"], "ab\u00a0cd".match(/\s/)); 29 assertArrayEquals(["a", "b", "c", "d"], "ab\u00a0cd".match(/\S/g)); 31 assertArrayEquals(["\u00a0"], "\u2604b\u00a0cd".match(/\s/)); 32 assertArrayEquals(["\u2604", "b", "c", "d"], "\u2604b\u00a0cd".match(/\S/g));
|
H A D | regress-regexp-nocase.js | 30 assertEquals(s.match(/\((').*\1\)/i), ["('')", "'"]);
|
H A D | regress-126412.js | 28 "".match(/(A{9999999999}B|C*)*D/); 29 "C".match(/(A{9999999999}B|C*)*D/); 30 "".match(/(A{9999999999}B|C*)*/ ); 31 "C".match(/(A{9999999999}B|C*)*/ ); 32 "".match(/(9u|(2\`shj{2147483649,}\r|3|f|y|3*)+8\B)\W93+/); 33 "9u8 ".match(/(9u|(2\`shj{2147483649,}\r|3|f|y|3*)+8\B)\W93+/);
|
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-2058.js | 31 // A match after a replace with a function argument needs to reset 33 // to indicate the last match. 35 "foo bar".match(/( )/);
|
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/));
|
H A D | regress-crbug-178790.js | 35 "test".match(RegExp(r1)); 41 "test".match(RegExp(r2)); 51 "test".match(RegExp(r3));
|
/external/chromium_org/tools/binary_size/ |
H A D | binary_size_utils.py | 40 match = sym_re.match(line) 41 if match: 42 size, sym_type, sym = match.groups()[0:3] 46 path = match.group(4) 49 match = addr_re.match(line) 50 if match: 51 # sym_type, sym = match.groups()[0:2] 53 match [all...] |
/external/chromium_org/third_party/skia/tools/ |
H A D | misc_utils.py | 20 Opens a file for reading and searches line by line for a match to 22 first match. Does not search across newlines. 33 default: what to return if no match 40 match = pattern_object.search(line) 41 if match: 42 return match.group('return') 52 default: what to return if no match 57 match = re.search(pattern, input_string) 58 return match.group('return') if match els [all...] |
/external/libunwind/tests/ |
H A D | check-namespace.sh.in | 46 match () { 91 match _UL${plat}_create_addr_space 92 match _UL${plat}_destroy_addr_space 93 match _UL${plat}_get_fpreg 94 match _UL${plat}_get_proc_info 95 match _UL${plat}_get_proc_info_by_ip 96 match _UL${plat}_get_proc_name 97 match _UL${plat}_get_reg 98 match _UL${plat}_get_save_loc 99 match _U [all...] |
/external/chromium_org/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/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/lldb/test/pexpect-2.4/examples/ |
H A D | uptime.py | 34 duration, users, av1, av5, av15 = p.match.groups() 44 p.match = re.search('([0-9]+)\s+day',duration) 45 days = str(int(p.match.group(1))) 47 p.match = re.search('([0-9]+):([0-9]+)',duration) 48 hours = str(int(p.match.group(1))) 49 mins = str(int(p.match.group(2))) 51 p.match = re.search('([0-9]+)\s+min',duration) 52 mins = str(int(p.match.group(1)))
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
H A D | Selector.java | 6 boolean match(Object obj); method in interface:Selector
|
/external/chromium_org/v8/test/webkit/fast/js/ |
H A D | regexp-lastindex.js | 30 var match; variable 31 shouldBe('while (match = re.exec(" abcdefg")) accumulate += match + "; "; accumulate', '"abcdefg; "'); 35 shouldBe('while (match = re.exec("123456789")) accumulate += match + "; "; accumulate', '"1; 2; 3; 4; 5; 6; 7; 8; 9; "');
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/config/ |
H A D | urls.py | 79 match = re.search(bug_url_short, string) 80 if match: 81 return int(match.group('bug_id')) 82 match = re.search(bug_url_long, string) 83 if match: 84 return int(match.group('bug_id')) 91 match = re.search(attachment_url, string) 92 if match: 93 return int(match.group('attachment_id')) 94 match [all...] |
/external/chromium_org/third_party/angle/src/compiler/translator/ |
H A D | SearchSymbol.cpp | 18 match = false; 30 match = true; 36 return match;
|
/external/elfutils/0.153/libdw/ |
H A D | dwarf_getsrc_file.c | 75 Dwarf_Line **match = *nsrcs == 0 ? NULL : *srcsp; local 103 no match is performed. */ 129 /* See whether line and possibly column match. */ 133 /* Cannot match. */ 136 /* Determine whether this is the best match so far. */ 139 if (match[inner]->files == line->files 140 && match[inner]->file == line->file) 143 && (match[inner]->line != line->line 144 || match[inner]->line != lineno 146 && (match[inne [all...] |
/external/chromium_org/chrome/browser/resources/net_internals/ |
H A D | source_filter_parser.js | 73 var match = /^sort:(.*)$/.exec(filterElement); 74 if (!match) 76 return { method: match[1], backwards: backwards }; 84 var match = /^is:(.*)$/.exec(filterElement); 85 if (!match) 87 if (match[1] == 'active') { 90 if (match[1] == 'error') { 102 var match = RegExp('^([^:]*):(.*)$').exec(filterElement); 103 if (!match) 107 var parameters = match[ [all...] |
/external/clang/unittests/AST/ |
H A D | SourceLocationTest.cpp | 34 EXPECT_FALSE(Verifier.match("int i", varDecl())); 40 EXPECT_FALSE(Verifier.match("int i;", recordDecl())); 46 EXPECT_FALSE(Verifier.match("int i;", varDecl())); 52 EXPECT_FALSE(Verifier.match("int i;", varDecl())); 58 EXPECT_FALSE(Verifier.match("int i;", varDecl())); 71 EXPECT_TRUE(Verifier.match("void f() { l: return; }", labelStmt())); 77 EXPECT_TRUE(Verifier.match("void f() { l: return; }", labelStmt())); 83 EXPECT_TRUE(Verifier.match("void f(i) {}", varDecl(), Lang_C)); 89 EXPECT_TRUE(Verifier.match("void f(i) {}", varDecl(), Lang_C)); 95 EXPECT_TRUE(Verifier.match("voi [all...] |
/external/valgrind/main/none/tests/s390x/ |
H A D | stfle.c | 9 unsigned long long hoststfle[S390_NUM_FACILITY_DW], match; local 20 match = (hoststfle[0] & (1ULL << (63 - bit_to_test))); 22 match = (hoststfle[1] & (1ULL << (63 - bit_to_test))); 26 return match;
|