Lines Matching defs:copy
6 * You may obtain a copy of the License at
187 // The Entry could have a method copyTo(ptr, offset, size) to optimize the copy.
304 // make a copy to avoid race condition with writer
305 uint8_t *copy = new uint8_t[avail];
306 // copy first part of circular buffer up until the wraparound point
307 memcpy(copy, &mShared->mBuffer[front], read);
310 // copy second part of circular buffer starting at beginning
311 memcpy(©[read], mShared->mBuffer, remaining);
323 length = copy[i - 1];
324 if (length + 3 > i || copy[i - length - 2] != length) {
327 event = (Event) copy[i - length - 3];
333 memcpy(&ts, ©[i - length - 1], sizeof(struct timespec));
360 event = (Event) copy[i];
361 length = copy[i + 1];
362 const void *data = ©[i + 2];
381 if (j >= avail || (Event) copy[j] != EVENT_TIMESTAMP) {
385 memcpy(&tsNext, ©[j + 2], sizeof(struct timespec));
439 delete[] copy;