/external/chromium_org/chrome/browser/search/ |
D | contextual_search_promo_source_android.cc | 99 if (EndsWith(path, ".js", false)) return "application/javascript"; in GetMimeType() 100 if (EndsWith(path, ".png", false)) return "image/png"; in GetMimeType() 101 if (EndsWith(path, ".css", false)) return "text/css"; in GetMimeType() 102 if (EndsWith(path, ".html", false)) return "text/html"; in GetMimeType() 103 if (EndsWith(path, ".woff", false)) return "font/woff"; in GetMimeType() 104 if (EndsWith(path, ".woff2", false)) return "font/woff2"; in GetMimeType()
|
D | iframe_source.cc | 28 if (EndsWith(path, ".js", false)) in GetMimeType() 30 if (EndsWith(path, ".png", false)) in GetMimeType() 32 if (EndsWith(path, ".css", false)) in GetMimeType() 34 if (EndsWith(path, ".html", false)) in GetMimeType()
|
/external/easymock/src/org/easymock/internal/matchers/ |
D | EndsWith.java | 22 public class EndsWith implements IArgumentMatcher, Serializable { class 28 public EndsWith(String suffix) { in EndsWith() method in EndsWith
|
/external/mockito/src/org/mockito/internal/matchers/ |
D | EndsWith.java | 14 public class EndsWith extends ArgumentMatcher<String> implements Serializable { class 19 public EndsWith(String suffix) { in EndsWith() method in EndsWith
|
/external/chromium_org/net/spdy/ |
D | spdy_session_test_util.cc | 31 if (EndsWith(pending_task.posted_from.file_name(), file_name_, true) && in DidProcessTask() 32 EndsWith(pending_task.posted_from.function_name(), function_name_, in DidProcessTask()
|
/external/chromium_org/base/strings/ |
D | string_util_unittest.cc | 819 TEST(StringUtilTest, EndsWith) { in TEST() argument 820 EXPECT_TRUE(EndsWith(ASCIIToUTF16("Foo.plugin"), in TEST() 822 EXPECT_FALSE(EndsWith(ASCIIToUTF16("Foo.Plugin"), in TEST() 824 EXPECT_TRUE(EndsWith(ASCIIToUTF16("Foo.plugin"), in TEST() 826 EXPECT_TRUE(EndsWith(ASCIIToUTF16("Foo.Plugin"), in TEST() 828 EXPECT_FALSE(EndsWith(ASCIIToUTF16(".plug"), ASCIIToUTF16(".plugin"), true)); in TEST() 829 EXPECT_FALSE(EndsWith(ASCIIToUTF16(".plug"), ASCIIToUTF16(".plugin"), false)); in TEST() 830 EXPECT_FALSE(EndsWith(ASCIIToUTF16("Foo.plugin Bar"), in TEST() 832 EXPECT_FALSE(EndsWith(ASCIIToUTF16("Foo.plugin Bar"), in TEST() 834 EXPECT_FALSE(EndsWith(string16(), ASCIIToUTF16(".plugin"), false)); in TEST() [all …]
|
/external/chromium_org/chrome/browser/ui/webui/ |
D | devtools_ui.cc | 108 if (EndsWith(filename, ".html", false)) { in GetMimeTypeForPath() 110 } else if (EndsWith(filename, ".css", false)) { in GetMimeTypeForPath() 112 } else if (EndsWith(filename, ".js", false)) { in GetMimeTypeForPath() 114 } else if (EndsWith(filename, ".png", false)) { in GetMimeTypeForPath() 116 } else if (EndsWith(filename, ".gif", false)) { in GetMimeTypeForPath() 118 } else if (EndsWith(filename, ".manifest", false)) { in GetMimeTypeForPath()
|
/external/chromium_org/chrome/browser/ui/webui/extensions/ |
D | install_extension_handler.cc | 106 if (EndsWith( in HandleInstallMessage() 120 if (EndsWith(file_display_name_, in HandleInstallMessage() 125 } else if (EndsWith(file_display_name_, in HandleInstallMessage()
|
/external/chromium_org/content/browser/webui/ |
D | web_ui_data_source_impl.cc | 201 if (EndsWith(path, ".js", false)) in GetMimeType() 204 if (EndsWith(path, ".json", false)) in GetMimeType() 207 if (EndsWith(path, ".pdf", false)) in GetMimeType() 210 if (EndsWith(path, ".svg", false)) in GetMimeType()
|
/external/chromium_org/pdf/ |
D | document_loader.cc | 77 !EndsWith(type, "/pdf", false) && in Init() 78 !EndsWith(type, ".pdf", false) && in Init() 79 !EndsWith(type, "/x-pdf", false) && in Init() 80 !EndsWith(type, "/*", false) && in Init() 81 !EndsWith(type, "/acrobat", false) && in Init() 82 !EndsWith(type, "/unknown", false)) { in Init()
|
/external/chromium_org/chrome/common/variations/ |
D | experiment_labels.cc | 99 DCHECK(!EndsWith(variation_labels, separator, false)); in CombineExperimentLabels() 101 DCHECK(!EndsWith(other_labels, separator, false)); in CombineExperimentLabels()
|
/external/chromium_org/chrome/browser/extensions/api/web_request/ |
D | web_request_permissions.cc | 33 if (EndsWith(host, kGoogleCom, true)) { in IsSensitiveURL() 52 EndsWith(url.host(), ".clients.google.com", true) || in IsSensitiveURL()
|
/external/chromium_org/extensions/browser/api/web_request/ |
D | web_request_permissions.cc | 33 if (EndsWith(host, kGoogleCom, true)) { in IsSensitiveURL() 52 EndsWith(url.host(), ".clients.google.com", true) || in IsSensitiveURL()
|
/external/chromium_org/chrome/browser/component_updater/test/ |
D | cld_component_installer_unittest.cc | 96 ASSERT_TRUE(EndsWith(result.value(), kTestCldDataFileName, true)); in TEST_F() 124 ASSERT_TRUE(EndsWith(result.value(), kTestCldDataFileName, true)); in TEST_F()
|
/external/chromium_org/chrome/renderer/ |
D | content_settings_observer.cc | 111 return (EndsWith(host, domain, false) && in IsHostInDomain() 509 if (EndsWith(resource_gurl.path(), kDotHTML, false)) in allowDisplayingInsecureContent() 563 } else if (EndsWith(origin_host, kDotGoogleUserContentDotCom, false)) { in allowRunningInsecureContent() 571 if (EndsWith(resource_gurl.path(), kDotJS, false)) in allowRunningInsecureContent() 573 else if (EndsWith(resource_gurl.path(), kDotCSS, false)) in allowRunningInsecureContent() 575 else if (EndsWith(resource_gurl.path(), kDotSWF, false)) in allowRunningInsecureContent()
|
D | chrome_content_renderer_client.cc | 977 (EndsWith(app_url_host, "plus.google.com", false) || in IsNaClAllowed() 978 EndsWith(app_url_host, "plus.sandbox.google.com", false)) && in IsNaClAllowed() 992 (EndsWith(app_url_host, "talkgadget.google.com", false) || in IsNaClAllowed() 993 EndsWith(app_url_host, "plus.google.com", false) || in IsNaClAllowed() 994 EndsWith(app_url_host, "plus.sandbox.google.com", false)) && in IsNaClAllowed() 1473 (EndsWith(url_host, "talkgadget.google.com", false) || in AllowPepperMediaStreamAPI() 1474 EndsWith(url_host, "plus.google.com", false) || in AllowPepperMediaStreamAPI() 1475 EndsWith(url_host, "plus.sandbox.google.com", false)) && in AllowPepperMediaStreamAPI()
|
/external/chromium_org/components/plugins/renderer/ |
D | mobile_youtube_plugin.cc | 93 bool is_youtube = EndsWith(host, "youtube.com", true) || in IsYouTubeURL() 94 EndsWith(host, "youtube-nocookie.com", true); in IsYouTubeURL()
|
D | plugin_placeholder.cc | 126 if (EndsWith(width_str, "px", false)) { in HidePlugin() 133 if (EndsWith(height_str, "px", false)) { in HidePlugin()
|
/external/chromium_org/base/ |
D | version.cc | 103 if (EndsWith(wildcard_string.c_str(), ".*", false)) in IsValidWildcardString() 122 if (!EndsWith(wildcard_string.c_str(), ".*", false)) { in CompareToWildcardString()
|
/external/chromium_org/dbus/ |
D | string_util.cc | 42 if (value.size() > 1 && EndsWith(value, "/", kCaseSensitive)) in IsValidObjectPath()
|
/external/chromium_org/chrome/app/ |
D | delay_load_hook_win.cc | 36 if (EndsWith(dll_name, kDelaySuffix, false)) { in OnPreLoadLibrary()
|
/external/chromium_org/net/http/ |
D | http_server_properties_impl.cc | 89 if (EndsWith(it->first.host(), canoncial_suffixes_[i], false)) { in InitializeAlternateProtocolServers() 224 if (EndsWith(server.host(), canoncial_suffixes_[i], false)) { in GetCanonicalSuffix() 299 if (EndsWith(server.host(), canoncial_suffixes_[i], false)) { in SetAlternateProtocol() 468 if (EndsWith(server.host(), canoncial_suffixes_[i], false)) { in GetCanonicalHost()
|
/external/protobuf/gtest/src/ |
D | gtest-filepath.cc | 263 return pathname_.EndsWith(kPathSeparatorString); in IsDirectory() 308 return pathname_.EndsWith(kPathSeparatorString) in RemoveTrailingPathSeparator()
|
/external/chromium_org/content/common/ |
D | set_process_title.cc | 62 if (EndsWith(title, kDeletedSuffix, true)) in SetProcessTitleFromCommandLine()
|
/external/chromium_org/content/browser/devtools/ |
D | devtools_http_handler_impl.cc | 279 if (EndsWith(filename, ".html", false)) { in GetMimeType() 281 } else if (EndsWith(filename, ".css", false)) { in GetMimeType() 283 } else if (EndsWith(filename, ".js", false)) { in GetMimeType() 285 } else if (EndsWith(filename, ".png", false)) { in GetMimeType() 287 } else if (EndsWith(filename, ".gif", false)) { in GetMimeType() 289 } else if (EndsWith(filename, ".json", false)) { in GetMimeType()
|