Searched refs:eventCopy (Results 1 – 1 of 1) sorted by relevance
60 struct SensorEvent eventCopy = { in CacheData() local69 eventCopy.data = new uint8_t[len]; in CacheData()71 if (memcpy_s(eventCopy.data, len, event->data, event->dataLen) != EOK) { in CacheData()78 cache->eventsBuf_.circularBuf[0] = eventCopy; in CacheData()81 cache->eventsBuf_.circularBuf[cache->eventsBuf_.writePosition] = eventCopy; in CacheData()