Home
last modified time | relevance | path

Searched refs:n (Results 1 – 25 of 75) sorted by relevance

123

/cts/tests/simplecpu/jni/
DCpuNativeJni.cpp33 #define swapcode(TYPE, parmi, parmj, n) { \ argument
34 long i = (n) / sizeof (TYPE); \
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()
64 #define vecswap(a, b, n) if ((n) > 0) swapfunc(a, b, n, swaptype) argument
75 qsort_local(void *aa, size_t n, size_t es, int (*cmp)(const void *, const void *)) in qsort_local() argument
83 if (n < 7) { in qsort_local()
84 for (pm = (char *)a + es; pm < (char *) a + n * es; pm += es) in qsort_local()
90 pm = (char *)a + (n / 2) * es; in qsort_local()
[all …]
/cts/tests/tests/rsblas/assets/
Dblas_gen.py58 def sMatGen(m, n, scale): argument
59 a = mat(random.randint(1, 10, size=(m, n)).astype('f4')/scale)
63 def dMatGen(m, n, scale): argument
64 a = mat(random.randint(1, 10, size=(m, n)).astype('f8')/scale)
68 def cMatGen(m, n, scale): argument
69 a_real = mat(random.randint(1, 10, size=(m, n)).astype('f4')/scale)
70 a_img = mat(random.randint(1, 10, size=(m, n)).astype('f4')/scale)
75 def zMatGen(m, n, scale): argument
76 a_real = mat(random.randint(1, 10, size=(m, n)).astype('f8')/scale)
77 a_img = mat(random.randint(1, 10, size=(m, n)).astype('f8')/scale)
[all …]
/cts/tests/tests/rsblas/src/android/renderscript/cts/
DBNNMTest.java48 for (int n = 0; n < count; ++n) { in addByteNoise()
50 final int originalValue = data[n]; in addByteNoise()
63 data[n] = (byte)(newValue); in addByteNoise()
129 private byte[] runBNNM(int m, int n, int k, byte[] a_byte, int a_offset, byte[] b_byte, in runBNNM() argument
134 Type b_type = builder.setX(k).setY(n).create(); in runBNNM()
135 Type c_type = builder.setX(n).setY(m).create(); in runBNNM()
148 int c_count = (m * n); in runBNNM()
205 final int n = b_cols; in testSmallMatrices() local
208 byte[] c_byte_output = runBNNM(m, n, k, a_data, a_offset, b_data, b_offset, in testSmallMatrices()
250 final int n = b_cols; in testMediumMatrices1() local
[all …]
/cts/apps/CameraITS/tests/scene1/
Dtest_format_combos.py75 n = 0
81 successes.append((n,r,f,b))
82 print "==> Success[%02d]: R%d F%d B%d" % (n,r,f,b)
93 "%s_n%02d_r%d_f%d_b%d_c%d.jpg"%(NAME,n,r,f,b,c))
97 print "==> Failure[%02d]: R%d F%d B%d" % (n,r,f,b)
98 failures.append((n,r,f,b))
101 n += 1
109 for (n,r,f,b) in failures:
110 print " %02d: R%d F%d B%d" % (n,r,f,b)
112 for (n,r,f,b) in successes:
[all …]
Dtest_param_tonemap_mode.py54 for n in [0,1]:
58 sum([[i/LM1, min(1.0,(1+0.5*n)*i/LM1)] for i in range(L)], []))
60 sum([[i/LM1, min(1.0,(1+1.0*n)*i/LM1)] for i in range(L)], []))
62 sum([[i/LM1, min(1.0,(1+1.5*n)*i/LM1)] for i in range(L)], []))
66 img, "%s_n=%d.jpg" %(NAME, n))
Dtest_burst_sameness_manual.py60 n = j*BURST_LEN + i
61 imgs[n] = its.image.convert_capture_to_rgb_image(cap)
62 tile = its.image.get_image_patch(imgs[n], 0.45, 0.45, 0.1, 0.1)
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DBlurStack.java197 for (int n = 0; n < layerInfo.length; ++n) { in toString()
198 int front = layerInfo[n].frontDepth; in toString()
199 int back = layerInfo[n].backDepth; in toString()
200 s += "\nlayer " + n + " num of disparities " + (front - back + 1) + "\n"; in toString()
203 s += "layer " + n + " disparity " + d + " disk radius " in toString()
342 for (int n = 0; n < numLayers; ++n) { in groupDepthLevelsIntoLayers()
343 if (n < layerInfoInFrontOfFocus.size()) { in groupDepthLevelsIntoLayers()
346 int m = (layerInfoInFrontOfFocus.size() - 1) - n; in groupDepthLevelsIntoLayers()
347 layerInfo[n] = layerInfoInFrontOfFocus.get(m); in groupDepthLevelsIntoLayers()
348 } else if (n == layerInfoInFrontOfFocus.size()) { in groupDepthLevelsIntoLayers()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUtil.java68 int n = nextPowerOfTwo(Math.max(data1.length, data2.length)); in computeCrossCorrelation() local
69 Complex[] data1Fft = fft.transform(padZeros(data1, n)); in computeCrossCorrelation()
70 Complex[] data2Fft = fft.transform(padZeros(data2, n)); in computeCrossCorrelation()
71 Complex[] dottedData = new Complex[n]; in computeCrossCorrelation()
72 for (int i = 0; i < n; i++) { in computeCrossCorrelation()
109 public static int nextPowerOfTwo(int n) { in nextPowerOfTwo() argument
110 return 1 << (32 - Integer.numberOfLeadingZeros(n - 1)); in nextPowerOfTwo()
/cts/suite/audio_quality/lib/src/
DStringUtil.cpp42 android::String8 StringUtil::substr(const android::String8& str, size_t pos, size_t n) in substr() argument
50 if ((pos + n) > l) { in substr()
51 n = l - pos; in substr()
53 android::String8 result(str.string() + pos, n); in substr()
/cts/tests/tests/rsblas/libbnnmdata/
Dtest_data.cpp23 const int n = 192; variable
31 const int b_count = (n * k);
32 const int c_count = (m * n);
/cts/tests/tests/hardware/src/android/hardware/cts/
DSensorManagerStaticTest.java290 float [] n = mat9Mul(Rr, Rt); in testGetRotationMatrix() local
295 n[0] + n[4] + n[8], 3.f, 1e-4f); in testGetRotationMatrix() local
397 float [] n = mat9Mul(m9, mat9T(m9)); in testGetRotationMatrixFromVector() local
399 n[0]+ n[4] + n[8], 3.f, 1e-4f); in testGetRotationMatrixFromVector()
624 float [] n = new float[16]; in mat9to16() local
627 n[i+i/3] = m[i]; in mat9to16()
629 n[15] = 1.f; in mat9to16()
630 return n; in mat9to16()
636 float [] n = new float[9]; in mat16to9() local
639 n[i] = m[i + i/3]; in mat16to9()
[all …]
/cts/tests/openglperf2/
Dcob_exporter.py51 n = vertex.normal.xyz
53 … f.write(struct.pack(">ffffffff", v[0], v[1], v[2], n[0], n[1], n[2], t[0], 1 - t[1]))
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/d1new/
DKernelDataForRenderScriptd1new.java131 for (int n = 0; n < kernelLength; ++n) { in generateDiskKernelArray()
132 kernel[n] /= sumKernelValues; in generateDiskKernelArray()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/f32/
DKernelDataForRenderScriptF32.java130 for (int n = 0; n < kernelLength; ++n) { in generateDiskKernelArray()
131 kernel[n] /= sumKernelValues; in generateDiskKernelArray()
/cts/tools/dasm/src/dasm/
DScanner.java295 int n = 10; in next_token() local
306 n = 16; in next_token()
310 n = Integer.parseInt(s, n); in next_token()
315 if (neg) n = -n; in next_token()
316 return new relative_number_token(sym.Relative, n); in next_token()
/cts/tools/dasm/src/java_cup/
Dnon_terminal.java165 Enumeration n; in compute_first_sets() local
178 for (n = all(); n.hasMoreElements(); ) in compute_first_sets()
180 nt = (non_terminal)n.nextElement(); in compute_first_sets()
/cts/tests/simplecpu/src/android/simplecpu/cts/
DSimpleCpuTest.java119 private void doMatrixMultiplication(int numberRepeat, int n) { in doMatrixMultiplication() argument
120 assertTrue(n % 8 == 0); in doMatrixMultiplication()
124 result[i] = CpuNative.runMatrixMultiplication(n, numberRepeatInEachCall); in doMatrixMultiplication()
128 report.addValue("matrix_dimension", n, ResultType.NEUTRAL, ResultUnit.NONE); in doMatrixMultiplication()
/cts/suite/audio_quality/test_description/processing/
Dcalc_delay.py26 def convolution(data0, data1reversed, n): argument
29 return np.dot(data0[n:N+n], data1reversed)
/cts/tests/tests/media/assets/
DfileSequence1.ts6 …`��E:kD% ����G�������"pmM�I~�����\@#��07�,9�D���2���ww�.���\|h�n��W��y����\�R���26G�…
16 …S #V��*s���e���9^Ǎ�mm��6��k�m�N���z$+v��� ���8��\@�,7���p��b@�@:0�*�n���,��Y�����c��{U�*…
37 r�8�����L����\@"��67����!��XN%D�2�D�Ph�����T<�B��[W�)^nf�G1��Ѫ��HNs��y/ѕK���Pu�n���M��aE…
47 …�����(D�8��\@$�07���,"��a(�N%��e"Ѕ2i a��Cm4��nI�y�sy\�H��0#��,F�:��(ơѱ��y�PG���-n
67 …��y4�q�T�~]��1��@�KИ�[��_ԑs^�B�[�`�{;��|���L4�z���pB)U�_L?���,7,H�n�#;�,���,�b(��"&���$…
69 …~����\@ ��@7�P� G�Q8�B �D!��X�$EDJ%Z�L��{|t"C�q�WZ��aO�g��D��1Z��n(�E�T;�tߙ�9N.E�`�Cq…
72 …q@PL( �!p��&�*����Z�*�&��T�{�g�e��9�NT@] ԥ��*�:� P|ɵ����W\u�:r�[��n!_�f�|4��G�b�;dz…
80 ���b ���JA��.5-<0aG�3LO�Fx����#��#��7#�B���pxB��@"����j ��w�� �!�TKj��n� Q @ �@��Ѿ��…
94 …H���Hz��2a%N�F2��J�M�J^��(�I��,)��� Ӊ �C]*D7�A�y�Բ�dAZ�M��i�uI�Z�n��\q�_ߦ@tq ����ݽ�e�…
119 _g������|d ��l*�n��^�и
[all …]
Dsegment000001.ts3 …K�m�+r������Z��-iWO��?q�7��)��S*v�i��4�駧2v��m�w,=���X_�Է�ث� �G�VT��n]���;�8\�&_��ḏ������…
14 …�\t����3~�jI�c3�N����R{�1I�f��?'-|b��\�vV�� �K�d���l��E�m~�x�����w�n����*�;���&*�1[��…
16 �M�ĭ���5?�Z����*G���IG��S.| ��n����bfg��7��n+{m
40 . �Fn9��E��ԝ���n�q5�ց
41 …ǡi���7H����_Yf�7��;'׵�Eb�wG�T?����@{M;�-���h��$Q��4���l �1�H49d#JÇ�i�n�;��6c2{�5�3_R��Vv�…
42 ����ӀC�A��4���.k���$�U��Y�(ƳI�p9Ǧ��b@�%�m_�����n��c�Y�_�S���F&l�f��_u�ӄ�?�O�@��D��5
49 F(/�jޗ��'H#n �`~$<x�q��|��/}���S�6���8w�� ,a���Q����֫S�j�s^��1P�RQ?n�L
52 …m��S7�dde#�W�5g˶�;W�Ĕ��LSG�ɸ�����S[���V���y�Y����qh���"G����.�H�W�L���n���P R�}:R��w�]-�b�…
58 ���\�g������3�8L��cܟߵ%��VE��:�ױ�N��@?~���_�H����,b��Qޙo�?���4��C�����D�f�C�~J��n���#w��U� ��…
96 >ѽA��n���aL�נ0����RL���D�K��i�⸘�����Hc�!p� ^��p����S w��oF�M�u1��!����A��_����us6e0A�B�����…
[all …]
Dsegment000000.ts3 ����h�<�����n�E���H��,� �#��x264 - core 140 r2377+1M a1e1ce5 - H.264/MPEG-4 AVC codec - Copylef…
97 …ܽP��� x���?���/y: m�M�YFv���N��{+��>��M���I��[¸?����nG�b�xi���.�n������$�FF��W ��?…
109 I�<�$*n����ӝ�K��YOUG�m�G��}�i�&{i���N��D33�`��.�B�7�ӊ�λ_-��>�;d5�&�n�n�J��>��OE�4�U�m…
134 �jN�oS�j�d<) ��7��脬T7�t�����X�q��n1,�¸ �Vp�F�쿛��=�-�o4���Y��r� ��s;����Ea^���Ō����d���8O …
142 `"h3�=Gr2��9G�x�����r�`@G��Ϫۚ�R��(��h}4��n�q��d+�h�&�L�7KU=��W��~[k� ��4`O������|rC…
162 ������wRI(���,�7��<�R3�$n�ά��3�j9���T9��6���>V����w���p=|t�v���s�W��a\bژ��g�Q�����,AV…
168 …5F*, '�9s���W:>y���?���9�b)ǂ_��� �Sp@Ġ�2mȿOA(�$x�_�_����P�aY.����n���ZG(�`'� 9l������…
265 n��f]�7SG�%^jP�B����<�"� �ѷvѰ����$�4�!��oRaEi��L�MШ`�f��)G�a^O�lb3�N��If�T@,��SǢ��C�`s�y��q…
281 �*C��n��ϝ��j#�Sz��d�VT�6G����da���� �����?����6e����6��xD� ���Z���E@w��x�z%���_�!0 ��jd~…
296 …ݾ�M���m��0�ė���.k��=a����z^�G����|M!��aI��4�O����W]9���.�3�^�2�p!���n�~�G�搗/�'?�?�=?�y�NO…
DfileSequence0.ts37 uE�I����"�_Iz�#��a�>�kS�NͦOwF�$T=Uj�n��0i�[��b��vQN�DT(���_8>�����q��g�J�C�t&!,�L�\�Q�g��u�4…
47 �B ��0F:����b�n
73  �`#/�n��CY�3��>zD7g� (���IP± SwF�⤡��I��mtGٰ[ ��P��}I.��)�ȯ��M~׸�-��SF:���zSm+���\@)�…
161 …�G>x���NGXJ����eΊ۵F5�����\@)��7���4�a�XTp$��Qh��ɻUr�"��.��2�?���n��8�P�,'���n%����5…
175 �Oxw�l�BJ�bJ������r���n�ᬋRE�b��c���� C����P�m@!���. d�ߊ!�����Xt�u��0��9�đm�aZ�e�…
199 =�x����b�ybN.;���Z{�ތ��?�l� �(��}�YfT������M�G@'���n��("@���|�%�o��-�G�.�=6�8ԱX�3��…
205 …<��k1Qx3H/E���c�Y��&�`Y�� AU�XY�)>�r�0����i�oק�������ʩ3怄"^6y�d�Fw�c,D���n�Y�-#^�ʀ�9@��� G��…
253 …M0ʆ^9K�U�^35� :�u�Xc5eZ[d�����\@ _��7��� ���rF�胝�2�+T-�'K����qu��n�}!�'G0��|֘t�g�…
263 E�J�Up%9WU���}y�U`�F��Hf�\}��̇�`*�?��2d����J+U�L�;��(���_4�n�&������7G2�����#L����8�D�c�?…
276 …��^z�e=h�*ӯ�����^���u9.l�����K b�b@��.w���{:���^�f�AAES ��� �X���z��5�%��}^��u|��n�}y��c����
[all …]
/cts/apps/NotificationBot/src/com/android/cts/robot/
DNotificationBot.java45 Notification n = (Notification) intent.getParcelableExtra(EXTRA_NOTIFICATION); in onReceive() local
46 Log.i(TAG, "n: " + n); in onReceive()
49 noMa.notify(id, n); in onReceive()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_VulkanFeaturesTest.cpp76 for (size_t i = 0, n = gpus.size(); i < n; i++) { in getVkJSON() local
79 if (i < n - 1) in getVkJSON()
/cts/apps/CameraITS/tests/inprog/
Dtest_burst_sameness_auto.py67 n = j*BURST_LEN + i
68 imgs[n] = its.image.convert_capture_to_rgb_image(cap)
69 tile = its.image.get_image_patch(imgs[n], 0.45, 0.45, 0.1, 0.1)

123