Searched refs:bytesToWrite (Results 1 – 2 of 2) sorted by relevance
73 int bytesToWrite = Math.min(size, DATA_CHUNK_SIZE); in createFile() local74 bos.write(bytes, 0, bytesToWrite); in createFile()75 size -= bytesToWrite; in createFile()
510 int bytesToWrite = numBytes; in writeBlock() local512 if (bytesToWrite > bytesLeft) { in writeBlock()513 bytesToWrite = bytesLeft; in writeBlock()515 if (bytesToWrite > 0) { in writeBlock()516 result = mTrack.write(mData, mOffset, bytesToWrite); in writeBlock()