Searched refs:quote_char (Results 1 - 20 of 20) sorted by relevance

/netbsd-current/external/gpl2/lvm2/dist/lib/misc/
H A Dlvm-string.c89 * Copies a string, quoting orig_char with quote_char.
90 * Optionally also quote quote_char.
93 const int orig_char, const int quote_char,
98 (*src == quote_char && quote_quote_char))
99 *(*out)++ = quote_char;
107 * Also unquote quote_char.
110 const int quote_char)
115 if (*src == quote_char &&
116 (*(src + 1) == orig_char || *(src + 1) == quote_char))
92 _quote_characters(char **out, const char *src, const int orig_char, const int quote_char, int quote_quote_char) argument
109 _unquote_characters(char *src, const int orig_char, const int quote_char) argument
/netbsd-current/external/gpl3/gdb/dist/readline/readline/
H A Dcomplete.c1081 char quote_char, *brkchars; local
1085 quote_char = '\0';
1110 of quote_char. */
1111 if (quote_char != '\'' && rl_line_buffer[scan] == '\\')
1118 if (quote_char != '\0')
1121 if (rl_line_buffer[scan] == quote_char)
1124 quote_char = '\0';
1131 quote_char = rl_line_buffer[scan];
1134 if (quote_char == '\'')
1136 else if (quote_char
1210 gen_completion_matches(char *text, int start, int end, rl_compentry_func_t *our_func, int found_quote, int quote_char) argument
1853 append_to_match(char *text, int delimiter, int quote_char, int nontrivial_match) argument
2004 char quote_char; local
2692 static char quote_char; local
2825 static char quote_char; local
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/readline/readline/
H A Dcomplete.c1068 char quote_char, *brkchars; local
1072 quote_char = '\0';
1097 of quote_char. */
1098 if (quote_char != '\'' && rl_line_buffer[scan] == '\\')
1105 if (quote_char != '\0')
1108 if (rl_line_buffer[scan] == quote_char)
1111 quote_char = '\0';
1118 quote_char = rl_line_buffer[scan];
1121 if (quote_char == '\'')
1123 else if (quote_char
1197 gen_completion_matches(char *text, int start, int end, rl_compentry_func_t *our_func, int found_quote, int quote_char) argument
1857 append_to_match(char *text, int delimiter, int quote_char, int nontrivial_match) argument
1988 char quote_char; local
2660 static char quote_char; local
2793 static char quote_char; local
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gdb/
H A Dcompleter.h336 void set_quote_char (int quote_char) argument
337 { m_quote_char = quote_char; }
342 int quote_char () { return m_quote_char; } function in class:completion_tracker
529 complete (const char *line, char const **word, int *quote_char);
539 int *quote_char);
H A Dcompleter.c297 char quote_char;
314 quote_char = '\0';
338 the check on the value of quote_char. */
339 if (quote_char != '\'' && line_buffer[scan] == '\\')
346 if (quote_char != '\0')
350 if (line_buffer[scan] == quote_char)
354 quote_char = '\0';
361 quote_char = line_buffer[scan];
364 if (quote_char == '\'')
366 else if (quote_char
296 char quote_char; local
501 int quote_char = '\\0'; local
537 int quote_char = '\\0'; local
1771 complete(const char *line, char const **word, int *quote_char) argument
2065 completion_find_completion_word(completion_tracker &tracker, const char *text, int *quote_char) argument
2469 char quote_char = '\\0'; local
[all...]
H A Dvalprint.h242 int quote_char, int c_style_terminator,
H A Dlocation.c638 char quote_char = *start; local
643 && quote_char == '\"' && is_ada_operator (start)))
648 const char *end = find_toplevel_char (start + 1, quote_char);
H A Dvalprint.c2431 int quote_char, int width,
2438 gdb_wchar_t wide_quote_char = gdb_btowc (quote_char);
2474 byte_order, obstack, quote_char, &need_escape);
2477 byte_order, obstack, quote_char, &need_escape);
2502 byte_order, obstack, quote_char, &need_escape);
2505 byte_order, obstack, quote_char, &need_escape);
2589 int quote_char, int c_style_terminator,
2665 print_converted_chars_to_obstack (&wchar_buf, converted_chars, quote_char,
2428 print_converted_chars_to_obstack(struct obstack *obstack, const std::vector<converted_character> &chars, int quote_char, int width, enum bfd_endian byte_order, const struct value_print_options *options) argument
2585 generic_printstr(struct ui_file *stream, struct type *type, const gdb_byte *string, unsigned int length, const char *encoding, int force_ellipses, int quote_char, int c_style_terminator, const struct value_print_options *options) argument
H A Dlinespec.c534 skip_quote_char (const char *string, char quote_char) argument
538 p = last = find_toplevel_char (string, quote_char);
541 p = find_toplevel_char (p, quote_char);
656 char quote_char = *PARSER_STREAM (parser); local
660 && quote_char == '\"')
685 end = skip_quote_char (PARSER_STREAM (parser), quote_char);
689 parser->completion_quote_char = quote_char;
2866 if (tracker.quote_char ())
2868 char quote_char_str[2] = { (char) tracker.quote_char () };
3069 if (tracker.quote_char ())
[all...]
/netbsd-current/external/gpl3/gdb/dist/gdb/
H A Dcompleter.h337 void set_quote_char (int quote_char) argument
338 { m_quote_char = quote_char; }
343 int quote_char () { return m_quote_char; } function in class:completion_tracker
530 complete (const char *line, char const **word, int *quote_char);
540 int *quote_char);
H A Dcompleter.c281 char quote_char;
298 quote_char = '\0';
320 the check on the value of quote_char. */
321 if (quote_char != '\'' && line_buffer[scan] == '\\')
327 if (quote_char != '\0')
331 if (line_buffer[scan] == quote_char)
335 quote_char = '\0';
342 quote_char = line_buffer[scan];
348 if (point == end && quote_char == '\0')
383 *qc = quote_char;
280 char quote_char; local
475 int quote_char = '\\0'; local
511 int quote_char = '\\0'; local
1670 complete(const char *line, char const **word, int *quote_char) argument
1960 completion_find_completion_word(completion_tracker &tracker, const char *text, int *quote_char) argument
2366 char quote_char = '\\0'; local
[all...]
H A Dvalprint.h237 int quote_char, int c_style_terminator,
H A Dlocation.c548 char quote_char = *start; local
553 && quote_char == '\"' && is_ada_operator (start)))
558 const char *end = find_toplevel_char (start + 1, quote_char);
H A Dvalprint.c2338 int quote_char, int width,
2345 gdb_wchar_t wide_quote_char = gdb_btowc (quote_char);
2381 byte_order, obstack, quote_char, &need_escape);
2384 byte_order, obstack, quote_char, &need_escape);
2409 byte_order, obstack, quote_char, &need_escape);
2412 byte_order, obstack, quote_char, &need_escape);
2496 int quote_char, int c_style_terminator,
2530 gdb_printf (stream, "%c%c", quote_char, quote_char);
2572 print_converted_chars_to_obstack (&wchar_buf, converted_chars, quote_char,
2335 print_converted_chars_to_obstack(struct obstack *obstack, const std::vector<converted_character> &chars, int quote_char, int width, enum bfd_endian byte_order, const struct value_print_options *options) argument
2492 generic_printstr(struct ui_file *stream, struct type *type, const gdb_byte *string, unsigned int length, const char *encoding, int force_ellipses, int quote_char, int c_style_terminator, const struct value_print_options *options) argument
[all...]
H A Dlinespec.c559 skip_quote_char (const char *string, char quote_char) argument
563 p = last = find_toplevel_char (string, quote_char);
566 p = find_toplevel_char (p, quote_char);
681 char quote_char = *PARSER_STREAM (parser); local
685 && quote_char == '\"')
710 end = skip_quote_char (PARSER_STREAM (parser), quote_char);
714 parser->completion_quote_char = quote_char;
2799 if (tracker.quote_char ())
2801 char quote_char_str[2] = { (char) tracker.quote_char () };
2996 if (tracker.quote_char ())
[all...]
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/src/
H A Dx-python.c1009 phase7_getuc (int quote_char, argument
1023 if (c == quote_char && (interpret_ansic || (*backslash_counter & 1) == 0))
1028 if (c1 == quote_char)
1031 if (c2 == quote_char)
1454 int quote_char; local
1465 quote_char = c1;
1479 quote_char = c1;
1489 quote_char = c2;
1501 quote_char = c;
1508 if (c1 == quote_char)
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gdb/cli/
H A Dcli-cmds.c405 int quote_char = '\0';
408 completion_result result = complete (arg, &word, &quote_char);
425 if (quote_char)
426 printf_unfiltered ("%c", quote_char);
401 int quote_char = '\\0'; local
/netbsd-current/external/gpl3/gdb/dist/gdb/cli/
H A Dcli-cmds.c420 int quote_char = '\0';
423 completion_result result = complete (arg, &word, &quote_char);
440 if (quote_char)
441 printf_unfiltered ("%c", quote_char);
416 int quote_char = '\\0'; local
/netbsd-current/external/gpl3/gdb.old/dist/gdb/mi/
H A Dmi-main.c2698 int quote_char = '\0';
2701 completion_result result = complete (argv[0], &word, &quote_char);
2697 int quote_char = '\\0'; local
/netbsd-current/external/gpl3/gdb/dist/gdb/mi/
H A Dmi-main.c2725 int quote_char = '\0';
2728 completion_result result = complete (argv[0], &word, &quote_char);
2724 int quote_char = '\\0'; local

Completed in 431 milliseconds