Lines Matching refs:overflowBit
685 const size_t overflowBit = mFrameCountP2 << 1; in flushBufferIfNeeded() local
686 const size_t mask = overflowBit - 1; in flushBufferIfNeeded()
689 if (filled >= (ssize_t)overflowBit) { in flushBufferIfNeeded()
693 ALOGV("flush wrap: filled %zx >= overflowBit %zx", filled, overflowBit); in flushBufferIfNeeded()
694 newFront += overflowBit; in flushBufferIfNeeded()
695 filled -= overflowBit; in flushBufferIfNeeded()
727 const size_t overflowBit = mFrameCountP2 << 1; in getRear() local
728 const size_t mask = overflowBit - 1; in getRear()
732 if (filled >= (ssize_t)overflowBit) { in getRear()
735 ALOGV("stop wrap: filled %zx >= overflowBit %zx", filled, overflowBit); in getRear()
736 newRear -= overflowBit; in getRear()
737 filled -= overflowBit; in getRear()