Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 25 of 50) sorted by relevance

12

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DGetSetTest.java86 int tmp[] = new int[tw]; in createWalk() local
105 tmp[i++] = x; in createWalk()
109 walkAlloc.copy1DRangeFrom(0, tw, tmp); in createWalk()
294 byte tmp[] = randomByteArray(gCount); in testGetSet_char()
298 verify(tmp, tmp2, out1DAlloc, "Data mismatch char: ", 1); in testGetSet_char()
300 verify(tmp, tmp2, out1DAlloc, "Data mismatch relaxed char: ", 1); in testGetSet_char()
303 verify(tmp, tmp2, out2DAlloc, "Data mismatch char: ", 1); in testGetSet_char()
305 verify(tmp, tmp2, out2DAlloc, "Data mismatch relaxed char: ", 1); in testGetSet_char()
308 verify(tmp, tmp2, out3DAlloc, "Data mismatch char: ", 1); in testGetSet_char()
310 verify(tmp, tmp2, out3DAlloc, "Data mismatch relaxed char: ", 1); in testGetSet_char()
[all …]
DKernelInputTest.java70 Allocation tmp = Allocation.createSized(mRS, Element.I8(mRS), 1); in testInputNotModified_char() local
74 script.forEach_clear_input_char(ain, tmp); in testInputNotModified_char()
80 tmp.destroy(); in testInputNotModified_char()
87 Allocation tmp = Allocation.createSized(mRS, Element.I8_2(mRS), 1); in testInputNotModified_char2() local
91 script.forEach_clear_input_char2(ain, tmp); in testInputNotModified_char2()
97 tmp.destroy(); in testInputNotModified_char2()
104 Allocation tmp = Allocation.createSized(mRS, Element.I8_3(mRS), 1); in testInputNotModified_char3() local
108 script.forEach_clear_input_char3(ain, tmp); in testInputNotModified_char3()
114 tmp.destroy(); in testInputNotModified_char3()
121 Allocation tmp = Allocation.createSized(mRS, Element.I8_4(mRS), 1); in testInputNotModified_char4() local
[all …]
DVLoadTest.java58 int tmp[] = new int[w]; in createWalk() local
90 tmp[i] = x | (maxsize << 16); in createWalk()
96 walkAlloc.copy1DRangeFrom(0, i, tmp); in createWalk()
212 byte tmp[] = randomByteArray(w); in testVload_char()
215 verify(tmp, tmp2, "Data mismatch char: "); in testVload_char()
220 byte tmp[] = randomByteArray(w); in testVload_uchar()
223 verify(tmp, tmp2, "Data mismatch uchar: "); in testVload_uchar()
228 byte tmp[] = randomByteArray(w); in testVload_char_relaxed()
231 verify(tmp, tmp2, "Data mismatch relaxed char: "); in testVload_char_relaxed()
236 byte tmp[] = randomByteArray(w); in testVload_uchar_relaxed()
[all …]
Dintrinsic_lut.rs25 uchar4 tmp;
26 tmp.r = red[in.r];
27 tmp.g = green[in.g];
28 tmp.b = blue[in.b];
29 tmp.a = alpha[in.a];
30 return tmp;
DYuvTest.java102 byte tmp[] = new byte[(width * height) + (getCWidth() * getCHeight() * 2)]; in testV17()
105 tmp[i++] = by[j]; in testV17()
108 tmp[i++] = bv[j]; in testV17()
109 tmp[i++] = bu[j]; in testV17()
112 Allocation ta = Allocation.createSized(mRS, Element.U8(mRS), tmp.length); in testV17()
113 ta.copyFrom(tmp); in testV17()
153 byte tmp[] = new byte[(width * height) + (getCWidth() * getCHeight() * 2)]; in test_NV21()
156 tmp[i++] = by[j]; in test_NV21()
159 tmp[i++] = bv[j]; in test_NV21()
160 tmp[i++] = bu[j]; in test_NV21()
[all …]
DAtomicTest.rs114 int tmp = gISum;
115 while (rsAtomicCas(&gISum, tmp, tmp + 1) != tmp) {
116 tmp = gISum;
120 uint tmp = gUSum;
121 while (rsAtomicCas(&gUSum, tmp, tmp + 1) != tmp) {
122 tmp = gUSum;
DSampleTest.java39 int[] tmp = new int[t.getCount()]; in createAlloc() local
47 tmp[idx++] = 0x0000ffff; in createAlloc()
51 tmp[idx++] = 0x00ff00ff; in createAlloc()
55 tmp[idx++] = 0x00ffff00; in createAlloc()
59 tmp[idx++] = 0xffffff00; in createAlloc()
61 a.copyFromUnchecked(tmp); in createAlloc()
Dfloat16_gen.sh21 TMPDIR=`mktemp -d /tmp/float16_gen.XXXXXXXX`
22 TMPFILE=$TMPDIR/tmp.java
/cts/tests/tests/media/res/raw/
Dvp90_2_08_tile_1x8_frame_parallel_vp9_md51 f91ceda125d592a3f9537d02df06c4f3 /tmp/vids/vp90-2-08-tile_1x8_frame_parallel-3840x2160-0001.i420
2 563dae097075cd4002b16ffb2be42cf2 /tmp/vids/vp90-2-08-tile_1x8_frame_parallel-3840x2160-0002.i420
3 1f035d79632516b58c56813c113e0f23 /tmp/vids/vp90-2-08-tile_1x8_frame_parallel-3840x2160-0003.i420
4 0db334dafa73ec37699a96e21bf065d0 /tmp/vids/vp90-2-08-tile_1x8_frame_parallel-3840x2160-0004.i420
5 445a1d62a17f7362c1a14179bededcab /tmp/vids/vp90-2-08-tile_1x8_frame_parallel-3840x2160-0005.i420
6 4c80d03262518f957c54afd6e02d3610 /tmp/vids/vp90-2-08-tile_1x8_frame_parallel-3840x2160-0006.i420
7 bc6be97c7e509af0903509a260f5ccb6 /tmp/vids/vp90-2-08-tile_1x8_frame_parallel-3840x2160-0007.i420
8 27a679a8bbf2eef3eb1dc6cb221ec467 /tmp/vids/vp90-2-08-tile_1x8_frame_parallel-3840x2160-0008.i420
9 eb3b064727f265bd29407f334a51c1ab /tmp/vids/vp90-2-08-tile_1x8_frame_parallel-3840x2160-0009.i420
10 3e0caeeef59797f9ec278e190170c285 /tmp/vids/vp90-2-08-tile_1x8_frame_parallel-3840x2160-0010.i420
Dvp90_2_08_tile_1x8_vp9_md51 f91ceda125d592a3f9537d02df06c4f3 /tmp/vids/vp90-2-08-tile_1x8-3840x2160-0001.i420
2 a911be78a743ed0f21463bfb82efbd44 /tmp/vids/vp90-2-08-tile_1x8-3840x2160-0002.i420
3 85d7cddba48b9e26b089da7f40fd4c71 /tmp/vids/vp90-2-08-tile_1x8-3840x2160-0003.i420
4 39241fe3e171fafbc95966c03042699d /tmp/vids/vp90-2-08-tile_1x8-3840x2160-0004.i420
5 7b8500c53fce2702d204b6fc888f33fb /tmp/vids/vp90-2-08-tile_1x8-3840x2160-0005.i420
6 8197c61dcecdbd975fe54771f34c5df2 /tmp/vids/vp90-2-08-tile_1x8-3840x2160-0006.i420
7 f28ebf18412521df51b9d6a3ffd44f4b /tmp/vids/vp90-2-08-tile_1x8-3840x2160-0007.i420
8 0d576800a02952e825f1721fc13ac695 /tmp/vids/vp90-2-08-tile_1x8-3840x2160-0008.i420
9 0eb34a14d7a89ee4c951759a35673b13 /tmp/vids/vp90-2-08-tile_1x8-3840x2160-0009.i420
10 11fb21038d63e3b431f92e0a4152c2f4 /tmp/vids/vp90-2-08-tile_1x8-3840x2160-0010.i420
Dvp90_2_08_tile_1x2_frame_parallel_vp9_md51 124dcaf4393bbc676cefc1dcfc1474b9 /tmp/test-vector/vp90-2-08-tile_1x2_frame_parallel-1920x1080-0001…
2 02e0c145da3e3c711f13dad6d5d9f2ec /tmp/test-vector/vp90-2-08-tile_1x2_frame_parallel-1920x1080-0002…
3 bd276b44124d01ea89cb428a3532a87e /tmp/test-vector/vp90-2-08-tile_1x2_frame_parallel-1920x1080-0003…
4 fc1eb96ba3b93382a8cf3dee39928d85 /tmp/test-vector/vp90-2-08-tile_1x2_frame_parallel-1920x1080-0004…
5 0b7b92b084684377795f6fcc549f7677 /tmp/test-vector/vp90-2-08-tile_1x2_frame_parallel-1920x1080-0005…
6 208972b2d34f0a7a6616570d8279c1f1 /tmp/test-vector/vp90-2-08-tile_1x2_frame_parallel-1920x1080-0006…
7 33f15b325f9367cf1f58e2e25ccc7bed /tmp/test-vector/vp90-2-08-tile_1x2_frame_parallel-1920x1080-0007…
8 d7f75036195e89dcbcaba566c1d6cad8 /tmp/test-vector/vp90-2-08-tile_1x2_frame_parallel-1920x1080-0008…
9 bdc3a5b228f0afa3f969d5f99685a501 /tmp/test-vector/vp90-2-08-tile_1x2_frame_parallel-1920x1080-0009…
10 d436084146d6be84df15f5fb94067d53 /tmp/test-vector/vp90-2-08-tile_1x2_frame_parallel-1920x1080-0010…
Dvp90_2_08_tile_1x2_vp9_md51 124dcaf4393bbc676cefc1dcfc1474b9 /tmp/test-vector/vp90-2-08-tile_1x2-1920x1080-0001.i420
2 5f3357dc102c9db11e7b68d277f31f99 /tmp/test-vector/vp90-2-08-tile_1x2-1920x1080-0002.i420
3 a5fb34b4a52fbc7b8290bffe988ffb01 /tmp/test-vector/vp90-2-08-tile_1x2-1920x1080-0003.i420
4 1405fa1086ac63d4f5e8ed1ca0ad192a /tmp/test-vector/vp90-2-08-tile_1x2-1920x1080-0004.i420
5 0ead62c1d7c7c44f316e601d8fea16ba /tmp/test-vector/vp90-2-08-tile_1x2-1920x1080-0005.i420
6 204e05b399becce6e936bb3ac739fbe3 /tmp/test-vector/vp90-2-08-tile_1x2-1920x1080-0006.i420
7 a27c70e46f6b2c40d6d0a13befede3ac /tmp/test-vector/vp90-2-08-tile_1x2-1920x1080-0007.i420
8 71434072992ec693ae809086760cad22 /tmp/test-vector/vp90-2-08-tile_1x2-1920x1080-0008.i420
9 790a525234048c0645cc81f6a042c9c3 /tmp/test-vector/vp90-2-08-tile_1x2-1920x1080-0009.i420
10 751b37a7b9401a5ca30dc2673070f881 /tmp/test-vector/vp90-2-08-tile_1x2-1920x1080-0010.i420
Dvp90_2_08_tile_1x4_frame_parallel_vp9_md51 c8a7f0299fb945318bbb6fd531885339 /tmp/test-vector/vp90-2-08-tile_1x4_frame_parallel-1920x1080-0001…
2 88001dece48c52b0f34afc9137915c9e /tmp/test-vector/vp90-2-08-tile_1x4_frame_parallel-1920x1080-0002…
3 71c3bc238c76f1e3a81bc70aa7dcacfc /tmp/test-vector/vp90-2-08-tile_1x4_frame_parallel-1920x1080-0003…
4 32726efd04e67dc09c055481f0189c76 /tmp/test-vector/vp90-2-08-tile_1x4_frame_parallel-1920x1080-0004…
5 7c8fa7372885d16b73f79cbddfd7d45c /tmp/test-vector/vp90-2-08-tile_1x4_frame_parallel-1920x1080-0005…
6 0d9a3324f574bccd9903ee040eee1787 /tmp/test-vector/vp90-2-08-tile_1x4_frame_parallel-1920x1080-0006…
7 630fb9507a52803b50ea959a36ff60b8 /tmp/test-vector/vp90-2-08-tile_1x4_frame_parallel-1920x1080-0007…
8 d5d7b249db773ec3c5b49567aff761e9 /tmp/test-vector/vp90-2-08-tile_1x4_frame_parallel-1920x1080-0008…
9 b480f582b52d291aeffb97e6d572731b /tmp/test-vector/vp90-2-08-tile_1x4_frame_parallel-1920x1080-0009…
10 be72a4c2f29317441344cc4d73b24333 /tmp/test-vector/vp90-2-08-tile_1x4_frame_parallel-1920x1080-0010…
Dvp90_2_08_tile_1x4_vp9_md51 c8a7f0299fb945318bbb6fd531885339 /tmp/test-vector/vp90-2-08-tile_1x4-1920x1080-0001.i420
2 22dde3e7feb2177aa350db7331e8fa8f /tmp/test-vector/vp90-2-08-tile_1x4-1920x1080-0002.i420
3 ba644eea2bd5cded05a7b82224a02d30 /tmp/test-vector/vp90-2-08-tile_1x4-1920x1080-0003.i420
4 0611f83948b22eb4bd5973fa0485dcda /tmp/test-vector/vp90-2-08-tile_1x4-1920x1080-0004.i420
5 a8eea6193af51dbd06d953165b3de261 /tmp/test-vector/vp90-2-08-tile_1x4-1920x1080-0005.i420
6 1e76d8ec66941c9185e0747307a1496c /tmp/test-vector/vp90-2-08-tile_1x4-1920x1080-0006.i420
7 d8404c3e80c2773173e362ff622b6f3c /tmp/test-vector/vp90-2-08-tile_1x4-1920x1080-0007.i420
8 beed5600864a9b961c983d7a7a670bc1 /tmp/test-vector/vp90-2-08-tile_1x4-1920x1080-0008.i420
9 9efbe9228f6a437fe450215f711ea429 /tmp/test-vector/vp90-2-08-tile_1x4-1920x1080-0009.i420
10 1b65f47a5c11c5b763123d337482bd92 /tmp/test-vector/vp90-2-08-tile_1x4-1920x1080-0010.i420
/cts/tests/tests/graphics/src/android/graphics/cts/
DANativeWindowTest.java138 float[] tmp = new float[16]; in testSetBuffersTransform() local
147 matrixMultiply(computedTransform, computedTransform, MIRROR_HORIZONTAL_MATRIX, tmp); in testSetBuffersTransform()
150 matrixMultiply(computedTransform, computedTransform, MIRROR_VERTICAL_MATRIX, tmp); in testSetBuffersTransform()
153 matrixMultiply(computedTransform, computedTransform, ROTATE_90_MATRIX, tmp); in testSetBuffersTransform()
197 private void matrixMultiply(float[] result, float[] a, float[] b, float[] tmp) { in matrixMultiply() argument
198 tmp[ 0] = a[ 0]*b[ 0] + a[ 4]*b[ 1] + a[ 8]*b[ 2] + a[12]*b[ 3]; in matrixMultiply()
199 tmp[ 1] = a[ 1]*b[ 0] + a[ 5]*b[ 1] + a[ 9]*b[ 2] + a[13]*b[ 3]; in matrixMultiply()
200 tmp[ 2] = a[ 2]*b[ 0] + a[ 6]*b[ 1] + a[10]*b[ 2] + a[14]*b[ 3]; in matrixMultiply()
201 tmp[ 3] = a[ 3]*b[ 0] + a[ 7]*b[ 1] + a[11]*b[ 2] + a[15]*b[ 3]; in matrixMultiply()
203 tmp[ 4] = a[ 0]*b[ 4] + a[ 4]*b[ 5] + a[ 8]*b[ 6] + a[12]*b[ 7]; in matrixMultiply()
[all …]
/cts/tests/tests/content/src/android/content/cts/
DCursorWindowContentProvider.java68 Parcel tmp = Parcel.obtain(); in writeToParcel() local
70 super.writeToParcel(tmp, flags); in writeToParcel()
71 tmp.setDataPosition(0); in writeToParcel()
74 while (tmp.dataAvail() > 0) { in writeToParcel()
75 fdPos = tmp.dataPosition(); in writeToParcel()
76 int frameworkFdMarker = tmp.readInt(); in writeToParcel()
82 tmp.recycle(); in writeToParcel()
89 dest.appendFrom(tmp, 0, fdPos); in writeToParcel()
91 tmp.setDataPosition(dest.dataPosition()); in writeToParcel()
92 dest.appendFrom(tmp, dest.dataPosition(), tmp.dataAvail()); in writeToParcel()
[all …]
/cts/hostsidetests/appsecurity/test-apps/SplitApp/
Dbuild_libs.sh30 mkdir -p tmp/$arch/raw/lib/$arch/
31 mv libs/$arch/* tmp/$arch/raw/lib/$arch/
38 </manifest>" > tmp/$arch/AndroidManifest.xml
40 cp NativeTemplate.mk tmp/$arch/Android.mk
41 sed -i -r "s/ARCHARCH/$arch/" tmp/$arch/Android.mk
46 echo "include \$(call all-subdir-makefiles)" > tmp/Android.mk
51 mv tmp libs
/cts/tools/dex-tools/src/dex/reader/
DDexBuffer.java95 int tmp = 0; in readInt() local
97 tmp = b.get() & 0xFF; in readInt()
98 endValue |= (tmp << i * 8); in readInt()
108 int tmp = 0; in readShort() local
110 tmp = b.get() & 0xFF; in readShort()
111 endValue |= (tmp << i * 8); in readShort()
121 int tmp = 0; in readChar() local
123 tmp = b.get() & 0xFF; in readChar()
124 endValue |= (tmp << i * 8); in readChar()
134 int tmp = 0; in readLong() local
[all …]
/cts/tests/tests/rscpp/src/android/cts/rscpp/
DRSYuvTest.java88 byte tmp[] = new byte[(width * height) + (getCWidth() * getCHeight() * 2)]; in testV17()
91 tmp[i++] = by[j]; in testV17()
94 tmp[i++] = bv[j]; in testV17()
95 tmp[i++] = bu[j]; in testV17()
98 Allocation ta = Allocation.createSized(mRS, Element.U8(mRS), tmp.length); in testV17()
99 ta.copyFrom(tmp); in testV17()
106 yuvTest(this.getContext().getCacheDir().toString(), width, height, tmp, nativeByteAlloc, 0); in testV17() local
127 byte tmp[] = new byte[(width * height) + (getCWidth() * getCHeight() * 2)]; in test_YV12()
130 tmp[i++] = by[j]; in test_YV12()
133 tmp[i++] = bu[j]; in test_YV12()
[all …]
/cts/tests/tests/media/libmediandkjni/
Dnative_media_utils.cpp67 int32_t tmp; in dynamicParamsOfKind() local
68 … if (AMediaFormat_getInt32(d->param(), TBD_AMEDIACODEC_PARAMETER_KEY_REQUEST_SYNC_FRAME, &tmp)) { in dynamicParamsOfKind()
74 int32_t tmp; in dynamicParamsOfKind() local
75 … if (AMediaFormat_getInt32(d->param(), TBD_AMEDIACODEC_PARAMETER_KEY_VIDEO_BITRATE, &tmp)) { in dynamicParamsOfKind()
146 std::vector<DParamRef> tmp; in checkOverallBitrate() local
147 if (config.dynamicParamsOfKind(TBD_AMEDIACODEC_PARAMETER_KEY_VIDEO_BITRATE, tmp) > 0) { in checkOverallBitrate()
256 char tmp[128]; in checkDynamicKeyFrames() local
257 snprintf(tmp, 128, " %d/%d,", generatedKeyLocation, d->frameNum()); in checkDynamicKeyFrames()
258 debugStr = debugStr + std::string(tmp); in checkDynamicKeyFrames()
313 char tmp[128]; in checkDynamicBitrate() local
[all …]
/cts/tests/openglperf2/jni/reference/scene/flocking/
DBoid.cpp37 Vector2D tmp = mPosition.copy(); in flock() local
38 tmp.sub(b->mPosition); in flock()
39 tmp.normalize(); in flock()
40 tmp.scale(1.0f / dist); in flock()
41 separation.add(tmp); in flock()
/cts/tests/tests/security/jni/
Dandroid_security_cts_SELinuxTest.cpp48 security_context_t tmp = NULL; in getFileContext() local
49 int ret = getfilecon(path.c_str(), &tmp); in getFileContext()
50 Unique_SecurityContext context(tmp); in getFileContext()
/cts/tests/tests/os/jni/
Dandroid_os_cts_TaggedPointer.cpp40 uintptr_t tmp; in android_os_cts_TaggedPointer_hasTaggedPointer() local
46 tmp = TAG_MASK | (uintptr_t)(&data); in android_os_cts_TaggedPointer_hasTaggedPointer()
47 tagged = (uint32_t *)tmp; in android_os_cts_TaggedPointer_hasTaggedPointer()
/cts/tests/tests/nativehardware/jni/
DNativeTestHelper.h53 const char *tmp = a; \
54 ASSERT(tmp != nullptr, \
57 ASSERT(tmp[0] == '\0', \
/cts/tests/sensor/jni/
DnativeTestHelper.h54 const char *tmp = a; \
55 ASSERT(tmp != nullptr, \
58 ASSERT(tmp[0] == '\0', \

12