HomeSort by relevance Sort by last modified time
    Searched refs:EndsWith (Results 1 - 25 of 115) sorted by null

1 2 3 4 5

  /external/easymock/src/org/easymock/internal/matchers/
EndsWith.java 22 public class EndsWith implements IArgumentMatcher, Serializable {
28 public EndsWith(String suffix) {
33 return (actual instanceof String) && ((String) actual).endsWith(suffix);
37 buffer.append("endsWith(\"" + suffix + "\")");
  /external/mockito/src/org/mockito/internal/matchers/
EndsWith.java 14 public class EndsWith extends ArgumentMatcher<String> implements Serializable {
19 public EndsWith(String suffix) {
24 return actual != null && ((String) actual).endsWith(suffix);
28 description.appendText("endsWith(\"" + suffix + "\")");
  /external/chromium_org/net/spdy/
spdy_session_test_util.cc 31 if (EndsWith(pending_task.posted_from.file_name(), file_name_, true) &&
32 EndsWith(pending_task.posted_from.function_name(), function_name_,
  /external/chromium_org/chrome/browser/search/
iframe_source.cc 28 if (EndsWith(path, ".js", false))
30 if (EndsWith(path, ".png", false))
32 if (EndsWith(path, ".css", false))
34 if (EndsWith(path, ".html", false))
contextual_search_promo_source_android.cc 99 if (EndsWith(path, ".js", false)) return "application/javascript";
100 if (EndsWith(path, ".png", false)) return "image/png";
101 if (EndsWith(path, ".css", false)) return "text/css";
102 if (EndsWith(path, ".html", false)) return "text/html";
103 if (EndsWith(path, ".woff", false)) return "font/woff";
104 if (EndsWith(path, ".woff2", false)) return "font/woff2";
  /external/chromium_org/dbus/
string_util.cc 42 if (value.size() > 1 && EndsWith(value, "/", kCaseSensitive))
  /external/chromium_org/chrome/app/
delay_load_hook_win.cc 36 if (EndsWith(dll_name, kDelaySuffix, false)) {
  /external/chromium_org/chrome/browser/ui/webui/extensions/
install_extension_handler.cc 106 if (EndsWith(
120 if (EndsWith(file_display_name_,
125 } else if (EndsWith(file_display_name_,
  /external/chromium_org/chrome/browser/ui/webui/
devtools_ui.cc 108 if (EndsWith(filename, ".html", false)) {
110 } else if (EndsWith(filename, ".css", false)) {
112 } else if (EndsWith(filename, ".js", false)) {
114 } else if (EndsWith(filename, ".png", false)) {
116 } else if (EndsWith(filename, ".gif", false)) {
118 } else if (EndsWith(filename, ".manifest", false)) {
  /external/chromium_org/chrome/browser/component_updater/test/
cld_component_installer_unittest.cc 96 ASSERT_TRUE(EndsWith(result.value(), kTestCldDataFileName, true));
124 ASSERT_TRUE(EndsWith(result.value(), kTestCldDataFileName, true));
  /external/chromium_org/chrome/browser/extensions/api/web_request/
web_request_permissions.cc 33 if (EndsWith(host, kGoogleCom, true)) {
52 EndsWith(url.host(), ".clients.google.com", true) ||
  /external/chromium_org/chrome/common/variations/
experiment_labels.cc 99 DCHECK(!EndsWith(variation_labels, separator, false));
101 DCHECK(!EndsWith(other_labels, separator, false));
  /external/chromium_org/extensions/browser/api/web_request/
web_request_permissions.cc 33 if (EndsWith(host, kGoogleCom, true)) {
52 EndsWith(url.host(), ".clients.google.com", true) ||
  /external/chromium_org/chrome/browser/extensions/
extension_loading_browsertest.cc 65 EXPECT_THAT(test_link_from_NTP.spec(), testing::EndsWith("/README.chromium"))
  /external/chromium_org/content/browser/webui/
web_ui_data_source_impl.cc 201 if (EndsWith(path, ".js", false))
204 if (EndsWith(path, ".json", false))
207 if (EndsWith(path, ".pdf", false))
210 if (EndsWith(path, ".svg", false))
  /external/chromium_org/content/common/
set_process_title.cc 62 if (EndsWith(title, kDeletedSuffix, true))
  /external/chromium_org/third_party/webrtc/base/
stringutils_unittest.cc 99 TEST(string_endsTest, EndsWith) {
  /external/chromium_org/pdf/
document_loader.cc 77 !EndsWith(type, "/pdf", false) &&
78 !EndsWith(type, ".pdf", false) &&
79 !EndsWith(type, "/x-pdf", false) &&
80 !EndsWith(type, "/*", false) &&
81 !EndsWith(type, "/acrobat", false) &&
82 !EndsWith(type, "/unknown", false)) {
  /external/chromium_org/base/strings/
string_util_unittest.cc 819 TEST(StringUtilTest, EndsWith) {
820 EXPECT_TRUE(EndsWith(ASCIIToUTF16("Foo.plugin"),
822 EXPECT_FALSE(EndsWith(ASCIIToUTF16("Foo.Plugin"),
824 EXPECT_TRUE(EndsWith(ASCIIToUTF16("Foo.plugin"),
826 EXPECT_TRUE(EndsWith(ASCIIToUTF16("Foo.Plugin"),
828 EXPECT_FALSE(EndsWith(ASCIIToUTF16(".plug"), ASCIIToUTF16(".plugin"), true));
829 EXPECT_FALSE(EndsWith(ASCIIToUTF16(".plug"), ASCIIToUTF16(".plugin"), false));
830 EXPECT_FALSE(EndsWith(ASCIIToUTF16("Foo.plugin Bar"),
832 EXPECT_FALSE(EndsWith(ASCIIToUTF16("Foo.plugin Bar"),
834 EXPECT_FALSE(EndsWith(string16(), ASCIIToUTF16(".plugin"), false))
    [all...]
  /external/chromium_org/base/
version.cc 103 if (EndsWith(wildcard_string.c_str(), ".*", false))
122 if (!EndsWith(wildcard_string.c_str(), ".*", false)) {
  /external/chromium_org/components/plugins/renderer/
mobile_youtube_plugin.cc 93 bool is_youtube = EndsWith(host, "youtube.com", true) ||
94 EndsWith(host, "youtube-nocookie.com", true);
  /external/chromium_org/components/search/
search.cc 95 if (EndsWith(group_name, kDisablingSuffix, true))
  /external/chromium_org/media/video/capture/
video_capture_device.cc 17 if (EndsWith(device_name_, suffix, true)) // |true| means case-sensitive.
  /art/runtime/
utils_test.cc 348 TEST_F(UtilsTest, EndsWith) {
349 EXPECT_FALSE(EndsWith("foo", "bar"));
350 EXPECT_TRUE(EndsWith("foo", "foo"));
351 EXPECT_TRUE(EndsWith("foofoo", "foo"));
352 EXPECT_FALSE(EndsWith("oo", "foo"));
  /external/chromium_org/chrome/renderer/
content_settings_observer.cc 111 return (EndsWith(host, domain, false) &&
509 if (EndsWith(resource_gurl.path(), kDotHTML, false))
563 } else if (EndsWith(origin_host, kDotGoogleUserContentDotCom, false)) {
571 if (EndsWith(resource_gurl.path(), kDotJS, false))
573 else if (EndsWith(resource_gurl.path(), kDotCSS, false))
575 else if (EndsWith(resource_gurl.path(), kDotSWF, false))

Completed in 526 milliseconds

1 2 3 4 5