Lines Matching defs:length
33 u32 length;
47 length = source_desc->buffer.length;
50 * If target is a buffer of length zero or is a static buffer,
51 * allocate a new buffer of the proper length
53 if ((target_desc->buffer.length == 0) ||
55 target_desc->buffer.pointer = ACPI_ALLOCATE(length);
60 target_desc->buffer.length = length;
65 if (length <= target_desc->buffer.length) {
70 target_desc->buffer.length);
71 memcpy(target_desc->buffer.pointer, buffer, length);
90 /* Set the new length of the target */
92 target_desc->buffer.length = length;
99 target_desc->buffer.length);
103 length, target_desc->buffer.length));
130 u32 length;
144 length = source_desc->string.length;
150 if ((length < target_desc->string.length) &&
157 (acpi_size)target_desc->string.length + 1);
158 memcpy(target_desc->string.pointer, buffer, length);
173 ACPI_ALLOCATE_ZEROED((acpi_size)length + 1);
180 memcpy(target_desc->string.pointer, buffer, length);
183 /* Set the new target length */
185 target_desc->string.length = length;