Home
last modified time | relevance | path

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

123

/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.java145 source.copyTo(out); in testCopyTo_outputStream()
152 source.copyTo(new ByteSink() { in testCopyTo_byteSink()
/external/protobuf/java/src/test/java/com/google/protobuf/
DLiteralByteStringTest.java133 stringUnderTest.copyTo(destination, sourceOffset, destinationOffset, length); in testCopyTo_ByteArrayOffsetLength()
148 stringUnderTest.copyTo(destination, stringUnderTest.size() + 1 - length, in testCopyTo_ByteArrayOffsetLengthErrors()
158 stringUnderTest.copyTo(destination, -1, destinationOffset, length); in testCopyTo_ByteArrayOffsetLengthErrors()
167 stringUnderTest.copyTo(destination, 0, -1, length); in testCopyTo_ByteArrayOffsetLengthErrors()
176 stringUnderTest.copyTo(destination, 0, 0, -1); in testCopyTo_ByteArrayOffsetLengthErrors()
185 stringUnderTest.copyTo(destination, 2 * stringUnderTest.size(), 0, length); in testCopyTo_ByteArrayOffsetLengthErrors()
194 stringUnderTest.copyTo(destination, 0, 2 * destination.length, length); in testCopyTo_ByteArrayOffsetLengthErrors()
204 stringUnderTest.copyTo(myBuffer); in testCopyTo_ByteBuffer()
/external/parameter-framework/parameter/
DAreaConfiguration.cpp61 copyTo(pMainBlackboard, _pConfigurableElement->getOffset()); in restore()
136copyTo(&pToAreaConfiguration->_blackboard, _pConfigurableElement->getOffset() - pToAreaConfigurati… in copyToOuter()
185 void CAreaConfiguration::copyTo(CParameterBlackboard* pToBlackboard, uint32_t uiOffset) const in copyTo() function in CAreaConfiguration
DBitwiseAreaConfiguration.h43 virtual void copyTo(CParameterBlackboard* pToBlackboard, uint32_t uiOffset) const;
DAreaConfiguration.h90 virtual void copyTo(CParameterBlackboard* pToBlackboard, uint32_t uiOffset) const;
/external/skia/samplecode/
DSampleFilter.cpp84 fBM8.copyTo(&fBM4444, kARGB_4444_SkColorType); in FilterView()
85 fBM8.copyTo(&fBM16, kRGB_565_SkColorType); in FilterView()
86 fBM8.copyTo(&fBM32, kN32_SkColorType); in FilterView()
/external/skia/gm/
Dbitmapfilters.cpp81 fBM8.copyTo(&fBM4444, kARGB_4444_SkColorType); in init()
82 fBM8.copyTo(&fBM16, kRGB_565_SkColorType); in init()
83 fBM8.copyTo(&fBM32, kN32_SkColorType); in init()
DcopyTo4444.cpp43 SkAssertResult(bm.copyTo(&bm4444, kARGB_4444_SkColorType)); in onDraw()
Dfilterbitmap.cpp173 fBM.copyTo(&tmp, kGray_8_SkColorType); in makeBitmap()
216 fBM.copyTo(&tmp, kGray_8_SkColorType); in makeBitmap()
/external/guava/guava/src/com/google/common/io/
DFiles.java385 ByteStreams.asByteSource(from).copyTo(asByteSink(to)); in copy()
413 asByteSource(from).copyTo(ByteStreams.asByteSink(to)); in copy()
424 asByteSource(from).copyTo(to); in copy()
443 asByteSource(from).copyTo(asByteSink(to)); in copy()
463 CharStreams.asCharSource(from).copyTo(asCharSink(to, charset)); in copy()
529 asCharSource(from, charset).copyTo(CharStreams.asCharSink(to)); in copy()
544 asCharSource(from, charset).copyTo(to); in copy()
DByteSource.java229 public long copyTo(OutputStream output) throws IOException { in copyTo() method in ByteSource
249 public long copyTo(ByteSink sink) throws IOException { in copyTo() method in ByteSource
312 copyTo(Funnels.asOutputStream(hasher)); in hash()
539 public long copyTo(OutputStream output) throws IOException { in copyTo() method in ByteSource.ByteArrayByteSource
/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/protobuf/java/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/src/main/java/com/google/protobuf/
DRopeByteString.java217 left.copyTo(bytes, 0, 0, leftSize); in concatenateBytes()
218 right.copyTo(bytes, 0, leftSize, rightSize); in concatenateBytes()
374 public void copyTo(ByteBuffer target) { in copyTo() method in RopeByteString
375 left.copyTo(target); in copyTo()
376 right.copyTo(target); in copyTo()
882 currentPiece.copyTo(b, currentPieceIndex, offset, count); in readSkipInternal()
DByteString.java465 public void copyTo(byte[] target, int offset) { in copyTo() method in ByteString
466 copyTo(target, 0, offset, size()); in copyTo()
479 public void copyTo(byte[] target, int sourceOffset, int targetOffset, in copyTo() method in ByteString
520 public abstract void copyTo(ByteBuffer target); in copyTo() method in ByteString
/external/skia/tests/
DBitmapCopyTest.cpp39 REPORTER_ASSERT(reporter, srcPremul.copyTo(&dst, dstColorType)); in test_isOpaque()
46 REPORTER_ASSERT(reporter, srcOpaque.copyTo(&dst, dstColorType)); in test_isOpaque()
235 bool success = subset.copyTo(&copy, gPairs[j].fColorType); in DEF_TEST()
281 bool success = srcPremul.copyTo(&dst, gPairs[j].fColorType); in DEF_TEST()
414 srcReady = src.copyTo(&subset); in DEF_TEST()
/external/jetty/src/java/org/eclipse/jetty/webapp/
DWebInfConfiguration.java465 web_app.copyTo(extractedWebAppDir); in unpack()
480 jar_web_app.copyTo(extractedWebAppDir); in unpack()
493 jar_web_app.copyTo(extractedWebAppDir); in unpack()
536 web_inf_lib.copyTo(webInfLibDir); in unpack()
547 web_inf_classes.copyTo(webInfClassesDir); in unpack()
/external/skia/include/core/
DSkBitmap.h592 bool copyTo(SkBitmap* dst, SkColorType ct, Allocator* = NULL) const;
594 bool copyTo(SkBitmap* dst, Allocator* allocator = NULL) const {
595 return this->copyTo(dst, this->colorType(), allocator);
/external/skia/src/utils/
DSkBitmapHasher.cpp60 if (!bitmap.copyTo(&copyBitmap, kN32_SkColorType)) { in ComputeDigest()
/external/jetty/src/java/org/eclipse/jetty/util/resource/
DBadResource.java126 public void copyTo(File destination) in copyTo() method in BadResource

123