Home
last modified time | relevance | path

Searched refs:pattern2 (Results 1 – 25 of 33) sorted by relevance

12

/external/valgrind/main/none/tests/s390x/
Dcu42.c22 uint32_t pattern2[] = { variable
134 run_test(buff, sizeof buff, pattern2, 0); in main()
135 run_test(buff, sizeof buff, pattern2, 1); in main()
136 run_test(buff, sizeof buff, pattern2, 2); in main()
137 run_test(buff, sizeof buff, pattern2, 3); in main()
142 run_test(buff, sizeof buff, pattern2, 4); /* 1 utf32 -> 1 utf16 */ in main()
143 run_test(buff, sizeof buff, pattern2, 10); /* 2 utf32 -> 2 utf16 */ in main()
155 run_test(NULL, 0, pattern2, sizeof pattern2); in main()
158 run_test(NULL, 0, pattern2, sizeof pattern2); in main()
159 run_test(NULL, 1, pattern2, sizeof pattern2); in main()
[all …]
Dcu21_1.c30 uint16_t pattern2[] = { variable
139 run_test(buff, sizeof buff, pattern2, 1); in main()
149 run_test(buff, sizeof buff, pattern2, 5); in main()
165 run_test(NULL, 0, pattern2, sizeof pattern2); in main()
166 run_test(NULL, 1, pattern2, sizeof pattern2); in main()
184 run_test(buff, 5, pattern2, sizeof pattern2); in main()
206 run_test(buff, sizeof buff, pattern2, sizeof pattern2); in main()
Dcu21.c30 uint16_t pattern2[] = { variable
139 run_test(buff, sizeof buff, pattern2, 1); in main()
149 run_test(buff, sizeof buff, pattern2, 5); in main()
165 run_test(NULL, 0, pattern2, sizeof pattern2); in main()
166 run_test(NULL, 1, pattern2, sizeof pattern2); in main()
184 run_test(buff, 5, pattern2, sizeof pattern2); in main()
206 run_test(buff, sizeof buff, pattern2, sizeof pattern2); in main()
Dcu24.c31 uint16_t pattern2[] = { variable
133 run_test(buff, sizeof buff, pattern2, 1); in main()
134 run_test(buff, sizeof buff, pattern2, 2); in main()
135 run_test(buff, sizeof buff, pattern2, 3); in main()
142 run_test(buff, sizeof buff, pattern2, 2); in main()
143 run_test(buff, sizeof buff, pattern2, 5); in main()
144 run_test(buff, sizeof buff, pattern2, 7); in main()
180 run_test(buff, sizeof buff, pattern2, sizeof pattern2); in main()
Dcu24_1.c31 uint16_t pattern2[] = { variable
133 run_test(buff, sizeof buff, pattern2, 1); in main()
134 run_test(buff, sizeof buff, pattern2, 2); in main()
135 run_test(buff, sizeof buff, pattern2, 3); in main()
142 run_test(buff, sizeof buff, pattern2, 2); in main()
143 run_test(buff, sizeof buff, pattern2, 5); in main()
144 run_test(buff, sizeof buff, pattern2, 7); in main()
180 run_test(buff, sizeof buff, pattern2, sizeof pattern2); in main()
Dcu41.c27 uint32_t pattern2[] = { variable
153 run_test(buff, sizeof buff, pattern2, 10); /* 2 utf32 -> 2 2-byte utf8 */ in main()
167 run_test(NULL, 0, pattern2, sizeof pattern2); in main()
168 run_test(NULL, 1, pattern2, sizeof pattern2); in main()
201 run_test(buff, sizeof buff, pattern2, sizeof pattern2); in main()
214 write_and_check(pattern2 + 3, 4, 2); in main()
Dcu14.c29 uint8_t pattern2[] = { variable
547 run_test(buff, sizeof buff, pattern2, 0); in main()
548 run_test(buff, sizeof buff, pattern2, 1); in main()
561 run_test(buff, sizeof buff, pattern2, 5); in main()
573 run_test(NULL, 0, pattern2, sizeof pattern2); // 2-byte result in main()
574 run_test(NULL, 1, pattern2, sizeof pattern2); // 2-byte result in main()
586 run_test(buff, 5, pattern1, sizeof pattern2); in main()
Dcu12.c29 uint8_t pattern2[] = { variable
547 run_test(buff, sizeof buff, pattern2, 0); in main()
548 run_test(buff, sizeof buff, pattern2, 1); in main()
561 run_test(buff, sizeof buff, pattern2, 5); in main()
573 run_test(NULL, 0, pattern2, sizeof pattern2); // 2-byte result in main()
574 run_test(NULL, 1, pattern2, sizeof pattern2); // 2-byte result in main()
586 run_test(buff, 5, pattern1, sizeof pattern2); in main()
Dcu14_1.c29 uint8_t pattern2[] = { variable
547 run_test(buff, sizeof buff, pattern2, 0); in main()
548 run_test(buff, sizeof buff, pattern2, 1); in main()
561 run_test(buff, sizeof buff, pattern2, 5); in main()
573 run_test(NULL, 0, pattern2, sizeof pattern2); // 2-byte result in main()
574 run_test(NULL, 1, pattern2, sizeof pattern2); // 2-byte result in main()
586 run_test(buff, 5, pattern1, sizeof pattern2); in main()
Dcu12_1.c29 uint8_t pattern2[] = { variable
547 run_test(buff, sizeof buff, pattern2, 0); in main()
548 run_test(buff, sizeof buff, pattern2, 1); in main()
561 run_test(buff, sizeof buff, pattern2, 5); in main()
573 run_test(NULL, 0, pattern2, sizeof pattern2); // 2-byte result in main()
574 run_test(NULL, 1, pattern2, sizeof pattern2); // 2-byte result in main()
586 run_test(buff, 5, pattern1, sizeof pattern2); in main()
/external/chromium_org/extensions/common/
Durl_pattern_unittest.cc249 URLPattern pattern2(kAllSchemes); in TEST() local
250 pattern2.SetMatchAllURLs(true); in TEST()
252 EXPECT_EQ(pattern.valid_schemes(), pattern2.valid_schemes()); in TEST()
253 EXPECT_EQ(pattern.match_subdomains(), pattern2.match_subdomains()); in TEST()
254 EXPECT_EQ(pattern.path(), pattern2.path()); in TEST()
255 EXPECT_EQ(pattern.match_all_urls(), pattern2.match_all_urls()); in TEST()
256 EXPECT_EQ(pattern.scheme(), pattern2.scheme()); in TEST()
257 EXPECT_EQ(pattern.port(), pattern2.port()); in TEST()
258 EXPECT_EQ(pattern.GetAsString(), pattern2.GetAsString()); in TEST()
454 const URLPattern& pattern2) { in Overlaps() argument
[all …]
Duser_script_unittest.cc163 URLPattern pattern2(kAllSchemes); in TEST() local
167 ASSERT_EQ(URLPattern::PARSE_SUCCESS, pattern2.Parse("http://bar/baz*")); in TEST()
187 script1.add_url_pattern(pattern2); in TEST()
Durl_pattern_set_unittest.cc27 const std::string& pattern2) { in Patterns() argument
30 AddPattern(&set, pattern2); in Patterns()
/external/valgrind/main/memcheck/tests/s390x/
Dcu21.c17 uint16_t pattern2[] = { variable
62 do_cu21(malloc(1), 10, pattern2, 2); // complaint (2 bytes) in main()
65 do_cu21(malloc(2), 10, pattern2, 2); // no complaint in main()
Dcu42.c12 uint32_t pattern2[] = { variable
47 do_cu42(malloc(1), 10, pattern2, 4); // complaint (2 bytes) in main()
50 do_cu42(malloc(2), 10, pattern2, 4); // no complaint in main()
/external/chromium/chrome/common/extensions/
Durl_pattern_unittest.cc332 void TestPatternOverlap(const URLPattern& pattern1, const URLPattern& pattern2, in TestPatternOverlap() argument
334 EXPECT_EQ(expect_overlap, pattern1.OverlapsWith(pattern2)) in TestPatternOverlap()
335 << pattern1.GetAsString() << ", " << pattern2.GetAsString(); in TestPatternOverlap()
336 EXPECT_EQ(expect_overlap, pattern2.OverlapsWith(pattern1)) in TestPatternOverlap()
337 << pattern2.GetAsString() << ", " << pattern1.GetAsString(); in TestPatternOverlap()
342 URLPattern pattern2(kAllSchemes, "https://www.google.com/foo/*"); in TEST() local
354 TestPatternOverlap(pattern1, pattern2, false); in TEST()
Duser_script_unittest.cc119 URLPattern pattern2(kAllSchemes); in TEST() local
123 pattern2.Parse("http://bar/baz*", URLPattern::PARSE_STRICT)); in TEST()
141 script1.add_url_pattern(pattern2); in TEST()
/external/chromium_org/chrome/browser/content_settings/
Dhost_content_settings_map_unittest.cc153 ContentSettingsPattern pattern2 = in TEST_F() local
156 pattern2, in TEST_F()
162 pattern2, in TEST_F()
190 ContentSettingsPattern pattern2 = in TEST_F() local
193 pattern2, in TEST_F()
211 pattern2, in TEST_F()
239 ContentSettingsPattern pattern2 = in TEST_F() local
260 pattern2, in TEST_F()
556 ContentSettingsPattern pattern2 = in TEST_F() local
569 pattern2, in TEST_F()
Dcontent_settings_pref_provider_unittest.cc274 ContentSettingsPattern pattern2 = in TEST_F() local
315 pattern2, in TEST_F()
316 pattern2, in TEST_F()
/external/chromium/chrome/browser/content_settings/
Dhost_content_settings_map_unittest.cc133 ContentSettingsPattern pattern2("[*.]example.org"); in TEST_F() local
134 host_content_settings_map->SetContentSetting(pattern2, in TEST_F()
136 host_content_settings_map->SetContentSetting(pattern2, in TEST_F()
159 host_content_settings_map->SetContentSetting(pattern2, in TEST_F()
161 host_content_settings_map->SetContentSetting(pattern2, in TEST_F()
185 ContentSettingsPattern pattern2("example.org"); in TEST_F() local
200 host_content_settings_map->SetContentSetting(pattern2, in TEST_F()
402 ContentSettingsPattern pattern2("[*.]b.example.com"); in TEST_F() local
407 host_content_settings_map->SetContentSetting(pattern2, in TEST_F()
Dcontent_settings_pref_provider_unittest.cc269 ContentSettingsPattern pattern2("example.org"); in TEST_F() local
292 pattern2, in TEST_F()
293 pattern2, in TEST_F()
/external/chromium_org/chrome/common/
Dcontent_settings_pattern_unittest.cc117 ContentSettingsPattern pattern2 = ContentSettingsPattern::FromURL( in TEST() local
119 EXPECT_EQ(ContentSettingsPattern::IDENTITY, pattern.Compare(pattern2)); in TEST()
121 EXPECT_STREQ("https://[*.]www.google.com:443", pattern2.ToString().c_str()); in TEST()
130 pattern2 = in TEST()
133 EXPECT_EQ(ContentSettingsPattern::IDENTITY, pattern.Compare(pattern2)); in TEST()
/external/icu4c/stubdata/
Dicu_dat_generator.py113 pattern2 = '%s/data/%s/%s_*.txt' % (ICU4C_DIR, dir_name, language)
114 for path in glob.glob(pattern1) + glob.glob(pattern2):
/external/icu4c/test/intltest/
Dmsfmrgts.cpp180 … UnicodeString pattern2("Double '' Quotes {0} test and quoted '{1}' test plus 'other {2} stuff'."); in Test4031438() local
258 logln("Apply with pattern : " + pattern2); in Test4031438()
259 messageFormatter->applyPattern(pattern2, status); in Test4031438()
/external/chromium_org/third_party/icu/source/test/intltest/
Dmsfmrgts.cpp178 … UnicodeString pattern2("Double '' Quotes {0} test and quoted '{1}' test plus 'other {2} stuff'."); in Test4031438() local
256 logln("Apply with pattern : " + pattern2); in Test4031438()
257 messageFormatter->applyPattern(pattern2, status); in Test4031438()

12