Home
last modified time | relevance | path

Searched refs:TrimString (Results 1 – 8 of 8) sorted by relevance

/external/angle/src/common/
Dstring_utils_unittest.cpp137 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()
Dstring_utils.h42 std::string TrimString(const std::string &input, const std::string &trimChars);
Dstring_utils.cpp69 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/
Djavanano_generator.cc51 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/
Dstring_util.h210 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,
Dstring_split.cc96 piece = TrimString(piece, WhitespaceForType<Str>(), TRIM_ALL); in SplitStringT()
151 term = TrimString(term, WhitespaceForType<Str>(), TRIM_ALL); in SplitStringUsingSubstrT()
Dstring_util.cc317 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/
Dangle_deqp_gtest.cpp320 std::string dEQPName = TrimString(inString, kWhitespaceASCII); in initialize()