/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | set_object.rs | 10 rs_allocation dst; 11 rsSetObject(&dst,in->allocation); 12 *out = ( dst.p == in->allocation.p ? 1 : 0 ); 21 rs_element dst; 22 rsSetObject(&dst,in->element); 23 *out = ( dst.p == in->element.p ? 1 : 0 ); 32 rs_sampler dst; 33 rsSetObject(&dst,in->sampler); 34 *out = ( dst.p == in->sampler.p ? 1 : 0 ); 43 rs_script dst; [all …]
|
D | AllocationTest.java | 291 float src[], dst[]; in helperFloatCopy() local 293 dst = new float[nElems]; in helperFloatCopy() 296 dst[offset + i] = -1.0f; in helperFloatCopy() 305 A.copyTo(dst); in helperFloatCopy() 308 assertEquals(dst[offset + i], src[i]); in helperFloatCopy() 315 byte src[], dst[]; in helperByteCopy() 317 dst = new byte[nElems]; in helperByteCopy() 320 dst[offset + i] = -1; in helperByteCopy() 329 A.copyTo(dst); in helperByteCopy() 332 assertEquals(dst[offset + i], src[i]); in helperByteCopy() [all …]
|
/cts/suite/cts/deviceTests/dram/jni/ |
D | MemoryNativeJni.cpp | 33 char* dst = new char[bufferSize]; in Java_com_android_cts_dram_MemoryNative_runMemcpy() local 34 if ((src == NULL) || (dst == NULL)) { in Java_com_android_cts_dram_MemoryNative_runMemcpy() 36 delete[] dst; in Java_com_android_cts_dram_MemoryNative_runMemcpy() 41 memset(dst, 0, bufferSize); in Java_com_android_cts_dram_MemoryNative_runMemcpy() 44 memcpy(dst, src, bufferSize); in Java_com_android_cts_dram_MemoryNative_runMemcpy() 49 delete[] dst; in Java_com_android_cts_dram_MemoryNative_runMemcpy() 56 char* dst = new char[bufferSize]; in Java_com_android_cts_dram_MemoryNative_runMemset() local 57 if (dst == NULL) { in Java_com_android_cts_dram_MemoryNative_runMemset() 58 delete[] dst; in Java_com_android_cts_dram_MemoryNative_runMemset() 62 memset(dst, 0, bufferSize); in Java_com_android_cts_dram_MemoryNative_runMemset() [all …]
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | MatrixTest.java | 321 float[] dst = new float[9]; in testSetPolyToPoly() local 322 dst[0] = 200f; in testSetPolyToPoly() 323 dst[1] = 300f; in testSetPolyToPoly() 324 assertTrue(mMatrix.setPolyToPoly(src, 0, dst, 0, 1)); in testSetPolyToPoly() 328 mMatrix.setPolyToPoly(src, 0, dst, 0, 5); in testSetPolyToPoly() 347 float[] dst = new float[9]; in testMapPoints2() local 348 dst[0] = 100f; in testMapPoints2() 351 mMatrix.mapPoints(dst, src); in testMapPoints2() 352 assertEquals(dst[0], 200f); in testMapPoints2() 361 float[] dst = new float[9]; in testMapPoints3() local [all …]
|
D | PaintFlagsDrawFilterTest.java | 130 Bitmap dst = Bitmap.createBitmap(kWidth * kScale, kHeight * kScale, Config.ARGB_8888); in testPaintFlagsDrawFilter2() local 131 Canvas canvas = new Canvas(dst); in testPaintFlagsDrawFilter2() 138 assertContainsOnlyBlackAndWhite(dst); in testPaintFlagsDrawFilter2() 144 assertContainsNonBW(dst); in testPaintFlagsDrawFilter2() 152 assertContainsOnlyBlackAndWhite(dst); in testPaintFlagsDrawFilter2() 159 assertContainsNonBW(dst); in testPaintFlagsDrawFilter2()
|
D | PathMeasureTest.java | 113 Path dst = new Path(); in testGetSegment() local 114 assertTrue(mPathMeasure.getSegment(0, mPathMeasure.getLength(), dst, true)); in testGetSegment() 115 assertFalse(mPathMeasure.getSegment(mPathMeasure.getLength(), 0, dst, true)); in testGetSegment() local
|
D | PathTest.java | 109 Path dst = new Path(); in testTransform1() local 111 path.transform(new Matrix(), dst); in testTransform1() 112 assertFalse(dst.isEmpty()); in testTransform1() 329 Path dst = new Path(); in testOffset1() local 330 path.offset(XCOORD, YCOORD, dst); in testOffset1() 331 assertFalse(dst.isEmpty()); in testOffset1()
|
D | YuvImageTest.java | 220 Bitmap dst = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in generateTestBitmaps() local 221 Canvas c = new Canvas(dst); in generateTestBitmaps() 227 mTestBitmaps[0] = dst; in generateTestBitmaps()
|
D | RegionTest.java | 1483 Region dst = new Region(); in testTranslate2() local 1487 mRegion.translate(10, 10, dst); in testTranslate2() 1490 assertNotSame(rect1, dst.getBounds()); in testTranslate2() 1491 assertEquals(rect2, dst.getBounds()); in testTranslate2() 1510 Region dst = Region.CREATOR.createFromParcel(p); in testWriteToParcel() local 1511 assertEquals(oriRect.top, dst.getBounds().top); in testWriteToParcel() 1512 assertEquals(oriRect.left, dst.getBounds().left); in testWriteToParcel() 1513 assertEquals(oriRect.bottom, dst.getBounds().bottom); in testWriteToParcel() 1514 assertEquals(oriRect.right, dst.getBounds().right); in testWriteToParcel()
|
D | CanvasTest.java | 1900 final RectF dst = new RectF(0, 0, 10, 31); in testDrawPicture2() local 1904 mCanvas.drawPicture(p, dst); in testDrawPicture2() 1907 mCanvas.drawPicture(p, dst); in testDrawPicture2() 1911 final Rect dst = new Rect(0, 10, 30, 0); in testDrawPicture3() local 1915 mCanvas.drawPicture(p, dst); in testDrawPicture3() 1918 mCanvas.drawPicture(p, dst); in testDrawPicture3()
|
D | BitmapRegionDecoderTest.java | 348 Rect dst = new Rect(0, 0, rect.width(), rect.height()); in cropBitmap() local 349 canvas.drawBitmap(wholeImage, rect, dst, null); in cropBitmap()
|
/cts/apps/CtsVerifier/libs/ |
D | opencv-android.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/opencv/
org/ ... |
/cts/tests/tests/rscpp/librscpptest/ |
D | rs_jni_allocation.cpp | 164 T* dst = new T[arrLen]; in helperCopy1D() local 168 dst[iOffset + i] = (T)(-1); in helperCopy1D() 176 alloc->copy1DTo(dst); in helperCopy1D() 179 if (dst[iOffset + i] != src[i]) { in helperCopy1D() 186 delete[] dst; in helperCopy1D() 197 float *src, *dst; in helperFloatAllocationCopy1D() local 199 dst = new float[cellCount]; in helperFloatAllocationCopy1D() 202 dst[i] = -1.0f; in helperFloatAllocationCopy1D() 209 dstA->copy1DTo(dst); in helperFloatAllocationCopy1D() 212 if (dst[offset + i] != src[offset + i]) { in helperFloatAllocationCopy1D() [all …]
|
/cts/tools/dex-tools/src/dex/reader/ |
D | DexBuffer.java | 71 public void readBytes(byte[] dst) { in readBytes() argument 72 b.get(dst, 0, dst.length); in readBytes()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | Vp8CodecTestBase.java | 365 byte[] dst = new byte[width * height * 3 / 2]; in PackYUV420() 368 System.arraycopy(src, i * stride, dst, i * width, width); in PackYUV420() 377 dst, u_dst_offset + i * (width / 2), width / 2); in PackYUV420() 379 dst, v_dst_offset + i * (width / 2), width / 2); in PackYUV420() 381 return dst; in PackYUV420() 386 byte[] dst, int dstByteOffset, int dstWidth, int dstHeight) { in imageUpscale1To2() argument 397 dst[dstOffset0++] = (byte)pixel00; in imageUpscale1To2() 398 dst[dstOffset0++] = (byte)((pixel00 + pixel01 + 1) / 2); in imageUpscale1To2() 399 dst[dstOffset1++] = (byte)((pixel00 + pixel10 + 1) / 2); in imageUpscale1To2() 400 dst[dstOffset1++] = (byte)((pixel00 + pixel01 + pixel10 + pixel11 + 2) / 4); in imageUpscale1To2() [all …]
|
D | NativeDecoderTest.java | 350 static void addSampleData(ArrayList<Integer> dst, in addSampleData() argument 353 Log.i("@@@", "addsample " + dst.size() + "/" + size); in addSampleData() 364 dst.add( (int) (sum & 0xffffffff)); in addSampleData()
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
D | BurstCaptureRawTest.java | 618 private void copyBurstRequetBuilder(CaptureRequest.Builder dst, CaptureRequest.Builder src) in copyBurstRequetBuilder() argument 620 dst.set(CaptureRequest.CONTROL_AE_MODE, src.get(CaptureRequest.CONTROL_AE_MODE)); in copyBurstRequetBuilder() 621 dst.set(CaptureRequest.CONTROL_AWB_MODE, src.get(CaptureRequest.CONTROL_AWB_MODE)); in copyBurstRequetBuilder() 622 dst.set(CaptureRequest.NOISE_REDUCTION_MODE, src.get(CaptureRequest.NOISE_REDUCTION_MODE)); in copyBurstRequetBuilder() 623 dst.set(CaptureRequest.EDGE_MODE, src.get(CaptureRequest.EDGE_MODE)); in copyBurstRequetBuilder() 624 dst.set(CaptureRequest.SENSOR_FRAME_DURATION, in copyBurstRequetBuilder() 626 dst.set(CaptureRequest.SENSOR_EXPOSURE_TIME, src.get(CaptureRequest.SENSOR_EXPOSURE_TIME)); in copyBurstRequetBuilder() 627 dst.set(CaptureRequest.SENSOR_SENSITIVITY, src.get(CaptureRequest.SENSOR_SENSITIVITY)); in copyBurstRequetBuilder()
|
D | CameraTestUtils.java | 1574 public static void imageCopy(Image src, Image dst) { in imageCopy() argument 1575 if (src == null || dst == null) { in imageCopy() 1578 if (src.getFormat() != dst.getFormat()) { in imageCopy() 1582 dst.getFormat() == ImageFormat.PRIVATE) { in imageCopy() 1590 Plane[] dstPlanes = dst.getPlanes(); in imageCopy()
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
D | deltablue.js | 838 var src = null, dst = null; 843 dst = new Variable("dst" + i, i); 844 dests.add(dst); 846 new ScaleConstraint(src, scale, offset, dst, Strength.REQUIRED); 850 if (dst.value != 1170) alert("Projection 1 failed"); 851 change(dst, 1050);
|
D | raytrace.js | 430 var dst = Flog.RayTracer.Vector.prototype.subtract(ray.position, this.position); 432 var B = dst.dot(ray.direction); 433 var C = dst.dot(dst) - (this.radius * this.radius);
|
/cts/libs/commonutil/src/com/android/cts/util/ |
D | ReportLog.java | 202 public static void copyArray(double[] src, double[] dst, int dstOffset) { in copyArray() argument 204 dst[dstOffset + i] = src[i]; in copyArray()
|
/cts/tests/tests/net/jni/ |
D | NativeMultinetworkJni.c | 93 void sockaddr_ntop(const struct sockaddr *sa, socklen_t salen, char *dst, const size_t size) { in sockaddr_ntop() argument 110 strlcpy(dst, buf, size); in sockaddr_ntop()
|
/cts/tests/tests/media/libmediandkjni/ |
D | native-media-jni.cpp | 137 jint *dst = env->GetIntArrayElements(ret, &isCopy); in testExtractor() local 139 dst[i] = data[i]; in testExtractor() 141 env->ReleaseIntArrayElements(ret, dst, 0); in testExtractor() 346 jint *dst = org; in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative() local 352 *dst++ = data[j]; in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
|