• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/acpi/utilities/

Lines Matching defs:string

58  * RETURN:      A string containing the exception text. NULL if exception is
62 * an ASCII string.
326 * PARAMETERS: src_string - The source string to convert
330 * DESCRIPTION: Convert string to uppercase
338 char *string;
346 /* Walk entire string, uppercasing the letters */
348 for (string = src_string; *string; string++) {
349 *string = (char)ACPI_TOUPPER(*string);
359 * PARAMETERS: String - Null terminated ASCII string
364 * DESCRIPTION: Dump an ASCII string with support for ACPI-defined escape
369 void acpi_ut_print_string(char *string, u8 max_length)
373 if (!string) {
379 for (i = 0; string[i] && (i < max_length); i++) {
383 switch (string[i]) {
415 acpi_os_printf("\\%c", (int)string[i]);
422 if (ACPI_IS_PRINT(string[i])) {
425 acpi_os_printf("%c", (int)string[i]);
429 acpi_os_printf("\\x%2.2X", (s32) string[i]);
436 if (i == max_length && string[i]) {
517 * Path - Additional path string to be appended.
683 * PARAMETERS: String - Null terminated string
684 * Base - Radix of the string: 16 or ACPI_ANY_BASE;
690 * DESCRIPTION: Convert a string into an unsigned value. Performs either a
698 acpi_ut_strtoul64(char *string, u32 base, acpi_integer * ret_integer)
710 ACPI_FUNCTION_TRACE_STR(ut_stroul64, string);
722 if (!string) {
728 while ((*string) && (ACPI_IS_SPACE(*string) || *string == '\t')) {
729 string++;
737 if ((*string == '0') && (ACPI_TOLOWER(*(string + 1)) == 'x')) {
742 string += 2;
748 /* Any string left? Check that '0x' is not followed by white space. */
750 if (!(*string) || ACPI_IS_SPACE(*string) || *string == '\t') {
764 /* Main loop: convert the string to a 32- or 64-bit integer */
766 while (*string) {
767 if (ACPI_IS_DIGIT(*string)) {
771 this_digit = ((u8) * string) - '0';
778 this_digit = (u8) ACPI_TOUPPER(*string);
799 string++;
809 * No any restrictions for string-to-integer conversion,
831 string++;
1018 * Format - Printf format string + additional args