Lines Matching refs:string
71 char *string; in acpi_ut_strlwr() local
81 for (string = src_string; *string; string++) { in acpi_ut_strlwr()
82 *string = (char)ACPI_TOLOWER(*string); in acpi_ut_strlwr()
137 char *string; in acpi_ut_strupr() local
147 for (string = src_string; *string; string++) { in acpi_ut_strupr()
148 *string = (char)ACPI_TOUPPER(*string); in acpi_ut_strupr()
172 acpi_status acpi_ut_strtoul64(char *string, u32 base, u64 *ret_integer) in acpi_ut_strtoul64() argument
184 ACPI_FUNCTION_TRACE_STR(ut_stroul64, string); in acpi_ut_strtoul64()
196 if (!string) { in acpi_ut_strtoul64()
202 while ((*string) && (ACPI_IS_SPACE(*string) || *string == '\t')) { in acpi_ut_strtoul64()
203 string++; in acpi_ut_strtoul64()
211 if ((*string == '0') && (ACPI_TOLOWER(*(string + 1)) == 'x')) { in acpi_ut_strtoul64()
216 string += 2; in acpi_ut_strtoul64()
224 if (!(*string) || ACPI_IS_SPACE(*string) || *string == '\t') { in acpi_ut_strtoul64()
240 while (*string) { in acpi_ut_strtoul64()
241 if (ACPI_IS_DIGIT(*string)) { in acpi_ut_strtoul64()
245 this_digit = ((u8)*string) - '0'; in acpi_ut_strtoul64()
252 this_digit = (u8)ACPI_TOUPPER(*string); in acpi_ut_strtoul64()
273 string++; in acpi_ut_strtoul64()
305 string++; in acpi_ut_strtoul64()
342 void acpi_ut_print_string(char *string, u8 max_length) in acpi_ut_print_string() argument
346 if (!string) { in acpi_ut_print_string()
352 for (i = 0; string[i] && (i < max_length); i++) { in acpi_ut_print_string()
356 switch (string[i]) { in acpi_ut_print_string()
388 acpi_os_printf("\\%c", (int)string[i]); in acpi_ut_print_string()
395 if (ACPI_IS_PRINT(string[i])) { in acpi_ut_print_string()
398 acpi_os_printf("%c", (int)string[i]); in acpi_ut_print_string()
402 acpi_os_printf("\\x%2.2X", (s32) string[i]); in acpi_ut_print_string()
409 if (i == max_length && string[i]) { in acpi_ut_print_string()