Home
last modified time | relevance | path

Searched refs:transferTo (Results 1 – 13 of 13) sorted by relevance

/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DJimfsFileChannelTest.java194 assertEquals(10, channel.transferTo(0, 100, writeChannel)); in testTransferTo()
264 channel.transferTo(0, 10, new ByteBufferChannel(10)); in testFileTimeUpdates()
416 channel.transferTo(0, 10, new ByteBufferChannel(buffer("111"))); in testClose()
500 channel.transferTo(0, 10, new ByteBufferChannel(buffer("111"))); in testReadsInWriteOnlyMode()
587 channel.transferTo(-1, 0, new ByteBufferChannel(10)); in testTransferToNegative()
593 channel.transferTo(0, -1, new ByteBufferChannel(10)); in testTransferToNegative()
881 channel.transferTo(0, 10, new ByteBufferChannel(buffer)); in queueAllBlockingOperations()
985 channel.transferTo(0, 1, channel(regularFile(10), READ, WRITE)); in testInterruptedThreads()
DRegularFileTest.java385 assertEquals(0, file.transferTo(0, 100, channel)); in testEmpty_transferTo()
714 assertEquals(6, file.transferTo(0, 6, channel)); in testNonEmpty_transferTo_fromStart_countEqualsSize()
721 assertEquals(4, file.transferTo(0, 4, channel)); in testNonEmpty_transferTo_fromStart_countLessThanSize()
728 assertEquals(2, file.transferTo(4, 6, channel)); in testNonEmpty_transferTo_fromMiddle_countEqualsSize()
735 assertEquals(4, file.transferTo(3, 4, channel)); in testNonEmpty_transferTo_fromMiddle_countLessThanSize()
/external/okio/samples/src/jvmMain/java/okio/samples/
DFileChannelSource.java46 long read = channel.transferTo(position, byteCount, sink); in read()
/external/llvm-project/llvm/unittests/ExecutionEngine/Orc/
DResourceTrackerTest.cpp316 BarRT->transferTo(*FooRT); in TEST_F()
374 BarRT->transferTo(*FooRT); in TEST_F()
426 FooRT->transferTo(*BarRT); in TEST_F()
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DJimfsFileChannel.java499 public long transferTo(long position, long count, WritableByteChannel target) throws IOException { in transferTo() method in JimfsFileChannel
516 transferred = file.transferTo(position, count, target); in transferTo()
DRegularFile.java559 public long transferTo(long pos, long count, WritableByteChannel dest) throws IOException { in transferTo() method in RegularFile
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/
DMediaDataBox.java92 offset += from.transferTo(position + offset, Math.min(maxCount, count - offset), to); in transfer()
/external/llvm-project/clang/lib/Tooling/
DInterpolatingCompilationDatabase.cpp207 CompileCommand transferTo(StringRef Filename) const { in transferTo() function
524 return {TransferableCommand(ProxyCommands[0]).transferTo(Filename)}; in getCompileCommands()
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/
DOrcV2CBindings.cpp223 TmpRT->transferTo(*unwrap(DstRT)); in LLVMOrcResourceTrackerTransferTo()
DCore.cpp54 void ResourceTracker::transferTo(ResourceTracker &DstRT) { in transferTo() function in llvm::orc::ResourceTracker
/external/guava/android/guava/src/com/google/common/io/
DByteStreams.java138 copied = sourceChannel.transferTo(position, ZERO_COPY_CHUNK_SIZE, to); in copy()
/external/guava/guava/src/com/google/common/io/
DByteStreams.java138 copied = sourceChannel.transferTo(position, ZERO_COPY_CHUNK_SIZE, to); in copy()
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
DCore.h74 void transferTo(ResourceTracker &DstRT);