Lines Matching defs:quote
19 // Parses the initial part of the first argument using normal double quote
20 // rules: backslash escapes the double quote and itself. The parsed string is
22 // of the string, starting at the closing quote.
33 // If we have reached the end of string or the closing quote, we're done.
78 // The function returns a tuple consisting of the parsed argument, the quote
92 // we remember the first quote character we encounter and use that for the
93 // quote character.
136 // We found the start of a quote scope.
143 // For single quotes, we simply skip ahead to the matching quote
150 // If we found a closing quote, skip it.
161 Args::ArgEntry::ArgEntry(llvm::StringRef str, char quote,
163 : quote(quote), column(column) {
192 m_entries.emplace_back(entry.ref(), entry.quote, entry.column);
221 char quote = m_entries[i].quote;
222 if (quote != '\0')
223 command += quote;
225 if (quote != '\0')
226 command += quote;
239 if (m_entries[i].quote) {
240 command += m_entries[i].quote;
242 command += m_entries[i].quote;
260 char quote;
263 std::tie(arg, quote, command) = ParseSingleArgument(command);
264 m_entries.emplace_back(arg, quote, column);
312 m_entries.emplace_back(entry.ref(), entry.quote, entry.column);
374 char quote =
379 m_entries[i] = ArgEntry(args[i], quote, std::nullopt);
627 assert(false && "Unhandled quote character");
651 char quote;
666 std::tie(arg, quote, arg_string) = ParseSingleArgument(arg_string);
670 Args::ArgEntry entry(arg, quote, std::nullopt);