/third_party/flutter/skia/third_party/externals/angle2/src/common/ |
D | string_utils_unittest.cpp | 96 TEST(StringUtilsTest, TrimString) in TEST() argument 99 EXPECT_EQ("a", TrimString("a", kWhitespaceASCII)); in TEST() 100 EXPECT_EQ("a", TrimString(" a", kWhitespaceASCII)); in TEST() 101 EXPECT_EQ("a", TrimString("a ", kWhitespaceASCII)); in TEST() 102 EXPECT_EQ("a", TrimString(" a ", kWhitespaceASCII)); in TEST() 105 EXPECT_EQ("", TrimString("", kWhitespaceASCII)); in TEST() 106 EXPECT_EQ("", TrimString(" \n\r\t", kWhitespaceASCII)); in TEST() 107 EXPECT_EQ(" foo ", TrimString(" foo ", "")); in TEST() 110 EXPECT_EQ("foo bar", TrimString(" foo bar ", kWhitespaceASCII)); in TEST() 113 EXPECT_EQ(" ", TrimString("foo bar", "abcdefghijklmnopqrstuvwxyz")); in TEST()
|
D | string_utils.cpp | 55 piece = TrimString(piece, kWhitespaceASCII); in SplitString() 87 std::string TrimString(const std::string &input, const std::string &trimChars) in TrimString() function
|
D | string_utils.h | 42 std::string TrimString(const std::string &input, const std::string &trimChars);
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | string_utils_unittest.cpp | 137 TEST(StringUtilsTest, TrimString) in TEST() argument 140 EXPECT_EQ("a", TrimString("a", kWhitespaceASCII)); in TEST() 141 EXPECT_EQ("a", TrimString(" a", kWhitespaceASCII)); in TEST() 142 EXPECT_EQ("a", TrimString("a ", kWhitespaceASCII)); in TEST() 143 EXPECT_EQ("a", TrimString(" a ", kWhitespaceASCII)); in TEST() 146 EXPECT_EQ("", TrimString("", kWhitespaceASCII)); in TEST() 147 EXPECT_EQ("", TrimString(" \n\r\t", kWhitespaceASCII)); in TEST() 148 EXPECT_EQ(" foo ", TrimString(" foo ", "")); in TEST() 151 EXPECT_EQ("foo bar", TrimString(" foo bar ", kWhitespaceASCII)); in TEST() 154 EXPECT_EQ(" ", TrimString("foo bar", "abcdefghijklmnopqrstuvwxyz")); in TEST()
|
D | string_utils.cpp | 69 piece = TrimString(piece, kWhitespaceASCII); in SplitString() 101 std::string TrimString(const std::string &input, const std::string &trimChars) in TrimString() function
|
D | string_utils.h | 42 std::string TrimString(const std::string &input, const std::string &trimChars);
|
/third_party/gn/src/base/strings/ |
D | string_util.h | 160 bool TrimString(const std::u16string& input, 163 bool TrimString(const std::string& input, 169 std::u16string_view TrimString(std::u16string_view input, 172 std::string_view TrimString(std::string_view input,
|
D | string_split.cc | 87 piece = TrimString(piece, WhitespaceForType<char_type>(), TRIM_ALL); in SplitStringT() 141 term = TrimString(term, WhitespaceForType<char_type>(), TRIM_ALL); in SplitStringUsingSubstrT()
|
D | string_util.cc | 249 bool TrimString(const std::u16string& input, in TrimString() function 255 bool TrimString(const std::string& input, in TrimString() function 277 std::u16string_view TrimString(std::u16string_view input, in TrimString() function 283 std::string_view TrimString(std::string_view input, in TrimString() function
|
/third_party/cef/libcef/common/ |
D | crash_reporter_client.cc | 385 base::TrimString(str, base::kWhitespaceASCII, &str); in ReadCrashConfigFile() 408 base::TrimString(name_str, base::kWhitespaceASCII, &name_str); in ReadCrashConfigFile() 410 base::TrimString(val_str, base::kWhitespaceASCII, &val_str); in ReadCrashConfigFile()
|
/third_party/gn/src/gn/ |
D | ninja_build_writer.cc | 588 base::TrimString(long_name, "/", &long_name); 597 base::TrimString(medium_name, "/", &medium_name);
|
D | command_format.cc | 685 TrimString(line, " ", base::TrimPositions::TRIM_TRAILING); in ExceedsMaximumWidth()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/deqp_support/ |
D | angle_deqp_gtest.cpp | 291 std::string dEQPName = TrimString(inString, kWhitespaceASCII); in initialize()
|
/third_party/skia/third_party/externals/angle2/src/tests/deqp_support/ |
D | angle_deqp_gtest.cpp | 331 std::string dEQPName = TrimString(inString, kWhitespaceASCII); in initialize()
|
/third_party/chromium/patch/ |
D | 0003-3.2-Beta3-1115.patch | 52310 + base::TrimString(cookie_value, " \t", base::TRIM_LEADING);
|