Lines Matching full:front
137 int32_t front;
147 front = android_atomic_acquire_load(&cblk->u.mStreaming.mFront);
152 front = cblk->u.mStreaming.mFront;
154 ssize_t filled = rear - front;
178 front &= mFrameCountP2 - 1;
179 part1 = mFrameCountP2 - front;
189 &((char *) mBuffers)[(mIsOut ? rear : front) * mFrameSize] : NULL;
315 int32_t front = cblk->u.mStreaming.mFront;
316 android_atomic_release_store(stepCount + front, &cblk->u.mStreaming.mFront);
350 int32_t front;
354 front = android_atomic_acquire_load(&cblk->u.mStreaming.mFront);
358 front = cblk->u.mStreaming.mFront;
360 ssize_t filled = rear - front;
610 int32_t front;
616 front = cblk->u.mStreaming.mFront;
621 int32_t newFront = (front & ~mask) | (flush & mask);
624 // front and rear offsets span the overflow bit of the p2 mask
625 // so rebasing newFront on the front offset is off by the overflow bit.
633 ALOGE("mFlush %#x -> %#x, front %#x, rear %#x, mask %#x, newFront %#x, "
635 mFlush, flush, front, rear,
642 if (true /*front != newFront*/) {
649 front = newFront;
652 front = android_atomic_acquire_load(&cblk->u.mStreaming.mFront);
655 ssize_t filled = rear - front;
676 front &= mFrameCountP2 - 1;
677 part1 = mFrameCountP2 - front;
692 &((char *) mBuffers)[(mIsOut ? front : rear) * mFrameSize] : NULL;
724 int32_t front = cblk->u.mStreaming.mFront;
725 android_atomic_release_store(stepCount + front, &cblk->u.mStreaming.mFront);