Searched refs:mCapacity (Results 1 – 2 of 2) sorted by relevance
25 mCapacity = capacity; in SensorEventQueue()29 mData = new sensors_event_t[mCapacity]; in SensorEventQueue()40 if (mSize == mCapacity || requestedLength <= 0) { in getWritableRegion()45 int firstWritable = (mStart + mSize) % mCapacity; in getWritableRegion()50 if (lastWritable > mCapacity - 1) { in getWritableRegion()51 lastWritable = mCapacity - 1; in getWritableRegion()76 if (mSize == mCapacity) { in dequeue()80 mStart = (mStart + 1) % mCapacity; in dequeue()86 while (mSize == mCapacity) { in waitForSpace()
34 int mCapacity; variable