Home
last modified time | relevance | path

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

/external/antlr/gunit/src/main/java/org/antlr/gunit/swingui/runner/
DTestSuiteAdapter.java63 private static String trimChars(String text, int numOfChars) { in trimChars() method in TestSuiteAdapter
75 return new TestCaseInputString(trimChars(line, 1)); in createStringInput()
81 return new TestCaseInputMultiString(trimChars(text, 2)); in createMultiInput()
96 return new TestCaseOutputStdOut(trimChars(text, 1)); in createStdOutput()
102 return new TestCaseOutputReturn(trimChars(text, 1)); in createReturnOutput()
/external/angle/src/common/
Dstring_utils.cpp101 std::string TrimString(const std::string &input, const std::string &trimChars) in TrimString() argument
103 auto begin = input.find_first_not_of(trimChars); in TrimString()
109 std::string::size_type end = input.find_last_not_of(trimChars); in TrimString()
Dstring_utils.h42 std::string TrimString(const std::string &input, const std::string &trimChars);