Home
last modified time | relevance | path

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

1234

/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/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.cc305 ASSERT_TRUE(x.EndsWith(absl::Cord("abcde"))); in TEST()
306 ASSERT_TRUE(x.EndsWith(absl::Cord("cde"))); in TEST()
307 ASSERT_TRUE(x.EndsWith(absl::Cord(""))); in TEST()
308 ASSERT_TRUE(empty.EndsWith(absl::Cord(""))); in TEST()
312 ASSERT_TRUE(!x.EndsWith(absl::Cord("xyz"))); in TEST()
313 ASSERT_TRUE(!empty.EndsWith(absl::Cord("xyz"))); in TEST()
319 ASSERT_TRUE(x.EndsWith("abcde")); in TEST()
320 ASSERT_TRUE(x.EndsWith("cde")); in TEST()
321 ASSERT_TRUE(x.EndsWith("")); in TEST()
322 ASSERT_TRUE(empty.EndsWith("")); in TEST()
[all …]
Dmatch.h62 inline bool EndsWith(absl::string_view text, absl::string_view suffix) { in EndsWith() function
/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()
/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()
/third_party/flutter/skia/third_party/externals/angle2/src/common/
Dstring_utils_unittest.cpp206 TEST(EndsWithTest, EndsWith) in TEST() argument
208 ASSERT_FALSE(EndsWith("foo", "bar")); in TEST()
209 ASSERT_FALSE(EndsWith("", "bar")); in TEST()
210 ASSERT_FALSE(EndsWith("foo", "foobar")); in TEST()
212 ASSERT_TRUE(EndsWith("foobar", "bar")); in TEST()
213 ASSERT_TRUE(EndsWith("foobar", "")); in TEST()
214 ASSERT_TRUE(EndsWith("bar", "bar")); in TEST()
215 ASSERT_TRUE(EndsWith("", "")); in TEST()
/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.cc34 bool EndsWith(const string& input, const string& needle) { in EndsWith() function
70 return EndsWith(line, ".c") || in FilterInputFilename()
71 EndsWith(line, ".cc") || in FilterInputFilename()
72 EndsWith(line, ".cxx") || in FilterInputFilename()
73 EndsWith(line, ".cpp"); in FilterInputFilename()
/third_party/grpc/src/core/lib/security/credentials/tls/
Dtls_utils.cc49 absl::EndsWith(subject_alternative_name, ".") in VerifySubjectAlternativeName()
53 absl::EndsWith(matcher, ".") ? matcher : absl::StrCat(matcher, "."); in VerifySubjectAlternativeName()
83 if (!absl::EndsWith(normalized_matcher, suffix)) return false; in VerifySubjectAlternativeName()
/third_party/grpc/src/csharp/Grpc.Tools.Tests/
DDepFileUtilTest.cs125 Assert.That(deps, Has.One.EndsWith("wrappers.proto")); in ReadDependencyInput_FullFile1()
126 Assert.That(deps, Has.One.EndsWith("type.proto")); in ReadDependencyInput_FullFile1()
137 Assert.That(deps, Has.One.EndsWith("wrappers.proto")); in ReadDependencyInput_FullFile2()
/third_party/abseil-cpp/absl/flags/
Dflag_test.cc281 EXPECT_TRUE(absl::EndsWith( in TEST_F()
290 EXPECT_TRUE(absl::EndsWith( in TEST_F()
299 EXPECT_TRUE(absl::EndsWith( in TEST_F()
308 EXPECT_TRUE(absl::EndsWith( in TEST_F()
317 EXPECT_TRUE(absl::EndsWith( in TEST_F()
326 EXPECT_TRUE(absl::EndsWith( in TEST_F()
335 EXPECT_TRUE(absl::EndsWith( in TEST_F()
344 EXPECT_TRUE(absl::EndsWith( in TEST_F()
353 EXPECT_TRUE(absl::EndsWith( in TEST_F()
362 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()
/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()
/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()
/third_party/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/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/grpc/src/csharp/Grpc.Core/Internal/
DNativeMethods.cs61 if (!str.EndsWith(toRemove)) in RemoveStringSuffix()
/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/abseil-cpp/absl/flags/internal/
Dprogram_name_test.cc44 EXPECT_TRUE(absl::EndsWith(program_name, expect_name)) << program_name; in TEST()

1234