Lines Matching full:quote
20 // Parses the initial part of the first argument using normal double quote
21 // rules: backslash escapes the double quote and itself. The parsed string is
23 // of the string, starting at the closing quote.
34 // If we have reached the end of string or the closing quote, we're done. in ParseDoubleQuotes()
77 // The function returns a tuple consisting of the parsed argument, the quote
91 // we remember the first quote character we encounter and use that for the in ParseSingleArgument()
92 // quote character. in ParseSingleArgument()
135 // We found the start of a quote scope. in ParseSingleArgument()
142 // For single quotes, we simply skip ahead to the matching quote in ParseSingleArgument()
149 // If we found a closing quote, skip it. in ParseSingleArgument()
160 Args::ArgEntry::ArgEntry(llvm::StringRef str, char quote) : quote(quote) { in ArgEntry() argument
189 m_entries.emplace_back(entry.ref(), entry.quote); in operator =()
218 char quote = m_entries[i].quote; in GetCommandString() local
219 if (quote != '\0') in GetCommandString()
220 command += quote; in GetCommandString()
222 if (quote != '\0') in GetCommandString()
223 command += quote; in GetCommandString()
236 if (m_entries[i].quote) { in GetQuotedCommandString()
237 command += m_entries[i].quote; in GetQuotedCommandString()
239 command += m_entries[i].quote; in GetQuotedCommandString()
254 char quote; in SetCommandString() local
256 std::tie(arg, quote, command) = ParseSingleArgument(command); in SetCommandString()
257 m_entries.emplace_back(arg, quote); in SetCommandString()
303 m_entries.emplace_back(entry.ref(), entry.quote); in AppendArguments()
365 char quote = in SetArguments() local
370 m_entries[i] = ArgEntry(args[i], quote); in SetArguments()
616 assert(false && "Unhandled quote character"); in EscapeLLDBCommandArgument()
639 char quote; in SetFromString() local
654 std::tie(arg, quote, arg_string) = ParseSingleArgument(arg_string); in SetFromString()
658 Args::ArgEntry entry(arg, quote); in SetFromString()