Home
last modified time | relevance | path

Searched refs:copyTo (Results 1 – 25 of 45) sorted by relevance

12

/external/guava/guava-tests/test/com/google/common/io/
DCharSourceTest.java88 assertEquals(STRING.length(), source.copyTo(builder)); in testCopyTo_appendable()
99 assertEquals(STRING.length(), source.copyTo(sink)); in testCopyTo_charSink()
166 source.copyTo(writer); in testCopyToAppendable_doesNotCloseIfWriter()
174 okSource.copyTo(new TestCharSink(option)); in testClosesOnErrors_copyingToCharSinkThatThrows()
188 failSource.copyTo(new TestCharSink()); in testClosesOnErrors_whenReadThrows()
198 okSource.copyTo(new TestWriter(WRITE_THROWS)); in testClosesOnErrors_copyingToWriterThatThrows()
321 in.copyTo(out); in runFailureTest()
332 in.copyTo(out); in runSuppressionFailureTest()
DByteSourceTest.java98 assertEquals(bytes.length, source.copyTo(out)); in testCopyTo_outputStream()
109 assertEquals(bytes.length, source.copyTo(sink)); in testCopyTo_byteSink()
241 source.copyTo(out); in testCopyToStream_doesNotCloseThatStream()
249 okSource.copyTo(new TestByteSink(option)); in testClosesOnErrors_copyingToByteSinkThatThrows()
263 failSource.copyTo(new TestByteSink()); in testClosesOnErrors_whenReadThrows()
274 okSource.copyTo(out); in testClosesOnErrors_copyingToOutputStreamThatThrows()
397 in.copyTo(out); in runFailureTest()
408 in.copyTo(out); in runSuppressionFailureTest()
DByteSinkTest.java86 failSource.copyTo(okSink); in testClosesOnErrors_copyingFromByteSourceThatThrows()
99 new TestByteSource(new byte[10]).copyTo(failSink); in testClosesOnErrors_whenWriteThrows()
DCharSinkTest.java98 failSource.copyTo(okSink); in testClosesOnErrors_copyingFromCharSourceThatThrows()
112 new TestCharSource(STRING).copyTo(failSink); in testClosesOnErrors_whenWriteThrows()
DCharSourceTester.java111 assertEquals(expected.length(), source.copyTo(builder)); in testCopyTo_appendable()
119 assertEquals(expected.length(), source.copyTo(sink)); in testCopyTo_charSink()
DByteSourceTester.java135 source.copyTo(out); in testCopyTo_outputStream()
142 source.copyTo(new ByteSink() { in testCopyTo_byteSink()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DNioByteStringTest.java129 testString.copyTo(destination, sourceOffset, destinationOffset, length); in testCopyTo_ByteArrayOffsetLength()
144 testString.copyTo(destination, testString.size() + 1 - length, in testCopyTo_ByteArrayOffsetLengthErrors()
154 testString.copyTo(destination, -1, destinationOffset, length); in testCopyTo_ByteArrayOffsetLengthErrors()
163 testString.copyTo(destination, 0, -1, length); in testCopyTo_ByteArrayOffsetLengthErrors()
172 testString.copyTo(destination, 0, 0, -1); in testCopyTo_ByteArrayOffsetLengthErrors()
181 testString.copyTo(destination, 2 * testString.size(), 0, length); in testCopyTo_ByteArrayOffsetLengthErrors()
190 testString.copyTo(destination, 0, 2 * destination.length, length); in testCopyTo_ByteArrayOffsetLengthErrors()
201 testString.copyTo(myBuffer); in testCopyTo_ByteBuffer()
208 testString.copyTo(myBuffer); in testCopyTo_ByteBuffer()
215 testString.copyTo(myBuffer); in testCopyTo_ByteBuffer()
[all …]
DLiteralByteStringTest.java135 stringUnderTest.copyTo(destination, sourceOffset, destinationOffset, length); in testCopyTo_ByteArrayOffsetLength()
150 stringUnderTest.copyTo(destination, stringUnderTest.size() + 1 - length, in testCopyTo_ByteArrayOffsetLengthErrors()
160 stringUnderTest.copyTo(destination, -1, destinationOffset, length); in testCopyTo_ByteArrayOffsetLengthErrors()
169 stringUnderTest.copyTo(destination, 0, -1, length); in testCopyTo_ByteArrayOffsetLengthErrors()
178 stringUnderTest.copyTo(destination, 0, 0, -1); in testCopyTo_ByteArrayOffsetLengthErrors()
187 stringUnderTest.copyTo(destination, 2 * stringUnderTest.size(), 0, length); in testCopyTo_ByteArrayOffsetLengthErrors()
196 stringUnderTest.copyTo(destination, 0, 2 * destination.length, length); in testCopyTo_ByteArrayOffsetLengthErrors()
206 stringUnderTest.copyTo(myBuffer); in testCopyTo_ByteBuffer()
/external/parameter-framework/upstream/parameter/
DAreaConfiguration.cpp63 copyTo(pMainBlackboard, _pConfigurableElement->getOffset()); in restore()
141 copyTo(&pToAreaConfiguration->_blackboard, in copyToOuter()
175 void CAreaConfiguration::copyTo(CParameterBlackboard *pToBlackboard, size_t offset) const in copyTo() function in CAreaConfiguration
DBitwiseAreaConfiguration.h44 virtual void copyTo(CParameterBlackboard *pToBlackboard, size_t offset) const;
DBitwiseAreaConfiguration.cpp44 void CBitwiseAreaConfiguration::copyTo(CParameterBlackboard *pToBlackboard, size_t offset) const in copyTo() function in CBitwiseAreaConfiguration
DAreaConfiguration.h92 virtual void copyTo(CParameterBlackboard *pToBlackboard, size_t offset) const;
/external/okhttp/okio/okio/src/test/java/okio/
DBufferTest.java238 source.copyTo(out, 10, Segment.SIZE * 3); in copyToSpanningSegments()
249 buffer.copyTo(out); in copyToStream()
513 @Test public void copyTo() throws Exception { in copyTo() method in BufferTest
518 source.copyTo(target, 1, 3); in copyTo()
538 source.copyTo(target, as.length(), bs.length() + cs.length()); in copyToOnSegmentBoundary()
556 source.copyTo(target, as.length(), bs.length() + cs.length()); in copyToOffSegmentBoundary()
568 source.copyTo(source, 0, source.size()); in copyToSourceAndTargetCanBeTheSame()
575 source.copyTo(target, 0L, 0L); in copyToEmptySource()
583 source.copyTo(target, 0L, 3L); in copyToEmptyTarget()
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCShuffler.cpp77 void HexagonMCShuffler::copyTo(MCInst &MCB) { in copyTo() function in HexagonMCShuffler
94 copyTo(MCB); in reshuffleTo()
182 MCS.copyTo(MCB); in HexagonMCShuffle()
DHexagonMCShuffler.h43 void copyTo(MCInst &MCB);
/external/protobuf/javamicro/src/main/java/com/google/protobuf/micro/
DByteStringMicro.java126 public void copyTo(final byte[] target, final int offset) { in copyTo() method in ByteStringMicro
138 public void copyTo(final byte[] target, final int sourceOffset, in copyTo() method in ByteStringMicro
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DRopeByteString.java223 left.copyTo(bytes, 0, 0, leftSize); in concatenateBytes()
224 right.copyTo(bytes, 0, leftSize, rightSize); in concatenateBytes()
359 public void copyTo(ByteBuffer target) { in copyTo() method in RopeByteString
360 left.copyTo(target); in copyTo()
361 right.copyTo(target); in copyTo()
821 currentPiece.copyTo(b, currentPieceIndex, offset, count); in readSkipInternal()
DByteString.java579 public void copyTo(byte[] target, int offset) { in copyTo() method
580 copyTo(target, 0, offset, size()); in copyTo()
593 public final void copyTo(byte[] target, int sourceOffset, int targetOffset, in copyTo() method
619 public abstract void copyTo(ByteBuffer target); in copyTo() method
1296 public final void copyTo(ByteBuffer target) { in copyTo() method in LiteralByteString
/external/guava/guava/src/com/google/common/io/
DByteSource.java214 public long copyTo(OutputStream output) throws IOException { in copyTo() method in ByteSource
234 public long copyTo(ByteSink sink) throws IOException { in copyTo() method in ByteSource
297 copyTo(Funnels.asOutputStream(hasher)); in hash()
524 public long copyTo(OutputStream output) throws IOException { in copyTo() method in ByteSource.ByteArrayByteSource
DCharSource.java104 public long copyTo(Appendable appendable) throws IOException { in copyTo() method in CharSource
124 public long copyTo(CharSink sink) throws IOException { in copyTo() method in CharSource
DFiles.java286 asByteSource(from).copyTo(to); in copy()
305 asByteSource(from).copyTo(asByteSink(to)); in copy()
366 asCharSource(from, charset).copyTo(to); in copy()
/external/compiler-rt/lib/scudo/
Dscudo_allocator.h43 void copyTo(Flags *f, CommonFlags *cf) const;
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DRetryableSink.java77 content.copyTo(buffer, 0, content.size()); in writeToSocket()
/external/guava/guava/src/com/google/common/collect/
DMinMaxPriorityQueue.java878 Object[] copyTo = new Object[size]; in toArray() local
879 System.arraycopy(queue, 0, copyTo, 0, size); in toArray()
880 return copyTo; in toArray()
/external/caliper/caliper/src/main/java/com/google/caliper/config/
DCaliperConfigLoader.java92 supplier.copyTo(Files.asByteSink(rcFile)); in tryCopyIfNeeded()

12