Lines Matching refs:overflowBit
746 const size_t overflowBit = mFrameCountP2 << 1; in flushBufferIfNeeded() local
747 const size_t mask = overflowBit - 1; in flushBufferIfNeeded()
750 if (filled >= (ssize_t)overflowBit) { in flushBufferIfNeeded()
754 ALOGV("flush wrap: filled %zx >= overflowBit %zx", filled, overflowBit); in flushBufferIfNeeded()
755 newFront += overflowBit; in flushBufferIfNeeded()
756 filled -= overflowBit; in flushBufferIfNeeded()
788 const size_t overflowBit = mFrameCountP2 << 1; in getRear() local
789 const size_t mask = overflowBit - 1; in getRear()
793 if (filled >= (ssize_t)overflowBit) { in getRear()
796 ALOGV("stop wrap: filled %zx >= overflowBit %zx", filled, overflowBit); in getRear()
797 newRear -= overflowBit; in getRear()
798 filled -= overflowBit; in getRear()