Home
last modified time | relevance | path

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

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiCondCode.h75 .EndsWith("f", LPCC::ICC_F) in suffixToLanaiCondCode()
76 .EndsWith("hi", LPCC::ICC_HI) in suffixToLanaiCondCode()
77 .EndsWith("ugt", LPCC::ICC_UGT) in suffixToLanaiCondCode()
78 .EndsWith("ls", LPCC::ICC_LS) in suffixToLanaiCondCode()
79 .EndsWith("ule", LPCC::ICC_ULE) in suffixToLanaiCondCode()
80 .EndsWith("cc", LPCC::ICC_CC) in suffixToLanaiCondCode()
81 .EndsWith("ult", LPCC::ICC_ULT) in suffixToLanaiCondCode()
82 .EndsWith("cs", LPCC::ICC_CS) in suffixToLanaiCondCode()
83 .EndsWith("uge", LPCC::ICC_UGE) in suffixToLanaiCondCode()
84 .EndsWith("ne", LPCC::ICC_NE) in suffixToLanaiCondCode()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dmatch_test.cc38 TEST(MatchTest, EndsWith) { in TEST() argument
43 EXPECT_TRUE(absl::EndsWith(a, a)); in TEST()
44 EXPECT_TRUE(absl::EndsWith(a, "bar")); in TEST()
45 EXPECT_TRUE(absl::EndsWith(a, e)); in TEST()
46 EXPECT_TRUE(absl::EndsWith(b, s1)); in TEST()
47 EXPECT_TRUE(absl::EndsWith(b, b)); in TEST()
48 EXPECT_TRUE(absl::EndsWith(b, e)); in TEST()
49 EXPECT_TRUE(absl::EndsWith(e, "")); in TEST()
50 EXPECT_FALSE(absl::EndsWith(a, b)); in TEST()
51 EXPECT_FALSE(absl::EndsWith(b, a)); in TEST()
[all …]
Dstrip.h61 if (!absl::EndsWith(*str, expected)) return false; in ConsumeSuffix()
84 if (absl::EndsWith(str, suffix)) str.remove_suffix(suffix.size()); in StripSuffix()
Dcord_test.cc363 ASSERT_TRUE(x.EndsWith(absl::Cord("abcde"))); in TEST_P()
364 ASSERT_TRUE(x.EndsWith(absl::Cord("cde"))); in TEST_P()
365 ASSERT_TRUE(x.EndsWith(absl::Cord(""))); in TEST_P()
366 ASSERT_TRUE(empty.EndsWith(absl::Cord(""))); in TEST_P()
370 ASSERT_TRUE(!x.EndsWith(absl::Cord("xyz"))); in TEST_P()
371 ASSERT_TRUE(!empty.EndsWith(absl::Cord("xyz"))); in TEST_P()
377 ASSERT_TRUE(x.EndsWith("abcde")); in TEST_P()
378 ASSERT_TRUE(x.EndsWith("cde")); in TEST_P()
379 ASSERT_TRUE(x.EndsWith("")); in TEST_P()
380 ASSERT_TRUE(empty.EndsWith("")); in TEST_P()
[all …]
Dmatch.h68 inline bool EndsWith(absl::string_view text, in EndsWith() function
/third_party/gn/src/gn/
Dbundle_data.cc38 if (base::EndsWith(source, "/Contents.json", base::CompareCase::SENSITIVE) && in IsSourceFileFromAssetsCatalog()
39 base::EndsWith(dir, ".xcassets", base::CompareCase::SENSITIVE)) { in IsSourceFileFromAssetsCatalog()
41 } else if (base::EndsWith(dir, ".appiconset", base::CompareCase::SENSITIVE) || in IsSourceFileFromAssetsCatalog()
42 base::EndsWith(dir, ".colorset", base::CompareCase::SENSITIVE) || in IsSourceFileFromAssetsCatalog()
43 base::EndsWith(dir, ".dataset", base::CompareCase::SENSITIVE) || in IsSourceFileFromAssetsCatalog()
44 base::EndsWith(dir, ".imageset", base::CompareCase::SENSITIVE) || in IsSourceFileFromAssetsCatalog()
45 base::EndsWith(dir, ".launchimage", in IsSourceFileFromAssetsCatalog()
47 base::EndsWith(dir, ".symbolset", base::CompareCase::SENSITIVE)) { in IsSourceFileFromAssetsCatalog()
50 base::EndsWith(dir, ".xcassets", base::CompareCase::SENSITIVE); in IsSourceFileFromAssetsCatalog()
Dxcode_writer.cc123 base::EndsWith(target->label().name(), in IsXCUITestRunnerTarget()
132 base::EndsWith(target->label().name(), kXCTestModuleTargetNamePostfix, in IsXCTestModuleTarget()
140 base::EndsWith(target->label().name(), kXCTestModuleTargetNamePostfix, in IsXCUITestModuleTarget()
147 if (base::EndsWith(file_name, kXCTestFileSuffixes[i], in IsXCTestFile()
/third_party/skia/third_party/externals/angle2/src/common/
Dstring_utils_unittest.cpp291 return EndsWith(str, suffix); in runEndsWith()
295 return EndsWith(std::string(str), suffix); in runEndsWith()
297 return EndsWith(std::string(str), std::string(suffix)); in runEndsWith()
302 ASSERT_FALSE(EndsWith("foo", "bar")); in runTest()
303 ASSERT_FALSE(EndsWith("", "bar")); in runTest()
304 ASSERT_FALSE(EndsWith("foo", "foobar")); in runTest()
306 ASSERT_TRUE(EndsWith("foobar", "bar")); in runTest()
307 ASSERT_TRUE(EndsWith("foobar", "")); in runTest()
308 ASSERT_TRUE(EndsWith("bar", "bar")); in runTest()
309 ASSERT_TRUE(EndsWith("", "")); in runTest()
Dstring_utils.h73 bool EndsWith(const std::string &str, const std::string &suffix);
78 bool EndsWith(const std::string &str, const char *suffix);
83 bool EndsWith(const char *str, const char *suffix);
Dstring_utils.cpp194 bool EndsWith(const std::string &str, const std::string &suffix) in EndsWith() function
199 bool EndsWith(const std::string &str, const char *suffix) in EndsWith() function
204 bool EndsWith(const char *str, const char *suffix) in EndsWith() function
/third_party/ninja/src/
Dclparser.cc36 bool EndsWith(const string& input, const string& needle) { in EndsWith() function
72 return EndsWith(line, ".c") || in FilterInputFilename()
73 EndsWith(line, ".cc") || in FilterInputFilename()
74 EndsWith(line, ".cxx") || in FilterInputFilename()
75 EndsWith(line, ".cpp") || in FilterInputFilename()
76 EndsWith(line, ".c++"); in FilterInputFilename()
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/
Dflag_test.cc284 EXPECT_TRUE(absl::EndsWith( in TEST_F()
293 EXPECT_TRUE(absl::EndsWith( in TEST_F()
302 EXPECT_TRUE(absl::EndsWith( in TEST_F()
311 EXPECT_TRUE(absl::EndsWith( in TEST_F()
320 EXPECT_TRUE(absl::EndsWith( in TEST_F()
329 EXPECT_TRUE(absl::EndsWith( in TEST_F()
338 EXPECT_TRUE(absl::EndsWith( in TEST_F()
347 EXPECT_TRUE(absl::EndsWith( in TEST_F()
356 EXPECT_TRUE(absl::EndsWith( in TEST_F()
365 EXPECT_TRUE(absl::EndsWith( in TEST_F()
[all …]
Dusage_config_test.cc45 return absl::EndsWith(flags::Package(f), "aaa/"); in TstContainsHelppackageFlags()
49 return absl::EndsWith(flags::Package(f), "zzz/"); in TstContainsHelpFlags()
Dcommandlineflag_test.cc80 EXPECT_TRUE(absl::EndsWith(flag_01->Filename(), in TEST_F()
93 EXPECT_TRUE(absl::EndsWith(flag_02->Filename(), in TEST_F()
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_validate.cpp753 if (!gDumpStage1.EndsWith (".tif")) in main()
776 if (!gDumpStage2.EndsWith (".tif")) in main()
799 if (!gDumpStage3.EndsWith (".tif")) in main()
822 if (!gDumpTIF.EndsWith (".tif")) in main()
845 if (!gDumpDNG.EndsWith (".dng")) in main()
Ddng_string.h117 bool EndsWith (const char *s,
Ddng_camera_profile.cpp1265 if (len > 5 && baseName.EndsWith (" beta")) in SplitCameraProfileName()
1286 if (temp.EndsWith (" beta ")) in SplitCameraProfileName()
1313 if (temp.EndsWith (" v")) in SplitCameraProfileName()
/third_party/skia/third_party/externals/abseil-cpp/absl/hash/internal/
Dspy_hash_state.h118 if (absl::EndsWith(a_flat, b_flat)) return CompareResult::kBSuffixA; in Compare()
119 if (absl::EndsWith(b_flat, a_flat)) return CompareResult::kASuffixB; in Compare()
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/internal/
Dprogram_name_test.cc44 EXPECT_TRUE(absl::EndsWith(program_name, expect_name)) << program_name; in TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DTriple.cpp554 .EndsWith("xcoff", Triple::XCOFF) in parseFormat()
555 .EndsWith("coff", Triple::COFF) in parseFormat()
556 .EndsWith("elf", Triple::ELF) in parseFormat()
557 .EndsWith("macho", Triple::MachO) in parseFormat()
558 .EndsWith("wasm", Triple::Wasm) in parseFormat()
575 .EndsWith("kalimba3", Triple::KalimbaSubArch_v3) in parseSubArch()
576 .EndsWith("kalimba4", Triple::KalimbaSubArch_v4) in parseSubArch()
577 .EndsWith("kalimba5", Triple::KalimbaSubArch_v5) in parseSubArch()
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DAnyPartial.cs44 … prefix.EndsWith("/") ? prefix + descriptor.FullName : prefix + "/" + descriptor.FullName; in GetTypeUrl()
/third_party/gn/src/base/strings/
Dstring_util.h268 bool EndsWith(std::string_view str,
271 bool EndsWith(std::u16string_view str,
/third_party/googletest/googlemock/test/
Dgmock-matchers-comparisons_test.cc1774 const Matcher<const char*> m1 = EndsWith(""); in TEST()
1779 const Matcher<const std::string&> m2 = EndsWith(std::string("Hi")); in TEST()
1788 EndsWith(internal::StringView("")); in TEST()
1797 Matcher<const std::string> m = EndsWith("Hi"); in TEST()
1804 const Matcher<const char*> m1 = WhenBase64Unescaped(EndsWith("!")); in TEST()
1809 const Matcher<const std::string&> m2 = WhenBase64Unescaped(EndsWith("!")); in TEST()
1816 WhenBase64Unescaped(EndsWith("!")); in TEST()
1824 const Matcher<const char*> m = WhenBase64Unescaped(EndsWith("!")); in TEST()
2077 const Matcher<const wchar_t*> m1 = EndsWith(L""); in TEST()
2082 const Matcher<const ::std::wstring&> m2 = EndsWith(::std::wstring(L"Hi")); in TEST()
[all …]
/third_party/googletest/googlemock/include/gmock/
Dgmock-function-mocker.h78 constexpr bool EndsWith(const char (&suffix)[N], const char (&str)[M]) { in EndsWith() function
94 internal::EndsWith(")", spec)) || in ValidateSpec()
98 internal::EndsWith(")", spec)); in ValidateSpec()
/third_party/libphonenumber/tools/cpp/src/cpp-build/
Dgenerate_geocoding_data.cc141 bool EndsWith(const string& s, const string& suffix) { in EndsWith() function
593 if (!EndsWith(fname, ".txt")) { in WriteSource()

123