EndsWith 324 base/strings/string_util.h BASE_EXPORT bool EndsWith(const std::string& str, EndsWith 327 base/strings/string_util.h BASE_EXPORT bool EndsWith(const base::string16& str, EndsWith 818 base/strings/string_util_unittest.cc TEST(StringUtilTest, EndsWith) { EndsWith 819 base/strings/string_util_unittest.cc EXPECT_TRUE(EndsWith(ASCIIToUTF16("Foo.plugin"), EndsWith 821 base/strings/string_util_unittest.cc EXPECT_FALSE(EndsWith(ASCIIToUTF16("Foo.Plugin"), EndsWith 823 base/strings/string_util_unittest.cc EXPECT_TRUE(EndsWith(ASCIIToUTF16("Foo.plugin"), EndsWith 825 base/strings/string_util_unittest.cc EXPECT_TRUE(EndsWith(ASCIIToUTF16("Foo.Plugin"), EndsWith 827 base/strings/string_util_unittest.cc EXPECT_FALSE(EndsWith(ASCIIToUTF16(".plug"), ASCIIToUTF16(".plugin"), true)); EndsWith 828 base/strings/string_util_unittest.cc EXPECT_FALSE(EndsWith(ASCIIToUTF16(".plug"), ASCIIToUTF16(".plugin"), false)); EndsWith 829 base/strings/string_util_unittest.cc EXPECT_FALSE(EndsWith(ASCIIToUTF16("Foo.plugin Bar"), EndsWith 831 base/strings/string_util_unittest.cc EXPECT_FALSE(EndsWith(ASCIIToUTF16("Foo.plugin Bar"), EndsWith 833 base/strings/string_util_unittest.cc EXPECT_FALSE(EndsWith(string16(), ASCIIToUTF16(".plugin"), false)); EndsWith 834 base/strings/string_util_unittest.cc EXPECT_FALSE(EndsWith(string16(), ASCIIToUTF16(".plugin"), true)); EndsWith 835 base/strings/string_util_unittest.cc EXPECT_TRUE(EndsWith(ASCIIToUTF16("Foo.plugin"), string16(), false)); EndsWith 836 base/strings/string_util_unittest.cc EXPECT_TRUE(EndsWith(ASCIIToUTF16("Foo.plugin"), string16(), true)); EndsWith 837 base/strings/string_util_unittest.cc EXPECT_TRUE(EndsWith(ASCIIToUTF16(".plugin"), EndsWith 839 base/strings/string_util_unittest.cc EXPECT_TRUE(EndsWith(ASCIIToUTF16(".plugin"), ASCIIToUTF16(".plugin"), true)); EndsWith 840 base/strings/string_util_unittest.cc EXPECT_TRUE(EndsWith(string16(), string16(), false)); EndsWith 841 base/strings/string_util_unittest.cc EXPECT_TRUE(EndsWith(string16(), string16(), true)); EndsWith 103 base/version.cc if (EndsWith(wildcard_string.c_str(), ".*", false)) EndsWith 122 base/version.cc if (!EndsWith(wildcard_string.c_str(), ".*", false)) { EndsWith 36 chrome/app/delay_load_hook_win.cc if (EndsWith(dll_name, kDelaySuffix, false)) { EndsWith 261 chrome/browser/autocomplete/base_search_provider.cc EndsWith(suggestion_, match_contents_, true) && EndsWith 161 chrome/browser/autocomplete/keyword_provider.cc EndsWith(input->text(), remaining_input, true)) { EndsWith 842 chrome/browser/chromeos/extensions/wallpaper_private_api.cc if (!EndsWith(file_name, chromeos::kSmallWallpaperSuffix, true)) EndsWith 68 chrome/browser/chromeos/policy/device_local_account.cc if (!EndsWith(domain, kDeviceLocalAccountDomainSuffix, true)) EndsWith 52 chrome/browser/chromeos/power/peripheral_battery_observer.cc EndsWith(path, kHIDBatteryPathSuffix, false); EndsWith 426 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition_attribute.cc return EndsWith(str, data_, case_sensitive_); EndsWith 198 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc if (script_was_executed_ && EndsWith(url.spec(), until_url_suffix_, true)) { EndsWith 34 chrome/browser/extensions/api/web_request/web_request_permissions.cc if (EndsWith(host, kGoogleCom, true)) { EndsWith 53 chrome/browser/extensions/api/web_request/web_request_permissions.cc EndsWith(url.host(), ".clients.google.com", true) || EndsWith 43 chrome/browser/extensions/default_apps.cc if (EndsWith(locale, unsupported_locales[i], false)) { EndsWith 65 chrome/browser/extensions/extension_loading_browsertest.cc EXPECT_THAT(test_link_from_NTP.spec(), testing::EndsWith("/README.chromium")) EndsWith 284 chrome/browser/extensions/extension_protocols_unittest.cc EXPECT_TRUE(EndsWith(etag, "\"", false)); EndsWith 298 chrome/browser/extensions/updater/local_extension_cache.cc if (EndsWith(basename, kCRXFileExtension, false /* case-sensitive */)) { EndsWith 220 chrome/browser/google/google_util.cc return EndsWith(host_minus_tld, ".google.", false); EndsWith 43 chrome/browser/history/most_visited_tiles_experiment.cc if (!EndsWith(group_name, kFlippedSuffix, true)) EndsWith 226 chrome/browser/managed_mode/managed_mode_url_filter.cc if (EndsWith(pattern, ".*", true)) { EndsWith 245 chrome/browser/managed_mode/managed_mode_url_filter.cc !EndsWith(trimmed_host, trimmed_pattern, true)) { EndsWith 99 chrome/browser/media/media_capture_devices_dispatcher.cc EndsWith(origin.spec(), ".talkgadget.google.com/", true)) || EndsWith 213 chrome/browser/metrics/variations/variations_http_header_provider.cc if (EndsWith(host, ".doubleclick.net", false) || EndsWith 214 chrome/browser/metrics/variations/variations_http_header_provider.cc EndsWith(host, ".googlesyndication.com", false) || EndsWith 229 chrome/browser/metrics/variations/variations_http_header_provider.cc EndsWith(host_minus_tld, ".youtube.", false); EndsWith 29 chrome/browser/search/iframe_source.cc if (EndsWith(path, ".js", false)) EndsWith 31 chrome/browser/search/iframe_source.cc if (EndsWith(path, ".png", false)) EndsWith 33 chrome/browser/search/iframe_source.cc if (EndsWith(path, ".css", false)) EndsWith 35 chrome/browser/search/iframe_source.cc if (EndsWith(path, ".html", false)) EndsWith 785 chrome/browser/search/search.cc if (EndsWith(group_name, kDisablingSuffix, true)) EndsWith 734 chrome/browser/sync/test/integration/bookmarks_helper.cc if (!EndsWith(path, kPNGExtension, false)) EndsWith 1400 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_TRUE(EndsWith(form_structure()->field(0)->value, EndsWith 1406 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_TRUE(EndsWith(form_structure()->field(1)->value, EndsWith 102 chrome/browser/ui/browser_focus_uitest.cc EndsWith(caption, L" - Google Chrome", true) || EndsWith 103 chrome/browser/ui/browser_focus_uitest.cc EndsWith(caption, L" - Chromium", true); EndsWith 34 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc return EndsWith(file_info->filename, *file_extension, false); EndsWith 214 chrome/browser/ui/toolbar/origin_chip_info.cc if (EndsWith(formatted, base::ASCIIToUTF16("/"), false)) EndsWith 88 chrome/browser/ui/webui/devtools_ui.cc if (EndsWith(filename, ".html", false)) { EndsWith 90 chrome/browser/ui/webui/devtools_ui.cc } else if (EndsWith(filename, ".css", false)) { EndsWith 92 chrome/browser/ui/webui/devtools_ui.cc } else if (EndsWith(filename, ".js", false)) { EndsWith 94 chrome/browser/ui/webui/devtools_ui.cc } else if (EndsWith(filename, ".png", false)) { EndsWith 96 chrome/browser/ui/webui/devtools_ui.cc } else if (EndsWith(filename, ".gif", false)) { EndsWith 98 chrome/browser/ui/webui/devtools_ui.cc } else if (EndsWith(filename, ".manifest", false)) { EndsWith 115 chrome/browser/ui/webui/extensions/install_extension_handler.cc if (EndsWith(file_display_name_, EndsWith 121 chrome/browser/ui/webui/extensions/install_extension_handler.cc } else if (EndsWith(file_display_name_, EndsWith 125 chrome/browser/ui/webui/print_preview/print_preview_ui.cc if (!EndsWith(path, "/print.pdf", true)) EndsWith 62 chrome/browser/ui/webui/profiler_ui.cc if (EndsWith(path, ".js", false)) EndsWith 132 chrome/common/extensions/api/networking_private/networking_private_crypto.cc if (!EndsWith(subject_name, translated_mac, false)) { EndsWith 22 chrome/common/extensions/extension_constants.cc if (EndsWith(gallery_prefix, "/", true)) EndsWith 119 chrome/common/importer/firefox_importer_utils.cc if (EndsWith(path_components[i], ".app", true)) { EndsWith 101 chrome/common/metrics/variations/experiment_labels.cc DCHECK(!EndsWith(variation_labels, separator, false)); EndsWith 103 chrome/common/metrics/variations/experiment_labels.cc DCHECK(!EndsWith(other_labels, separator, false)); EndsWith 65 chrome/common/service_process_util_unittest.cc EXPECT_TRUE(EndsWith(scoped_name, test_str, true)); EndsWith 949 chrome/installer/util/shell_util.cc if (!EndsWith(shortcut_name, installer::kLnkExt, false)) EndsWith 888 chrome/renderer/chrome_content_renderer_client.cc (EndsWith(app_url_host, "plus.google.com", false) || EndsWith 889 chrome/renderer/chrome_content_renderer_client.cc EndsWith(app_url_host, "plus.sandbox.google.com", false)) && EndsWith 903 chrome/renderer/chrome_content_renderer_client.cc (EndsWith(app_url_host, "talkgadget.google.com", false) || EndsWith 904 chrome/renderer/chrome_content_renderer_client.cc EndsWith(app_url_host, "plus.google.com", false) || EndsWith 905 chrome/renderer/chrome_content_renderer_client.cc EndsWith(app_url_host, "plus.sandbox.google.com", false)) && EndsWith 1401 chrome/renderer/chrome_content_renderer_client.cc (EndsWith(url_host, "talkgadget.google.com", false) || EndsWith 1402 chrome/renderer/chrome_content_renderer_client.cc EndsWith(url_host, "plus.google.com", false) || EndsWith 1403 chrome/renderer/chrome_content_renderer_client.cc EndsWith(url_host, "plus.sandbox.google.com", false)) && EndsWith 105 chrome/renderer/content_settings_observer.cc return (EndsWith(host, domain, false) && EndsWith 572 chrome/renderer/content_settings_observer.cc if (EndsWith(resource_gurl.path(), kDotHTML, false)) EndsWith 626 chrome/renderer/content_settings_observer.cc } else if (EndsWith(origin_host, kDotGoogleUserContentDotCom, false)) { EndsWith 634 chrome/renderer/content_settings_observer.cc if (EndsWith(resource_gurl.path(), kDotJS, false)) EndsWith 636 chrome/renderer/content_settings_observer.cc else if (EndsWith(resource_gurl.path(), kDotCSS, false)) EndsWith 638 chrome/renderer/content_settings_observer.cc else if (EndsWith(resource_gurl.path(), kDotSWF, false)) EndsWith 134 chrome/test/base/tracing.cc DCHECK(EndsWith(*json_trace_output, trailout, true)); EndsWith 252 components/password_manager/core/browser/password_manager.cc if (EndsWith(iter->signon_realm, kSpdyProxyRealm, true)) EndsWith 93 components/plugins/renderer/mobile_youtube_plugin.cc bool is_youtube = EndsWith(host, "youtube.com", true) || EndsWith 94 components/plugins/renderer/mobile_youtube_plugin.cc EndsWith(host, "youtube-nocookie.com", true); EndsWith 126 components/plugins/renderer/plugin_placeholder.cc if (EndsWith(width_str, "px", false)) { EndsWith 133 components/plugins/renderer/plugin_placeholder.cc if (EndsWith(height_str, "px", false)) { EndsWith 70 components/storage_monitor/volume_mount_watcher_win.cc if (EndsWith(mount_point, L"\\", false)) EndsWith 268 components/translate/core/browser/translate_language_list.cc !EndsWith(language_list, ")", false)) { EndsWith 1103 components/wifi/wifi_service_win.cc if (EndsWith( EndsWith 229 content/browser/devtools/devtools_http_handler_impl.cc if (EndsWith(filename, ".html", false)) { EndsWith 231 content/browser/devtools/devtools_http_handler_impl.cc } else if (EndsWith(filename, ".css", false)) { EndsWith 233 content/browser/devtools/devtools_http_handler_impl.cc } else if (EndsWith(filename, ".js", false)) { EndsWith 235 content/browser/devtools/devtools_http_handler_impl.cc } else if (EndsWith(filename, ".png", false)) { EndsWith 237 content/browser/devtools/devtools_http_handler_impl.cc } else if (EndsWith(filename, ".gif", false)) { EndsWith 509 content/browser/plugin_browsertest.cc if (!EndsWith(request->url().spec(), EndsWith 583 content/browser/plugin_service_impl.cc if (EndsWith(plugin_name, base::ASCIIToUTF16(kPluginExtension), true)) EndsWith 2375 content/browser/web_contents/web_contents_impl.cc if (EndsWith(security_origin, kDotGoogleDotCom, false)) EndsWith 203 content/browser/webui/web_ui_data_source_impl.cc if (EndsWith(path, ".js", false)) EndsWith 206 content/browser/webui/web_ui_data_source_impl.cc if (EndsWith(path, ".json", false)) EndsWith 209 content/browser/webui/web_ui_data_source_impl.cc if (EndsWith(path, ".pdf", false)) EndsWith 212 content/browser/webui/web_ui_data_source_impl.cc if (EndsWith(path, ".svg", false)) EndsWith 62 content/common/set_process_title.cc if (EndsWith(title, kDeletedSuffix, true)) EndsWith 42 dbus/string_util.cc if (value.size() > 1 && EndsWith(value, "/", kCaseSensitive)) EndsWith 43 extensions/common/user_script.cc return EndsWith(url.ExtractFileName(), kFileExtension, false) && EndsWith 101 google_apis/drive/test_util.cc if (EndsWith(file_path.AsUTF8Unsafe(), ".json", true /* case sensitive */)) EndsWith 286 gpu/config/gpu_control_list.cc return EndsWith(my_value, value_, false); EndsWith 381 media/filters/chunk_demuxer_unittest.cc if (EndsWith(timestamp_str, "K", true)) { EndsWith 407 media/filters/source_buffer_stream_unittest.cc if (splice_frame && EndsWith(timestamps[i], ")", true)) { EndsWith 414 media/filters/source_buffer_stream_unittest.cc if (splice_frame && EndsWith(timestamps[i], "C", true)) { EndsWith 421 media/filters/source_buffer_stream_unittest.cc if (EndsWith(timestamps[i], "K", true)) { EndsWith 15 media/video/capture/video_capture_device.cc if (EndsWith(device_name_, suffix, true)) // |true| means case-sensitive. EndsWith 941 net/base/mime_util.cc if (EndsWith(mime_type, "/*", true)) { EndsWith 191 net/filter/filter.cc if (EndsWith(extension, FILE_PATH_LITERAL(".gz"), false) || EndsWith 200 net/filter/filter.cc if ((EndsWith(extension, FILE_PATH_LITERAL(".gz"), false) || EndsWith 84 net/http/http_server_properties_impl.cc if (EndsWith(it->first.host(), canoncial_suffixes_[i], false)) { EndsWith 269 net/http/http_server_properties_impl.cc if (EndsWith(server.host(), canoncial_suffixes_[i], false)) { EndsWith 406 net/http/http_server_properties_impl.cc if (EndsWith(server.host(), canoncial_suffixes_[i], false)) { EndsWith 715 net/quic/crypto/quic_crypto_client_config.cc if (EndsWith(server_id.host(), canoncial_suffixes_[i], false)) { EndsWith 2761 net/spdy/spdy_session.cc if (EndsWith(host_port_pair().host(), "google.com", false)) { EndsWith 31 net/spdy/spdy_session_test_util.cc if (EndsWith(pending_task.posted_from.file_name(), file_name_, true) && EndsWith 32 net/spdy/spdy_session_test_util.cc EndsWith(pending_task.posted_from.function_name(), function_name_, EndsWith 207 net/tools/flip_server/mem_cache.cc if (EndsWith(filename, ".html", true)) { EndsWith 156 remoting/host/it2me/it2me_host.cc !EndsWith(xmpp_server_config_.username, EndsWith 883 remoting/host/remoting_me2me_host.cc !EndsWith(host_owner_, std::string("@") + host_domain, false)) { EndsWith 36 third_party/zlib/google/zip_reader.cc is_directory_ = EndsWith(file_name_in_zip, "/", false); EndsWith 161 tools/clang/blink_gc_plugin/Config.h static bool EndsWith(const std::string& str, const std::string& suffix) { EndsWith 292 tools/gn/ninja_binary_target_writer.cc if (settings_->IsMac() && EndsWith(all_libs[i], framework_ending, false)) { EndsWith 55 ui/gfx/font_list.cc EndsWith(font_description, "px", true)); EndsWith 82 ui/gfx/font_list_impl.cc DCHECK(EndsWith(font_description_string, "px", true)); EndsWith 30 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc return EndsWith(file_info->filename, *file_extension, false);