/external/llvm/lib/Target/Lanai/ |
LanaiCondCode.h | 75 .EndsWith("f", LPCC::ICC_F) 76 .EndsWith("hi", LPCC::ICC_HI) 77 .EndsWith("ugt", LPCC::ICC_UGT) 78 .EndsWith("ls", LPCC::ICC_LS) 79 .EndsWith("ule", LPCC::ICC_ULE) 80 .EndsWith("cc", LPCC::ICC_CC) 81 .EndsWith("ult", LPCC::ICC_ULT) 82 .EndsWith("cs", LPCC::ICC_CS) 83 .EndsWith("uge", LPCC::ICC_UGE) 84 .EndsWith("ne", LPCC::ICC_NE [all...] |
/external/mockito/src/main/java/org/mockito/internal/matchers/ |
EndsWith.java | 12 public class EndsWith implements ArgumentMatcher<String>, Serializable { 16 public EndsWith(String suffix) { 21 return actual != null && actual.endsWith(suffix); 25 return "endsWith(\"" + suffix + "\")";
|
/external/easymock/src/org/easymock/internal/matchers/ |
EndsWith.java | 22 public class EndsWith implements IArgumentMatcher, Serializable {
28 public EndsWith(String suffix) {
33 return (actual instanceof String) && ((String) actual).endsWith(suffix);
37 buffer.append("endsWith(\"" + suffix + "\")");
|
/external/mockito/src/test/java/org/mockito/internal/matchers/ |
StringMatchersTest.java | 33 assertTrue(new EndsWith("mockito").matches("here is mockito")); 38 assertFalse(new EndsWith("junit").matches("here is mockito")); 43 assertFalse(new EndsWith("java").matches(null));
|
MatchersToStringTest.java | 101 assertEquals("endsWith(\"AB\")", new EndsWith("AB").toString());
|
/system/tools/hidl/test/utils_test/ |
main.cpp | 31 EXPECT_TRUE(StringHelper::EndsWith("", "")); 32 EXPECT_TRUE(StringHelper::EndsWith("a", "")); 33 EXPECT_TRUE(StringHelper::EndsWith("b", "b")); 34 EXPECT_TRUE(StringHelper::EndsWith("ab", "b")); 35 EXPECT_TRUE(StringHelper::EndsWith("ab", "ab")); 36 EXPECT_TRUE(StringHelper::EndsWith("abcd", "bcd")); 37 EXPECT_TRUE(StringHelper::EndsWith("abcd", "abcd")); 38 EXPECT_TRUE(StringHelper::EndsWith("abcdefghijk", "ijk")); 39 EXPECT_TRUE(StringHelper::EndsWith("abcdefghijk", "bcdefghijk")); 41 EXPECT_FALSE(StringHelper::EndsWith("", "a")) [all...] |
/system/core/base/ |
strings.cpp | 106 static bool EndsWith(const std::string& s, const char* suffix, size_t suffix_length, 116 bool EndsWith(const std::string& s, const char* suffix) { 117 return EndsWith(s, suffix, strlen(suffix), true); 120 bool EndsWith(const std::string& s, const std::string& suffix) { 121 return EndsWith(s, suffix.c_str(), suffix.size(), true); 125 return EndsWith(s, suffix, strlen(suffix), false); 129 return EndsWith(s, suffix.c_str(), suffix.size(), false);
|
strings_test.cpp | 202 ASSERT_FALSE(android::base::EndsWith("", "foo")); 203 ASSERT_TRUE(android::base::EndsWith("", "")); 213 ASSERT_TRUE(android::base::EndsWith("foo", "")); 214 ASSERT_TRUE(android::base::EndsWith("foo", "o")); 215 ASSERT_TRUE(android::base::EndsWith("foo", "oo")); 216 ASSERT_TRUE(android::base::EndsWith("foo", "foo")); 238 ASSERT_FALSE(android::base::EndsWith("foo", "foobar")); 247 ASSERT_FALSE(android::base::EndsWith("foobar", "oba")); 248 ASSERT_FALSE(android::base::EndsWith("foobar", "foo")); 267 ASSERT_TRUE(android::base::EndsWith("hello", std::string{"lo"})) [all...] |
/external/libchrome/dbus/ |
string_util.cc | 42 base::EndsWith(value, "/", base::CompareCase::SENSITIVE))
|
/system/tools/aidl/ |
options_unittest.cpp | 176 TEST(OptionsTests, EndsWith) { 177 EXPECT_TRUE(EndsWith("foo", "")); 178 EXPECT_TRUE(EndsWith("foo", "o")); 179 EXPECT_TRUE(EndsWith("foo", "foo")); 180 EXPECT_FALSE(EndsWith("foo", "fooo")); 181 EXPECT_FALSE(EndsWith("", "o")); 182 EXPECT_TRUE(EndsWith("", ""));
|
options.cpp | 149 if (!EndsWith(options->input_file_name_, ".aidl")) { 256 if (!EndsWith(options->input_file_name_, ".aidl")) { 264 bool EndsWith(const string& str, const string& suffix) { 275 if (!EndsWith(*str, old_suffix)) return false;
|
/system/core/base/include/android-base/ |
strings.h | 68 bool EndsWith(const std::string& s, const char* suffix); 70 bool EndsWith(const std::string& s, const std::string& suffix);
|
/system/connectivity/wifilogd/tests/ |
command_processor_unittest.cpp | 47 using ::testing::EndsWith; 284 EXPECT_THAT(written_to_os_, EndsWith("tag message\n")); 292 EXPECT_THAT(written_to_os_, EndsWith("[empty] message\n")); 300 EXPECT_THAT(written_to_os_, EndsWith("tag [empty]\n")); 308 EXPECT_THAT(written_to_os_, EndsWith("[empty] [empty]\n")); 316 EXPECT_THAT(written_to_os_, EndsWith("?tag? ?message?\n")); 325 EXPECT_THAT(written_to_os_, EndsWith("[truncated-header]\n")); 336 EXPECT_THAT(written_to_os_, EndsWith("[buffer-overrun] [buffer-overrun]\n")); 348 EndsWith("ta[buffer-overrun] [buffer-overrun]\n")); 360 EXPECT_THAT(written_to_os_, EndsWith("tag [buffer-overrun]\n")) [all...] |
/external/libmojo/base/android/library_loader/ |
library_prefetcher.cc | 43 if (EndsWith(path, kSuffixesToMatch[i], CompareCase::SENSITIVE)) { 96 if (EndsWith(region.path, kLibchromeSuffix, CompareCase::SENSITIVE)) { 103 !EndsWith(region.path, kLibchromeSuffix, CompareCase::SENSITIVE)) {
|
/bionic/tests/ |
dlfcn_symlink_support.cpp | 47 if (android::base::EndsWith(info->dlpi_name, suffix)) {
|
/bionic/tools/versioner/src/ |
Utils.cpp | 75 if (!android::base::EndsWith(path, ".h")) {
|
/external/dng_sdk/source/ |
dng_string.h | 117 bool EndsWith (const char *s,
|
dng_validate.cpp | 753 if (!gDumpStage1.EndsWith (".tif")) 776 if (!gDumpStage2.EndsWith (".tif")) 799 if (!gDumpStage3.EndsWith (".tif")) 822 if (!gDumpTIF.EndsWith (".tif")) 845 if (!gDumpDNG.EndsWith (".dng"))
|
/external/webrtc/webrtc/base/ |
stringutils_unittest.cc | 99 TEST(string_endsTest, EndsWith) {
|
/external/tensorflow/tensorflow/core/framework/ |
tensor_shape_test.cc | 638 TEST(TensorShapeUtilsTest, EndsWith) { 639 EXPECT_TRUE(TensorShapeUtils::EndsWith(TensorShape({}), TensorShape({}))); 640 EXPECT_TRUE(TensorShapeUtils::EndsWith(TensorShape({2, 3}), TensorShape({}))); 642 TensorShapeUtils::EndsWith(TensorShape({2, 3}), TensorShape({3}))); 644 TensorShapeUtils::EndsWith(TensorShape({2, 3}), TensorShape({2, 3}))); 646 TensorShapeUtils::EndsWith(TensorShape({2, 3, 4}), TensorShape({3, 4}))); 648 TensorShapeUtils::EndsWith(TensorShape({2, 3}), TensorShape({2}))); 650 TensorShapeUtils::EndsWith(TensorShape({2, 3}), TensorShape({2, 4}))); 652 TensorShapeUtils::EndsWith(TensorShape({2, 3}), TensorShape({2, 3, 4}))); 654 TensorShapeUtils::EndsWith(TensorShape({2, 3, 4}), TensorShape({2, 3}))) [all...] |
lookup_interface.cc | 25 if (!TensorShapeUtils::EndsWith(shape, key_shape())) {
|
/external/libchrome/base/strings/ |
string_util_unittest.cc | [all...] |
/external/libchrome/base/ |
version.cc | 105 if (EndsWith(version_string, ".*", CompareCase::SENSITIVE)) 117 if (!EndsWith(wildcard_string, ".*", CompareCase::SENSITIVE)) {
|
/system/tools/hidl/utils/include/hidl-util/ |
StringHelper.h | 56 static bool EndsWith(const std::string &in, const std::string &suffix);
|
/system/update_engine/payload_generator/ |
deflate_utils.cc | 63 if (base::EndsWith(file.name, ".img", base::CompareCase::SENSITIVE) && 291 base::EndsWith( 293 base::EndsWith( 295 base::EndsWith(file.name, ".jar", base::CompareCase::INSENSITIVE_ASCII);
|