Searched refs:eventCache_new (Results 1 – 1 of 1) sorted by relevance
402 sensors_event_t *eventCache_new; in reAllocateCacheLocked() local405 eventCache_new = new sensors_event_t[new_cache_size]; in reAllocateCacheLocked()406 memcpy(eventCache_new, mEventCache, mCacheSize * sizeof(sensors_event_t)); in reAllocateCacheLocked()407 memcpy(&eventCache_new[mCacheSize], scratch, count * sizeof(sensors_event_t)); in reAllocateCacheLocked()413 mEventCache = eventCache_new; in reAllocateCacheLocked()