49 #define _COMPONENT ACPI_EXECUTER
75 if (source_desc == target_desc) {
82 length = source_desc->buffer.length;
88 if ((target_desc->buffer.length == 0) ||
91 if (!target_desc->buffer.pointer) {
95 target_desc->buffer.length =
length;
100 if (length <= target_desc->buffer.length) {
105 target_desc->buffer.length);
106 ACPI_MEMCPY(target_desc->buffer.pointer, buffer, length);
108 #ifdef ACPI_OBSOLETE_BEHAVIOR
127 target_desc->buffer.length =
length;
134 target_desc->buffer.length);
137 "Truncating source buffer from %X to %X\n",
138 length, target_desc->buffer.length));
143 target_desc->buffer.flags = source_desc->buffer.flags;
172 if (source_desc == target_desc) {
179 length = source_desc->
string.length;
185 if ((length < target_desc->
string.length) &&
192 (acpi_size) target_desc->
string.length + 1);
199 if (target_desc->
string.pointer &&
209 if (!target_desc->
string.pointer) {