Searched refs:eventCache_new (Results 1 – 1 of 1) sorted by relevance
484 sensors_event_t *eventCache_new; in reAllocateCacheLocked() local487 eventCache_new = new sensors_event_t[new_cache_size]; in reAllocateCacheLocked()488 memcpy(eventCache_new, mEventCache, mCacheSize * sizeof(sensors_event_t)); in reAllocateCacheLocked()489 memcpy(&eventCache_new[mCacheSize], scratch, count * sizeof(sensors_event_t)); in reAllocateCacheLocked()495 mEventCache = eventCache_new; in reAllocateCacheLocked()