EndsWith
bool EndsWith(const BString& string) const;
bool EndsWith(const char* string) const;
bool EndsWith(const char* string, int32 length) const;
if (windowName.EndsWith(teamSuffix))
return packageName.EndsWith("_source");
return packageName.EndsWith("_devel") || packageName.EndsWith("_debuginfo");
bool EndsWith(BString string) const;
hasLineBreaks = paragraph.EndsWith("\n");
if (otherParagraph.EndsWith("\n")) {
if (BString(fileName).EndsWith(".hpkg")) {
if (!BString(packageFileName).EndsWith(".hpkg")) {
if (package->Name().EndsWith("_source") || package->Name().EndsWith("_debuginfo"))
if (fPath.EndsWith("/"))
if (to.EndsWith("/.") || to.EndsWith("/.."))
return EndsWith(string.String(), string.Length());
return EndsWith(string, strlen(safestr(string)));
if (fHost.StartsWith("[") && fHost.EndsWith("]"))
return EndsWith(string, caseSensitivity);
bool EndsWith(const char*, bool caseSensitivity = false) const;
if (!BString(entry.name).EndsWith(kPackageFileNameExtension))
if (!name.EndsWith(kPackageFileNameExtension))
CPPUNIT_ASSERT(string1.EndsWith(string2));
CPPUNIT_ASSERT_EQUAL(0, string1.EndsWith(string2));
CPPUNIT_ASSERT(string1.EndsWith("least"));
CPPUNIT_ASSERT_EQUAL(0, string1.EndsWith("least"));
CPPUNIT_ASSERT(string1.EndsWith("st", 2));
CPPUNIT_ASSERT_EQUAL(0, string1.EndsWith("sT", 2));
if (!filename.EndsWith(".so")) {