Home
last modified time | relevance | path

Searched refs:k (Results 1 – 25 of 46) sorted by relevance

12

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DGetElementAt.java68 for (int k = 0; k < INPUTSIZE; ++k) { in testX()
69 assertEquals("idx = " + k, in[k], out[k]); in testX()
89 for (int k = 0; k < INPUTSIZE*INPUTSIZE; ++k) { in testXY()
90 assertEquals("idx = " + k, in[k], out[k]); in testXY()
DBNNMTest.java129 private byte[] runBNNM(int m, int n, int k, byte[] a_byte, int a_offset, byte[] b_byte, in runBNNM() argument
133 Type a_type = builder.setX(k).setY(m).create(); in runBNNM()
134 Type b_type = builder.setX(k).setY(n).create(); in runBNNM()
206 final int k = a_rows; in testSmallMatrices() local
208 byte[] c_byte_output = runBNNM(m, n, k, a_data, a_offset, b_data, b_offset, in testSmallMatrices()
251 final int k = a_rows; in testMediumMatrices1() local
253 byte[] c_byte_output = runBNNM(m, n, k, a_data, a_offset, b_data, b_offset, in testMediumMatrices1()
303 final int k = a_rows; in testMediumMatrices2() local
305 byte[] c_byte_output = runBNNM(m, n, k, a_data, a_offset, b_data, b_offset, in testMediumMatrices2()
319 int k = 1152; in testRealData() local
[all …]
/cts/suite/cts/deviceTests/simplecpu/jni/
DCpuNativeJni.cpp218 for (int k = 0; k < M; k++) { in doMatrixMultiplication() local
219 sum[k] = 0; in doMatrixMultiplication()
224 for (int k = 0; k < n; k++) { in doMatrixMultiplication() local
225 float a = A[i * n + k]; in doMatrixMultiplication()
226 sum[0] += a * B[k * n + j]; in doMatrixMultiplication()
227 sum[1] += a * B[k * n + j + 1]; in doMatrixMultiplication()
228 sum[2] += a * B[k * n + j + 2]; in doMatrixMultiplication()
229 sum[3] += a * B[k * n + j + 3]; in doMatrixMultiplication()
230 sum[4] += a * B[k * n + j + 4]; in doMatrixMultiplication()
231 sum[5] += a * B[k * n + j + 5]; in doMatrixMultiplication()
[all …]
/cts/tests/app/src/android/app/cts/
DExpandableListTestActivity.java89 for (int k = 0; k < 15; k++) { in testCallback()
90 v.performItemClick(gv, i, k); in testCallback()
122 for (int k = 0; k < 15; k++) { in testSelecte()
123 setSelectedChild(i, k, false); in testSelecte()
124 if (ExpandableListView.getPackedPositionForChild(i, k) != getSelectedPosition()) in testSelecte()
128 for (int k = 0; k < 15; k++) { in testSelecte()
129 setSelectedChild(i, k, true); in testSelecte()
130 if (ExpandableListView.getPackedPositionForChild(i, k) != getSelectedPosition()) in testSelecte()
/cts/tools/utils/
Dmonsoon.py155 for k in status.keys():
156 if k.endswith("VoltageSetting"):
157 status[k] = 2.0 + status[k] * 0.01
158 elif k.endswith("FineCurrent"):
160 elif k.endswith("CoarseCurrent"):
162 elif k.startswith("voltage") or k.endswith("Voltage"):
163 status[k] = status[k] * 0.000125
164 elif k.endswith("Resistor"):
165 status[k] = 0.05 + status[k] * 0.0001
166 if k.startswith("aux") or k.startswith("defAux"): status[k] += 0.05
[all …]
/cts/apps/CtsVerifier/assets/scripts/power_monitors/
Dmonsoon.py270 for k in status.keys():
271 if k.endswith("VoltageSetting"):
272 status[k] = 2.0 + status[k] * 0.01
273 elif k.endswith("FineCurrent"):
275 elif k.endswith("CoarseCurrent"):
277 elif k.startswith("voltage") or k.endswith("Voltage"):
278 status[k] = status[k] * 0.000125
279 elif k.endswith("Resistor"):
280 status[k] = 0.05 + status[k] * 0.0001
281 if k.startswith("aux") or k.startswith("defAux"): status[k] += 0.05
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapRegionDecoderTest.java168 for (int k = 0; k < COLOR_CONFIGS.length; ++k) { in testDecodeRegionInputStream()
170 opts.inPreferredConfig = COLOR_CONFIGS[k]; in testDecodeRegionInputStream()
177 if (RES_IDS[i] == R.drawable.webp_test && COLOR_CONFIGS[k] == Config.RGB_565) { in testDecodeRegionInputStream()
193 for (int k = 0; k < COLOR_CONFIGS.length; ++k) { in testDecodeRegionInputStreamInBitmap()
195 opts.inPreferredConfig = COLOR_CONFIGS[k]; in testDecodeRegionInputStreamInBitmap()
207 if (RES_IDS[i] == R.drawable.webp_test && COLOR_CONFIGS[k] == Config.RGB_565) { in testDecodeRegionInputStreamInBitmap()
223 for (int k = 0; k < COLOR_CONFIGS.length; ++k) { in testDecodeRegionByteArray()
225 opts.inPreferredConfig = COLOR_CONFIGS[k]; in testDecodeRegionByteArray()
233 if (RES_IDS[i] == R.drawable.webp_test && COLOR_CONFIGS[k] == Config.RGB_565) { in testDecodeRegionByteArray()
250 for (int k = 0; k < COLOR_CONFIGS.length; ++k) { in testDecodeRegionStringAndFileDescriptor()
[all …]
DBitmapFactoryTest.java194 for (int k = 0; k < COLOR_CONFIGS.length; ++k) { in testDecodeStream4()
195 options.inPreferredConfig = COLOR_CONFIGS[k]; in testDecodeStream4()
202 assertEquals(bPng.getConfig(), COLOR_CONFIGS[k]); in testDecodeStream4()
211 compareBitmaps(bPng, bWebp1, COLOR_TOLS[k], true, bPng.isPremultiplied()); in testDecodeStream4()
222 compareBitmaps(bPng, bWebp2, COLOR_TOLS[k], true, bPng.isPremultiplied()); in testDecodeStream4()
228 for (int k = 0; k < COLOR_CONFIGS_RGBA.length; ++k) { in testDecodeStream5()
229 options.inPreferredConfig = COLOR_CONFIGS_RGBA[k]; in testDecodeStream5()
236 assertEquals(bPng.getConfig(), COLOR_CONFIGS_RGBA[k]); in testDecodeStream5()
244 assertEquals(bWebP1.getConfig(), COLOR_CONFIGS_RGBA[k]); in testDecodeStream5()
247 compareBitmaps(bPng, bWebP1, COLOR_TOLS_RGBA[k], true, bPng.isPremultiplied()); in testDecodeStream5()
[all …]
DPaintFlagsDrawFilterTest.java117 int k = 0; in testPaintFlagsDrawFilter2() local
121 grid.setPixel(i, j, colors[k]); in testPaintFlagsDrawFilter2()
122 k = (k + 1) % 2; in testPaintFlagsDrawFilter2()
/cts/tests/tests/renderscript/assets/
Dblas_gen.py254 def writeFloatSymmBandedMatrix(a, k, name, fo): argument
256 b = sMatGen(n, k+1, 1);
259 for j in range(i, min(i+k+1, n)):
264 for j in range(i, min(i+k+1, n)):
268 def writeDoubleSymmBandedMatrix(a, k, name, fo): argument
270 b = dMatGen(n, k+1, 1);
273 for j in range(i, min(i+k+1, n)):
278 for j in range(i, min(i+k+1, n)):
282 def writeFloatComplexSymmBandedMatrix(a, k, name, fo): argument
284 b = cMatGen(n, k+1, 1);
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_direct_range/d/
DT_invoke_direct_range_21.java25 int k = 777; in test() local
32 int k = 333; in run() local
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_direct/d/
DT_invoke_direct_21.java25 int k = 777; in test() local
32 int k = 333; in run() local
/cts/tests/tests/renderscript/libbnnmdata/
Dtest_data.cpp24 const int k = 1152; variable
30 const int a_count = (m * k);
31 const int b_count = (n * k);
/cts/suite/cts/deviceTests/browserbench/assets/octane/
Dbox2d.js27 …this.constructor===Y&&this.b2ManifoldPoint.apply(this,arguments)}function k(){k.b2Point.apply(this… function
43 k;Box2D.Collision.b2RayCastInput=z;Box2D.Collision.b2RayCastOutput=u;Box2D.Collision.b2Segment=D;Bo…
51 k=Box2D.Collision.b2DistanceOutput,z=Box2D.Collision.b2DistanceProxy,u=Box2D.Collision.b2DynamicTre…
76 …2Distance.s_saveB=new Vector_a2j_Number(3)});Y.b2DistanceInput=function(){};k.b2DistanceOutput=fun…
113 …imeOfImpact.s_fcn=new d;Box2D.Collision.b2TimeOfImpact.s_distanceOutput=new k});q.b2TOIInput=funct…
122k=new G;k.Set(this);return k};G.prototype.Set=function(k){this.__super.Set.call(this,k);if(Box2D.i… argument
123 …;u=k.position.y+(u.col1.y*this.m_p.x+u.col2.y*this.m_p.y);D=z.x-D;u=z.y-u;return D*D+u*u<=this.m_r… argument
124k.fraction=E;k.normal.x=H+E*D;k.normal.y=u+E*O;k.normal.Normalize();return true}return false};G.pr… argument
125k,z,u,D){if(z===undefined)z=0;u=B.MulX(u,this.m_p);var H=-(B.Dot(k,u)-z);if(H<-this.m_radius+Numbe… argument
126k){this.m_p.SetV(k)};G.prototype.GetRadius=function(){return this.m_radius};G.prototype.SetRadius=… argument
[all …]
Dcrypto.js205 var k;
206 if(b == 16) k = 4;
207 else if(b == 8) k = 3;
208 else if(b == 256) k = 8; // byte array
209 else if(b == 2) k = 1;
210 else if(b == 32) k = 5;
211 else if(b == 4) k = 2;
217 var x = (k==8)?s[i]&0xff:intAt(s,i);
225 else if(sh+k > BI_DB) {
231 sh += k;
[all …]
Dnavier-stokes.js160 for (var k=0 ; k<iterations; k++) {
197 for (var k=0 ; k<iterations; k++) {
Dearley-boyer.js951 function sc_listTail(l, k) { argument
953 for (var i = 0; i < k; i++) {
960 function sc_listRef(l, k) { argument
961 return sc_listTail(l, k).car;
1298 function sc_makeJSStringOfLength(k, c) { argument
1307 while (k >= len) {
1308 if (k & len)
1316 function sc_makejsString(k, c) { argument
1322 return sc_makeJSStringOfLength(k, fill);
3143 function sc_keyword2jsstring(k) { argument
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DDspWindow.java157 int k; in fillHamming() local
160 k = i - (size - 2 * overlap); in fillHamming()
161 value = 0.54 - 0.46 * Math.cos(TWOPI * k / (twoOverlap - 1)); in fillHamming()
194 int k = i - (size - 2 * overlap); in fillHanning() local
195 value = 0.5 * (1.0 - Math.cos(TWOPI * k / (twoOverlap - 1))); in fillHanning()
/cts/tests/tests/media/assets/
Dsegment000000.ts13 …��6o�س��'�@�4����m�1���;�_��� �����O��H�ߟ�y���L�مp��>���ݧ��{�3��K�6��6ϥ�=_��k~]�4�� �$�ڻ~A�
16 ��s�~�}�� ��p��?�ߥDWs1�o��=��|;I<|m_A™��Ԑ��A㞁�� +��k�����
57 ?�G�q�I[Ǯ�\��_Ǵ���9V�j�ό\}G��¸ k�`c�y�s�w�e��C���w�V�0��+�&��� &z�`��ظWk�:���0'�k� I��~…
86 �KY���W��D� F���1$'YM�s�N�<��9g��3�l��[3 I��6 ���W���_:�+�H�k���{W�#c:�8f}v��\���1����…
97 �c��wo1�X�7�np��Ql�5�xU?��|�7�uhj�>����G��f���lB�q������&�������?����X�A��k�f�d���k�.�x…
142 `"h3�=Gr2��9G�x�����r�`@G��Ϫۚ�R��(��h}4��n�q��d+�h�&�L�7KU=��W��~[k� ��4`O������|rC…
146 …�R��ʐ5t����W/��RR@l�J���߄�5_��������:�����+�'��o��u��Uqo{�Jf��U��kX|0�b�}�����(z��…
184 ��k*����\ߍi��� L�2�� �)�OM?��G�><��������������������������������������������������������������
198 …�{/1�N���СWw�:���o������Ud�N�U��ͪ��D�Jq�_����r����\��e$���I�S���ɒ�.x��k!�(�\��c������
225 [��}_�/e3��L�hzYt��O5����R�6����k���֛�z vűo�&'?����I�#��L]�u��S' �)��=�hG�Vd=� ���������?…
[all …]
DfileSequence0.ts13 …�{/1�N���СWw�:���o������Ud�N�U��ͪ��D�Jq�_����r����\��e$���I�S���ɒ�.x��k!�(�\��c������
74k�>χ�����\� -���L\ ��cUY�^ı3���'�yJ����g���y`��L� ;�i����UP�^�K��˦�r)g6U@��\@$���7���,�…
76 …*��p��\@ _�7���5 �@��0 D!�(+r���RѺT��=����C0J3����!j k��G'�sG��Uz���pg� �k!h�9m"q�
80 …�ٯ�)��2cg6۔h�Kď>�9���c&6_ƁbP��瀂V#C�-��=�Մ)��ͱ�?������e<�d�Ͷ�K ��R�^k�ɼ"���u�j ,������S…
86 [��@GQC��E�$K��5F�� b^�V���\@(�7��{-:�a t`����mkXD���t�s�r5u��LH {A֠р�x�������)4kٔ'[…
107 y�*_�fdൌ�k���1}��4_�om^�bN��@ -?d$ ��"k�����*�:��GA����!�CSA�V���{���p���^7�(��Ʈ�f&#n…
110 …�R���JH�o��:c5 ��NLHD�n_L�If[��)�h"�6Q�%ǻ]��d���\@!��7�p�%2�ӅJ�f��k����w�+N��>W[���5�…
121 …���;Ѱ4%\���l~9�V����^��\@+�7��� ��0`,4�ݲTm��e�Q�A�JP^<��ay��[OM�k|S��T�@ܲ�~��y_I�6�…
124 ��C$8���[�A�Yj�M-SD�9�6���G"�br��OTB���ߙ߾R������ٲ��i:���]5��ɴC%1Li� �{k�0��/KGt��s�n…
179 B!0l,) ā����ڊ`U�E]�.��y�d����P�Y ���M�k'#
[all …]
Dsegment000001.ts9 kXf?̋���qqpXV�p�J�U����d���[��Z����Q;�v���3�v���U�z99�\��2I�Y��a;��}�=Z��]�0��0��IWA�…
28 …�ȸ��V�-�F�D���S��=H����م?y��SR����L�0c����iy��h���a*�DƝ�L�l&�JMV�k&N��N�?Y�e��}�}�s��…
35 …��8¶������<Y���L�1����)�#�}�n�`���� ��٨�<�uF}u�닑g�(�SW�T������|[ȁ{�V/_��&`a���'��l�Z�k��Š�e
42 ����ӀC�A��4���.k���$�U��Y�(ƳI�p9Ǧ��b@�%�m_�����n��c�Y�_�S���F&l�f��_u�ӄ�?�O�@��D��5
51 u�)�P�d�_��x��G�k<�G������\={p��ԭD�]���1�K]�� f��jD~ۘ�^TL�y,�������JL� ��ʘf �7�
64 …�҆��M�JP��_/��B(�#k��P�e�_�v���%=�H1���X ,�`tf�HȠ+�k��cx��닷��[�v�4�ВBЎ���x��-k���…
104 tEEAj�E1jg�pj~!��X�'w~7i�)��?k� � �I�놞��L�2�����H[_7�����Us�J��`��mC"Rt~T�[�t��T-��^��…
105 …��G�͉��}3�(�kQ^�$\�8a���Κ�h�-��� �1F���MG�o.�bU��*�@�!�f�+BL���`]�k.U�X�����n}��A ����…
139 ӽ} O���$E��G����DN$��2~�"lϾi�v�ҡU���n�`��X��9��ϙ�-t^�c�J�p�ˏ��=�R�k���]������y� ›�� ��ɬ…
158 !�A�h`Y�?�kT��.�����:O��@&q��k]�΁�l����ap����O�!U��x �h+��������ڔ�r����:�m>��4i:�6tǬ�M>�X�…
DfileSequence1.ts16 …(Q����;"��s���C���!D"�!C C@����&��ѵ_ل�)���&"uS #V��*s���e���9^Ǎ�mm��6��k�m�N���z$+v��� ���8…
34 ����;y�P^~~�߀yG�9�k�J_��i��R�҉SnI��{|�YR��k-T�/PV(��T��sX,J��V8���f٠{y� �6�{m��9��>KF…
36 |�-np����a��I�@��g�Jޙ��孻S�������6���k�a�Bfs�G����O�9�B�"�o<�R&�+�x��u�`QI��V�rF&�;��{;�…
49 1/'g����\���ל�mF号�������;�Jq�h���\k�#���Zm��X���{>���"bTh���s���
72 …l9�:7(-9�lQ�]g��SG�z�\i���X�t��Ȧh����'��[[[o |��I��bc%]�@�\r�oK�ݲ�k�=�@x:V��~P �˟tb…
109 A�5�r���uk�5i�i
121 MP "B`�y�� ���g<��:�� $g&$�\sd� $�3��+�4h@Q)BA�+�����17���q��8�g��4���=��ؐ�T]��G!k�]vF�…
128 …�߳�ߑ ���,���ʉ�DD�X��{�c�����D$�f�vl E�Lj�T·R`�8��\@(�,7��[ E�q�X$B ��k� ��\�Nu*�:�C��h��e8…
129k�{�1� �S��Zb��F+=��O�}JAb��$���2�5m�����: Q��L�R���[dCz�m"heƣ�ΰTR����&am )�(�8܃��*0L18�D�;…
148 …�˺B��g&d�'�U�U�(���Mg�~�AhU�P�;�;��FӇ+�lm�ȠY�x����G@Ι�I�94�QGOcnK��k����ΜO��*����&S�…
/cts/tests/tests/media/src/android/media/cts/
DEncoderTest.java93 for (int k = 0; k < kAACProfiles.length; ++k) { in testAACEncoders()
95 if (kAACProfiles[k] == 5 && kSampleRates[i] < 22050) { in testAACEncoders()
105 MediaFormat.KEY_AAC_PROFILE, kAACProfiles[k]); in testAACEncoders()
DEncodeVirtualDisplayWithCompositionTest.java434 for (int k = 0; k < numDisplays; k++) { in doTestVirtualDisplayRecycles()
435 virtualDisplays[k] = in doTestVirtualDisplayRecycles()
437 compositor.getWindowSurface(k), in doTestVirtualDisplayRecycles()
439 virtualDisplays[k].createVirtualDisplay(); in doTestVirtualDisplayRecycles()
440 virtualDisplays[k].createPresentation(); in doTestVirtualDisplayRecycles()
445 for (int k = 0; k < NUM_RENDERING; k++) { in doTestVirtualDisplayRecycles()
452 for (int k = 0; k < numDisplays; k++) { in doTestVirtualDisplayRecycles()
453 virtualDisplays[k].dismissPresentation(); in doTestVirtualDisplayRecycles()
454 virtualDisplays[k].destroyVirtualDisplay(); in doTestVirtualDisplayRecycles()
/cts/tests/tests/hardware/src/android/hardware/cts/
DSensorManagerStaticTest.java470 int i, j, k; in testRemapCoordinateSystem() local
494 for (k=0; k<3; ++k) { in testRemapCoordinateSystem()
496 b1 = a1 | (((k & 2) != 0) ? 0x80 : 0); in testRemapCoordinateSystem()
497 b2 = a2 | (((k & 1) != 0) ? 0x80 : 0); in testRemapCoordinateSystem()
648 int i, j, k; in mat9Mul() local
652 for (k = 0; k < 3; ++k) in mat9Mul()
653 r[i * 3 + j] += m[i * 3 + k] * n[k * 3 + j]; in mat9Mul()

12