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()
513 int bytesToWrite = numBytes; in writeBlock() local515 if (bytesToWrite > bytesLeft) { in writeBlock()516 bytesToWrite = bytesLeft; in writeBlock()518 if (bytesToWrite > 0) { in writeBlock()519 result = mTrack.write(mData, mOffset, bytesToWrite); in writeBlock()