| /freebsd/contrib/tcsh/ |
| H A D | sh.char.h | 152 (((c) & QUOTE) || (unsigned int)(c) >= 0x0080 ? 0 : \ 156 ((((c) & QUOTE) || ((tcshuc)(ASC(c) & 0x80) && adrof(STRnokanji))) ? \ 160 (((c) & QUOTE) ? 0 : (_cmap[(tcshuc)ASC(c)] & (bits))) 168 #define letter(c) (((c) & QUOTE) ? 0 : \ 170 #define alnum(c) (((c) & QUOTE) ? 0 : \ 173 #define letter(c) (((Char)(c) & QUOTE) ? 0 : \ 176 #define alnum(c) (((Char)(c) & QUOTE) ? 0 : \ 188 # define Isspace(c) (((c) & QUOTE) ? 0 : iswspace(c)) 189 # define Isdigit(c) (((c) & QUOTE) ? 0 : iswdigit(c)) 190 # define Isalpha(c) (((c) & QUOTE) ? 0 : iswalpha(c)) [all …]
|
| /freebsd/contrib/libedit/ |
| H A D | tokenizer.c | 92 quote_t quote; /* Quoting state */ in TYPE() local 152 tok->quote = Q_none; in TYPE() 169 tok->quote = Q_none; in FUN() 196 * 2 Unmatched double quote 197 * 1 Unmatched single quote 225 switch (tok->quote) { in FUN() 227 tok->quote = Q_single; /* Enter single quote in FUN() 231 case Q_single: /* Exit single quote mode */ in FUN() 232 tok->quote = Q_none; in FUN() 235 case Q_one: /* Quote this ' */ in FUN() [all …]
|
| /freebsd/crypto/openssh/regress/ |
| H A D | sftp-glob.sh | 46 QUOTE="${DIR}/g-quote\"" 54 touch "${DATA}" "${GLOB1}" "${GLOB2}" "${QUOTE}" "${SPACE}" 62 sftp_ls "${DIR}/g-quote\\\"" "escaped quote" "g-quote\"" "" 63 sftp_ls "\"${DIR}/g-quote\\\"\"" "quoted quote" "g-quote\"" "" 64 sftp_ls "'${DIR}/g-quote\"'" "single-quoted quote" "g-quote\"" "" 71 sftp_ls "${DIR}/g-qs\\\\\\\"" "escaped slash+quote" "g-qs\\\"" "" "$nobs" 72 sftp_ls "'${DIR}/g-qs\\\\\"'" "quoted slash+quote" "g-qs\\\"" "" "$nobs"
|
| /freebsd/contrib/libedit/TEST/ |
| H A D | test_filecompletion.c | 264 /* test one single quote */ 267 {"single'quote", NULL}, 268 L"ls single\\'quote " 271 /* test one single quote inside single quote */ 274 {"ssingle'quote", NULL}, 275 L"ls 'ssingle'\\''quote'" 278 /* test one single quote inside double quote */ 281 {"dsingle'quote", NULL}, 282 L"ls \"dsingle'quote\"" 292 /* test multiple single quotes inside single quote */ [all …]
|
| /freebsd/contrib/openpam/lib/libpam/ |
| H A D | openpam_readword.c | 56 int ch, escape, quote; in openpam_readword() local 62 escape = quote = 0; in openpam_readword() 94 while ((ch = fgetc(f)) != EOF && (!is_ws(ch) || quote || escape)) { in openpam_readword() 95 if (ch == '\\' && !escape && quote != '\'') { in openpam_readword() 98 } else if ((ch == '\'' || ch == '"') && !quote && !escape) { in openpam_readword() 99 /* begin quote */ in openpam_readword() 100 quote = ch; in openpam_readword() 104 } else if (ch == quote && !escape) { in openpam_readword() 105 /* end quote */ in openpam_readword() 106 quote = 0; in openpam_readword() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Utility/ |
| H A D | Args.cpp | 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. in ParseDoubleQuotes() 76 // The function returns a tuple consisting of the parsed argument, the quote 90 // we remember the first quote character we encounter and use that for the in ParseSingleArgument() 91 // quote character. in ParseSingleArgument() 134 // We found the start of a quote scope. in ParseSingleArgument() 141 // For single quotes, we simply skip ahead to the matching quote in ParseSingleArgument() 148 // If we found a closing quote, ski in ParseSingleArgument() 159 ArgEntry(llvm::StringRef str,char quote) ArgEntry() argument 217 char quote = m_entries[i].quote; GetCommandString() local 253 char quote; SetCommandString() local 364 char quote = SetArguments() local 639 char quote; SetFromString() local [all...] |
| /freebsd/lib/libc/gen/ |
| H A D | wordexp.c | 311 bool quote = false, dollar = false; in we_check() local 322 quote = !quote; in we_check() 325 if (quote) in we_check() 326 quote = false; in we_check() 331 if (!quote && !have_sq && !have_dq) in we_check() 338 if (!quote && !have_sq && !have_dq) in we_check() 345 if (!quote && !have_sq && !have_cmd) in we_check() 352 if (!quote && !dollar && !have_sq && !have_dq && in we_check() 356 if (!quote && !have_sq) in we_check() 362 if (!quote && !have_sq && !have_dq && !have_par_begin && in we_check() [all …]
|
| /freebsd/usr.bin/m4/tests/ |
| H A D | regress.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
|
| /freebsd/contrib/file/src/ |
| H A D | is_csv.c | 70 int quote = 0; in eatquote() local 76 if (quote) { in eatquote() 81 if (quote) { in eatquote() 82 // quote-quote escapes in eatquote() 83 quote = 0; in eatquote() 86 // first quote in eatquote() 87 quote = 1; in eatquote() 100 // Eat until the matching quote in csv_parse()
|
| /freebsd/stand/common/ |
| H A D | interp_parse.c | 90 char token, tmp, quote, dquote, *buf; in parse() local 94 dquote = quote = 0; in parse() 113 quote = quote ? 0 : *p; in parse() 114 if (dquote) { /* keep quote */ in parse() 121 if (quote) { /* keep dquote */ in parse() 126 } else if (isspace(*p) && !quote && !dquote) { in parse() 134 } else if (*p == '$' && !quote) { in parse() 177 PARSE_FAIL(quote || dquote); in parse()
|
| /freebsd/contrib/ntp/sntp/libopts/ |
| H A D | cook.c | 162 * IF the next character is a quote character, in contiguous_quote() 168 *pq = *(ps++); /* assign new quote character and return */ in contiguous_quote() 199 * The next non-whitespace character is not a quote. in contiguous_quote() 228 * single quote strings, then the backslashes are honored only when they 229 * precede another backslash or a single quote character. 241 * (in the set "abfnrtv") and make sure we find a closing quote. in ao_string_cook() 251 * IF the next character is the quote character, THEN we may end the in ao_string_cook() 253 * string happens to also be a quote. If it is, then we will change in ao_string_cook() 254 * our quote character to the new quote character and continue in ao_string_cook() 287 * ELSE IF the quote character is '"' or '`', in ao_string_cook()
|
| /freebsd/contrib/kyua/utils/text/ |
| H A D | operations.cpp | 44 /// \param in The input to quote. 84 /// Surrounds a string with quotes, escaping the quote itself if needed. 86 /// \param text The string to quote. 87 /// \param quote The quote character to use. 91 text::quote(const std::string& text, const char quote) in quote() argument 94 quoted << quote; in quote() 97 std::string::size_type last_pos = text.find(quote); in quote() 101 last_pos = text.find(quote, start_pos + 1); in quote() 105 quoted << quote; in quote()
|
| H A D | operations_test.cpp | 102 ATF_REQUIRE_EQ("''", text::quote("", '\'')); in ATF_TEST_CASE_BODY() 103 ATF_REQUIRE_EQ("##", text::quote("", '#')); in ATF_TEST_CASE_BODY() 110 ATF_REQUIRE_EQ("'Some text\"'", text::quote("Some text\"", '\'')); in ATF_TEST_CASE_BODY() 111 ATF_REQUIRE_EQ("#Another'string#", text::quote("Another'string", '#')); in ATF_TEST_CASE_BODY() 118 ATF_REQUIRE_EQ("'Some\\'text'", text::quote("Some'text", '\'')); in ATF_TEST_CASE_BODY() 119 ATF_REQUIRE_EQ("#Some\\#text#", text::quote("Some#text", '#')); in ATF_TEST_CASE_BODY() 121 ATF_REQUIRE_EQ("'More than one\\' quote\\''", in ATF_TEST_CASE_BODY() 122 text::quote("More than one' quote'", '\'')); in ATF_TEST_CASE_BODY() 124 text::quote("Multiple quotes ''' together", '\'')); in ATF_TEST_CASE_BODY() 127 text::quote("'escape at the beginning", '\'')); in ATF_TEST_CASE_BODY() [all …]
|
| /freebsd/contrib/less/ |
| H A D | lessecho.nro | 25 Specifies "\fIx\fP", rather than double-quote, to be the open quote character, 29 Specifies "\fIx\fP" to be the close quote character. 32 Specifies "\fIn\fP" to be the open quote character, as an integer. 35 Specifies "\fIn\fP" to be the close quote character, as an integer.
|
| /freebsd/contrib/openpam/doc/man/ |
| H A D | openpam_readword.3 | 27 An unescaped single or double quote introduces a quoted string, 28 which ends when the same quote character is encountered a second 44 Within a double-quoted string, a single quote is preserved as-is, 46 quote. 89 reaches the end of the file while a quote or
|
| /freebsd/contrib/mandoc/ |
| 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 …]
|
| /freebsd/usr.sbin/pw/ |
| H A D | pw_conf.c | 436 int quote = 1; in write_userconfig() local 453 quote = 0; in write_userconfig() 472 quote = 0; in write_userconfig() 482 quote = 0; in write_userconfig() 497 quote = 0; in write_userconfig() 505 quote = 0; in write_userconfig() 509 quote = 0; in write_userconfig() 513 quote = 0; in write_userconfig() 517 quote = 0; in write_userconfig() 521 quote = 0; in write_userconfig() [all …]
|
| /freebsd/usr.bin/gencat/ |
| H A D | gencat.c | 301 getmsg(int fd, char *cptr, char quote) argument 308 if (quote && *cptr == quote) { 323 if (quote && *cptr == quote) { 327 warning(cptr, "unexpected quote character, ignoring"); 362 if (quote && *cptr == quote) { 393 char quote = 0; local 411 } else if (strncmp(cptr, "quote", 5) == 0) { 414 quote = 0; 418 quote = 0; 420 quote = *cptr; [all …]
|
| H A D | gencat.1 | 118 .It Li $quote Ar c 119 This line specifies an optional quote character 126 .Li $quote 139 In addition, if a quote character is defined, it may be 140 escaped as well to embed a literal quote character.
|
| /freebsd/sys/kern/ |
| H A D | tty_ttydisc.c | 725 ttydisc_echo_force(struct tty *tp, char c, int quote) in ttydisc_echo_force() argument 731 if (CMP_FLAG(o, OPOST) && CTL_ECHO(c, quote)) { in ttydisc_echo_force() 737 } else if (CMP_FLAG(l, ECHOCTL) && CTL_PRINT(c, quote)) { in ttydisc_echo_force() 750 if (!quote && CMP_CC(VEOF, c)) { in ttydisc_echo_force() 764 ttydisc_echo(struct tty *tp, char c, int quote) in ttydisc_echo() argument 772 (!CMP_FLAG(l, ECHONL) || c != CNL || quote)) in ttydisc_echo() 775 return ttydisc_echo_force(tp, c, quote); in ttydisc_echo() 779 ttydisc_reprint_char(void *d, char c, int quote) in ttydisc_reprint_char() argument 783 ttydisc_echo(tp, c, quote); in ttydisc_reprint_char() 807 ttydisc_recalc_charlength(void *d, char c, int quote) in ttydisc_recalc_charlength() argument [all …]
|
| /freebsd/contrib/sendmail/libsm/ |
| H A D | string.c | 20 ** STRIPQUOTES -- Strip quotes & quote bits from a string. 22 ** Runs through a string and strips off unquoted quote 23 ** characters and quote bits. This is done in place. 56 ** UNFOLDSTRIPQUOTES -- Strip quotes & quote bits from a string.
|
| /freebsd/crypto/heimdal/appl/telnet/telnet/ |
| H A D | utilities.c | 252 qprintf(int quote, FILE *f, const char *fmt, ...) in qprintf() argument 256 if (quote) in qprintf() 743 int quote = 0; in printsub() local 747 qprintf(quote, NetTrace, "VAR "); in printsub() 748 quote = 0; in printsub() 752 qprintf(quote, NetTrace, "VALUE"); in printsub() 753 quote = 0; in printsub() 757 qprintf(quote, NetTrace, "ESC "); in printsub() 758 quote = 0; in printsub() 762 qprintf(quote, NetTrace, "USERVAR "); in printsub() [all …]
|
| /freebsd/usr.bin/env/ |
| H A D | env.1 | 214 Single quotes will escape all non-single quote characters, up to 215 the matching single quote. 216 Double quotes will escape all non-double quote characters, up to 217 the matching double quote. 220 is reached before the matching quote character. 282 Replace with a <double quote> character. 284 Replace with a <single quote> character. 289 The sequences for <single-quote> and backslash are the only sequences
|
| /freebsd/contrib/jemalloc/doc/ |
| H A D | jemalloc.xml.in | 389 to a <quote>Management Information Base</quote> (MIB) that can be passed 431 statistics are presented in human-readable form unless <quote>J</quote> is 436 execution can be omitted by specifying <quote>g</quote> as a character 442 configuration, <quote>m</quote>, <quote>d</quote>, and <quote>a</quote> 444 arena statistics, respectively; <quote>b</quote> and <quote>l</quote> can 446 respectively; <quote>x</quote> can be specified to omit all mutex 447 statistics; <quote>e</quote> can be used to omit extent statistics. 474 <quote>name</quote> of the file referenced by the symbolic link named 927 global variable <varname>malloc_conf</varname>, the <quote>name</quote> 974 linkend="stats.metadata">stats.metadata</link>). <quote>always</quote> [all …]
|