Searched refs:match (Results 1 - 25 of 2033) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/browser/web_dev_style/
H A Dregex_check.py18 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 Dregress-crbug-181422.js28 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 Dregress-regexp-nocase.js30 assertEquals(s.match(/\((').*\1\)/i), ["('')", "'"]);
H A Dregress-126412.js28 "".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 Dregress-187.js30 assertEquals(["f", undefined], "foo".match(/(?:(?=(f)o)fx|)./));
H A Dregress-176.js31 "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 Dregress-2058.js31 // A match after a replace with a function argument needs to reset
33 // to indicate the last match.
35 "foo bar".match(/( )/);
H A Dregress-399.js31 var year = Number(String(date).match(/.*(200\d)/)[1]);
H A Dregress-851.js31 assertNull(JSON.stringify({x: null}).match(/\0/));
H A Dregress-crbug-178790.js35 "test".match(RegExp(r1));
41 "test".match(RegExp(r2));
51 "test".match(RegExp(r3));
/external/chromium_org/tools/binary_size/
H A Dbinary_size_utils.py40 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 Dmisc_utils.py20 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 Dcheck-namespace.sh.in46 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 Dfunction-caller.js28 function f(match) {
29 g(match);
32 function g(match) {
34 assertEquals(match, f.caller);
H A Dwith-function-expression.js36 var res = assertTrue(eval(source).match(regexp) == 'function');
/external/nist-sip/java/gov/nist/core/
H A DMatch.java39 /** 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 Duptime.py34 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 DSelector.java6 boolean match(Object obj); method in interface:Selector
/external/chromium_org/v8/test/webkit/fast/js/
H A Dregexp-lastindex.js30 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 Durls.py79 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 DSearchSymbol.cpp18 match = false;
30 match = true;
36 return match;
/external/elfutils/0.153/libdw/
H A Ddwarf_getsrc_file.c75 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 Dsource_filter_parser.js73 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 DSourceLocationTest.cpp34 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 Dstfle.c9 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;

Completed in 860 milliseconds

1234567891011>>