Lines Matching refs:overflowBit
723 const size_t overflowBit = mFrameCountP2 << 1; in flushBufferIfNeeded() local
724 const size_t mask = overflowBit - 1; in flushBufferIfNeeded()
727 if (filled >= (ssize_t)overflowBit) { in flushBufferIfNeeded()
731 ALOGV("flush wrap: filled %zx >= overflowBit %zx", filled, overflowBit); in flushBufferIfNeeded()
732 newFront += overflowBit; in flushBufferIfNeeded()
733 filled -= overflowBit; in flushBufferIfNeeded()
765 const size_t overflowBit = mFrameCountP2 << 1; in getRear() local
766 const size_t mask = overflowBit - 1; in getRear()
770 if (filled >= (ssize_t)overflowBit) { in getRear()
773 ALOGV("stop wrap: filled %zx >= overflowBit %zx", filled, overflowBit); in getRear()
774 newRear -= overflowBit; in getRear()
775 filled -= overflowBit; in getRear()