Searched refs:toWrite (Results 1 – 4 of 4) sorted by relevance
174 String toWrite = a + "\n" + b + "\n" + c; in testWriteFlushesOnNewlines() local175 out.write(toWrite.getBytes()); in testWriteFlushesOnNewlines()
996 size_t toWrite; in write() local1000 toWrite = audioBuffer.size>>1; in write()1002 int count = toWrite; in write()1008 toWrite = audioBuffer.size; in write()1009 memcpy(audioBuffer.i8, src, toWrite); in write()1010 src += toWrite; in write()1012 userSize -= toWrite; in write()1013 written += toWrite; in write()
871 int toWrite = sampleCount; in threadLoop() local875 while (--chances > 0 && (toWrite > 0 || toRead > 0)) { in threadLoop()876 if (toWrite > 0) { in threadLoop()878 buffer.frameCount = toWrite; in threadLoop()882 int offset = sampleCount - toWrite; in threadLoop()884 toWrite -= buffer.frameCount; in threadLoop()
685 off64_t toWrite = s.st_size; in write_tarfile() local686 while (toWrite > 0) { in write_tarfile()687 size_t toRead = (toWrite < BUFSIZE) ? toWrite : BUFSIZE; in write_tarfile()695 LOGE("EOF but expect %lld more bytes in [%s]", (long long) toWrite, in write_tarfile()711 toWrite -= nRead; in write_tarfile()