Lines Matching defs:buffer
129 char *buffer = NULL;
176 /* Always allocate a new buffer for the String */
178 buffer = ACPI_ALLOCATE_ZEROED((acpi_size)length + 1);
179 if (!buffer) {
187 /* If the requested length is zero, don't allocate a buffer */
191 /* Allocate a new buffer for the Buffer */
193 buffer = ACPI_ALLOCATE_ZEROED(length);
194 if (!buffer) {
207 if (buffer) {
209 /* We have a buffer, copy the portion requested */
211 memcpy(buffer,
217 return_desc->string.pointer = buffer;
220 /* Mark buffer initialized */
222 return_desc->buffer.flags |= AOPOBJ_DATA_VALID;