Pattern 41 android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java import java.util.regex.Pattern; Pattern 1494 android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java final Pattern userAgentExpr = Pattern.compile(patternString); Pattern 13 android_webview/javatests/src/org/chromium/android_webview/test/UserAgentTest.java import java.util.regex.Pattern; Pattern 44 android_webview/javatests/src/org/chromium/android_webview/test/UserAgentTest.java Matcher matcher = Pattern.compile("Android_[^;]+;_[^_]").matcher(ua); Pattern 13 base/android/java/src/org/chromium/base/SysUtils.java import java.util.regex.Pattern; Pattern 54 base/android/java/src/org/chromium/base/SysUtils.java Pattern pattern = Pattern.compile("^MemTotal:\\s+([0-9]+) kB$"); Pattern 196 base/test/trace_event_analyzer.h static Query Pattern(const std::string& pattern); Pattern 377 base/test/trace_event_analyzer_unittest.cc analyzer->FindEvents(Query::EventName() == Query::Pattern("name?"), &found); Pattern 382 base/test/trace_event_analyzer_unittest.cc analyzer->FindEvents(Query::EventName() == Query::Pattern("name*"), &found); Pattern 388 base/test/trace_event_analyzer_unittest.cc analyzer->FindEvents(Query::EventName() != Query::Pattern("name*"), &found); Pattern 21 chrome/android/java/src/org/chromium/chrome/browser/IntentHelper.java import java.util.regex.Pattern; Pattern 49 chrome/android/java/src/org/chromium/chrome/browser/IntentHelper.java Pattern emailPattern = Patterns.EMAIL_ADDRESS; Pattern 21 chrome/common/content_settings_pattern_unittest.cc Pattern("[*.]ikea.com").ToString().c_str()); Pattern 198 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("www.example.com").IsValid()); Pattern 199 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("www.example.com").Matches( Pattern 201 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("www.example.com").Matches( Pattern 204 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("www.example.com.").IsValid()); Pattern 206 chrome/common/content_settings_pattern_unittest.cc Pattern("www.example.com.").ToString().c_str()); Pattern 208 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("www.example.com.") == Pattern("www.example.com")); Pattern 210 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern(".").IsValid()); Pattern 211 chrome/common/content_settings_pattern_unittest.cc EXPECT_STREQ(".", Pattern(".").ToString().c_str()); Pattern 216 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("http://www.example.com:80").IsValid()); Pattern 218 chrome/common/content_settings_pattern_unittest.cc Pattern("http://www.example.com:80").ToString().c_str()); Pattern 220 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("http://www.example.com:81").IsValid()); Pattern 222 chrome/common/content_settings_pattern_unittest.cc Pattern("http://www.example.com:81").ToString().c_str()); Pattern 225 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("https://www.example.com:443").IsValid()); Pattern 227 chrome/common/content_settings_pattern_unittest.cc Pattern("https://www.example.com:443").ToString().c_str()); Pattern 229 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("https://www.example.com:8080").IsValid()); Pattern 231 chrome/common/content_settings_pattern_unittest.cc Pattern("https://www.example.com:8080").ToString().c_str()); Pattern 236 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("file:///").IsValid()); Pattern 239 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("file://foo/").IsValid()); Pattern 240 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("file://localhost/foo/bar/test.html").IsValid()); Pattern 241 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("file://*").IsValid()); Pattern 242 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("file://*/").IsValid()); Pattern 243 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("file://*/*").IsValid()); Pattern 244 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("file://*/foo/bar/test.html").IsValid()); Pattern 245 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("file://[*.]/").IsValid()); Pattern 248 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("file:///*").IsValid()); Pattern 249 chrome/common/content_settings_pattern_unittest.cc EXPECT_EQ("file:///*", Pattern("file:///*").ToString()); Pattern 252 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("file:///f*o/bar/file.html").IsValid()); Pattern 253 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("file:///*/bar/file.html").IsValid()); Pattern 254 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("file:///foo/*").IsValid()); Pattern 255 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("file:///foo/bar/*").IsValid()); Pattern 256 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("file:///foo/*/file.html").IsValid()); Pattern 257 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("file:///foo/bar/*.html").IsValid()); Pattern 258 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("file:///foo/bar/file.*").IsValid()); Pattern 260 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("file:///tmp/test.html").IsValid()); Pattern 262 chrome/common/content_settings_pattern_unittest.cc Pattern("file:///tmp/file.html").ToString()); Pattern 263 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("file:///tmp/test.html").Matches( Pattern 265 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("file:///tmp/test.html").Matches( Pattern 267 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("file:///tmp/test.html").Matches( Pattern 270 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("file:///*").Matches(GURL("file:///tmp/test.html"))); Pattern 271 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("file:///*").Matches( Pattern 276 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("chrome-extension://peoadpeiejnhkmpaakpnompolbglelel/") Pattern 279 chrome/common/content_settings_pattern_unittest.cc Pattern("chrome-extension://peoadpeiejnhkmpaakpnompolbglelel/") Pattern 281 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("chrome-extension://peoadpeiejnhkmpaakpnompolbglelel/") Pattern 287 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("192.168.0.1").IsValid()); Pattern 288 chrome/common/content_settings_pattern_unittest.cc EXPECT_STREQ("192.168.1.1", Pattern("192.168.1.1").ToString().c_str()); Pattern 289 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("https://192.168.0.1:8080").IsValid()); Pattern 291 chrome/common/content_settings_pattern_unittest.cc Pattern("https://192.168.0.1:8080").ToString().c_str()); Pattern 294 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("[*.]127.0.0.1").IsValid()); Pattern 297 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("[::1]").IsValid()); Pattern 298 chrome/common/content_settings_pattern_unittest.cc EXPECT_STREQ("[::1]", Pattern("[::1]").ToString().c_str()); Pattern 299 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("https://[::1]:8080").IsValid()); Pattern 301 chrome/common/content_settings_pattern_unittest.cc Pattern("https://[::1]:8080").ToString().c_str()); Pattern 309 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("*").IsValid()); Pattern 310 chrome/common/content_settings_pattern_unittest.cc EXPECT_STREQ("*", Pattern("*").ToString().c_str()); Pattern 312 chrome/common/content_settings_pattern_unittest.cc Pattern("*").Compare(ContentSettingsPattern::Wildcard())); Pattern 315 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("http://example.com:*").IsValid()); Pattern 317 chrome/common/content_settings_pattern_unittest.cc Pattern("http://example.com:*").ToString().c_str()); Pattern 319 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("https://example.com").IsValid()); Pattern 321 chrome/common/content_settings_pattern_unittest.cc Pattern("https://example.com").ToString().c_str()); Pattern 323 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("*://www.google.com.com:8080").IsValid()); Pattern 325 chrome/common/content_settings_pattern_unittest.cc Pattern("*://www.google.com:8080").ToString().c_str()); Pattern 326 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("*://www.google.com:8080").Matches( Pattern 328 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("*://www.google.com:8080").Matches( Pattern 331 chrome/common/content_settings_pattern_unittest.cc Pattern("*://www.google.com").Matches(GURL("file:///foo/bar.html"))); Pattern 333 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("www.example.com:8080").IsValid()); Pattern 336 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("*://www.example.com:*").IsValid()); Pattern 338 chrome/common/content_settings_pattern_unittest.cc Pattern("*://www.example.com:*").ToString().c_str()); Pattern 340 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("*://www.example.com").IsValid()); Pattern 342 chrome/common/content_settings_pattern_unittest.cc Pattern("*://www.example.com").ToString().c_str()); Pattern 344 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("www.example.com:*").IsValid()); Pattern 346 chrome/common/content_settings_pattern_unittest.cc Pattern("www.example.com:*").ToString().c_str()); Pattern 348 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("www.example.com").IsValid()); Pattern 350 chrome/common/content_settings_pattern_unittest.cc Pattern("www.example.com").ToString().c_str()); Pattern 351 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("www.example.com").Matches( Pattern 353 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("example.com").Matches( Pattern 357 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("[*.]example.com").IsValid()); Pattern 359 chrome/common/content_settings_pattern_unittest.cc Pattern("[*.]example.com").ToString().c_str()); Pattern 360 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("[*.]example.com").Matches( Pattern 362 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("[*.]example.com").Matches( Pattern 364 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("[*.]example.com").Matches( Pattern 367 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("[*.]google.com:80").Matches( Pattern 369 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("[*.]google.com:80").Matches( Pattern 371 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("[*.]google.com:80").Matches( Pattern 374 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("[*.]google.com:8080").Matches( Pattern 377 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("[*.]google.com:443").Matches( Pattern 379 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("[*.]google.com:443").Matches( Pattern 382 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("[*.]google.com:4321").Matches( Pattern 384 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("[*.]example.com").Matches( Pattern 386 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("[*.]example.com").Matches( Pattern 390 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("[*.]").IsValid()); Pattern 391 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("http://*").IsValid()); Pattern 392 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("http://[*.]").IsValid()); Pattern 393 chrome/common/content_settings_pattern_unittest.cc EXPECT_EQ(std::string("http://*"), Pattern("http://[*.]").ToString()); Pattern 394 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("http://*:8080").IsValid()); Pattern 395 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("*://*").IsValid()); Pattern 396 chrome/common/content_settings_pattern_unittest.cc EXPECT_STREQ("*", Pattern("*://*").ToString().c_str()); Pattern 401 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("[*.]\xC4\x87ira.com").IsValid()); Pattern 403 chrome/common/content_settings_pattern_unittest.cc Pattern("[*.]\xC4\x87ira.com").ToString().c_str()); Pattern 404 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("\xC4\x87ira.com").IsValid()); Pattern 406 chrome/common/content_settings_pattern_unittest.cc Pattern("\xC4\x87ira.com").ToString().c_str()); Pattern 407 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("file:///\xC4\x87ira.html").IsValid()); Pattern 409 chrome/common/content_settings_pattern_unittest.cc Pattern("file:///\xC4\x87ira.html").ToString().c_str()); Pattern 412 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("file:///tmp/bar/../test.html").IsValid()); Pattern 414 chrome/common/content_settings_pattern_unittest.cc Pattern("file:///tmp/bar/../test.html").ToString().c_str()); Pattern 423 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern(std::string()).IsValid()); Pattern 424 chrome/common/content_settings_pattern_unittest.cc EXPECT_STREQ("", Pattern(std::string()).ToString().c_str()); Pattern 427 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("ftp://myhost.org").IsValid()); Pattern 428 chrome/common/content_settings_pattern_unittest.cc EXPECT_STREQ("", Pattern("ftp://myhost.org").ToString().c_str()); Pattern 431 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("*example.com").IsValid()); Pattern 432 chrome/common/content_settings_pattern_unittest.cc EXPECT_STREQ("", Pattern("*example.com").ToString().c_str()); Pattern 433 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("example.*").IsValid()); Pattern 434 chrome/common/content_settings_pattern_unittest.cc EXPECT_STREQ("", Pattern("example.*").ToString().c_str()); Pattern 435 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("*\xC4\x87ira.com").IsValid()); Pattern 436 chrome/common/content_settings_pattern_unittest.cc EXPECT_STREQ("", Pattern("*\xC4\x87ira.com").ToString().c_str()); Pattern 437 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("\xC4\x87ira.*").IsValid()); Pattern 438 chrome/common/content_settings_pattern_unittest.cc EXPECT_STREQ("", Pattern("\xC4\x87ira.*").ToString().c_str()); Pattern 441 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("example.com:abc").IsValid()); Pattern 442 chrome/common/content_settings_pattern_unittest.cc EXPECT_STREQ("", Pattern("example.com:abc").ToString().c_str()); Pattern 445 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("file://").IsValid()); Pattern 446 chrome/common/content_settings_pattern_unittest.cc EXPECT_STREQ("", Pattern("file://").ToString().c_str()); Pattern 447 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("file:///foo/bar.html:8080").IsValid()); Pattern 448 chrome/common/content_settings_pattern_unittest.cc EXPECT_STREQ("", Pattern("file:///foo/bar.html:8080").ToString().c_str()); Pattern 451 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("www.example.com..").IsValid()); Pattern 452 chrome/common/content_settings_pattern_unittest.cc EXPECT_STREQ("", Pattern("www.example.com..").ToString().c_str()); Pattern 456 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("http://www.foo.com") != Pattern("http://www.foo.com*")); Pattern 457 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("http://www.foo.com*") != Pattern 460 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("http://www.foo.com") != Pattern 463 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("http://www.foo.com") != Pattern("www.foo.com")); Pattern 464 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("http://www.foo.com") != Pattern 465 chrome/common/content_settings_pattern_unittest.cc Pattern("http://www.foo.com:80")); Pattern 467 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("http://www.foo.com") != Pattern("http://www.foo.com")); Pattern 468 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("http://www.foo.com") == Pattern("http://www.foo.com")); Pattern 474 chrome/common/content_settings_pattern_unittest.cc Pattern("http://www.google.com"); Pattern 477 chrome/common/content_settings_pattern_unittest.cc Pattern("http://www.google.com:80").Compare( Pattern 478 chrome/common/content_settings_pattern_unittest.cc Pattern("http://www.google.com:80"))); Pattern 480 chrome/common/content_settings_pattern_unittest.cc Pattern("*://[*.]google.com:*").Compare( Pattern 481 chrome/common/content_settings_pattern_unittest.cc Pattern("*://[*.]google.com:*"))); Pattern 496 chrome/common/content_settings_pattern_unittest.cc Pattern("http://www.google.com").Compare( Pattern 497 chrome/common/content_settings_pattern_unittest.cc Pattern("127.0.0.1"))); Pattern 499 chrome/common/content_settings_pattern_unittest.cc Pattern("127.0.0.1").Compare( Pattern 500 chrome/common/content_settings_pattern_unittest.cc Pattern("http://www.google.com"))); Pattern 501 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("127.0.0.1") > Pattern("http://www.google.com")); Pattern 502 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("http://www.google.com") < Pattern("127.0.0.1")); Pattern 506 chrome/common/content_settings_pattern_unittest.cc Pattern("http://www.google.com").Compare( Pattern 507 chrome/common/content_settings_pattern_unittest.cc Pattern("[::1]"))); Pattern 509 chrome/common/content_settings_pattern_unittest.cc Pattern("[::1]").Compare( Pattern 510 chrome/common/content_settings_pattern_unittest.cc Pattern("http://www.google.com"))); Pattern 511 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("[::1]") > Pattern("http://www.google.com")); Pattern 512 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("http://www.google.com") < Pattern("[::1]")); Pattern 516 chrome/common/content_settings_pattern_unittest.cc Pattern("127.0.0.1").Compare( Pattern 517 chrome/common/content_settings_pattern_unittest.cc Pattern("[::1]"))); Pattern 519 chrome/common/content_settings_pattern_unittest.cc Pattern("[::1]").Compare( Pattern 520 chrome/common/content_settings_pattern_unittest.cc Pattern("127.0.0.1"))); Pattern 521 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("[::1]") < Pattern("127.0.0.1")); Pattern 522 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("127.0.0.1") > Pattern("[::1]")); Pattern 525 chrome/common/content_settings_pattern_unittest.cc Pattern("http://www.google.com").Compare( Pattern 526 chrome/common/content_settings_pattern_unittest.cc Pattern("http://www.youtube.com"))); Pattern 528 chrome/common/content_settings_pattern_unittest.cc Pattern("http://[*.]google.com").Compare( Pattern 529 chrome/common/content_settings_pattern_unittest.cc Pattern("http://[*.]youtube.com"))); Pattern 532 chrome/common/content_settings_pattern_unittest.cc Pattern("http://[*.]host.com").Compare( Pattern 533 chrome/common/content_settings_pattern_unittest.cc Pattern("http://[*.]evilhost.com"))); Pattern 535 chrome/common/content_settings_pattern_unittest.cc Pattern("*://www.google.com:80").Compare( Pattern 536 chrome/common/content_settings_pattern_unittest.cc Pattern("*://www.google.com:8080"))); Pattern 538 chrome/common/content_settings_pattern_unittest.cc Pattern("https://www.google.com:80").Compare( Pattern 539 chrome/common/content_settings_pattern_unittest.cc Pattern("http://www.google.com:80"))); Pattern 542 chrome/common/content_settings_pattern_unittest.cc Pattern("http://[*.]google.com:90").Compare( Pattern 543 chrome/common/content_settings_pattern_unittest.cc Pattern("http://mail.google.com:80"))); Pattern 545 chrome/common/content_settings_pattern_unittest.cc Pattern("https://[*.]google.com:80").Compare( Pattern 546 chrome/common/content_settings_pattern_unittest.cc Pattern("http://mail.google.com:80"))); Pattern 548 chrome/common/content_settings_pattern_unittest.cc Pattern("https://mail.google.com:*").Compare( Pattern 549 chrome/common/content_settings_pattern_unittest.cc Pattern("http://mail.google.com:80"))); Pattern 553 chrome/common/content_settings_pattern_unittest.cc Pattern("mail.google.com").Compare( Pattern 554 chrome/common/content_settings_pattern_unittest.cc Pattern("[*.]google.com"))); Pattern 556 chrome/common/content_settings_pattern_unittest.cc Pattern("[*.]google.com").Compare( Pattern 557 chrome/common/content_settings_pattern_unittest.cc Pattern("mail.google.com"))); Pattern 560 chrome/common/content_settings_pattern_unittest.cc Pattern("[*.]mail.google.com").Compare( Pattern 561 chrome/common/content_settings_pattern_unittest.cc Pattern("[*.]google.com"))); Pattern 563 chrome/common/content_settings_pattern_unittest.cc Pattern("[*.]google.com").Compare( Pattern 564 chrome/common/content_settings_pattern_unittest.cc Pattern("[*.]mail.google.com"))); Pattern 567 chrome/common/content_settings_pattern_unittest.cc Pattern("mail.google.com:80").Compare( Pattern 568 chrome/common/content_settings_pattern_unittest.cc Pattern("mail.google.com:*"))); Pattern 570 chrome/common/content_settings_pattern_unittest.cc Pattern("mail.google.com:*").Compare( Pattern 571 chrome/common/content_settings_pattern_unittest.cc Pattern("mail.google.com:80"))); Pattern 574 chrome/common/content_settings_pattern_unittest.cc Pattern("https://mail.google.com:*").Compare( Pattern 575 chrome/common/content_settings_pattern_unittest.cc Pattern("*://mail.google.com:*"))); Pattern 577 chrome/common/content_settings_pattern_unittest.cc Pattern("*://mail.google.com:*").Compare( Pattern 578 chrome/common/content_settings_pattern_unittest.cc Pattern("https://mail.google.com:*"))); Pattern 581 chrome/common/content_settings_pattern_unittest.cc Pattern("*://mail.google.com:80").Compare( Pattern 582 chrome/common/content_settings_pattern_unittest.cc Pattern("https://mail.google.com:*"))); Pattern 584 chrome/common/content_settings_pattern_unittest.cc Pattern("https://mail.google.com:*").Compare( Pattern 585 chrome/common/content_settings_pattern_unittest.cc Pattern("*://mail.google.com:80"))); Pattern 593 chrome/common/content_settings_pattern_unittest.cc Pattern("[*.]google.com").Compare( Pattern 597 chrome/common/content_settings_pattern_unittest.cc Pattern("[*.]google.com"))); Pattern 600 chrome/common/content_settings_pattern_unittest.cc Pattern("mail.google.com").Compare( Pattern 604 chrome/common/content_settings_pattern_unittest.cc Pattern("mail.google.com"))); Pattern 610 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("[*.]example.com").IsValid()); Pattern 611 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("example.com").IsValid()); Pattern 612 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("192.168.0.1").IsValid()); Pattern 613 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("[::1]").IsValid()); Pattern 615 chrome/common/content_settings_pattern_unittest.cc Pattern("file:///tmp/test.html").IsValid()); Pattern 616 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("*example.com").IsValid()); Pattern 617 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("example.*").IsValid()); Pattern 620 chrome/common/content_settings_pattern_unittest.cc Pattern("http://example.com").IsValid()); Pattern 622 chrome/common/content_settings_pattern_unittest.cc Pattern("https://example.com").IsValid()); Pattern 624 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("[*.]example.com").Matches( Pattern 626 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("[*.]example.com").Matches( Pattern 628 chrome/common/content_settings_pattern_unittest.cc EXPECT_TRUE(Pattern("www.example.com").Matches( Pattern 631 chrome/common/content_settings_pattern_unittest.cc Pattern("file:///tmp/test.html").Matches( Pattern 633 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern(std::string()).Matches(GURL("http://www.example.com/"))); Pattern 634 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("[*.]example.com").Matches( Pattern 636 chrome/common/content_settings_pattern_unittest.cc EXPECT_FALSE(Pattern("example.com").Matches( Pattern 639 chrome/common/content_settings_pattern_unittest.cc Pattern("file:///tmp/test.html").Matches( Pattern 642 chrome/common/content_settings_pattern_unittest.cc Pattern("file:///tmp/test.html").Matches( Pattern 648 chrome/common/content_settings_pattern_unittest.cc EXPECT_STREQ("[*.]ikea.com", Pattern("[*.]ikea.com").ToString().c_str()); Pattern 649 chrome/common/content_settings_pattern_unittest.cc EXPECT_STREQ("example.com", Pattern("example.com").ToString().c_str()); Pattern 650 chrome/common/content_settings_pattern_unittest.cc EXPECT_STREQ("192.168.1.1", Pattern("192.168.1.1").ToString().c_str()); Pattern 651 chrome/common/content_settings_pattern_unittest.cc EXPECT_STREQ("[::1]", Pattern("[::1]").ToString().c_str()); Pattern 653 chrome/common/content_settings_pattern_unittest.cc Pattern("file:///tmp/file.html").ToString().c_str()); Pattern 657 chrome/common/content_settings_pattern_unittest.cc Pattern("[*.]\xC4\x87ira.com").ToString().c_str()); Pattern 659 chrome/common/content_settings_pattern_unittest.cc Pattern("\xC4\x87ira.com").ToString().c_str()); Pattern 661 chrome/common/content_settings_pattern_unittest.cc Pattern("file:///\xC4\x87ira.html").ToString().c_str()); Pattern 665 chrome/common/content_settings_pattern_unittest.cc Pattern("file:///tmp/bar/../test.html").ToString().c_str()); Pattern 668 chrome/common/content_settings_pattern_unittest.cc EXPECT_STREQ("", Pattern("*example.com").ToString().c_str()); Pattern 669 chrome/common/content_settings_pattern_unittest.cc EXPECT_STREQ("", Pattern("example.*").ToString().c_str()); Pattern 670 chrome/common/content_settings_pattern_unittest.cc EXPECT_STREQ("", Pattern("*\xC4\x87ira.com").ToString().c_str()); Pattern 671 chrome/common/content_settings_pattern_unittest.cc EXPECT_STREQ("", Pattern("\xC4\x87ira.*").ToString().c_str()); Pattern 28 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java import java.util.regex.Pattern; Pattern 101 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java Pattern paksToInstall = Pattern.compile(p.toString()); Pattern 46 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java import java.util.regex.Pattern; Pattern 592 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java private static final Pattern WHITESPACE = Pattern 593 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java Pattern.compile("(\\s|(#.*$))++", Pattern.MULTILINE); Pattern 594 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java private static final Pattern TOKEN = Pattern.compile( Pattern 599 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java Pattern.MULTILINE); Pattern 601 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java private static final Pattern DOUBLE_INFINITY = Pattern.compile( Pattern 603 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java Pattern.CASE_INSENSITIVE); Pattern 604 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java private static final Pattern FLOAT_INFINITY = Pattern.compile( Pattern 606 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java Pattern.CASE_INSENSITIVE); Pattern 607 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java private static final Pattern FLOAT_NAN = Pattern.compile( Pattern 609 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java Pattern.CASE_INSENSITIVE); Pattern 21 tools/binary_size/java/src/org/chromium/tools/binary_size/ParallelAddress2Line.java import java.util.regex.Pattern; Pattern 91 tools/binary_size/java/src/org/chromium/tools/binary_size/ParallelAddress2Line.java private static final Pattern sNmPattern = Pattern.compile( Pattern 84 tools/gn/command_refs.cc Pattern pattern(args[0]); Pattern 56 tools/gn/operators_unittest.cc pattern_list->Append(Pattern("*rm")); Pattern 45 tools/gn/pattern.cc void ParsePattern(const std::string& s, std::vector<Pattern::Subrange>* out) { Pattern 48 tools/gn/pattern.cc Pattern::Subrange* last_literal = NULL; Pattern 54 tools/gn/pattern.cc (*out)[out->size() - 1].type != Pattern::Subrange::ANYTHING) Pattern 55 tools/gn/pattern.cc out->push_back(Pattern::Subrange(Pattern::Subrange::ANYTHING)); Pattern 61 tools/gn/pattern.cc out->push_back(Pattern::Subrange(Pattern::Subrange::PATH_BOUNDARY)); Pattern 66 tools/gn/pattern.cc out->push_back(Pattern::Subrange(Pattern::Subrange::LITERAL)); Pattern 79 tools/gn/pattern.cc out->push_back(Pattern::Subrange(Pattern::Subrange::LITERAL)); Pattern 89 tools/gn/pattern.cc Pattern::Pattern(const std::string& s) { Pattern 97 tools/gn/pattern.cc Pattern::~Pattern() { Pattern 100 tools/gn/pattern.cc bool Pattern::MatchesString(const std::string& s) const { Pattern 117 tools/gn/pattern.cc bool Pattern::RecursiveMatch(const std::string& s, Pattern 191 tools/gn/pattern.cc void PatternList::Append(const Pattern& pattern) { Pattern 207 tools/gn/pattern.cc patterns_.push_back(Pattern(list[i].string_value())); Pattern 15 tools/gn/pattern.h class Pattern { Pattern 49 tools/gn/pattern.h Pattern(const std::string& s); Pattern 50 tools/gn/pattern.h ~Pattern(); Pattern 77 tools/gn/pattern.h void Append(const Pattern& pattern); Pattern 87 tools/gn/pattern.h std::vector<Pattern> patterns_; Pattern 18 tools/gn/pattern_unittest.cc TEST(Pattern, Matches) { Pattern 56 tools/gn/pattern_unittest.cc Pattern pattern(c.pattern);