Home
last modified time | relevance | path

Searched refs:ConsumeSuffix (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dstrip_test.cc70 TEST(Strip, ConsumeSuffix) { in TEST() argument
72 EXPECT_FALSE(absl::ConsumeSuffix(&input, "abcdefg")); in TEST()
75 EXPECT_TRUE(absl::ConsumeSuffix(&input, "")); in TEST()
78 EXPECT_TRUE(absl::ConsumeSuffix(&input, "def")); in TEST()
82 EXPECT_FALSE(absl::ConsumeSuffix(&input, "abcdeg")); in TEST()
85 EXPECT_TRUE(absl::ConsumeSuffix(&input, "f")); in TEST()
88 EXPECT_TRUE(absl::ConsumeSuffix(&input, "abcde")); in TEST()
Dstrip.h60 inline bool ConsumeSuffix(absl::string_view* str, absl::string_view expected) { in ConsumeSuffix() function
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/
Dusage_config.cc61 absl::ConsumeSuffix(&program_name_ref, ".exe"); in ContainsHelpshortFlags()