Lines Matching defs:string

27 #include <linux/string.h>
82 * simple_strtoull - convert a string to an unsigned long long
83 * @cp: The start of the string
84 * @endp: A pointer to the end of the parsed string will be placed here
96 * simple_strtoul - convert a string to an unsigned long
97 * @cp: The start of the string
98 * @endp: A pointer to the end of the parsed string will be placed here
110 * simple_strtol - convert a string to a signed long
111 * @cp: The start of the string
112 * @endp: A pointer to the end of the parsed string will be placed here
142 * simple_strtoll - convert a string to a signed long long
143 * @cp: The start of the string
144 * @endp: A pointer to the end of the parsed string will be placed here
366 * Convert passed number to decimal string.
367 * Returns the length of string. On buffer overflow, returns 0.
414 FORMAT_TYPE_NONE, /* Just a string part */
487 /* generate full string in tmp[], in reverse order */
601 * Handle field width padding for a string.
603 * @n: length of string
629 /* Handle string from a well known address. */
713 char *string(char *buf, char *end, const char *s,
845 /* string length must be less than default_width */
970 buf = string(buf, end, hd->disk_name, spec);
1913 return string(buf, end, __clk_get_name(clk), spec);
1931 buf = string(buf, end, names->name, default_str_spec);
1994 buf = string(buf, end, fwnode_get_name_prefix(__fwnode),
1996 buf = string(buf, end, fwnode_get_name(__fwnode),
2051 buf = string(buf, end, p, str_spec);
2061 buf = string(buf, end, p, str_spec);
2071 case 'c': /* major compatible string */
2074 buf = string(buf, end, p, str_spec);
2076 case 'C': /* full compatible string */
2082 buf = string(buf, end, p, str_spec);
2115 buf = string(buf, end, fwnode_get_name(fwnode), str_spec);
2146 * format string '%32b[l]' or through '%*b[l]', [l] selects
2191 * - 'V' For a struct va_format which contains a format string * and va_list *,
2195 * correctness of the format string and va_list arguments.
2198 * - 'h[CDN]' For a variable-length buffer, it prints it as a hex string with
2229 * c major compatible string
2230 * C full compatible string
2239 * s a string, equivalent to "%s" on direct vsnprintf() use
2327 return string(buf, end, ptr, spec);
2350 * @fmt: the format string
2391 /* Return the current non-format string */
2507 WARN_ONCE(1, "Please remove unsupported %%%c in format string\n", *fmt);
2554 * vsnprintf - Format a string and place it in a buffer
2557 * @fmt: The format string to use
2558 * @args: Arguments for the format string
2577 * string is truncated.
2651 str = string(str, end, va_arg(args, char *), spec);
2736 * vscnprintf - Format a string and place it in a buffer
2739 * @fmt: The format string to use
2740 * @args: Arguments for the format string
2748 * See the vsnprintf() documentation for format string extensions over C99.
2765 * snprintf - Format a string and place it in a buffer
2768 * @fmt: The format string to use
2769 * @...: Arguments for the format string
2774 * @size, the resulting string is truncated.
2776 * See the vsnprintf() documentation for format string extensions over C99.
2792 * scnprintf - Format a string and place it in a buffer
2795 * @fmt: The format string to use
2796 * @...: Arguments for the format string
2816 * vsprintf - Format a string and place it in a buffer
2818 * @fmt: The format string to use
2819 * @args: Arguments for the format string
2827 * See the vsnprintf() documentation for format string extensions over C99.
2836 * sprintf - Format a string and place it in a buffer
2838 * @fmt: The format string to use
2839 * @...: Arguments for the format string
2845 * See the vsnprintf() documentation for format string extensions over C99.
2864 * bstr_printf() - Binary data to text string
2868 * vbin_printf - Parse a format string and place args' binary value in a buffer
2871 * @fmt: The format string to use
2872 * @args: Arguments for the format string
3022 * bstr_printf - Format a string from binary arguments and place it in a buffer
3025 * @fmt: The format string to use
3026 * @bin_buf: Binary arguments for the format string
3041 * string is truncated.
3127 str = string(str, end, (char *)str_arg, spec);
3233 * bprintf - Parse a format string and place args' binary value in a buffer
3236 * @fmt: The format string to use
3237 * @...: Arguments for the format string