Lines Matching +full:per +full:- +full:string
1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * (C) Copyright 2000-2009
16 * strict_strtoul - convert a string to an unsigned long strictly
17 * @param cp The string to be converted
21 * value, otherwise it returns -EINVAL and *res is set to 0.
23 * strict_strtoul converts a string to an unsigned long only if the
24 * string is really an unsigned long string, any string containing
25 * any invalid char at the tail will be rejected and -EINVAL is returned,
34 * return the converted value of prefix part of the string.
46 * trailing_strtol() - extract a trailing integer from a string
48 * Given a string this finds a trailing number on the string and returns it.
51 * @str: String to exxamine
52 * @return training number if found, else -1
57 * trailing_strtoln() - extract a trailing integer from a fixed-length string
59 * Given a fixed-length string this finds a trailing number on the string
61 * characters between @str and @end - 1 are examined. If @end is NULL, it is
64 * @str: String to exxamine
65 * @end: Pointer to end of string to examine, or NULL to use the
66 * whole string
67 * @return training number if found, else -1
72 * panic() - Print a message and reset/hang
77 * @param fmt: printf() format string for message, which should not include
84 * panic_str() - Print a message and reset/hang
92 * @param fmt: string to display, which should not include \n
97 * Format a string and place it in a buffer
100 * @param fmt The format string to use
101 * @param ... Arguments for the format string
106 * See the vsprintf() documentation for format string extensions over C99.
112 * Format a string and place it in a buffer (va_list version)
115 * @param fmt The format string to use
116 * @param args Arguments for the format string
122 * See the vsprintf() documentation for format string extensions over C99.
128 * Format a string and place it in a buffer
132 * @param fmt The format string to use
133 * @param ... Arguments for the format string
136 * as per ISO C99. If the return is greater than or equal to
137 * @size, the resulting string is truncated.
139 * See the vsprintf() documentation for format string extensions over C99.
145 * Format a string and place it in a buffer
149 * @param fmt The format string to use
150 * @param ... Arguments for the format string
155 * See the vsprintf() documentation for format string extensions over C99.
161 * Format a string and place it in a buffer (base function)
165 * @param fmt The format string to use
166 * @param args Arguments for the format string
168 * input, excluding the trailing '\0', as per ISO C99. Note that fewer
178 * as per ISO C99.
186 * Format a string and place it in a buffer (va_list version)
190 * @param fmt The format string to use
191 * @param args Arguments for the format string
198 * See the vsprintf() documentation for format string extensions over C99.
203 * print_grouped_ull() - print a value with digits grouped by ','