Lines Matching refs:copy
306 uint8_t *copy = new uint8_t[avail]; in dump() local
308 memcpy(copy, &mShared->mBuffer[front], read); in dump()
312 memcpy(©[read], mShared->mBuffer, remaining); in dump()
324 length = copy[i - 1]; in dump()
325 if (length + 3 > i || copy[i - length - 2] != length) { in dump()
328 event = (Event) copy[i - length - 3]; in dump()
334 memcpy(&ts, ©[i - length - 1], sizeof(struct timespec)); in dump()
361 event = (Event) copy[i]; in dump()
362 length = copy[i + 1]; in dump()
363 const void *data = ©[i + 2]; in dump()
379 if (j >= avail || (Event) copy[j] != EVENT_TIMESTAMP) { in dump()
383 memcpy(&tsNext, ©[j + 2], sizeof(struct timespec)); in dump()
435 delete[] copy; in dump()