| /llvm-project-15.0.7/libcxx/test/std/strings/string.view/string.view.nonmem/ |
| H A D | quoted.pass.cpp | 81 std::string quote ( const char *p, char delim='"', char escape='\\' ) { in quote() function 145 std::wstring quote ( const wchar_t *p, wchar_t delim='"', wchar_t escape='\\' ) { in quote() function 184 assert ( quote ( "Hi", '!' ) == "!Hi!" ); in main() 185 assert ( quote ( "Hi!", '!' ) == R"(!Hi\!!)" ); in main() 192 assert ( quote ( L"Hi", '!' ) == L"!Hi!" ); in main() 193 assert ( quote ( L"Hi!", '!' ) == LR"(!Hi\!!)" ); in main() 204 assert ( quote ( "" ) == "\"\"" ); in main() 205 assert ( quote ( "a" ) == "\"a\"" ); in main() 207 assert ( quote ( L"" ) == L"\"\"" ); in main() 208 assert ( quote ( L"a" ) == L"\"a\"" ); in main()
|
| /llvm-project-15.0.7/clang/test/Modules/Inputs/macro-ambiguity/ |
| H A D | module.modulemap | 2 header "Inputs/macro-ambiguity/a/quote/a_quote.h" 7 header "Inputs/macro-ambiguity/b/quote/b_quote.h" 12 header "Inputs/macro-ambiguity/c/quote/c_quote.h" 17 header "Inputs/macro-ambiguity/d/quote/d_quote.h" 22 textual header "Inputs/macro-ambiguity/e/quote/e_quote.h"
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/iostream.format/quoted.manip/ |
| H A D | quoted.pass.cpp | 89 std::basic_string<CharT, Traits> quote ( const CharT *p, char delim='"', char escape='\\' ) { in quote() function 146 assert ( quote ( "Hi", '!' ) == "!Hi!" ); in main() 147 assert ( quote ( "Hi!", '!' ) == R"(!Hi\!!)" ); in main() 154 assert ( quote ( L"Hi", '!' ) == L"!Hi!" ); in main() 155 assert ( quote ( L"Hi!", '!' ) == LR"(!Hi\!!)" ); in main() 165 assert ( quote ( "" ) == "\"\"" ); in main() 166 assert ( quote ( "a" ) == "\"a\"" ); in main() 168 assert ( quote ( L"" ) == L"\"\"" ); in main() 169 assert ( quote ( L"a" ) == L"\"a\"" ); in main()
|
| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | Args.h | 42 char quote; 48 ArgEntry(llvm::StringRef str, char quote); 54 bool IsQuoted() const { return quote != '\0'; } 55 char GetQuoteChar() const { return quote; } 393 : value(entry.ref()), quote(entry.quote) {} 395 return lldb_private::Args::ArgEntry(value, quote); 398 uint8_t quote;
|
| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | Args.cpp | 160 Args::ArgEntry::ArgEntry(llvm::StringRef str, char quote) : quote(quote) { in ArgEntry() argument 231 if (m_entries[i].quote) { in GetQuotedCommandString() 232 command += m_entries[i].quote; in GetQuotedCommandString() 234 command += m_entries[i].quote; in GetQuotedCommandString() 249 char quote; in SetCommandString() local 252 m_entries.emplace_back(arg, quote); in SetCommandString() 360 char quote = in SetArguments() local 365 m_entries[i] = ArgEntry(args[i], quote); in SetArguments() 634 char quote; in SetFromString() local 653 Args::ArgEntry entry(arg, quote); in SetFromString() [all …]
|
| /llvm-project-15.0.7/flang/runtime/ |
| H A D | format-implementation.h | 282 CharType quote{ch}; in CueUpNextDataEdit() 284 while (offset_ < formatLength_ && format_[offset_] != quote) { in CueUpNextDataEdit() 296 if (offset_ < formatLength_ && format_[offset_] == quote) { in CueUpNextDataEdit() 380 if (auto quote{static_cast<char>(PeekNext())}; in GetNextDataEdit() 381 quote == '\'' || quote == '"') { in GetNextDataEdit() 386 if (ch == quote && in GetNextDataEdit() 388 static_cast<char>(format_[offset_]) != quote)) { in GetNextDataEdit() 395 if (ch == quote) { in GetNextDataEdit()
|
| /llvm-project-15.0.7/lld/MachO/ |
| H A D | DriverUtils.cpp | 141 os << quote(rewriteInputPath(arg->getValue())) << "\n"; in createResponseFile() 144 os << "-o " << quote(path::filename(arg->getValue())) << "\n"; in createResponseFile() 149 os << quote(rewriteInputPath(path)) << "\n"; in createResponseFile() 155 << quote(rewriteInputPath(arg->getValue())) << "\n"; in createResponseFile() 165 os << arg->getSpelling() << " " << quote(rewritePath(arg->getValue())) in createResponseFile() 169 os << arg->getSpelling() << " " << quote(arg->getValue(0)) << " " in createResponseFile() 170 << quote(arg->getValue(1)) << " " in createResponseFile() 171 << quote(rewritePath(arg->getValue(2))) << "\n"; in createResponseFile()
|
| /llvm-project-15.0.7/llvm/test/Assembler/ |
| H A D | 2008-10-14-QuoteInName.ll | 1 ; RUN: llvm-as < %s | llvm-dis | grep "quote" 4 @"a\22quote" = global i32 0
|
| /llvm-project-15.0.7/lld/ELF/ |
| H A D | DriverUtils.cpp | 169 os << quote(rewritePath(arg->getValue())) << "\n"; in createResponseFile() 176 os << "-o " << quote(path::filename(arg->getValue())) << "\n"; in createResponseFile() 179 os << arg->getSpelling() << quote(rewritePath(arg->getValue())) << "\n"; in createResponseFile() 192 os << arg->getSpelling() << " " << quote(rewritePath(arg->getValue())) in createResponseFile()
|
| /llvm-project-15.0.7/lld/Common/ |
| H A D | Reproduce.cpp | 45 std::string lld::quote(StringRef s) { in quote() function in lld 61 v += quote(arg.getValue(i)); in toString()
|
| /llvm-project-15.0.7/clang/utils/ |
| H A D | module-deps-to-rsp.py | 39 def quote(str): function 63 print(" ".join(map(quote, cmd)))
|
| /llvm-project-15.0.7/clang/test/utils/update_cc_test_checks/ |
| H A D | lit.local.cfg | 8 from shlex import quote as shell_quote 10 from pipes import quote as shell_quote
|
| /llvm-project-15.0.7/libcxx/utils/libcxx/test/ |
| H A D | config.py | 434 def quote(self, s): member in Configuration 437 return pipes.quote(s) 441 sub.append(('%{cxx}', self.quote(self.cxx.path))) 444 sub.append(('%{flags}', ' '.join(map(self.quote, flags)))) 445 sub.append(('%{compile_flags}', ' '.join(map(self.quote, compile_flags)))) 446 sub.append(('%{link_flags}', ' '.join(map(self.quote, self.cxx.link_flags)))) 449 env_vars = ' '.join('%s=%s' % (k, self.quote(v)) for (k, v) in self.exec_env.items())
|
| /llvm-project-15.0.7/llvm/utils/lit/lit/ |
| H A D | BooleanExpression.py | 67 def quote(self, token): member in BooleanExpression 86 (self.quote(t), self.quote(self.token))) 116 self.quote(self.token))
|
| /llvm-project-15.0.7/llvm/test/tools/UpdateTestChecks/ |
| H A D | lit.local.cfg | 8 from shlex import quote as shell_quote 10 from pipes import quote as shell_quote
|
| /llvm-project-15.0.7/flang/lib/Parser/ |
| H A D | token-parsers.h | 248 template <char quote> struct CharLiteral { 256 } else if (ch->first == quote) { in Parse() 257 static constexpr auto doubled{attempt(AnyOfChars{SetOfChars{quote}})}; in Parse() 308 char quote = **at; in Parse() local 309 if (quote != '\'' && quote != '"') { in Parse() 319 if (**at == quote) { in Parse()
|
| H A D | prescan.cpp | 646 char quote{*at_}; in QuotedCharacterLiteral() local 678 if (*at_ == quote && !isEscaped) { in QuotedCharacterLiteral() 682 EmitChar(tokens, quote); in QuotedCharacterLiteral() 688 if (*at_ != quote) { in QuotedCharacterLiteral() 813 char quote{*p}; in FortranInclude() local 816 if (*p == quote) { in FortranInclude() 817 if (p[1] != quote) { in FortranInclude() 824 if (*p != quote) { in FortranInclude()
|
| /llvm-project-15.0.7/compiler-rt/test/memprof/ |
| H A D | lit.cfg.py | 13 sh_quote = shlex.quote 16 sh_quote = pipes.quote
|
| /llvm-project-15.0.7/lldb/third_party/Python/module/pexpect-4.6/pexpect/ |
| H A D | pxssh.py | 37 from shlex import quote 41 def quote(s): function 355 tunnel = quote(str(tunnel))
|
| /llvm-project-15.0.7/llvm/utils/lit/tests/Inputs/shtest-shell/ |
| H A D | error-1.txt | 3 # RUN: echo "missing quote
|
| /llvm-project-15.0.7/libcxx/test/libcxx/ |
| H A D | lit.local.cfg | 3 config.substitutions.append(('%{python}', pipes.quote(sys.executable)))
|
| /llvm-project-15.0.7/lld/test/ELF/ |
| H A D | vs-diagnostics-versionscript.s | 5 # CHECK: [[SCRIPT]](1): error: [[SCRIPT]]:1: unclosed quote
|
| /llvm-project-15.0.7/lld/include/lld/Common/ |
| H A D | Reproduce.h | 28 std::string quote(StringRef s);
|
| /llvm-project-15.0.7/llvm/utils/git/ |
| H A D | pre-push.py | 38 from shlex import quote 87 quoted_cmd = [quote(arg) for arg in cmd]
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_flag_parser.cpp | 102 char quote = buf_[pos_++]; in parse_flag() local 103 while (buf_[pos_] != 0 && buf_[pos_] != quote) ++pos_; in parse_flag()
|