Home
last modified time | relevance | path

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

/development/vndk/tools/header-checker/src/utils/
Dstring_utils_test.cpp44 TEST(StringUtilsTest, EndsWith) { in TEST() argument
45 EXPECT_TRUE(EndsWith("abcd", "cd")); in TEST()
46 EXPECT_TRUE(EndsWith("d", "d")); in TEST()
47 EXPECT_TRUE(EndsWith("d", "")); in TEST()
48 EXPECT_TRUE(EndsWith("", "")); in TEST()
50 EXPECT_FALSE(EndsWith("cd", "abcd")); in TEST()
51 EXPECT_FALSE(EndsWith("", "cd")); in TEST()
Dstring_utils.h32 bool EndsWith(std::string_view s, std::string_view suffix);
Dstring_utils.cpp48 bool EndsWith(std::string_view s, std::string_view suffix) { in EndsWith() function
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv5651 …498318948cbebe42b1,platform/system/core,fake_mWyM_eSSQdq36XXrswJNbA@fakeemail.com,EndsWith *suffix*
5974 …tem/core,fake_2m6CFV4mROmLvKIQ5979mg@fakeemail.com,Add std::string StartsWith*/EndsWith* overloads.
35765 …/frameworks/native,fake_2m6CFV4mROmLvKIQ5979mg@fakeemail.com,StartsWith/EndsWith allow std::string…
71647 …atform/system/netd,fake_2m6CFV4mROmLvKIQ5979mg@fakeemail.com,StartsWith/EndsWith now allow std::st…
72773 …bc8eee1ba6fde,platform/bionic,fake_2m6CFV4mROmLvKIQ5979mg@fakeemail.com,EndsWith now accepts std::…