Home
last modified time | relevance | path

Searched refs:EndsWith (Results 1 – 25 of 42) sorted by relevance

12

/external/chromium/chrome/browser/ui/webui/
Ddevtools_ui.cc71 if (EndsWith(filename, ".html", false)) { in GetMimeType()
73 } else if (EndsWith(filename, ".css", false)) { in GetMimeType()
75 } else if (EndsWith(filename, ".js", false)) { in GetMimeType()
77 } else if (EndsWith(filename, ".png", false)) { in GetMimeType()
79 } else if (EndsWith(filename, ".gif", false)) { in GetMimeType()
/external/chromium/base/
Dstring_util_unittest.cc824 TEST(StringUtilTest, EndsWith) { in TEST() argument
825 EXPECT_TRUE(EndsWith(L"Foo.plugin", L".plugin", true)); in TEST()
826 EXPECT_FALSE(EndsWith(L"Foo.Plugin", L".plugin", true)); in TEST()
827 EXPECT_TRUE(EndsWith(L"Foo.plugin", L".plugin", false)); in TEST()
828 EXPECT_TRUE(EndsWith(L"Foo.Plugin", L".plugin", false)); in TEST()
829 EXPECT_FALSE(EndsWith(L".plug", L".plugin", true)); in TEST()
830 EXPECT_FALSE(EndsWith(L".plug", L".plugin", false)); in TEST()
831 EXPECT_FALSE(EndsWith(L"Foo.plugin Bar", L".plugin", true)); in TEST()
832 EXPECT_FALSE(EndsWith(L"Foo.plugin Bar", L".plugin", false)); in TEST()
833 EXPECT_FALSE(EndsWith(L"", L".plugin", false)); in TEST()
[all …]
Dstring_util.h367 BASE_API bool EndsWith(const std::string& str,
370 BASE_API bool EndsWith(const std::wstring& str,
373 BASE_API bool EndsWith(const string16& str,
Dstring_util.cc610 bool EndsWith(const std::string& str, const std::string& search, in EndsWith() function
615 bool EndsWith(const std::wstring& str, const std::wstring& search, in EndsWith() function
621 bool EndsWith(const string16& str, const string16& search, in EndsWith() function
/external/easymock/src/org/easymock/internal/matchers/
DEndsWith.java22 public class EndsWith implements IArgumentMatcher, Serializable { class
28 public EndsWith(String suffix) { in EndsWith() method in EndsWith
/external/chromium/sdch/open-vcdiff/src/gtest/
Dgtest-filepath.cc165 return pathname_.EndsWith(kPathSeparatorString); in IsDirectory()
204 return pathname_.EndsWith(kPathSeparatorString) in RemoveTrailingPathSeparator()
/external/protobuf/gtest/src/
Dgtest-filepath.cc263 return pathname_.EndsWith(kPathSeparatorString); in IsDirectory()
308 return pathname_.EndsWith(kPathSeparatorString) in RemoveTrailingPathSeparator()
/external/chromium/net/base/
Dfilter.cc192 if (EndsWith(extension, FILE_PATH_LITERAL(".gz"), false) || in FixupEncodingTypes()
201 if ((EndsWith(extension, FILE_PATH_LITERAL(".gz"), false) || in FixupEncodingTypes()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DStringExtensions.cs51 return str.EndsWith( value ); in endsWith()
/external/chromium/sdch/open-vcdiff/src/gtest/internal/
Dgtest-string.h203 bool EndsWith(const char* suffix) const;
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
DStringExtensions.cs50 return str.EndsWith( value ); in endsWith()
/external/llvm/include/llvm/ADT/
DStringSwitch.h65 StringSwitch& EndsWith(const char (&S)[N], const T &Value) { in EndsWith() function
/external/chromium/testing/gtest/include/gtest/internal/
Dgtest-string.h262 bool EndsWith(const char* suffix) const;
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-string.h262 bool EndsWith(const char* suffix) const;
/external/gtest/include/gtest/internal/
Dgtest-string.h262 bool EndsWith(const char* suffix) const;
/external/protobuf/gtest/include/gtest/internal/
Dgtest-string.h262 bool EndsWith(const char* suffix) const;
/external/chromium/chrome/browser/autofill/
Dphone_number.cc213 EndsWith(number_, text, true)); in IsNumber()
/external/chromium/testing/gmock/test/
Dgmock-matchers_test.cc81 using testing::EndsWith;
1308 const Matcher<const char*> m1 = EndsWith(""); in TEST()
1313 const Matcher<const string&> m2 = EndsWith(string("Hi")); in TEST()
1322 Matcher<const std::string> m = EndsWith("Hi"); in TEST()
1542 const Matcher<const wchar_t*> m1 = EndsWith(L""); in TEST()
1547 const Matcher<const ::std::wstring&> m2 = EndsWith(::std::wstring(L"Hi")); in TEST()
1556 Matcher<const ::std::wstring> m = EndsWith(L"Hi"); in TEST()
1733 const Matcher<const wchar_t*> m1 = EndsWith(L""); in TEST()
1738 const Matcher<const ::wstring&> m2 = EndsWith(::wstring(L"Hi")); in TEST()
1747 Matcher<const ::wstring> m = EndsWith(L"Hi"); in TEST()
[all …]
Dgmock_link_test.h139 using testing::EndsWith;
567 ON_CALL(mock, VoidFromString(EndsWith("c"))).WillByDefault(Return()); in TEST()
/external/chromium/chrome/common/extensions/
Duser_script.cc46 return EndsWith(url.ExtractFileName(), kFileExtension, false) && in IsURLUserScript()
/external/chromium/chrome/browser/
Dbrowser_focus_uitest.cc91 EndsWith(caption, L" - Google Chrome", true) || in ChromeInForeground()
92 EndsWith(caption, L" - Chromium", true); in ChromeInForeground()
Dplugin_observer.cc350 if (EndsWith(plugin_name, ASCIIToUTF16(kPluginExtension), true)) in OnCrashedPlugin()
/external/chromium/chrome/browser/policy/
Dcloud_policy_controller.cc36 if (EndsWith(username, kNonManagedDomains[i], true)) { in CanBeInManagedDomain()
/external/chromium/chrome/browser/chromeos/login/
Dlogin_utils.cc334 if (EndsWith(username_, "@google.com", true)) { in OnProfileCreated()
/external/chromium/third_party/libjingle/source/talk/base/
Dproxydetect.cc383 bool EndsWith(const std::string& a, const std::string& b) { in EndsWith() function
492 while (!EndsWith(it->Name(), extension)) { in GetDefaultFirefoxProfile()

12