Home
last modified time | relevance | path

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

12345678910>>...64

/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/
Dperlstress-001.js107 actualmatch = string.match(pattern);
114 actualmatch = string.match(pattern);
121 actualmatch = string.match(pattern);
128 actualmatch = string.match(pattern);
135 actualmatch = string.match(pattern);
142 actualmatch = string.match(pattern);
149 actualmatch = string.match(pattern);
156 actualmatch = string.match(pattern);
163 actualmatch = string.match(pattern);
170 actualmatch = string.match(pattern);
[all …]
Dperlstress-002.js79 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(pattern);
142 actualmatch = string.match(pattern);
[all …]
Dregress-100199.js51 actualmatch = string.match(pattern);
57 actualmatch = string.match(pattern);
63 actualmatch = string.match(pattern);
69 actualmatch = string.match(pattern);
75 actualmatch = string.match(pattern);
81 actualmatch = string.match(pattern);
87 actualmatch = string.match(pattern);
93 actualmatch = string.match(pattern);
99 actualmatch = string.match(pattern);
107 actualmatch = string.match(pattern);
[all …]
Dregress-67773.js48 actualmatch = string.match(pattern);
54 actualmatch = string.match(pattern);
60 actualmatch = string.match(pattern);
68 actualmatch = string.match(pattern);
74 actualmatch = string.match(pattern);
80 actualmatch = string.match(pattern);
86 actualmatch = string.match(pattern);
94 actualmatch = string.match(pattern);
102 actualmatch = string.match(pattern);
108 actualmatch = string.match(pattern);
[all …]
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regexp/
Dspecial_characters.js42 …e ( SECTION, "'^abcdefghi'.match(/\^abc/)", String(["^abc"]), String('^abcdefghi'.match(/\^abc/)));
45 …stCase ( SECTION, "'abcdefghi'.match(/^abc/)", String(["abc"]), String('abcdefghi'.match(/^abc/)));
48 …tCase ( SECTION, "'abcdefghi'.match(/fghi$/)", String(["ghi"]), String('abcdefghi'.match(/ghi$/)));
51 …ew TestCase ( SECTION, "'eeeefghi'.match(/e*/)", String(["eeee"]), String('eeeefghi'.match(/e*/)));
54 …ase ( SECTION, "'abcdeeeefghi'.match(/e+/)", String(["eeee"]), String('abcdeeeefghi'.match(/e+/)));
57 … ( SECTION, "'abcdefghi'.match(/abc?de/)", String(["abcde"]), String('abcdefghi'.match(/abc?de/)));
60 …TestCase ( SECTION, "'abcdefghi'.match(/c.e/)", String(["cde"]), String('abcdefghi'.match(/c.e/)));
64 … String(["abcewirjskjdabc","abc"]), String('abcewirjskjdabciewjsdf'.match(/(abc).+\1/)));
67 … ( SECTION, "'abcdefghi'.match(/xyz|def/)", String(["def"]), String('abcdefghi'.match(/xyz|def/)));
70 … ( SECTION, "'abcdeeeefghi'.match(/e{3}/)", String(["eee"]), String('abcdeeeefghi'.match(/e{3}/)));
[all …]
Dinterval.js43 … String(["bbc"]), String('aaabbbbcccddeeeefffff'.match(new RegExp('b{2}c'))));
47 null, 'aaabbbbcccddeeeefffff'.match(new RegExp('b{8}')));
51 … String(["bbbbc"]), String('aaabbbbcccddeeeefffff'.match(new RegExp('b{2,}c'))));
55 null, 'aaabbbbcccddeeeefffff'.match(new RegExp('b{8,}c')));
59 … String(["bbbc"]), String('aaabbbbcccddeeeefffff'.match(new RegExp('b{2,3}c'))));
63 null, 'aaabbbbcccddeeeefffff'.match(new RegExp('b{42,93}c')));
67 … String(["bbbbc"]), String('aaabbbbcccddeeeefffff'.match(new RegExp('b{0,93}c'))));
71 … String(["bc"]), String('aaabbbbcccddeeeefffff'.match(new RegExp('bx{0,93}c'))));
75 … String(["weirwerdf"]), String('weirwerdf'.match(new RegExp('.{0,93}'))));
79 … String(["456646"]), String('wqe456646dsff'.match(new RegExp('\\d{1,}'))));
[all …]
Dparentheses.js43 … String(["abc","abc"]), String('abc'.match(new RegExp('(abc)'))));
47 … String(["abcdefg","bc","ef"]), String('abcdefg'.match(new RegExp('a(bc)d(ef)g'))));
51 … String(["abcdefg","abc","defg"]), String('abcdefg'.match(new RegExp('(.{3})(.{4})'))));
55 … String(["aabcdaa","aa"]), String('aabcdaabcd'.match(new RegExp('(aa)bcd\\1'))));
59 … String(["aabcdaa","aa"]), String('aabcdaabcd'.match(new RegExp('(aa).+\\1'))));
63 … String(["aabcdaa","aa"]), String('aabcdaabcd'.match(new RegExp('(.{2}).+\\1'))));
67 …String(["123456123456","123","456"]), String('123456123456'.match(new RegExp('(\\d{3})(\\d{3})\\1\…
71 … String(["abcdefg","bcdefg","de"]), String('abcdefg'.match(new RegExp('a(..(..)..)'))));
75 … String(["abcdefg","bcdefg","de"]), String('abcdefg'.match(/a(..(..)..)/)));
79 …String(["abcdef","abc","bc","c","def","ef","f"]), String('xabcdefg'.match(new RegExp('(a(b(c)))(d(…
[all …]
Dcharacter_class.js43 … String(["abcde"]), String('abcde'.match(new RegExp('ab[ercst]de'))));
47 null, 'abcde'.match(new RegExp('ab[erst]de')));
51 … String(["defgh"]), String('abcdefghijkl'.match(new RegExp('[d-h]+'))));
55 … String(["6de"]), String('abc6defghijkl'.match(new RegExp('[1234567].{2}'))));
59 … String(["abc324234"]), String('\n\n\abc324234\n'.match(new RegExp('[a-c\\d]+'))));
63 String(["abc"]), String('abc'.match(new RegExp('ab[.]?c'))));
67 String(["abc"]), String('abc'.match(new RegExp('a[b]c'))));
71 … String(["def"]), String('a1b b2c c3d def f4g'.match(new RegExp('[a-z][^1-9][a-z]'))));
75 … String(["*&$"]), String('123*&$abc'.match(new RegExp('[*&$]{3}'))));
79 String(["abc"]), String('abc'.match(new RegExp('a[^1-9]c'))));
[all …]
DRegExp_multiline_as_array.js49 null, '123\n456'.match(/^4../));
53 String(['a11']), String('a11\na22\na23\na24'.match(/^a../g)));
57 null, 'a11\na22'.match(/^.+^./));
61 null, '123\n456'.match(/.3$/));
65 String(['a24']), String('a11\na22\na23\na24'.match(/a..$/g)));
69 null, 'abc\ndef'.match(/c$...$/));
73 … String(['a24']), String('a11\na22\na23\na24'.match(new RegExp('a..$','g'))));
77 null, 'abc\ndef'.match(new RegExp('c$...$')));
87 String(['456']), String('123\n456'.match(/^4../)));
91 … String(['a11','a22','a23','a24']), String('a11\na22\na23\na24'.match(/^a../g)));
[all …]
DRegExp_multiline.js49 null, '123\n456'.match(/^4../));
53 String(['a11']), String('a11\na22\na23\na24'.match(/^a../g)));
57 null, 'a11\na22'.match(/^.+^./));
61 null, '123\n456'.match(/.3$/));
65 String(['a24']), String('a11\na22\na23\na24'.match(/a..$/g)));
69 null, 'abc\ndef'.match(/c$...$/));
73 … String(['a24']), String('a11\na22\na23\na24'.match(new RegExp('a..$','g'))));
77 null, 'abc\ndef'.match(new RegExp('c$...$')));
87 String(['456']), String('123\n456'.match(/^4../)));
91 … String(['a11','a22','a23','a24']), String('a11\na22\na23\na24'.match(/^a../g)));
[all …]
Dasterisk.js43 String([""]), String('abcddddefg'.match(new RegExp('d*'))));
47 … String(["cdddd"]), String('abcddddefg'.match(new RegExp('cd*'))));
51 String(["cd"]), String('abcdefg'.match(new RegExp('cx*d'))));
55 … String(["xxxxxxx","xxxxxx","x"]), String('xxxxxxx'.match(new RegExp('(x*)(x+)'))));
60 String('1234567890'.match(new RegExp('(\\d*)(\\d+)'))));
65 String('1234567890'.match(new RegExp('(\\d*)\\d(\\d+)'))));
69 … String(["xxxxxxx","xxxxxxx",""]), String('xxxxxxx'.match(new RegExp('(x+)(x*)'))));
73 … String(["xxxxxxyyyyyy"]), String('xxxxxxyyyyyy'.match(new RegExp('x*y+$'))));
77 String(["bcd"]), String('abcdef'.match(/[\d]*[\s]*bc./)));
81 String(["bcde"]), String('abcdef'.match(/bc..[\d]*[\s]*/)));
[all …]
/external/icu4c/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/webkit/Tools/DumpRenderTree/gtk/fonts/
Dfonts.conf12 <match target="font">
16 </match>
34 <match target="pattern">
41 </match>
42 <match target="pattern">
49 </match>
50 <match target="pattern">
57 </match>
61 <match target="pattern">
68 </match>
[all …]
/external/webkit/Tools/DumpRenderTree/qt/
Dfonts.conf8 <match target="pattern">
15 </match>
20 <match target="pattern">
27 </match>
32 <match target="pattern">
39 </match>
124 <match target="pattern">
134 </match>
135 <match target="pattern">
145 </match>
[all …]
/external/compiler-rt/lib/asan/scripts/
Dasan_symbolize.py47 match = re.match('^( *#([0-9]+) *0x[0-9a-f]+) *\((.*)\+(0x[0-9a-f]+)\)', line)
48 if match:
49 frameno = match.group(2)
50 binary = match.group(3)
51 addr = match.group(4)
66 print match.group(1), "in", function_name, file_name
85 match = re.match('^( *#([0-9]+) *)(0x[0-9a-f]+) *\((.*)\+(0x[0-9a-f]+)\)', line)
86 if match:
88 prefix = match.group(1)
89 frameno = match.group(2)
[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.java461 selector.match(cert_1) && selector.match(cert_2)); in testSetCertificate()
464 selector.match(cert_1)); in testSetCertificate()
466 selector.match(cert_2)); in testSetCertificate()
469 selector.match(cert_2)); in testSetCertificate()
505 selector.match(cert_1) && selector.match(cert_2)); in testSetSerialNumber()
508 selector.match(cert_1)); in testSetSerialNumber()
510 selector.match(cert_2)); in testSetSerialNumber()
513 selector.match(cert_2)); in testSetSerialNumber()
549 selector.match(cert_1) && selector.match(cert_2)); in testSetIssuer1()
552 selector.match(cert_1)); in testSetIssuer1()
[all …]
/external/chromium/chrome/browser/autocomplete/
Dhistory_url_provider.cc82 GURL ConvertToHostOnly(const HistoryMatch& match, const string16& input) { in ConvertToHostOnly() argument
87 const GURL& url = match.url_info.url(); in ConvertToHostOnly()
94 if ((host.spec().length() < (match.input_location + input.length()))) in ConvertToHostOnly()
98 if (spec.compare(match.input_location, input.length(), input)) in ConvertToHostOnly()
267 const HistoryMatch& match = history_matches[i]; in DoAutocomplete() local
269 (match.url_info.url() != in DoAutocomplete()
271 params->matches.push_back(HistoryMatchToACMatch(params, match, NORMAL, in DoAutocomplete()
305 AutocompleteMatch match(this, in SuggestExactInput() local
311 match.destination_url = url; in SuggestExactInput()
321 match.fill_into_edit = in SuggestExactInput()
[all …]
Dautocomplete_popup_model.cc73 const AutocompleteMatch& match = result.match_at(line); in SetSelectedLine() local
78 manually_selected_match_.destination_url = match.destination_url; in SetSelectedLine()
79 manually_selected_match_.provider_affinity = match.provider; in SetSelectedLine()
81 match.is_history_what_you_typed_match; in SetSelectedLine()
104 const bool is_keyword_hint = GetKeywordForMatch(match, &keyword); in SetSelectedLine()
107 if ((match.inline_autocomplete_offset != string16::npos) && in SetSelectedLine()
108 (match.inline_autocomplete_offset < match.fill_into_edit.length())) { in SetSelectedLine()
110 match.fill_into_edit.substr(match.inline_autocomplete_offset); in SetSelectedLine()
115 edit_model_->OnPopupDataChanged(match.fill_into_edit, &current_destination, in SetSelectedLine()
131 bool AutocompletePopupModel::GetKeywordForMatch(const AutocompleteMatch& match, in GetKeywordForMatch() argument
[all …]
/external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/
Dtest_expectations_unittest.py229 def match(test, result, pixel_tests_enabled): function
234 self.assertTrue(match('failures/expected/text.html', TEXT, True))
235 self.assertTrue(match('failures/expected/text.html', TEXT, False))
236 self.assertFalse(match('failures/expected/text.html', CRASH, True))
237 self.assertFalse(match('failures/expected/text.html', CRASH, False))
238 self.assertTrue(match('failures/expected/image_checksum.html', IMAGE,
240 self.assertTrue(match('failures/expected/image_checksum.html', PASS,
242 self.assertTrue(match('failures/expected/crash.html', SKIP, False))
243 self.assertTrue(match('passes/text.html', PASS, False))
404 def match(self, modifiers, expected_num_matches=-1, values=None, num_errors=0): member in ModifierTests
[all …]
/external/elfutils/libdw/
Ddwarf_getsrc_file.c74 Dwarf_Line **match = *nsrcs == 0 ? NULL : *srcsp; in dwarf_getsrc_file() local
131 if (match[inner]->files == line->files in dwarf_getsrc_file()
132 && match[inner]->file == line->file) in dwarf_getsrc_file()
135 && (match[inner]->line != line->line in dwarf_getsrc_file()
136 || match[inner]->line != lineno in dwarf_getsrc_file()
138 && (match[inner]->column != line->column in dwarf_getsrc_file()
139 || match[inner]->column != column)))) in dwarf_getsrc_file()
143 if (match[inner]->line >= line->line in dwarf_getsrc_file()
144 && (match[inner]->line != line->line in dwarf_getsrc_file()
145 || match[inner]->column >= line->column)) in dwarf_getsrc_file()
[all …]
/external/bluetooth/glib/gio/xdgmime/
Dxdgmimemagic.c245 _xdg_mime_magic_parse_header (FILE *magic_file, XdgMimeMagicMatch *match) in _xdg_mime_magic_parse_header() argument
253 assert (match != NULL); in _xdg_mime_magic_parse_header()
261 match->priority = _xdg_mime_magic_read_a_number (magic_file, &end_of_file); in _xdg_mime_magic_parse_header()
264 if (match->priority == -1) in _xdg_mime_magic_parse_header()
287 match->mime_type = strdup (buffer); in _xdg_mime_magic_parse_header()
314 XdgMimeMagicMatch *match) in _xdg_mime_magic_parse_magic_line() argument
505 matchlet->next = match->matchlet; in _xdg_mime_magic_parse_magic_line()
506 match->matchlet = matchlet; in _xdg_mime_magic_parse_magic_line()
593 _xdg_mime_magic_match_compare_to_data (XdgMimeMagicMatch *match, in _xdg_mime_magic_match_compare_to_data() argument
597 return _xdg_mime_magic_matchlet_compare_level (match->matchlet, data, len, 0); in _xdg_mime_magic_match_compare_to_data()
[all …]
/external/webkit/Source/ThirdParty/ANGLE/src/libEGL/
DConfig.cpp304 bool match = true; in getConfigs() local
311 …case EGL_BUFFER_SIZE: match = config->mBufferSize >= attribute[1]; … in getConfigs()
312 …case EGL_ALPHA_SIZE: match = config->mAlphaSize >= attribute[1]; … in getConfigs()
313 …case EGL_BLUE_SIZE: match = config->mBlueSize >= attribute[1]; … in getConfigs()
314 …case EGL_GREEN_SIZE: match = config->mGreenSize >= attribute[1]; … in getConfigs()
315 …case EGL_RED_SIZE: match = config->mRedSize >= attribute[1]; … in getConfigs()
316 …case EGL_DEPTH_SIZE: match = config->mDepthSize >= attribute[1]; … in getConfigs()
317 …case EGL_STENCIL_SIZE: match = config->mStencilSize >= attribute[1]; … in getConfigs()
318 …case EGL_CONFIG_CAVEAT: match = config->mConfigCaveat == attribute[1]; … in getConfigs()
319 …case EGL_CONFIG_ID: match = config->mConfigID == attribute[1]; … in getConfigs()
[all …]
/external/icu4c/i18n/
Dcsrsbcs.h61 virtual int32_t match(InputText *det) = 0;
129 int32_t match(InputText *textIn);
139 int32_t match(InputText *textIn);
149 int32_t match(InputText *textIn);
159 int32_t match(InputText *textIn);
169 int32_t match(InputText *textIn);
179 int32_t match(InputText *textIn);
189 int32_t match(InputText *textIn);
199 int32_t match(InputText *textIn);
209 int32_t match(InputText *textIn);
[all …]
/external/iptables/extensions/
Dlibxt_policy.c108 if (e->match.reqid) in policy_parse()
111 e->match.reqid = 1; in policy_parse()
116 if (e->match.spi) in policy_parse()
119 e->match.spi = 1; in policy_parse()
124 if (e->match.saddr) in policy_parse()
128 e->match.saddr = 1; in policy_parse()
134 if (e->match.daddr) in policy_parse()
137 e->match.daddr = 1; in policy_parse()
143 if (e->match.proto) in policy_parse()
151 e->match.proto = 1; in policy_parse()
[all …]

12345678910>>...64