Searched refs:TrimString (Results 1 – 8 of 8) sorted by relevance
/external/angle/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.h | 42 std::string TrimString(const std::string &input, const std::string &trimChars);
|
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
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_generator.cc | 51 string TrimString(const string& s) { in TrimString() function 114 string option_name = TrimString(options[i].first); in Generate() 115 string option_value = TrimString(options[i].second); in Generate()
|
/external/libchrome/base/strings/ |
D | string_util.h | 210 BASE_EXPORT bool TrimString(const string16& input, 213 BASE_EXPORT bool TrimString(const std::string& input, 219 BASE_EXPORT StringPiece16 TrimString(StringPiece16 input, 222 BASE_EXPORT StringPiece TrimString(StringPiece input,
|
D | string_split.cc | 96 piece = TrimString(piece, WhitespaceForType<Str>(), TRIM_ALL); in SplitStringT() 151 term = TrimString(term, WhitespaceForType<Str>(), TRIM_ALL); in SplitStringUsingSubstrT()
|
D | string_util.cc | 317 bool TrimString(const string16& input, in TrimString() function 323 bool TrimString(const std::string& input, in TrimString() function 340 StringPiece16 TrimString(StringPiece16 input, in TrimString() function 346 StringPiece TrimString(StringPiece input, in TrimString() function
|
/external/angle/src/tests/deqp_support/ |
D | angle_deqp_gtest.cpp | 320 std::string dEQPName = TrimString(inString, kWhitespaceASCII); in initialize()
|