Lines Matching refs:argsize
243 char const *arg, size_t argsize, in quotearg_buffer_restyled() argument
343 for (i = 0; ! (argsize == SIZE_MAX ? arg[i] == '\0' : i == argsize); i++) in quotearg_buffer_restyled()
351 && i + quote_string_len <= argsize in quotearg_buffer_restyled()
373 if (i + 1 < argsize && '0' <= arg[i + 1] && arg[i + 1] <= '9') in quotearg_buffer_restyled()
398 && i + 2 < argsize && arg[i + 1] == '?') in quotearg_buffer_restyled()
453 if (! (argsize == SIZE_MAX ? arg[1] == '\0' : argsize == 1)) in quotearg_buffer_restyled()
537 if (argsize == SIZE_MAX) in quotearg_buffer_restyled()
538 argsize = strlen (arg); in quotearg_buffer_restyled()
544 argsize - (i + m), &mbstate); in quotearg_buffer_restyled()
555 while (i + m < argsize && arg[i + m]) in quotearg_buffer_restyled()
652 return quotearg_buffer_restyled (buffer, buffersize, arg, argsize, in quotearg_buffer_restyled()
669 char const *arg, size_t argsize, in quotearg_buffer() argument
674 size_t r = quotearg_buffer_restyled (buffer, buffersize, arg, argsize, in quotearg_buffer()
683 quotearg_alloc (char const *arg, size_t argsize, in quotearg_alloc() argument
686 return quotearg_alloc_mem (arg, argsize, NULL, o); in quotearg_alloc()
696 quotearg_alloc_mem (char const *arg, size_t argsize, size_t *size, in quotearg_alloc_mem() argument
703 size_t bufsize = quotearg_buffer_restyled (0, 0, arg, argsize, p->style, in quotearg_alloc_mem()
708 quotearg_buffer_restyled (buf, bufsize, arg, argsize, p->style, flags, in quotearg_alloc_mem()
761 quotearg_n_options (int n, char const *arg, size_t argsize, in quotearg_n_options() argument
797 size_t qsize = quotearg_buffer_restyled (val, size, arg, argsize, in quotearg_n_options()
809 quotearg_buffer_restyled (val, size, arg, argsize, options->style, in quotearg_n_options()
827 quotearg_n_mem (int n, char const *arg, size_t argsize) in quotearg_n_mem() argument
829 return quotearg_n_options (n, arg, argsize, &default_quoting_options); in quotearg_n_mem()
839 quotearg_mem (char const *arg, size_t argsize) in quotearg_mem() argument
841 return quotearg_n_mem (0, arg, argsize); in quotearg_mem()
853 char const *arg, size_t argsize) in quotearg_n_style_mem() argument
856 return quotearg_n_options (n, arg, argsize, &o); in quotearg_n_style_mem()
866 quotearg_style_mem (enum quoting_style s, char const *arg, size_t argsize) in quotearg_style_mem() argument
868 return quotearg_n_style_mem (0, s, arg, argsize); in quotearg_style_mem()
872 quotearg_char_mem (char const *arg, size_t argsize, char ch) in quotearg_char_mem() argument
877 return quotearg_n_options (0, arg, argsize, &options); in quotearg_char_mem()
893 quotearg_colon_mem (char const *arg, size_t argsize) in quotearg_colon_mem() argument
895 return quotearg_char_mem (arg, argsize, ':'); in quotearg_colon_mem()
909 char const *arg, size_t argsize) in quotearg_n_custom_mem() argument
913 return quotearg_n_options (n, arg, argsize, &o); in quotearg_n_custom_mem()
925 char const *arg, size_t argsize) in quotearg_custom_mem() argument
928 argsize); in quotearg_custom_mem()
942 quote_n_mem (int n, char const *arg, size_t argsize) in quote_n_mem() argument
944 return quotearg_n_options (n, arg, argsize, "e_quoting_options); in quote_n_mem()
948 quote_mem (char const *arg, size_t argsize) in quote_mem() argument
950 return quote_n_mem (0, arg, argsize); in quote_mem()