Lines Matching defs:string

27 #include <linux/string.h>
88 * simple_strtoull - convert a string to an unsigned long long
89 * @cp: The start of the string
90 * @endp: A pointer to the end of the parsed string will be placed here
103 * simple_strtoul - convert a string to an unsigned long
104 * @cp: The start of the string
105 * @endp: A pointer to the end of the parsed string will be placed here
117 * simple_strtol - convert a string to a signed long
118 * @cp: The start of the string
119 * @endp: A pointer to the end of the parsed string will be placed here
149 * simple_strtoll - convert a string to a signed long long
150 * @cp: The start of the string
151 * @endp: A pointer to the end of the parsed string will be placed here
373 * Convert passed number to decimal string.
374 * Returns the length of string. On buffer overflow, returns 0.
422 FORMAT_TYPE_NONE, /* Just a string part */
495 /* generate full string in tmp[], in reverse order */
609 * Handle field width padding for a string.
611 * @n: length of string
637 /* Handle string from a well known address. */
721 char *string(char *buf, char *end, const char *s,
829 /* string length must be less than default_width */
967 buf = string(buf, end, hd->disk_name, spec);
1790 return string(buf, end, output, spec);
1954 return string(buf, end, __clk_get_name(clk), spec);
1972 buf = string(buf, end, names->name, default_str_spec);
2040 buf = string(buf, end, pff[i].name, default_str_spec);
2120 buf = string(buf, end, fwnode_get_name_prefix(__fwnode),
2122 buf = string(buf, end, fwnode_get_name(__fwnode),
2177 buf = string(buf, end, p, str_spec);
2187 buf = string(buf, end, p, str_spec);
2197 case 'c': /* major compatible string */
2200 buf = string(buf, end, p, str_spec);
2202 case 'C': /* full compatible string */
2208 buf = string(buf, end, p, str_spec);
2241 buf = string(buf, end, fwnode_get_name(fwnode), str_spec);
2302 * format string '%32b[l]' or through '%*b[l]', [l] selects
2347 * - 'V' For a struct va_format which contains a format string * and va_list *,
2351 * correctness of the format string and va_list arguments.
2357 * - 'h[CDN]' For a variable-length buffer, it prints it as a hex string with
2388 * c major compatible string
2389 * C full compatible string
2399 * s a string, equivalent to "%s" on direct vsnprintf() use
2499 return string(buf, end, ptr, spec);
2521 * @fmt: the format string
2562 /* Return the current non-format string */
2679 WARN_ONCE(1, "Please remove unsupported %%%c in format string\n", *fmt);
2726 * vsnprintf - Format a string and place it in a buffer
2729 * @fmt: The format string to use
2730 * @args: Arguments for the format string
2749 * string is truncated.
2823 str = string(str, end, va_arg(args, char *), spec);
2908 * vscnprintf - Format a string and place it in a buffer
2911 * @fmt: The format string to use
2912 * @args: Arguments for the format string
2920 * See the vsnprintf() documentation for format string extensions over C99.
2939 * snprintf - Format a string and place it in a buffer
2942 * @fmt: The format string to use
2943 * @...: Arguments for the format string
2948 * @size, the resulting string is truncated.
2950 * See the vsnprintf() documentation for format string extensions over C99.
2966 * scnprintf - Format a string and place it in a buffer
2969 * @fmt: The format string to use
2970 * @...: Arguments for the format string
2990 * vsprintf - Format a string and place it in a buffer
2992 * @fmt: The format string to use
2993 * @args: Arguments for the format string
3001 * See the vsnprintf() documentation for format string extensions over C99.
3010 * sprintf - Format a string and place it in a buffer
3012 * @fmt: The format string to use
3013 * @...: Arguments for the format string
3019 * See the vsnprintf() documentation for format string extensions over C99.
3038 * bstr_printf() - Binary data to text string
3042 * vbin_printf - Parse a format string and place args' binary value in a buffer
3045 * @fmt: The format string to use
3046 * @args: Arguments for the format string
3196 * bstr_printf - Format a string from binary arguments and place it in a buffer
3199 * @fmt: The format string to use
3200 * @bin_buf: Binary arguments for the format string
3215 * string is truncated.
3301 str = string(str, end, (char *)str_arg, spec);
3407 * bprintf - Parse a format string and place args' binary value in a buffer
3410 * @fmt: The format string to use
3411 * @...: Arguments for the format string