Home
last modified time | relevance | path

Searched refs:firstWritable (Results 1 – 1 of 1) sorted by relevance

/hardware/libhardware/modules/sensors/
DSensorEventQueue.cpp45 int firstWritable = (mStart + mSize) % mCapacity; in getWritableRegion() local
47 int lastWritable = firstWritable + requestedLength - 1; in getWritableRegion()
54 if (firstWritable < mStart && lastWritable >= mStart) { in getWritableRegion()
57 *out = &mData[firstWritable]; in getWritableRegion()
58 return lastWritable - firstWritable + 1; in getWritableRegion()