Lines Matching full:string
4 * Module Name: utstrtoul64 - String-to-integer conversion support for both
17 * This module contains the top-level string to 64/32-bit unsigned integer
23 * constants than the runtime (interpreter) integer-to-string conversions.
34 * debugger - Command line input string conversion
51 * support (explicit/implicit) for octal string conversions.
58 * PARAMETERS: string - Null terminated input string,
66 * DESCRIPTION: Convert a string into an unsigned integer. Always performs a
80 acpi_status acpi_ut_strtoul64(char *string, u64 *return_value) in acpi_ut_strtoul64() argument
86 ACPI_FUNCTION_TRACE_STR(ut_strtoul64, string); in acpi_ut_strtoul64()
90 /* A NULL return string returns a value of zero */ in acpi_ut_strtoul64()
92 if (*string == 0) { in acpi_ut_strtoul64()
96 if (!acpi_ut_remove_whitespace(&string)) { in acpi_ut_strtoul64()
103 if (acpi_ut_detect_hex_prefix(&string)) { in acpi_ut_strtoul64()
111 else if (acpi_ut_detect_octal_prefix(&string)) { in acpi_ut_strtoul64()
115 if (!acpi_ut_remove_leading_zeros(&string)) { in acpi_ut_strtoul64()
133 status = acpi_ut_convert_octal_string(string, return_value); in acpi_ut_strtoul64()
137 status = acpi_ut_convert_decimal_string(string, return_value); in acpi_ut_strtoul64()
142 status = acpi_ut_convert_hex_string(string, return_value); in acpi_ut_strtoul64()
156 * PARAMETERS: string - Null terminated input string,
164 * an automatic (implicit) conversion from a string operand
180 * The ASCII string is always interpreted as a hexadecimal constant.
192 * 4) Conversion of a null (zero-length) string to an integer is
206 u64 acpi_ut_implicit_strtoul64(char *string) in acpi_ut_implicit_strtoul64() argument
210 ACPI_FUNCTION_TRACE_STR(ut_implicit_strtoul64, string); in acpi_ut_implicit_strtoul64()
212 if (!acpi_ut_remove_whitespace(&string)) { in acpi_ut_implicit_strtoul64()
221 acpi_ut_remove_hex_prefix(&string); in acpi_ut_implicit_strtoul64()
223 if (!acpi_ut_remove_leading_zeros(&string)) { in acpi_ut_implicit_strtoul64()
230 * On overflow, the input string is simply truncated. in acpi_ut_implicit_strtoul64()
232 acpi_ut_convert_hex_string(string, &converted_integer); in acpi_ut_implicit_strtoul64()
240 * PARAMETERS: string - Null terminated input string,
260 * 1) The input string is either a decimal or hexadecimal numeric string.
274 * 4) Conversion of a null (zero-length) string to an integer is
287 u64 acpi_ut_explicit_strtoul64(char *string) in acpi_ut_explicit_strtoul64() argument
292 ACPI_FUNCTION_TRACE_STR(ut_explicit_strtoul64, string); in acpi_ut_explicit_strtoul64()
294 if (!acpi_ut_remove_whitespace(&string)) { in acpi_ut_explicit_strtoul64()
302 if (acpi_ut_detect_hex_prefix(&string)) { in acpi_ut_explicit_strtoul64()
306 if (!acpi_ut_remove_leading_zeros(&string)) { in acpi_ut_explicit_strtoul64()
313 * On overflow, the input string is simply truncated. in acpi_ut_explicit_strtoul64()
318 acpi_ut_convert_decimal_string(string, &converted_integer); in acpi_ut_explicit_strtoul64()
322 acpi_ut_convert_hex_string(string, &converted_integer); in acpi_ut_explicit_strtoul64()