Home
last modified time | relevance | path

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

123

/cts/suite/cts/deviceTests/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/renderscript/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/renderscript/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/suite/cts/deviceTests/browserbench/assets/octane/
Dcrypto.js77 function am1(i,x,w,j,c,n) { argument
80 while(--n >= 0) {
91 function am2(i,x,w,j,c,n) { argument
95 while(--n >= 0) {
108 function am3(i,x,w,j,c,n) { argument
113 while(--n >= 0) {
126 function am4(i,x,w,j,c,n) { argument
131 while(--n >= 0) {
173 function int2char(n) { return BI_RM.charAt(n); } argument
319 function bnpDLShiftTo(n,r) { argument
[all …]
Dbox2d.js29 …;this.constructor===q&&this.b2PolygonShape.apply(this,arguments)}function n(){n.b2Shape.apply(this… function
30 n&&this.b2Shape.apply(this,arguments)}function a(){a.b2Color.apply(this,arguments);this.constructor…
44 o;Box2D.Collision.Shapes.b2PolygonShape=q;Box2D.Collision.Shapes.b2Shape=n;Box2D.Common.b2internal=…
52 Box2D.Collision.b2SimplexVertex,o=Box2D.Collision.b2TimeOfImpact,q=Box2D.Collision.b2TOIInput,n=Box…
114n.b2WorldManifold=function(){this.m_normal=new p};n.prototype.b2WorldManifold=function(){this.m_po… class
183 o=Box2D.Dynamics.Contacts.b2ContactSolver,q=Box2D.Dynamics.Joints.b2Joint,n=Box2D.Dynamics.Joints.b…
263 …is.m_debugDraw.DrawSegment(f,m,r);break;case q.e_pulleyJoint:c=a instanceof n?a:null;a=c.GetGround…
271 …is.m_fixtureB.GetBody(),n=this.m_fixtureA.GetShape(),a=this.m_fixtureB.GetShape();j.Initialize(thi…
273 …sensorFlag;var q=j.GetBody(),n=o.GetBody();if(q.GetType()!=D.b2_dynamicBody||q.IsBullet()||n.GetTy…
274 …ledFlag;var q=false;o=(this.m_flags&A.e_touchingFlag)==A.e_touchingFlag;var n=this.m_fixtureA.m_bo…
[all …]
Dnavier-stokes.js74 var n = 64;
75 for (var i = 1; i <= n; i++) {
76 field.setVelocity(i, i, n, n);
78 field.setVelocity(i, n - i, -n, -n);
79 field.setDensity(i, n - i, 20);
80 field.setVelocity(128 - i, n + i, -n, -n);
81 field.setDensity(128 - i, n + i, 30);
/cts/tools/signature-tools/src/signature/
DMain.java126 private static String[] without(String[] orig, int n) { in without() argument
129 System.arraycopy(orig, 0, newa, 0, n); in without()
130 System.arraycopy(orig, n + 1, newa, n, len - n); in without()
/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/renderscript/libbnnmdata/
Dtest_data.cpp23 const int n = 192; variable
31 const int b_count = (n * k);
32 const int c_count = (m * n);
/cts/suite/cts/deviceTests/opengl/
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/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/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/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/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/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)
/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…
/cts/suite/cts/deviceTests/simplecpu/src/com/android/cts/simplecpu/
DSimpleCpuTest.java117 private void doMatrixMultiplication(int numberRepeat, int n) { in doMatrixMultiplication() argument
118 assertTrue(n % 8 == 0); in doMatrixMultiplication()
122 result[i] = CpuNative.runMatrixMultiplication(n, numberRepeatInEachCall); in doMatrixMultiplication()
/cts/tests/tests/content/src/android/content/cts/
DSharedPreferencesTest.java287 for (int n = 0; n < 1000; n++) { in testTorture2()
289 String value = new Integer(n).toString(); in testTorture2()
305 int n; in testTorture2() local
306 while ((n = fis.read(buf)) > 0) { in testTorture2()
307 fos.write(buf, 0, n); in testTorture2()

123