Lines Matching refs:written
126 size_t written = avail; in write() local
127 if (CC_LIKELY(written > count)) { in write()
128 written = count; in write()
132 if (part1 > written) { in write()
133 part1 = written; in write()
138 size_t part2 = written - part1; in write()
143 android_atomic_release_store(written + mRear, &mRear); in write()
144 totalFramesWritten += written; in write()
149 count -= written; in write()
150 buffer = (char *) buffer + (written * mFrameSize); in write()
154 if (written > 0) { in write()
155 size_t filled = (mMaxFrames - avail) + written; in write()
159 ns = written * ( 500000000 / Format_sampleRate(mFormat)); in write()
162 ns = written * ( 750000000 / Format_sampleRate(mFormat)); in write()
165 ns = written * (1000000000 / Format_sampleRate(mFormat)); in write()
168 ns = written * (1150000000 / Format_sampleRate(mFormat)); in write()
171 ns = written * (1350000000 / Format_sampleRate(mFormat)); in write()
174 ns = written * (1750000000 / Format_sampleRate(mFormat)); in write()