Home
last modified time | relevance | path

Searched refs:ends_with (Results 1 – 9 of 9) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dstringpiece_unittest.cc619 EXPECT_TRUE(a.ends_with(a)); in TEST()
620 EXPECT_TRUE(a.ends_with("bar")); in TEST()
621 EXPECT_TRUE(a.ends_with(e)); in TEST()
622 EXPECT_TRUE(b.ends_with(s1)); in TEST()
623 EXPECT_TRUE(b.ends_with(b)); in TEST()
624 EXPECT_TRUE(b.ends_with(e)); in TEST()
625 EXPECT_TRUE(e.ends_with("")); in TEST()
626 EXPECT_TRUE(!a.ends_with(b)); in TEST()
627 EXPECT_TRUE(!b.ends_with(a)); in TEST()
628 EXPECT_TRUE(!e.ends_with(a)); in TEST()
[all …]
Dstringpiece.cc83 if (ends_with(x)) { in ConsumeFromEnd()
Dstringpiece.h327 bool ends_with(StringPiece x) const { in ends_with() function
/frameworks/base/tools/bit/
Dutil.h76 bool ends_with(const string& str, const string& suffix);
Dutil.cpp201 ends_with(const string& str, const string& suffix) in ends_with() function
Dmain.cpp737 if (starts_with(file, dataPath) && ends_with(file, ".apk")) { in run_phases()
970 if (!starts_with(filename, dataPath) || !ends_with(filename, ".apk")) { in run_phases()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Ddatapiece.cc333 0, src.ends_with("=") ? src.find_last_not_of('=') + 1 : src.length()); in DecodeBase64()
346 0, src.ends_with("=") ? src.find_last_not_of('=') + 1 : src.length()); in DecodeBase64()
Dprotostream_objectwriter.cc924 if (!value.ends_with("s")) { in RenderDuration()
/frameworks/base/cmds/incidentd/src/
DWorkDirectory.cpp114 static bool ends_with(const string& str, const string& ending) { in ends_with() function
712 bool isEnvelope = ends_with(entryname, EXTENSION_ENVELOPE); in get_directory_contents_locked()
713 bool isData = ends_with(entryname, EXTENSION_DATA); in get_directory_contents_locked()