Lines Matching defs:string
19 * PARAMETERS: string - Null terminated ASCII string
25 * DESCRIPTION: Dump an ASCII string with support for ACPI-defined escape
29 void acpi_ut_print_string(char *string, u16 max_length)
33 if (!string) {
39 for (i = 0; (i < max_length) && string[i]; i++) {
43 switch (string[i]) {
83 acpi_os_printf("\\%c", (int)string[i]);
90 if (isprint((int)string[i])) {
93 acpi_os_printf("%c", (int)string[i]);
97 acpi_os_printf("\\x%2.2X", (s32)string[i]);
105 if (i == max_length && string[i]) {
187 * PARAMETERS: pathname - File pathname string to be converted
192 * the entire input file pathname string.