Lines Matching refs:length
68 u32 length;
82 length = source_desc->buffer.length;
85 * If target is a buffer of length zero or is a static buffer,
86 * allocate a new buffer of the proper length
88 if ((target_desc->buffer.length == 0) ||
90 target_desc->buffer.pointer = ACPI_ALLOCATE(length);
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);
125 /* Set the new length of the target */
127 target_desc->buffer.length = length;
134 target_desc->buffer.length);
138 length, target_desc->buffer.length));
165 u32 length;
179 length = source_desc->string.length;
185 if ((length < target_desc->string.length) &&
192 (acpi_size) target_desc->string.length + 1);
193 ACPI_MEMCPY(target_desc->string.pointer, buffer, length);
208 length + 1);
214 ACPI_MEMCPY(target_desc->string.pointer, buffer, length);
217 /* Set the new target length */
219 target_desc->string.length = length;