Lines Matching refs:string
29 std::string::size_type start = s.find_first_not_of(" \t\r\n"); in Trim()
30 if (start == std::string::npos) { in Trim()
33 std::string::size_type end = s.find_last_not_of(" \t\r\n"); in Trim()
34 if (end == std::string::npos) { in Trim()
55 std::string::size_type pos = 0; in Split()
58 if (pos == std::string::npos) { in Split()
62 std::string::size_type end = s.find_first_of(delim_chars, pos + 1); in Split()
63 if (end == std::string::npos) { in Split()
75 std::optional<int> ParseInt(const std::string &s) { in ParseInt()
91 bool ParseBool(const std::string &s) { in ParseBool()
92 std::string value(s); in ParseBool()
99 return s.find_first_of("*?[") != std::string::npos; in IsGlobPattern()