Home
last modified time | relevance | path

Searched refs:quote (Results 1 – 25 of 408) sorted by relevance

12345678910>>...17

/netbsd/src/lib/libedit/
Dtokenizer.c92 quote_t quote; /* Quoting state */ in TYPE() local
152 tok->quote = Q_none; in TYPE()
169 tok->quote = Q_none; in FUN()
225 switch (tok->quote) { in FUN()
227 tok->quote = Q_single; /* Enter single quote in FUN()
232 tok->quote = Q_none; in FUN()
236 tok->quote = Q_none; in FUN()
245 tok->quote = Q_double; in FUN()
257 switch (tok->quote) { in FUN()
259 tok->quote = Q_double; in FUN()
[all …]
/netbsd/src/external/gpl3/gcc/dist/gcc/
Doptc-gen.awk163 print "#include " quote headers[i] quote
164 print "#include " quote "opts.h" quote
165 print "#include " quote "intl.h" quote
166 print "#include " quote "insn-attr-common.h" quote
171 print "#include " quote extra_c_includes[i] quote
207 ehelp = quote ehelp quote
212 unknown_error = quote unknown_error quote
296 print " " quote langs[i] quote ","
365 hlp = quote help[i] quote;
371 missing_arg_error = quote missing_arg_error quote
[all …]
Doptc-save-gen.awk36 print "#include " quote headers[i] quote
37 print "#include " quote "opts.h" quote
38 print "#include " quote "intl.h" quote
40 print "#include " quote "flags.h" quote
41 print "#include " quote "target.h" quote
42 print "#include " quote "inchash.h" quote
43 print "#include " quote "hash-set.h" quote
44 print "#include " quote "vec.h" quote
45 print "#include " quote "input.h" quote
46 print "#include " quote "alias.h" quote
[all …]
Dopt-read.awk32 quote = "\042"
109 " { " quote string quote ", " value ", " val_flags \
/netbsd/src/external/gpl3/binutils/dist/binutils/
Ddllwrap.c869 int quote = (strchr (arg, ' ') || strchr (arg, '\t')); in main() local
871 (quote) ? " \"" : " "); in main()
874 (quote) ? "\"" : ""); in main()
960 int quote = (strchr (arg, ' ') || strchr (arg, '\t')); in main() local
962 (quote) ? " \"" : " "); in main()
965 (quote) ? "\"" : ""); in main()
997 int quote = (strchr (arg, ' ') || strchr (arg, '\t')); in main() local
999 (quote) ? " \"" : " "); in main()
1002 (quote) ? "\"" : ""); in main()
1043 int quote; in main() local
[all …]
/netbsd/src/lib/libc/gen/
Dwordexp.c256 int dquote, level, quote, squote; in we_check() local
258 quote = squote = dquote = 0; in we_check()
262 quote ^= 1; in we_check()
265 if (quote + dquote == 0) in we_check()
269 if (quote + squote == 0) in we_check()
273 if (quote + squote == 0 && flags & WRDE_NOCMD) in we_check()
283 if (quote + squote + dquote == 0) in we_check()
289 else if (quote + squote == 0 && c == '(') { in we_check()
304 } else if (quote + squote == 0 && c == '{') { in we_check()
323 quote = 0; in we_check()
[all …]
/netbsd/src/external/bsd/kyua-cli/dist/utils/text/
Doperations_test.cpp71 ATF_REQUIRE_EQ("''", text::quote("", '\'')); in ATF_TEST_CASE_BODY()
72 ATF_REQUIRE_EQ("##", text::quote("", '#')); in ATF_TEST_CASE_BODY()
79 ATF_REQUIRE_EQ("'Some text\"'", text::quote("Some text\"", '\'')); in ATF_TEST_CASE_BODY()
80 ATF_REQUIRE_EQ("#Another'string#", text::quote("Another'string", '#')); in ATF_TEST_CASE_BODY()
87 ATF_REQUIRE_EQ("'Some\\'text'", text::quote("Some'text", '\'')); in ATF_TEST_CASE_BODY()
88 ATF_REQUIRE_EQ("#Some\\#text#", text::quote("Some#text", '#')); in ATF_TEST_CASE_BODY()
91 text::quote("More than one' quote'", '\'')); in ATF_TEST_CASE_BODY()
93 text::quote("Multiple quotes ''' together", '\'')); in ATF_TEST_CASE_BODY()
96 text::quote("'escape at the beginning", '\'')); in ATF_TEST_CASE_BODY()
98 text::quote("escape at the end'", '\'')); in ATF_TEST_CASE_BODY()
Doperations.cpp46 text::quote(const std::string& text, const char quote) in quote() argument
49 quoted << quote; in quote()
52 std::string::size_type last_pos = text.find(quote); in quote()
56 last_pos = text.find(quote, start_pos + 1); in quote()
60 quoted << quote; in quote()
/netbsd/src/external/bsd/file/dist/src/
Dis_csv.c75 int quote = 0; in eatquote() local
81 if (quote) { in eatquote()
86 if (quote) { in eatquote()
88 quote = 0; in eatquote()
92 quote = 1; in eatquote()
/netbsd/src/external/bsd/pcc/dist/pcc/cc/driver/
Dstrlist.c78 int quote, first = 1; in strlist_print() local
84 quote = 0; in strlist_print()
93 quote = 1; in strlist_print()
97 if (quote) in strlist_print()
100 if (quote && (*p == '"' || *p == '$' in strlist_print()
105 if (quote) in strlist_print()
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/com_err/
Dlex.l90 int quote = 0;
92 if(quote) {
94 quote = 0;
103 quote++;
/netbsd/src/sys/arch/ia64/stand/common/
Dinterp_parse.c88 char token, tmp, quote, *buf; in parse() local
92 quote = 0; in parse()
111 quote = quote ? 0 : *p; in parse()
114 else if (isspace(*p) && !quote) { in parse()
/netbsd/src/external/bsd/openldap/dist/libraries/librewrite/
Dparse.c38 char quote = '\0'; in parse_line() local
50 if ( in_quoted_field && p[ 0 ] == quote ) { in parse_line()
52 quote = '\0'; in parse_line()
69 quote = p[ 0 ]; in parse_line()
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/sl/
Dslc-lex.l133 int quote = 0; in handle_string() local
135 if(quote) { in handle_string()
138 quote = 0; in handle_string()
147 quote++; in handle_string()
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/hx509/
Dsel-lex.l102 int quote = 0; variable
104 if(quote) {
107 quote = 0;
116 quote++;
/netbsd/src/external/gpl3/gcc/dist/libcpp/
Dtraditional.cc390 unsigned int c, paren_depth = 0, quote; in _cpp_scan_out_logical_line() local
403 quote = 0; in _cpp_scan_out_logical_line()
476 quote = '>'; in _cpp_scan_out_logical_line()
479 if (c == quote) in _cpp_scan_out_logical_line()
480 quote = 0; in _cpp_scan_out_logical_line()
485 if (c == quote) in _cpp_scan_out_logical_line()
486 quote = 0; in _cpp_scan_out_logical_line()
487 else if (!quote) in _cpp_scan_out_logical_line()
488 quote = c; in _cpp_scan_out_logical_line()
500 if (!quote && *cur == '*') in _cpp_scan_out_logical_line()
[all …]
/netbsd/src/external/bsd/nvi/dist/vi/
Dv_replace.c59 int quote, rval; in v_replace() local
105 quote = 0; in v_replace()
119 if (!quote) { in v_replace()
121 quote = 1; in v_replace()
165 if ((!quote && vip->rvalue == K_CR) || vip->rvalue == K_NL) { in v_replace()
/netbsd/src/usr.bin/gencat/
Dgencat.c344 getmsg(int fd, char *cptr, char quote) in getmsg() argument
352 if (quote && *cptr == quote) { in getmsg()
368 if (quote && *cptr == quote) { in getmsg()
434 if (quote && *cptr == quote) { in getmsg()
471 char quote = 0; in MCParse() local
490 quote = 0; in MCParse()
494 quote = 0; in MCParse()
496 quote = *cptr; in MCParse()
547 str = getmsg(fd, cptr, quote); in MCParse()
/netbsd/src/external/bsd/less/dist/
Dlessecho.man23 … -ox Specifies "x", rather than double-quote, to be the open quote
26 -cx Specifies "x" to be the close quote character.
28 … -pn Specifies "n" to be the open quote character, as an integer.
30 … -dn Specifies "n" to be the close quote character, as an integer.
/netbsd/src/bin/ksh/
Deval.c155 short quote; /* saved value of quote (for ${..[%#]..}) */ member
168 int quote = 0; /* quoted */ local
226 quote |= 2; /* temporary quote */
232 quote = 1;
235 quote = 0;
326 st->quote = quote;
336 quote = 0;
385 quote = st->quote;
495 quote = 1;
503 if (quote && x.split)
[all …]
/netbsd/src/external/bsd/kyua-cli/dist/engine/
Dtest_result.cpp196 output << F("test_result{type=%s}") % text::quote(result_name, '\''); in operator <<()
199 % text::quote(result_name, '\'') % text::quote(reason, '\''); in operator <<()
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/krb5/
Dtransited.c212 int quote = 0; in make_realm() local
226 if(quote){ in make_realm()
228 quote = 0; in make_realm()
232 quote = 1; in make_realm()
264 int quote = 0; in decode_realms() local
269 if(quote){ in decode_realms()
270 quote = 0; in decode_realms()
274 quote = 1; in decode_realms()
/netbsd/src/external/ibm-public/postfix/dist/src/global/
Dquote_822_local.in1 quote a@b@c@d
6 quote <>
/netbsd/src/usr.bin/mail/
Dnames.c172 int quote; in detract() local
174 quote = ntype & GSMOPTS; in detract()
188 if (quote && need_quotes(p->n_name)) in detract()
200 do_quotes = (quote && need_quotes(p->n_name)); in detract()
441 goto quote; in gexpand()
443 goto quote; in gexpand()
448 quote: in gexpand()
/netbsd/src/external/ibm-public/postfix/dist/mantools/
Dcomment.c24 void skip_string(int quote) in skip_string() argument
29 if (c == quote) { in skip_string()

12345678910>>...17