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()
876 int toWrite = sampleCount; in threadLoop() local880 while (--chances > 0 && (toWrite > 0 || toRead > 0)) { in threadLoop()881 if (toWrite > 0) { in threadLoop()883 buffer.frameCount = toWrite; in threadLoop()887 int offset = sampleCount - toWrite; in threadLoop()889 toWrite -= buffer.frameCount; in threadLoop()
1413 size_t toWrite; in write() local1416 toWrite = audioBuffer.size >> 1; in write()1417 memcpy_to_i16_from_u8(audioBuffer.i16, (const uint8_t *) buffer, toWrite); in write()1419 toWrite = audioBuffer.size; in write()1420 memcpy(audioBuffer.i8, buffer, toWrite); in write()1422 buffer = ((const char *) buffer) + toWrite; in write()1423 userSize -= toWrite; in write()1424 written += toWrite; in write()
682 off64_t toWrite = s.st_size; in write_tarfile() local683 while (toWrite > 0) { in write_tarfile()684 size_t toRead = toWrite; in write_tarfile()695 ALOGE("EOF but expect %lld more bytes in [%s]", (long long) toWrite, in write_tarfile()711 toWrite -= nRead; in write_tarfile()