Lines Matching refs:copy
9 * License. Please obtain a copy of the License at
116 // Remove the next n bytes in queue given by 'size' and write bytes into 'copy'
118 bool IOFWRingBufferQ::dequeueBytesWithCopy( void * copy, IOByteCount size )
125 if ( copy )
128 if ( front(copy, size, &paddingBytes) )
138 // copy not necessary, simply make bytes available in queue
147 DebugLog("<<< IOFWRingBufferQ::dequeueBytesWithCopy BSize: %u Length: %u Front: %u Size: %u Copy: %p\n", fBufferSize, fQueueLength, fFrontOffset, size, copy);
234 // Return a copy of first entry, of size 'size'
236 bool IOFWRingBufferQ::front( void * copy, IOByteCount size, IOByteCount * paddingBytes )
247 if ( copy )
250 if ( fMemDescriptor->readBytes(frontOffset, copy, size) == 0 )