/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/ |
D | TensorTest.java | 61 boolean[] actual = t.copyTo(new boolean[bools_.length]); in createWithByteBuffer() 80 assertArrayEquals(doubles, t.copyTo(actual), EPSILON); in createWithByteBuffer() 107 assertArrayEquals(doubles, t.copyTo(actual), EPSILON); in createFromBufferWithNonNativeByteOrder() 123 assertArrayEquals(doubles, t.copyTo(actual), EPSILON); in createWithTypedBuffer() 127 assertArrayEquals(floats, t.copyTo(actual), EPSILON_F); in createWithTypedBuffer() 131 assertArrayEquals(ints, t.copyTo(actual)); in createWithTypedBuffer() 135 assertArrayEquals(longs, t.copyTo(actual)); in createWithTypedBuffer() 353 assertArrayEquals(vector, t.copyTo(got), EPSILON); in nDimensional() 363 assertArrayEquals(matrix, t.copyTo(got)); in nDimensional() 375 assertArrayEquals(threeD, t.copyTo(got)); in nDimensional() [all …]
|
D | SessionTest.java | 41 assertArrayEquals(expected, outputs.get(0).copyTo(new int[1][1])); in runUsingOperationNames() 58 assertArrayEquals(expected, outputs.get(0).copyTo(new int[1][1])); in runUsingOperationHandles() 82 assertArrayEquals(expected, fetched.copyTo(new int[2])); in runUsingColonSeparatedNames() 95 assertArrayEquals(expected, fetched.copyTo(new int[4])); in runUsingColonSeparatedNames() 116 assertArrayEquals(expected, outputs.get(0).copyTo(new int[1][1])); in runWithMetadata()
|
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/ |
D | TensorTest.java | 75 tensor.copyTo(parsedOutputs); in testCopyTo() 84 tensor.copyTo(null); in testCopyToNull() 95 tensor.copyTo(parsedOutput); in testCopyToByteBuffer() 108 tensor.copyTo(parsedOutput); in testCopyToInvalidByteBuffer() 119 tensor.copyTo(parsedOutputs); in testCopyToWrongType() 134 tensor.copyTo(parsedOutputs); in testCopyToWrongShape() 154 tensor.copyTo(output); in testSetTo() 159 tensor.copyTo(output); in testSetTo()
|
/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/op/core/ |
D | ZerosTest.java | 44 int[][] actual = result.expect(Integer.class).copyTo(new int[(int)shape[0]][(int)shape[1]]); in createIntZeros() 62 … float[][] actual = result.expect(Float.class).copyTo(new float[(int)shape[0]][(int)shape[1]]); in createFloatZeros() 80 … double[][] actual = result.expect(Double.class).copyTo(new double[(int)shape[0]][(int)shape[1]]); in createDoubleZeros() 98 long[][] actual = result.expect(Long.class).copyTo(new long[(int)shape[0]][(int)shape[1]]); in createLongZeros() 116 …boolean[][] actual = result.expect(Boolean.class).copyTo(new boolean[(int)shape[0]][(int)shape[1]]… in createBooleanZeros() 134 byte[][] actual = result.expect(UInt8.class).copyTo(new byte[(int)shape[0]][(int)shape[1]]); in createUInt8Zeros() 135 result.copyTo(actual); in createUInt8Zeros()
|
D | ConstantTest.java | 68 assertArrayEquals(ints, result.expect(Integer.class).copyTo(actual)); in createIntBuffer() 98 assertArrayEquals(floats, result.expect(Float.class).copyTo(actual), EPSILON); in createFloatBuffer() 128 assertArrayEquals(doubles, result.expect(Double.class).copyTo(actual), EPSILON); in createDoubleBuffer() 158 assertArrayEquals(longs, result.expect(Long.class).copyTo(actual)); in createLongBuffer()
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | CharSourceTest.java | 88 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()
|
D | ByteSourceTest.java | 98 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()
|
D | ByteSinkTest.java | 86 failSource.copyTo(okSink); in testClosesOnErrors_copyingFromByteSourceThatThrows() 99 new TestByteSource(new byte[10]).copyTo(failSink); in testClosesOnErrors_whenWriteThrows()
|
D | CharSinkTest.java | 98 failSource.copyTo(okSink); in testClosesOnErrors_copyingFromCharSourceThatThrows() 112 new TestCharSource(STRING).copyTo(failSink); in testClosesOnErrors_whenWriteThrows()
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | NioByteStringTest.java | 129 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 …]
|
D | LiteralByteStringTest.java | 135 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/ |
D | AreaConfiguration.cpp | 63 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
|
/external/swiftshader/src/Vulkan/ |
D | VkBuffer.cpp | 80 void Buffer::copyTo(void* dstMemory, VkDeviceSize pSize, VkDeviceSize pOffset) const in copyTo() function in vk::Buffer 87 void Buffer::copyTo(Buffer* dstBuffer, const VkBufferCopy& pRegion) const in copyTo() function in vk::Buffer 89 copyTo(dstBuffer->getOffsetPointer(pRegion.dstOffset), pRegion.size, pRegion.srcOffset); in copyTo()
|
D | VkBuffer.hpp | 35 void copyTo(void* dstMemory, VkDeviceSize size, VkDeviceSize offset) const; 36 void copyTo(Buffer* dstBuffer, const VkBufferCopy& pRegion) const;
|
D | VkImage.hpp | 43 void copyTo(VkImage dstImage, const VkImageCopy& pRegion); 44 void copyTo(VkBuffer dstBuffer, const VkBufferImageCopy& region);
|
/external/libxcam/modules/ocl/ |
D | cv_feature_match.cpp | 137 image0.copyTo (umat (cv::Rect(0, 0, img0_size.width, img0_size.height))); in calc_of_match() 138 image1.copyTo (umat (cv::Rect(img0_size.width, 0, img1_size.width, img1_size.height))); in calc_of_match() 139 umat.copyTo (debug_img); in calc_of_match() 144 image0.copyTo (mat (cv::Rect(0, 0, img0_size.width, img0_size.height))); in calc_of_match() 145 image1.copyTo (mat (cv::Rect(img0_size.width, 0, img1_size.width, img1_size.height))); in calc_of_match() 146 mat.copyTo (debug_img); in calc_of_match()
|
/external/okhttp/okio/okio/src/test/java/okio/ |
D | BufferTest.java | 238 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonMCShuffler.cpp | 81 void HexagonMCShuffler::copyTo(MCInst &MCB) { in copyTo() function in HexagonMCShuffler 99 copyTo(MCB); in reshuffleTo() 164 MCS.copyTo(MCB); in HexagonMCShuffle()
|
/external/skqp/src/android/ |
D | SkAnimatedImage.cpp | 128 bool SkAnimatedImage::Frame::copyTo(Frame* dst) const { in copyTo() function in SkAnimatedImage::Frame 260 fDecodingFrame.copyTo(&fRestoreFrame); in decodeNextFrame() 264 if (!fDisplayFrame.copyTo(&fDecodingFrame)) { in decodeNextFrame() 273 } else if (!fRestoreFrame.copyTo(&fDecodingFrame)) { in decodeNextFrame()
|
/external/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonMCShuffler.cpp | 77 void HexagonMCShuffler::copyTo(MCInst &MCB) { in copyTo() function in HexagonMCShuffler 94 copyTo(MCB); in reshuffleTo() 182 MCS.copyTo(MCB); in HexagonMCShuffle()
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | RopeByteString.java | 223 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()
|
D | ByteString.java | 579 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/skia/src/android/ |
D | SkAnimatedImage.cpp | 138 bool SkAnimatedImage::Frame::copyTo(Frame* dst) const { in copyTo() function in SkAnimatedImage::Frame 270 fDecodingFrame.copyTo(&fRestoreFrame); in decodeNextFrame() 274 if (!fDisplayFrame.copyTo(&fDecodingFrame)) { in decodeNextFrame() 283 } else if (!fRestoreFrame.copyTo(&fDecodingFrame)) { in decodeNextFrame()
|
/external/protobuf/javamicro/src/main/java/com/google/protobuf/micro/ |
D | ByteStringMicro.java | 126 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/guava/guava/src/com/google/common/io/ |
D | ByteSource.java | 214 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
|