/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | Target.java | 76 Floaty new32(float a) { in new32() argument 77 return new Floaty(32, new double [] { a }); in new32() 80 Floaty new32(float a, float b) { in new32() argument 81 return new Floaty(32, new double [] { a, b }); in new32() 84 Floaty new32(float a, float b, float c) { in new32() argument 85 return new Floaty(32, new double [] { a, b, c }); in new32() 88 Floaty new32(float a, float b, float c, float d) { in new32() argument 89 return new Floaty(32, new double [] { a, b, c, d }); in new32() 92 Floaty new32(float a, float b, float c, float d, float e) { in new32() argument 93 return new Floaty(32, new double [] { a, b, c, d, e }); in new32() [all …]
|
D | reduction.rs | 20 rs_allocation a; 25 return rsGetElementAt_int4(a, x) + rsGetElementAt_int4(a, x + reduction_stride); 30 rsSetElementAt_int4(a, 31 rsGetElementAt_int4(a, x) + 32 rsGetElementAt_int4(a, x + reduction_stride),
|
D | AtomicTest.rs | 64 void computeReference_Min(rs_allocation a, rs_allocation result) { 65 uint32_t dimX = rsAllocationGetDimX(a); 66 uint32_t dimY = rsAllocationGetDimY(a); 69 int v = rsGetElementAt_int(a, x, y); 76 void computeReference_uMin(rs_allocation a, rs_allocation result) { 77 uint32_t dimX = rsAllocationGetDimX(a); 78 uint32_t dimY = rsAllocationGetDimY(a); 81 uint v = rsGetElementAt_uint(a, x, y); 88 void computeReference_Max(rs_allocation a, rs_allocation result) { 89 uint32_t dimX = rsAllocationGetDimX(a); [all …]
|
D | float16_arithmetic.rs | 7 half a = rsGetElementAt_half(gInput, x); 9 return a + b; 13 half a = rsGetElementAt_half(gInput, x); 15 return a - b; 19 half a = rsGetElementAt_half(gInput, x); 21 return a * b; 25 half a = rsGetElementAt_half(gInput, x); 27 return a / b;
|
D | LaunchClip.java | 97 private void verifyCell(int x, int y, int z, int[] a, Script.LaunchOptions sc) { in verifyCell() argument 129 int val = a[x + y * mDimX + z * mDimX * mDimY]; in verifyCell() 138 void verifyRange(Script.LaunchOptions sc, int[] a) { in verifyRange() argument 145 verifyCell(x, y, z, a, sc); in verifyRange() 162 AllocationAdapter a = AllocationAdapter.createTyped(mRS, base, t); in makeAdapter() local 163 a.setX(ox); in makeAdapter() 165 a.setY(oy); in makeAdapter() 168 a.setZ(oz); in makeAdapter() 174 return a; in makeAdapter() 193 AllocationAdapter a = makeAdapter(mAout, 68, 0, 0, 9, 0, 0); in testWrite1DAdapter1D() local [all …]
|
/cts/tests/tests/renderscript/assets/ |
D | blas_gen.py | 27 def triangularMatrixGen(a, uplo): argument 29 for i in range(1, a.shape[0]): 31 a[i, j] = 0 33 for i in range(0, a.shape[0]-1): 34 for j in range(i+1, a.shape[1]): 35 a[i, j] = 0 38 def symm(a): argument 39 for i in range(1, a.shape[0]): 41 a[i, j] = a[j, i]; 44 def herm(a): argument [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int_lit8/d/ |
D | T_rsub_int_lit8_1.java | 21 public int run(int a) { in run() argument 23 return b-a; in run() 26 public int run1(int a) { in run1() argument 28 return b-a; in run1() 31 public int run2(int a) { in run2() argument 33 return b-a; in run2() 36 public int run3(int a) { in run3() argument 38 return b-a; in run3() 41 public int run4(int a) { in run4() argument 43 return b-a; in run4() [all …]
|
D | T_rsub_int_lit8_2.java | 21 public int run(int a) { in run() argument 23 return b-a; in run() 26 public int run1(int a) { in run1() argument 28 return b-a; in run1() 31 public int run2(int a) { in run2() argument 33 return b-a; in run2()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int/d/ |
D | T_rsub_int_1.java | 21 public int run(int a) { in run() argument 23 return b-a; in run() 26 public int run1(int a) { in run1() argument 28 return b-a; in run1() 31 public int run2(int a) { in run2() argument 33 return b-a; in run2() 36 public int run3(int a) { in run3() argument 38 return b-a; in run3() 41 public int run4(int a) { in run4() argument 43 return b-a; in run4() [all …]
|
D | T_rsub_int_2.java | 21 public int run(int a) { in run() argument 23 return b-a; in run() 26 public int run1(int a) { in run1() argument 28 return b-a; in run1() 31 public int run2(int a) { in run2() argument 33 return b-a; in run2()
|
/cts/suite/cts/deviceTests/simplecpu/jni/ |
D | CpuNativeJni.cpp | 28 #define min(a, b) (a) < (b) ? a : b argument 44 #define SWAPINIT(a, es) swaptype = ((char *)a - (char *)0) % sizeof(long) || \ argument 48 swapfunc(char *a, char *b, int n, int swaptype) in swapfunc() argument 51 swapcode(long, a, b, n) in swapfunc() 53 swapcode(char, a, b, n) in swapfunc() 56 #define swap(a, b) \ argument 58 long t = *(long *)(a); \ 59 *(long *)(a) = *(long *)(b); \ 62 swapfunc(a, b, es, swaptype) 64 #define vecswap(a, b, n) if ((n) > 0) swapfunc(a, b, n, swaptype) argument [all …]
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | ColorBufferTest.java | 48 float a = 1.0f; in test_RGBA_1001() local 49 final float[] vertexColors = getVertexColors(r, g, b, a); in test_RGBA_1001() 51 float[] expectedColor = {r, g, b, a}; in test_RGBA_1001() 66 float a = 1.0f; in test_RGBA_1101() local 67 final float[] vertexColors = getVertexColors(r, g, b, a); in test_RGBA_1101() 68 float[] expectedColor = {r, g, b, a}; in test_RGBA_1101() 84 float a = 1.0f; in test_RGBA_1111() local 85 final float[] vertexColors = getVertexColors(r, g, b, a); in test_RGBA_1111() 87 float[] expectedColor = {r, g, b, a}; in test_RGBA_1111() 103 float a = 1.0f; in test_RGBA_0101() local [all …]
|
D | NativeColorBufferTest.java | 43 float a = 1.0f; in test_RGBA_1001() local 44 final float[] vertexColors = getVertexColors(r, g, b, a); in test_RGBA_1001() 46 float[] expectedColor = {r, g, b, a}; in test_RGBA_1001() 61 float a = 1.0f; in test_RGBA_1101() local 62 final float[] vertexColors = getVertexColors(r, g, b, a); in test_RGBA_1101() 63 float[] expectedColor = {r, g, b, a}; in test_RGBA_1101() 79 float a = 1.0f; in test_RGBA_1111() local 80 final float[] vertexColors = getVertexColors(r, g, b, a); in test_RGBA_1111() 82 float[] expectedColor = {r, g, b, a}; in test_RGBA_1111() 98 float a = 1.0f; in test_RGBA_0101() local [all …]
|
/cts/apps/CameraITS/tests/scene1/ |
D | test_crop_regions.py | 42 a = props['android.sensor.info.activeArraySize'] 43 ax, ay = a["left"], a["top"] 44 aw, ah = a["right"] - a["left"], a["bottom"] - a["top"] 74 a = cap["metadata"]["android.scaler.cropRegion"] 75 ax, ay = a["left"], a["top"] 76 aw, ah = a["right"] - a["left"], a["bottom"] - a["top"]
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/rs/ |
D | BitmapUtils.java | 67 public static double calcDifferenceMetric(Bitmap a, Bitmap b) { in calcDifferenceMetric() argument 68 if (a.getWidth() != b.getWidth() || a.getHeight() != b.getHeight()) { in calcDifferenceMetric() 70 a.getWidth() + "x" + a.getHeight() + ", b=" + b.getWidth() + "x" + in calcDifferenceMetric() 74 int[] aPixels = new int[a.getHeight() * a.getWidth()]; in calcDifferenceMetric() 76 a.getPixels(aPixels, /*offset*/0, /*stride*/a.getWidth(), /*x*/0, /*y*/0, a.getWidth(), in calcDifferenceMetric() 77 a.getHeight()); in calcDifferenceMetric()
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
D | code-load.js | 1507 this.appendChild = function(a) {}; argument 1508 this.createComment = function(a) {}; argument 1510 this.createElement = function(a) { return new MockElement(); }; argument 1512 this.getElementById = function(a) { return 0; }; argument 1513 this.getElementsByTagName = function(a) {return [0];}; argument 1514 this.insertBefore = function(a, b) {}; argument 1515 this.removeChild = function(a) {}; argument 1516 this.setAttribute = function(a, b) {}; argument
|
/cts/suite/audio_quality/test/ |
D | LogTest.cpp | 45 int64_t a = 0; in TEST_F() local 51 printf("printf %lld %lld %lld %lld %lld %lld\n", a, b, c, d, e, f); in TEST_F() 52 LOGD( "logd %lld %lld %lld %lld %lld %lld", a, b, c, d, e, f); in TEST_F() 53 LOGV( "logv %lld %lld %lld %lld %lld %lld", a, b, c, d, e, f); in TEST_F() 54 LOGI( "logi %lld %lld %lld %lld %lld %lld", a, b, c, d, e, f); in TEST_F() 55 LOGW( "logw %lld %lld %lld %lld %lld %lld", a, b, c, d, e, f); in TEST_F() 56 LOGE( "loge %lld %lld %lld %lld %lld %lld", a, b, c, d, e, f); in TEST_F()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/goto_32/d/ |
D | T_goto_32_1.java | 21 public int run(int a) { in run() argument 22 while (a > 0) { in run() 23 a--; in run() 25 return a; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/opc_goto/d/ |
D | T_opc_goto_1.java | 21 public int run(int a) { in run() argument 22 while (a > 0) { in run() 23 a--; in run() 25 return a; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/goto_16/d/ |
D | T_goto_16_1.java | 21 public int run(int a) { in run() argument 22 while (a > 0) { in run() 23 a--; in run() 25 return a; in run()
|
/cts/tools/signature-tools/src/signature/io/html/ |
D | ClassByNameComparator.java | 26 public int compare(IClassDefinitionDelta a, IClassDefinitionDelta b) { in compare() argument 27 assert a.getType() == b.getType(); in compare() 28 if (a.getFrom() != null) { in compare() 29 return a.getFrom().getName().compareTo(b.getFrom().getName()); in compare() 31 return a.getTo().getName().compareTo(b.getTo().getName()); in compare()
|
D | PackageByNameComparator.java | 26 public int compare(IPackageDelta a, IPackageDelta b) { in compare() argument 27 assert a.getType() == b.getType(); in compare() 31 if (a.getFrom() != null) { in compare() 32 aPackage = a.getFrom(); in compare() 35 aPackage = a.getTo(); in compare()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_interface_range/ |
D | ITestImpl.java | 32 public int test(int a) { in test() argument 33 if (a == 999) return 195; in test() 37 public int testArgsOrder(int a, int b) { in testArgsOrder() argument 38 return a / b; in testArgsOrder()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_interface/ |
D | ITestImpl.java | 30 public int test(int a) { in test() argument 31 if (a == 999) return 195; in test() 35 public int testArgsOrder(int a, int b) { in testArgsOrder() argument 36 return a / b; in testArgsOrder()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/ |
D | DspBufferMath.java | 32 static private<T extends DspBufferBase> int estimateOperandsType(T a, T b) { in estimateOperandsType() argument 33 if (a instanceof DspBufferComplex) { in estimateOperandsType() 39 } else if (a instanceof DspBufferDouble) { in estimateOperandsType() 54 static public <T extends DspBufferBase> int add(T r, T a, T b) { in add() argument 55 int size = Math.min(a.getSize(), b.getSize()); in add() 58 T x = a; in add() 60 int opType = estimateOperandsType(a, b); in add() 63 if (a instanceof DspBufferDouble) { in add() 65 y = a; in add() 126 static public <T extends DspBufferBase> int mult(T r, T a, T b) { in mult() argument [all …]
|