Home
last modified time | relevance | path

Searched refs:toWrite (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DLoggingPrintStreamTest.java174 String toWrite = a + "\n" + b + "\n" + c; in testWriteFlushesOnNewlines() local
175 out.write(toWrite.getBytes()); in testWriteFlushesOnNewlines()
/frameworks/opt/net/voip/src/jni/rtp/
DAudioGroup.cpp881 int toWrite = sampleCount; in threadLoop() local
885 while (--chances > 0 && (toWrite > 0 || toRead > 0)) { in threadLoop()
886 if (toWrite > 0) { in threadLoop()
888 buffer.frameCount = toWrite; in threadLoop()
892 int offset = sampleCount - toWrite; in threadLoop()
894 toWrite -= buffer.frameCount; in threadLoop()
/frameworks/base/libs/androidfw/
DBackupHelpers.cpp685 off64_t toWrite = s.st_size; in write_tarfile() local
686 while (toWrite > 0) { in write_tarfile()
687 size_t toRead = toWrite; in write_tarfile()
698 ALOGE("EOF but expect %lld more bytes in [%s]", (long long) toWrite, in write_tarfile()
714 toWrite -= nRead; in write_tarfile()
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp1866 size_t toWrite = audioBuffer.size; in write() local
1867 memcpy(audioBuffer.i8, buffer, toWrite); in write()
1868 buffer = ((const char *) buffer) + toWrite; in write()
1869 userSize -= toWrite; in write()
1870 written += toWrite; in write()