Lines Matching refs:String
3 * Module Name: utstrtoul64 - String-to-integer conversion support for both
162 * This module contains the top-level string to 64/32-bit unsigned integer
168 * constants than the runtime (interpreter) integer-to-string conversions.
179 * Debugger - Command line input string conversion
196 * support (explicit/implicit) for octal string conversions.
205 * PARAMETERS: String - Null terminated input string,
213 * DESCRIPTION: Convert a string into an unsigned integer. Always performs a
230 char *String,
238 ACPI_FUNCTION_TRACE_STR (UtStrtoul64, String);
243 /* A NULL return string returns a value of zero */
245 if (*String == 0)
250 if (!AcpiUtRemoveWhitespace (&String))
258 if (AcpiUtDetectHexPrefix (&String))
267 else if (AcpiUtDetectOctalPrefix (&String))
272 if (!AcpiUtRemoveLeadingZeros (&String))
292 Status = AcpiUtConvertOctalString (String, ReturnValue);
296 Status = AcpiUtConvertDecimalString (String, ReturnValue);
301 Status = AcpiUtConvertHexString (String, ReturnValue);
316 * PARAMETERS: String - Null terminated input string,
324 * an automatic (implicit) conversion from a string operand
340 * The ASCII string is always interpreted as a hexadecimal constant.
352 * 4) Conversion of a null (zero-length) string to an integer is
368 char *String)
373 String);
376 if (!AcpiUtRemoveWhitespace (&String))
386 AcpiUtRemoveHexPrefix (&String);
388 if (!AcpiUtRemoveLeadingZeros (&String))
396 * On overflow, the input string is simply truncated.
398 AcpiUtConvertHexString (String, &ConvertedInteger);
407 * PARAMETERS: String - Null terminated input string,
427 * 1) The input string is either a decimal or hexadecimal numeric string.
441 * 4) Conversion of a null (zero-length) string to an integer is
456 char *String)
462 ACPI_FUNCTION_TRACE_STR (UtExplicitStrtoul64, String);
465 if (!AcpiUtRemoveWhitespace (&String))
474 if (AcpiUtDetectHexPrefix (&String))
479 if (!AcpiUtRemoveLeadingZeros (&String))
487 * On overflow, the input string is simply truncated.
493 AcpiUtConvertDecimalString (String, &ConvertedInteger);
497 AcpiUtConvertHexString (String, &ConvertedInteger);