Home
last modified time | relevance | path

Searched refs:match (Results 1 – 25 of 2768) sorted by relevance

12345678910>>...111

/external/v8/test/mjsunit/harmony/
Dregexp-lookbehind.js8 assertEquals(["a"], "a".match(/^.(?<=a)/));
9 assertNull("b".match(/^.(?<=a)/));
10 assertEquals(["foo"], "foo1".match(/^f..(?<=.oo)/));
11 assertEquals(["foo"], "foo2".match(/^f\w\w(?<=\woo)/));
12 assertNull("boo".match(/^f\w\w(?<=\woo)/));
13 assertNull("fao".match(/^f\w\w(?<=\woo)/));
14 assertNull("foa".match(/^f\w\w(?<=\woo)/));
15 assertEquals(["def"], "abcdef".match(/(?<=abc)\w\w\w/));
16 assertEquals(["def"], "abcdef".match(/(?<=a.c)\w\w\w/));
17 assertEquals(["def"], "abcdef".match(/(?<=a\wc)\w\w\w/));
[all …]
/external/libunwind/tests/
Dcheck-namespace.sh.in46 match () { function
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 _UL${plat}_init_local
[all …]
/external/v8/test/webkit/
Dregexp-zero-length-alternatives-expected.txt24 Test regular expression processing with alternatives that match consuming no characters
29 PASS emptyStr.match(re1) is [""]
30 PASS s1.match(re1) is [""]
31 PASS s2.match(re1) is ["aaaa"]
32 PASS s3.match(re1) is ["aa"]
33 PASS emptyStr.match(re2) is [""]
34 PASS s1.match(re2) is [""]
35 PASS s2.match(re2) is ["aaaa"]
36 PASS s3.match(re2) is ["aa"]
37 PASS emptyStr.match(re3) is [""]
[all …]
/external/chromium-trace/catapult/third_party/webapp2/tests/
Dextras_routes_test.py31 route_match, args, kwargs = router.match(webapp2.Request.blank('/foo'))
111 match = ((), {})
112 self.assertEqual(router.match(webapp2.Request.blank(path))[1:], match)
113 … self.assertEqual(router.build(webapp2.Request.blank('/'), 'name-a', match[0], match[1]), path)
116 match = ((), {})
117 self.assertEqual(router.match(webapp2.Request.blank(path))[1:], match)
118 … self.assertEqual(router.build(webapp2.Request.blank('/'), 'name-a/b', match[0], match[1]), path)
121 match = ((), {})
122 self.assertEqual(router.match(webapp2.Request.blank(path))[1:], match)
123 … self.assertEqual(router.build(webapp2.Request.blank('/'), 'name-a/c', match[0], match[1]), path)
[all …]
/external/skia/tools/
Dnanobench_flags.py69 match = []
72 match.append('~blurroundrect')
73 match.append('~patch_grid') # skia:2847
74 match.append('~desk_carsvg')
76 match.extend(['~gradient', '~etc1bitmap']) # skia:2895
78 match.append('~desk_unicodetable')
80 match.append('~GLInstancedArraysBench') # skia:4371
83 match.append('~blurroundrect')
84 match.append('~patch_grid') # skia:2847
85 match.append('~desk_carsvg')
[all …]
/external/pcre/dist/testdata/
Dtestoutput825 No match
27 No match
29 No match
95 No match
97 No match
99 No match
107 No match
109 No match
115 No match
117 No match
[all …]
Dtestoutput5112 No match
114 No match
116 No match
118 No match
141 No match
163 No match
165 No match
175 May match empty string
253 No match
264 No match
[all …]
Dtestoutput111 No match
15 No match
93 No match
95 No match
97 No match
99 No match
101 No match
103 No match
105 No match
115 No match
[all …]
Dtestoutput1011 No match
13 No match
25 No match
37 No match
45 No match
55 No match
81 No match
89 No match
91 No match
105 No match
[all …]
Dtestoutput612 No match
14 No match
22 No match
30 No match
38 No match
46 No match
52 No match
54 No match
62 No match
70 No match
[all …]
DtestoutputEBC35 No match
37 No match
55 No match
57 No match
59 No match
75 No match
77 No match
93 No match
95 No match
103 No match
[all …]
Dtestoutput415 No match
17 No match
30 No match
32 No match
34 No match
107 No match
109 No match
111 No match
130 No match
132 No match
[all …]
/external/clang/unittests/AST/
DSourceLocationTest.cpp34 EXPECT_FALSE(Verifier.match("int i", varDecl())); in TEST()
40 EXPECT_FALSE(Verifier.match("int i;", recordDecl())); in TEST()
46 EXPECT_FALSE(Verifier.match("int i;", varDecl())); in TEST()
52 EXPECT_FALSE(Verifier.match("int i;", varDecl())); in TEST()
58 EXPECT_FALSE(Verifier.match("int i;", varDecl())); in TEST()
71 EXPECT_TRUE(Verifier.match("void f() { l: return; }", labelStmt())); in TEST()
77 EXPECT_TRUE(Verifier.match("void f() { l: return; }", labelStmt())); in TEST()
83 EXPECT_TRUE(Verifier.match("void f(i) {}", varDecl(), Lang_C)); in TEST()
89 EXPECT_TRUE(Verifier.match("void f(i) {}", varDecl(), Lang_C)); in TEST()
95 EXPECT_TRUE(Verifier.match("void f() { new int[10]; }", cxxNewExpr())); in TEST()
[all …]
/external/autotest/tko/
Dquery_lib.py43 match = re.match(r'^(.+)[|](.+)$', condition)
44 if match:
46 (a_sql, a_values) = me(match.group(1), valid_field_dict)
47 (b_sql, b_values) = me(match.group(2), valid_field_dict)
52 match = re.match(r'^(.+)[&](.+)$', condition)
53 if match:
55 (a_sql, a_values) = me(match.group(1), valid_field_dict)
56 (b_sql, b_values) = me(match.group(2), valid_field_dict)
73 match = re.match(regex, condition)
74 if match:
[all …]
/external/llvm/unittests/IR/
DPatternMatch.cpp61 EXPECT_TRUE(m_OneUse(m_Value(V)).match(One)); in TEST_F()
64 EXPECT_FALSE(m_OneUse(m_Value()).match(Two)); in TEST_F()
65 EXPECT_FALSE(m_OneUse(m_Value()).match(Leaf)); in TEST_F()
76 .match(IRB.CreateSelect(IRB.CreateFCmpOLT(L, R), L, R))); in TEST_F()
82 .match(IRB.CreateSelect(IRB.CreateFCmpOLE(L, R), L, R))); in TEST_F()
88 .match(IRB.CreateSelect(IRB.CreateFCmpOGE(L, R), L, R))); in TEST_F()
92 .match(IRB.CreateSelect(IRB.CreateFCmpOGT(L, R), L, R))); in TEST_F()
96 .match(IRB.CreateSelect(IRB.CreateFCmpOGE(L, R), R, L))); in TEST_F()
102 .match(IRB.CreateSelect(IRB.CreateFCmpOGT(L, R), R, L))); in TEST_F()
115 .match(IRB.CreateSelect(IRB.CreateFCmpOGT(L, R), L, R))); in TEST_F()
[all …]
/external/llvm/utils/
Dschedcover.py64 match = re_sched_default.match(line)
65 if match: add(match.group(1), None, match.group(2))
66 match = re_sched_no_default.match(line)
67 if match: add(match.group(1), None)
68 match = re_sched_spec.match(line)
69 if match: add(match.group(2), match.group(1), match.group(3))
70 match = re_sched_no_default.match(line)
71 if match: add(match.group(1), None)
/external/icu/icu4c/source/test/cintltst/
Ducsdetst.c127 const UCharsetMatch *match; in TestUTF8() local
139 match = ucsdet_detect(csd, &status); in TestUTF8()
141 if (match == NULL) { in TestUTF8()
146 dLength = ucsdet_getUChars(match, detected, sLength, &status); in TestUTF8()
173 const UCharsetMatch *match; in TestUTF16() local
178 match = ucsdet_detect(csd, &status); in TestUTF16()
180 if (match == NULL) { in TestUTF16()
185 name = ucsdet_getName(match, &status); in TestUTF16()
186 conf = ucsdet_getConfidence(match, &status); in TestUTF16()
198 match = ucsdet_detect(csd, &status); in TestUTF16()
[all …]
/external/autotest/client/site_tests/hardware_GobiGPS/
Dhardware_GobiGPS.py57 match = re.search(
62 if match and match.group(2) == 'A' and not got_fix:
64 logging.debug('Time = %s', match.group(1))
65 logging.debug('Status = %s', match.group(2))
66 logging.debug('Latitude = %s %s', match.group(3),
67 match.group(4))
68 logging.debug('Longitude = %s %s', match.group(5),
69 match.group(6))
70 logging.debug('Speed = %s', match.group(7))
71 logging.debug('Track Angle = %s', match.group(8))
[all …]
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/bench/
Dcssmin.py84 match = regex.search(css)
85 while match:
87 css[:match.start()],
88 match.group().replace(":", "___PSEUDOCLASSCOLON___"),
89 css[match.end():]])
90 match = regex.search(css)
130 match = regex.search(css)
131 while match:
132 colors = map(lambda s: s.strip(), match.group(1).split(","))
134 css = css.replace(match.group(), hexcolor)
[all …]
/external/tcpdump/tests/
Dof10_s4810-vvvv.out110 match in_port 1
114 match in_port 1
118 match in_port 1
122 match in_port 1
127 match in_port 1
131 match in_port 1
135 match in_port 1
140 match in_port 1
141 match dl_src 00:00:00:00:00:01
145 match in_port 1
[all …]
/external/doclava/src/com/google/doclava/parser/
DJavaLexer.java248 match('0'); in mIntegerNumber()
287 match('0'); in mIntegerNumber()
399 match("0x"); in mHexPrefix()
407 match("0X"); in mHexPrefix()
508 match('.'); in mNonIntegerNumber()
558 match('.'); in mNonIntegerNumber()
746 match('.'); in mNonIntegerNumber()
1055 match('\''); in mCHARLITERAL()
1118 match('\''); in mCHARLITERAL()
1141 match('\"'); in mSTRINGLITERAL()
[all …]
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/
DX509CertSelectorTest.java458 selector.match(cert_1) && selector.match(cert_2)); in testSetCertificate()
461 selector.match(cert_1)); in testSetCertificate()
463 selector.match(cert_2)); in testSetCertificate()
466 selector.match(cert_2)); in testSetCertificate()
502 selector.match(cert_1) && selector.match(cert_2)); in testSetSerialNumber()
505 selector.match(cert_1)); in testSetSerialNumber()
507 selector.match(cert_2)); in testSetSerialNumber()
510 selector.match(cert_2)); in testSetSerialNumber()
546 selector.match(cert_1) && selector.match(cert_2)); in testSetIssuer1()
549 selector.match(cert_1)); in testSetIssuer1()
[all …]
/external/elfutils/libdw/
Ddwarf_getsrc_file.c54 Dwarf_Line **match = *nsrcs == 0 ? NULL : *srcsp; in dwarf_getsrc_file() local
118 if (match[inner]->files == line->files in dwarf_getsrc_file()
119 && match[inner]->file == line->file) in dwarf_getsrc_file()
122 && (match[inner]->line != line->line in dwarf_getsrc_file()
123 || match[inner]->line != lineno in dwarf_getsrc_file()
125 && (match[inner]->column != line->column in dwarf_getsrc_file()
126 || match[inner]->column != column)))) in dwarf_getsrc_file()
130 if (match[inner]->line >= line->line in dwarf_getsrc_file()
131 && (match[inner]->line != line->line in dwarf_getsrc_file()
132 || match[inner]->column >= line->column)) in dwarf_getsrc_file()
[all …]
/external/iptables/extensions/
Dlibxt_policy.c111 if (e->match.reqid) in policy_parse()
114 e->match.reqid = 1; in policy_parse()
119 if (e->match.spi) in policy_parse()
122 e->match.spi = 1; in policy_parse()
127 if (e->match.saddr) in policy_parse()
131 e->match.saddr = 1; in policy_parse()
137 if (e->match.daddr) in policy_parse()
140 e->match.daddr = 1; in policy_parse()
146 if (e->match.proto) in policy_parse()
154 e->match.proto = 1; in policy_parse()
[all …]
/external/smali/smali/src/main/java/org/jf/smali/
DsmaliTreeWalker.java433 match(input,I_CLASS_DEF,FOLLOW_I_CLASS_DEF_in_smali_file52); in smali_file()
434 match(input, Token.DOWN, null); in smali_file()
451 match(input, Token.UP, null); in smali_file()
574 …CLASS_DESCRIPTOR9=(CommonTree)match(input,CLASS_DESCRIPTOR,FOLLOW_CLASS_DESCRIPTOR_in_class_spec11… in class_spec()
611 match(input,I_SUPER,FOLLOW_I_SUPER_in_super_spec130); in super_spec()
612 match(input, Token.DOWN, null); in super_spec()
613 …CLASS_DESCRIPTOR11=(CommonTree)match(input,CLASS_DESCRIPTOR,FOLLOW_CLASS_DESCRIPTOR_in_super_spec1… in super_spec()
614 match(input, Token.UP, null); in super_spec()
647 match(input,I_IMPLEMENTS,FOLLOW_I_IMPLEMENTS_in_implements_spec152); in implements_spec()
648 match(input, Token.DOWN, null); in implements_spec()
[all …]

12345678910>>...111