/openbsd-src/lib/libedit/ |
H A D | tokenizer.c | 82 quote_t quote; /* Quoting state */ in TYPE() local 142 tok->quote = Q_none; in TYPE() 159 tok->quote = Q_none; in FUN() 186 * 2 Unmatched double quote 187 * 1 Unmatched single quote 215 switch (tok->quote) { in FUN() 217 tok->quote = Q_single; /* Enter single quote in FUN() 221 case Q_single: /* Exit single quote mode */ in FUN() 222 tok->quote = Q_none; in FUN() 225 case Q_one: /* Quote this ' */ in FUN() [all …]
|
/openbsd-src/regress/usr.bin/ssh/ |
H A D | sftp-glob.sh | 36 QUOTE="${DIR}/g-quote\"" 44 touch "${DATA}" "${GLOB1}" "${GLOB2}" "${QUOTE}" 52 sftp_ls "${DIR}/g-quote\\\"" "escaped quote" "g-quote\"" "" 53 sftp_ls "\"${DIR}/g-quote\\\"\"" "quoted quote" "g-quote\"" "" 54 sftp_ls "'${DIR}/g-quote\"'" "single-quoted quote" "g-quote\"" "" 59 sftp_ls "${DIR}/g-qs\\\\\\\"" "escaped slash+quote" "g-qs\\\"" "" 60 sftp_ls "'${DIR}/g-qs\\\\\"'" "quoted slash+quote" "g-qs\\\"" ""
|
/openbsd-src/share/tmac/mdoc/ |
H A D | README | 99 .\" NS Ac register (site) Angle Quote Close Value 100 .\" NS Ao register (site) Angle Quote Open Width 101 .\" NS Aq register (site) Angle Quote Width 102 .\" NS Bc register (site) Bracket Quote Close Value 104 .\" NS Bo register (site) Bracket Quote Open Width 105 .\" NS Bq register (site) Bracket Quote Width 111 .\" NS Dc register (site) Double Quote Close Value 112 .\" NS Do register (site) Double Quote Open Width 113 .\" NS Dq register (site) Double Quote Width 116 .\" NS Ec register (site) Enclose Quote Close Value [all …]
|
/openbsd-src/bin/csh/ |
H A D | char.h | 56 (((c) & QUOTE) ? 0 : (_cmap[(unsigned char)(c)] & (bits))) 59 #define letter(c) (((c) & QUOTE) ? 0 : \ 61 #define alnum(c) (((c) & QUOTE) ? 0 : \ 63 #define Isspace(c) (((c) & QUOTE) ? 0 : isspace((unsigned char) (c))) 64 #define Isdigit(c) (((c) & QUOTE) ? 0 : isdigit((unsigned char) (c))) 65 #define Isalpha(c) (((c) & QUOTE) ? 0 : isalpha((unsigned char) (c))) 66 #define Islower(c) (((c) & QUOTE) ? 0 : islower((unsigned char) (c))) 67 #define Isupper(c) (((c) & QUOTE) ? 0 : isupper((unsigned char) (c))) 68 #define Tolower(c) (((c) & QUOTE) ? 0 : tolower((unsigned char) (c))) 69 #define Toupper(c) (((c) & QUOTE) ? 0 : toupper((unsigned char) (c))) [all …]
|
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta-YAML/t/tml-local/yaml-roundtrip/ |
H A D | quoting.tml | 1 === Empty double-quote 8 # Simple single quote 67 # Quote vs Hash 69 === hash-like quote 78 # Quote and Escaping Idiosyncracies 80 === single quote subtleties 85 name3: 'Double '''' Quote' 90 name3 => "Double '' Quote", 94 === single quote subtleties 111 === Multiple escaping of quote ok
|
/openbsd-src/gnu/llvm/lldb/source/Utility/ |
H A D | Args.cpp | 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() [all …]
|
/openbsd-src/gnu/gcc/gcc/ |
H A D | optc-gen.awk | 31 quote = "\042" 61 print "#include " quote headers[i] quote 62 print "#include " quote "opts.h" quote 63 print "#include " quote "intl.h" quote 117 print " " quote langs[i] quote "," 176 hlp = quote help[i] quote; 192 quote, opts[i], quote, hlp, back_chain[i], len, idx)
|
/openbsd-src/gnu/usr.bin/perl/cpan/Text-ParseWords/lib/Text/ |
H A D | ParseWords.pm | 72 (") # $quote 76 (') # $quote 89 (?!^)(?=["']) # a quote 92 my ($quote, $quoted, $unquoted, $delim) = (($1 ? ($1,$2) : ($3,$4)), $5, $6); 95 return() unless( defined($quote) || length($unquoted) || length($delim)); 98 $quoted = "$quote$quoted$quote"; 102 if (defined $quote) { 103 $quoted =~ s/\\(.)/$1/sg if ($quote eq '"'); 104 $quoted =~ s/\\([\\'])/$1/g if ( $PERL_SINGLE_QUOTE && $quote eq "'"); 108 $word .= defined $quote ? $quoted : $unquoted; [all …]
|
/openbsd-src/gnu/usr.bin/binutils/binutils/ |
H A D | dllwrap.c | 830 /* re-create the command lines as a string, taking care to quote stuff. */ in main() 844 int quote = (strchr (arg, ' ') || strchr (arg, '\t')); in main() local 846 (quote) ? " \"" : " "); in main() 849 (quote) ? "\"" : ""); in main() 919 int quote = (strchr (arg, ' ') || strchr (arg, '\t')); in main() local 921 (quote) ? " \"" : " "); in main() 924 (quote) ? "\"" : ""); in main() 959 int quote = (strchr (arg, ' ') || strchr (arg, '\t')); in main() local 961 (quote) ? " \"" : " "); in main() 964 (quote) ? "\"" : ""); in main() [all …]
|
/openbsd-src/gnu/usr.bin/binutils-2.17/binutils/ |
H A D | dllwrap.c | 824 /* Re-create the command lines as a string, taking care to quote stuff. */ in main() 837 int quote = (strchr (arg, ' ') || strchr (arg, '\t')); in main() local 839 (quote) ? " \"" : " "); in main() 842 (quote) ? "\"" : ""); in main() 912 int quote = (strchr (arg, ' ') || strchr (arg, '\t')); in main() local 914 (quote) ? " \"" : " "); in main() 917 (quote) ? "\"" : ""); in main() 950 int quote = (strchr (arg, ' ') || strchr (arg, '\t')); in main() local 952 (quote) ? " \"" : " "); in main() 955 (quote) ? "\"" : ""); in main() [all …]
|
/openbsd-src/regress/usr.bin/m4/ |
H A D | quotes.out | 1 m4: unclosed quote: 17 3: normal changed quote 31 5: start quote only 44 7: start quote+empty end quote
|
H A D | quotes.m4 | 19 3: normal changed quote 35 5: start quote only 51 7: start quote+empty end quote
|
/openbsd-src/gnu/usr.bin/perl/cpan/podlators/t/data/snippets/man/ |
H A D | quote-escaping | 2 Quote escaping 5 =head1 Quote escaping 10 .SH "Quote escaping" 11 .IX Header "Quote escaping"
|
H A D | newlines-in-c | 5 =head1 Newline C Quote Weirdness 11 .SH "Newline C Quote Weirdness" 12 .IX Header "Newline C Quote Weirdness"
|
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/cpp/trad/ |
H A D | literals-1.c | 20 # error /* { dg-bogus "error" "double quote in charconst" } */ in main() 24 # error quote /* { dg-bogus "quote" "quote in charconst" } */ in main()
|
/openbsd-src/gnu/usr.bin/binutils/gdb/mi/ |
H A D | mi-console.c | 40 char quote; member 47 const char *prefix, char quote) in mi_console_file_new() argument 55 mi_console->quote = quote; in mi_console_file_new() 101 if (mi_console->quote) in mi_console_raw_packet() 104 fputstrn_unfiltered (buf, length_buf, mi_console->quote, mi_console->raw); in mi_console_raw_packet()
|
/openbsd-src/gnu/usr.bin/perl/cpan/File-Fetch/lib/File/ |
H A D | Fetch.pm | 13 use IPC::Cmd qw[can_run run QUOTE]; 501 ### it doesn't matter how you quote, it always fails. 916 ### DO NOT quote things for IPC::Run, it breaks stuff. 919 # : (QUOTE. $to .QUOTE, QUOTE. $self->uri .QUOTE); 969 ### quote the URI, because lftp supports certain shell 971 ### ' quote does nto work, must be " 988 ### DO NOT quote things for IPC::Run, it breaks stuff. 991 # : (QUOTE. $to .QUOTE, QUOTE. $self->uri .QUOTE); 1123 ### DO NOT quote things for IPC::Run, it breaks stuff. 1128 ### DO NOT quote things for IPC::Run, it breaks stuff. [all …]
|
/openbsd-src/gnu/llvm/clang/lib/Driver/ |
H A D | Job.cpp | 201 void Command::Print(raw_ostream &OS, const char *Terminator, bool Quote, in Print() argument 203 // Always quote the exe. in Print() 205 llvm::sys::printArg(OS, Executable, /*Quote=*/true); in Print() 233 llvm::sys::printArg(OS, F.c_str(), Quote); in Print() 248 llvm::sys::printArg(OS, ShortName.str(), Quote); in Print() 254 llvm::sys::printArg(OS, Arg, Quote); in Print() 259 llvm::sys::printArg(OS, "-ivfsoverlay", Quote); in Print() 261 llvm::sys::printArg(OS, CrashInfo->VFSPath.str(), Quote); in Print() 276 llvm::sys::printArg(OS, ModCachePath, Quote); in Print() 391 void CC1Command::Print(raw_ostream &OS, const char *Terminator, bool Quote, in Print() argument [all …]
|
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta-YAML/t/tml-local/perl-to-yaml/ |
H A D | quoting.tml | 1 === Quote boolean-like string (scalar) 9 === Quote boolean-like string (list) 19 === Quote scalars ending in colon
|
/openbsd-src/gnu/gcc/libcpp/ |
H A D | traditional.c | 350 unsigned int c, paren_depth = 0, quote; in _cpp_scan_out_logical_line() local 357 quote = 0; in _cpp_scan_out_logical_line() 414 clear any in-progress quote. */ in _cpp_scan_out_logical_line() 424 quote = '>'; in _cpp_scan_out_logical_line() 427 if (c == quote) in _cpp_scan_out_logical_line() 428 quote = 0; in _cpp_scan_out_logical_line() 433 if (c == quote) in _cpp_scan_out_logical_line() 434 quote = 0; in _cpp_scan_out_logical_line() 435 else if (!quote) in _cpp_scan_out_logical_line() 436 quote = c; in _cpp_scan_out_logical_line() [all …]
|
/openbsd-src/share/man/man7/ |
H A D | mandoc_char.7 | 178 On request and macro lines, the double-quote character 185 Note that on text lines, literal double-quote characters can be used 187 All other quote-like characters can be used verbatim as well, 342 .It \e(Bq Ta \(Bq Ta right low double-quote 343 .It \e(bq Ta \(bq Ta right low single-quote 344 .It \e(lq Ta \(lq Ta left double-quote 345 .It \e(rq Ta \(rq Ta right double-quote 346 .It \e(oq Ta \(oq Ta left single-quote 347 .It \e(cq Ta \(cq Ta right single-quote 348 .It \e(aq Ta \(aq Ta apostrophe quote (ASCII character) [all …]
|
/openbsd-src/gnu/usr.bin/gcc/gcc/ |
H A D | cpptrad.c | 438 unsigned int c, paren_depth = 0, quote; local 446 quote = 0; 499 clear any in-progress quote. */ 508 quote = '>'; 511 if (c == quote) 512 quote = 0; 517 if (c == quote) 518 quote = 0; 519 else if (!quote) 520 quote = c; [all …]
|
/openbsd-src/usr.bin/gencat/ |
H A D | gencat.c | 290 getmsg(int fd, char *cptr, char quote) in getmsg() argument 297 if (quote && *cptr == quote) { in getmsg() 312 if (quote && *cptr == quote) { in getmsg() 317 warning(cptr, "unexpected quote character, ignoring"); in getmsg() 377 if (quote && *cptr == quote) { in getmsg() 408 char quote = 0; in MCParse() local 426 } else if (strncmp(cptr, "quote", 5) == 0) { in MCParse() 429 quote = 0; in MCParse() 433 quote = 0; in MCParse() 435 quote = *cptr; in MCParse() [all …]
|
H A D | gencat.1 | 121 .It Li $quote Ar c 122 This line specifies an optional quote character 129 .Li $quote 141 In addition, if a quote character is defined, it may be 142 escaped as well to embed a literal quote character.
|
/openbsd-src/usr.bin/telnet/ |
H A D | utilities.c | 578 int quote = 0; in printsub() local 582 fprintf(NetTrace, "%sVALUE ", quote ? "\" " : ""); in printsub() 583 quote = 0; in printsub() 587 fprintf(NetTrace, "%sVAR ", quote ? "\" " : ""); in printsub() 588 quote = 0; in printsub() 592 fprintf(NetTrace, "%sESC ", quote ? "\" " : ""); in printsub() 593 quote = 0; in printsub() 597 fprintf(NetTrace, "%sUSERVAR ", quote ? "\" " : ""); in printsub() 598 quote = 0; in printsub() 605 quote ? "" : "\"", pointer[i]); in printsub() [all …]
|