Lines Matching refs:string
31 std::string::size_type start = s.find_first_not_of(" \t\r\n"); in Trim()
32 if (start == std::string::npos) { in Trim()
35 std::string::size_type end = s.find_last_not_of(" \t\r\n"); in Trim()
36 if (end == std::string::npos) { in Trim()
57 std::string::size_type pos = 0; in Split()
60 if (pos == std::string::npos) { in Split()
64 std::string::size_type end = s.find_first_of(delim_chars, pos + 1); in Split()
65 if (end == std::string::npos) { in Split()
77 llvm::Optional<int> ParseInt(const std::string &s) { in ParseInt()
93 bool ParseBool(const std::string &s) { in ParseBool()
94 std::string value(s); in ParseBool()
101 return s.find_first_of("*?[") != std::string::npos; in IsGlobPattern()