Lines Matching refs:string
156 buffer = (u8 *) source_desc->string.pointer; in acpi_ex_store_string_to_string()
157 length = source_desc->string.length; in acpi_ex_store_string_to_string()
163 if ((length < target_desc->string.length) && in acpi_ex_store_string_to_string()
169 ACPI_MEMSET (target_desc->string.pointer, 0, (acpi_size) target_desc->string.length + 1); in acpi_ex_store_string_to_string()
170 ACPI_MEMCPY (target_desc->string.pointer, buffer, length); in acpi_ex_store_string_to_string()
177 if (target_desc->string.pointer && in acpi_ex_store_string_to_string()
182 ACPI_MEM_FREE (target_desc->string.pointer); in acpi_ex_store_string_to_string()
185 target_desc->string.pointer = ACPI_MEM_CALLOCATE ((acpi_size) length + 1); in acpi_ex_store_string_to_string()
186 if (!target_desc->string.pointer) { in acpi_ex_store_string_to_string()
191 ACPI_MEMCPY (target_desc->string.pointer, buffer, length); in acpi_ex_store_string_to_string()
196 target_desc->string.length = length; in acpi_ex_store_string_to_string()