Searched refs:StripSuffix (Results 1 – 6 of 6) sorted by relevance
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
D | strip_test.cc | 104 TEST(Strip, StripSuffix) { in TEST() argument 107 EXPECT_EQ(absl::StripSuffix("foobar", "bar"), "foo"); in TEST() 108 EXPECT_EQ(absl::StripSuffix("foobar", ""), "foobar"); in TEST() 109 EXPECT_EQ(absl::StripSuffix("foobar", null_str), "foobar"); in TEST() 110 EXPECT_EQ(absl::StripSuffix("foobar", "foobar"), ""); in TEST() 111 EXPECT_EQ(absl::StripSuffix("foobar", "foo"), "foobar"); in TEST() 112 EXPECT_EQ(absl::StripSuffix("foobar", "ffoobar"), "foobar"); in TEST() 113 EXPECT_EQ(absl::StripSuffix("", ""), ""); in TEST()
|
D | strip.h | 82 ABSL_MUST_USE_RESULT inline absl::string_view StripSuffix( in StripSuffix() function
|
/third_party/abseil-cpp/absl/strings/ |
D | strip_test.cc | 104 TEST(Strip, StripSuffix) { in TEST() argument 107 EXPECT_EQ(absl::StripSuffix("foobar", "bar"), "foo"); in TEST() 108 EXPECT_EQ(absl::StripSuffix("foobar", ""), "foobar"); in TEST() 109 EXPECT_EQ(absl::StripSuffix("foobar", null_str), "foobar"); in TEST() 110 EXPECT_EQ(absl::StripSuffix("foobar", "foobar"), ""); in TEST() 111 EXPECT_EQ(absl::StripSuffix("foobar", "foo"), "foobar"); in TEST() 112 EXPECT_EQ(absl::StripSuffix("foobar", "ffoobar"), "foobar"); in TEST() 113 EXPECT_EQ(absl::StripSuffix("", ""), ""); in TEST()
|
D | strip.h | 82 ABSL_MUST_USE_RESULT inline absl::string_view StripSuffix( in StripSuffix() function
|
/third_party/grpc/src/compiler/ |
D | generator_helpers.h | 32 inline bool StripSuffix(std::string* filename, const std::string& suffix) { in StripSuffix() function 55 if (!StripSuffix(&filename, ".protodevel")) { in StripProto() 56 StripSuffix(&filename, ".proto"); in StripProto()
|
D | objective_c_plugin.cc | 121 grpc_generator::StripSuffix(&pb_runtime_import_prefix, "/"); in Generate()
|