Lines Matching refs:quoted
24 static llvm::StringRef ParseDoubleQuotes(llvm::StringRef quoted, in ParseDoubleQuotes() argument
30 size_t regular = quoted.find_first_of(k_escapable_characters); in ParseDoubleQuotes()
31 result += quoted.substr(0, regular); in ParseDoubleQuotes()
32 quoted = quoted.substr(regular); in ParseDoubleQuotes()
35 if (quoted.empty() || quoted.front() == '"') in ParseDoubleQuotes()
39 quoted = quoted.drop_front(); in ParseDoubleQuotes()
41 if (quoted.empty()) { in ParseDoubleQuotes()
49 if (strchr(k_escapable_characters, quoted.front()) == nullptr) in ParseDoubleQuotes()
52 result += quoted.front(); in ParseDoubleQuotes()
53 quoted = quoted.drop_front(); in ParseDoubleQuotes()
56 return quoted; in ParseDoubleQuotes()
144 size_t quoted = command.find(special); in ParseSingleArgument() local
145 arg += command.substr(0, quoted); in ParseSingleArgument()
146 command = command.substr(quoted); in ParseSingleArgument()