Lines Matching defs:string

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)
86 ACPI_FUNCTION_TRACE_STR(ut_strtoul64, string);
90 /* A NULL return string returns a value of zero */
92 if (*string == 0) {
96 if (!acpi_ut_remove_whitespace(&string)) {
103 if (acpi_ut_detect_hex_prefix(&string)) {
111 else if (acpi_ut_detect_octal_prefix(&string)) {
115 if (!acpi_ut_remove_leading_zeros(&string)) {
133 status = acpi_ut_convert_octal_string(string, return_value);
137 status = acpi_ut_convert_decimal_string(string, return_value);
142 status = acpi_ut_convert_hex_string(string, return_value);
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)
210 ACPI_FUNCTION_TRACE_STR(ut_implicit_strtoul64, string);
212 if (!acpi_ut_remove_whitespace(&string)) {
221 acpi_ut_remove_hex_prefix(&string);
223 if (!acpi_ut_remove_leading_zeros(&string)) {
230 * On overflow, the input string is simply truncated.
232 acpi_ut_convert_hex_string(string, &converted_integer);
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)
292 ACPI_FUNCTION_TRACE_STR(ut_explicit_strtoul64, string);
294 if (!acpi_ut_remove_whitespace(&string)) {
302 if (acpi_ut_detect_hex_prefix(&string)) {
306 if (!acpi_ut_remove_leading_zeros(&string)) {
313 * On overflow, the input string is simply truncated.
318 acpi_ut_convert_decimal_string(string, &converted_integer);
322 acpi_ut_convert_hex_string(string, &converted_integer);