Lines Matching +full:string +full:- +full:support
1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
4 * Module Name: utstring - Common functions for strings and characters
19 * PARAMETERS: string - Null terminated ASCII string
20 * max_length - Maximum output length. Used to constrain the
25 * DESCRIPTION: Dump an ASCII string with support for ACPI-defined escape
29 void acpi_ut_print_string(char *string, u16 max_length) in acpi_ut_print_string() argument
33 if (!string) { in acpi_ut_print_string()
34 acpi_os_printf("<\"NULL STRING PTR\">"); in acpi_ut_print_string()
39 for (i = 0; (i < max_length) && string[i]; i++) { in acpi_ut_print_string()
43 switch (string[i]) { in acpi_ut_print_string()
83 acpi_os_printf("\\%c", (int)string[i]); in acpi_ut_print_string()
90 if (isprint((int)string[i])) { in acpi_ut_print_string()
93 acpi_os_printf("%c", (int)string[i]); in acpi_ut_print_string()
97 acpi_os_printf("\\x%2.2X", (s32)string[i]); in acpi_ut_print_string()
105 if (i == max_length && string[i]) { in acpi_ut_print_string()
114 * PARAMETERS: name - The ACPI name to be repaired
127 * this problem, and we want to be able to enable ACPI support for them,
142 * error during the execution of module-level code. in acpi_ut_repair_name()
187 * PARAMETERS: pathname - File pathname string to be converted
192 * the entire input file pathname string.