HomeSort by relevance Sort by last modified time
    Searched full:rbytes (Results 1 - 17 of 17) sorted by null

  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
BigIntegerDivideTest.java 71 byte rBytes[] = {1};
75 byte resBytes[] = new byte[rBytes.length];
78 assertTrue(resBytes[i] == rBytes[i]);
91 byte rBytes[] = {-1};
95 byte resBytes[] = new byte[rBytes.length];
98 assertTrue(resBytes[i] == rBytes[i]);
112 byte rBytes[] = {0};
116 byte resBytes[] = new byte[rBytes.length];
119 assertTrue(resBytes[i] == rBytes[i]);
133 byte rBytes[] = {0}
    [all...]
BigIntegerConstructorsTest.java 52 byte rBytes[] = {12, 56, 100, -2, -76, 89, 45, 91, 3, -15, 35, 26, 3, 91};
54 byte resBytes[] = new byte[rBytes.length];
57 assertTrue(resBytes[i] == rBytes[i]);
68 byte rBytes[] = {12, 56, 100};
70 byte resBytes[] = new byte[rBytes.length];
73 assertTrue(resBytes[i] == rBytes[i]);
84 byte rBytes[] = {127, 56, 100, -1};
86 byte resBytes[] = new byte[rBytes.length];
89 assertTrue(resBytes[i] == rBytes[i]);
100 byte rBytes[] = {127, 56, 100, -1, 14, 75, -24, -100}
    [all...]
BigIntegerNotTest.java 39 byte rBytes[] = {0, -128, 9, 56, 100, 0, 0, 1, 1, 90, 1, -32, 0, 10, -126, 21, 82, -31, -96};
43 byte resBytes[] = new byte[rBytes.length];
46 assertTrue(resBytes[i] == rBytes[i]);
59 byte rBytes[] = {73, -92, -48, 4, 12, 6, 4, 32, 48, 64, 0, 8, 2};
63 byte resBytes[] = new byte[rBytes.length];
66 assertTrue(resBytes[i] == rBytes[i]);
79 byte rBytes[] = {73, -92, -48, 4, 12, 6, 4, 32, 48, 64, 0, 8, 2};
83 byte resBytes[] = new byte[rBytes.length];
86 assertTrue(resBytes[i] == rBytes[i]);
99 byte rBytes[] = {-1, 127, -10, -57, -101, 1, 2, 2, 2, -96, -16, 8, -40, -59, 68, -88, -88, 16, 72}
    [all...]
BigIntegerMultiplyTest.java 39 byte rBytes[] = {10, 40, 100, -55, 96, 51, 76, 40, -45, 85, 105, 4, 28, -86, -117, -52, 100, 120, 90};
43 byte resBytes[] = new byte[rBytes.length];
46 assertTrue(resBytes[i] == rBytes[i]);
60 byte rBytes[] = {-11, -41, -101, 54, -97, -52, -77, -41, 44, -86, -106, -5, -29, 85, 116, 51, -101, -121, -90};
64 byte resBytes[] = new byte[rBytes.length];
67 assertTrue(resBytes[i] == rBytes[i]);
81 byte rBytes[] = {10, 40, 100, -55, 96, 51, 76, 40, -45, 85, 115, 44, -127,
86 byte resBytes[] = new byte[rBytes.length];
89 assertTrue(resBytes[i] == rBytes[i]);
103 byte rBytes[] = {10, 40, 100, -55, 96, 51, 76, 40, -45, 85, 115, 44, -127,
    [all...]
BigIntegerSubtractTest.java 40 byte rBytes[] = {9, 18, 27, 36, 45, 54, 63, 9, 18, 27};
44 byte resBytes[] = new byte[rBytes.length];
47 assertTrue(resBytes[i] == rBytes[i]);
61 byte rBytes[] = {-10, -19, -28, -37, -46, -55, -64, -10, -19, -27};
65 byte resBytes[] = new byte[rBytes.length];
68 assertTrue(resBytes[i] == rBytes[i]);
83 byte rBytes[] = {11, 22, 33, 44, 55, 66, 77, 11, 22, 33};
87 byte resBytes[] = new byte[rBytes.length];
90 assertTrue(resBytes[i] == rBytes[i]);
105 byte rBytes[] = {11, 22, 33, 44, 55, 66, 77, 11, 22, 33}
    [all...]
BigIntegerAddTest.java 39 byte rBytes[] = {11, 22, 33, 44, 55, 66, 77, 11, 22, 33};
43 byte resBytes[] = new byte[rBytes.length];
46 assertTrue(resBytes[i] == rBytes[i]);
59 byte rBytes[] = {-12, -23, -34, -45, -56, -67, -78, -12, -23, -33};
63 byte resBytes[] = new byte[rBytes.length];
66 assertTrue(resBytes[i] == rBytes[i]);
79 byte rBytes[] = {2, 2, 2, 2, 2, 2, 2};
85 byte resBytes[] = new byte[rBytes.length];
88 assertTrue(resBytes[i] == rBytes[i]);
101 byte rBytes[] = {-3, -3, -3, -3, -3, -3, -2}
    [all...]
BigIntegerOperateBitsTest.java 146 byte rBytes[] = {0};
149 byte resBytes[] = new byte[rBytes.length];
152 assertTrue(resBytes[i] == rBytes[i]);
164 byte rBytes[] = {0};
167 byte resBytes[] = new byte[rBytes.length];
170 assertTrue(resBytes[i] == rBytes[i]);
182 byte rBytes[] = {-2, 127, -57, -101, 1, 75, -90, -46, -92, -4, 14, 92, -26};
185 byte resBytes[] = new byte[rBytes.length];
188 assertTrue(resBytes[i] == rBytes[i]);
200 byte rBytes[] = {-2, 127, -57, -101, 1, 75, -90, -62, -92, -4, 14, -36, -26}
    [all...]
BigIntegerAndTest.java 39 byte rBytes[] = {0};
43 byte resBytes[] = new byte[rBytes.length];
46 assertTrue(resBytes[i] == rBytes[i]);
59 byte rBytes[] = {0};
63 byte resBytes[] = new byte[rBytes.length];
66 assertTrue(resBytes[i] == rBytes[i]);
79 byte rBytes[] = {0};
83 byte resBytes[] = new byte[rBytes.length];
86 assertTrue(resBytes[i] == rBytes[i]);
99 byte rBytes[] = {0}
    [all...]
BigIntegerOrTest.java 39 byte rBytes[] = {0, -2, -3, -4, -4, 5, 14, 23, 39, 48, 57, 66, 5, 14, 23};
43 byte resBytes[] = new byte[rBytes.length];
46 assertTrue(resBytes[i] == rBytes[i]);
59 byte rBytes[] = {-1, 1, 2, 3, 3, -6, -15, -24, -40, -49, -58, -67, -6, -15, -23};
63 byte resBytes[] = new byte[rBytes.length];
66 assertTrue(resBytes[i] == rBytes[i]);
79 byte rBytes[] = {0, -2, -3, -4, -4, 5, 14, 23, 39, 48, 57, 66, 5, 14, 23};
83 byte resBytes[] = new byte[rBytes.length];
86 assertTrue(resBytes[i] == rBytes[i]);
99 byte rBytes[] = {-1, 1, 2, 3, 3, -6, -15, -24, -40, -49, -58, -67, -6, -15, -23}
    [all...]
BigIntegerModPowTest.java 68 byte rBytes[] = {113, 100, -84, -28, -85};
73 byte resBytes[] = new byte[rBytes.length];
76 assertTrue(resBytes[i] == rBytes[i]);
91 byte rBytes[] = {12, 118, 46, 86, 92};
96 byte resBytes[] = new byte[rBytes.length];
99 assertTrue(resBytes[i] == rBytes[i]);
169 byte rBytes[] = {47, 3, 96, 62, 87, 19};
173 byte resBytes[] = new byte[rBytes.length];
176 assertTrue(resBytes[i] == rBytes[i]);
189 byte rBytes[] = {1, -93, 40, 127, 73}
    [all...]
BigIntegerCompareTest.java 37 byte rBytes[] = {1, 2, 3, 4, 5, 6, 7};
40 byte resBytes[] = new byte[rBytes.length];
43 assertTrue(resBytes[i] == rBytes[i]);
54 byte rBytes[] = {1, 2, 3, 4, 5, 6, 7};
57 byte resBytes[] = new byte[rBytes.length];
60 assertTrue(resBytes[i] == rBytes[i]);
302 byte rBytes[] = {12, 56, 100, -2, -76, 89, 45, 91, 3, -15, 35, 26, 3, 91};
306 byte resBytes[] = new byte[rBytes.length];
309 assertTrue(resBytes[i] == rBytes[i]);
323 byte rBytes[] = {12, 56, 100, -2, -76, 89, 45, 91, 3, -15, 35, 26, 3, 91}
    [all...]
BigIntegerConvertTest.java 663 byte rBytes[] = {127, -1, -1, -1};
664 byte resBytes[] = new byte[rBytes.length];
667 assertTrue(resBytes[i] == rBytes[i]);
678 byte rBytes[] = {-128, 0, 0, 0};
679 byte resBytes[] = new byte[rBytes.length];
682 assertTrue(resBytes[i] == rBytes[i]);
693 byte rBytes[] = {127, -1, -1, -1, -1, -1, -1, -1};
694 byte resBytes[] = new byte[rBytes.length];
697 assertTrue(resBytes[i] == rBytes[i]);
708 byte rBytes[] = {-128, 0, 0, 0, 0, 0, 0, 0}
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
OldDataInputStreamTest.java 59 byte rbytes[] = new byte[testLength - 5];
67 r = dis.read(rbytes);
71 new String(rbytes).equals(fileString.substring(0, testLength - 5)));
73 r = dis.read(rbytes);
76 new String(rbytes, 0, 5).equals(fileString.substring(testLength - 5)));
82 dis.read(rbytes);
90 byte rbytes[] = new byte[testLength - 5];
98 r = dis.read(rbytes, 1, testLength - 10);
101 assertEquals("Test 2: Incorrect data read.", 0, rbytes[0]);
103 new String(rbytes, 1, r).equals(fileString.substring(0, r)))
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
PrintStreamTest.java 212 byte[] rbytes = new byte[4000];
213 bis.read(rbytes, 0, fileString.length());
214 assertEquals("Incorrect char[] written", fileString, new String(rbytes,
311 byte[] rbytes = new byte[2];
312 bis.read(rbytes, 0, 2);
313 assertEquals("Incorrect Object written", "[]", new String(rbytes, 0, 2));
337 byte rbytes[] = new byte[100];
338 bis.read(rbytes, 0, 11);
340 rbytes, 0, 11));
381 byte[] rbytes = new byte[4000]
    [all...]
DataInputStreamTest.java 59 byte rbytes[] = new byte[fileString.length()];
60 dis.read(rbytes);
61 assertTrue("Incorrect data read", new String(rbytes, 0, fileString
72 byte rbytes[] = new byte[fileString.length()];
73 dis.read(rbytes, 0, rbytes.length);
74 assertTrue("Incorrect data read", new String(rbytes, 0, fileString
136 byte rbytes[] = new byte[fileString.length()];
137 dis.readFully(rbytes);
138 assertTrue("Incorrect data read", new String(rbytes, 0, fileStrin
    [all...]
FileOutputStreamTest.java 180 byte rbytes[] = new byte[4000];
181 fis.read(rbytes, 0, fileString.length());
182 assertTrue("Incorrect string returned", new String(rbytes, 0,
194 byte rbytes[] = new byte[4000];
195 fis.read(rbytes, 0, fileString.length());
196 assertTrue("Incorrect bytes written", new String(rbytes, 0, fileString
  /external/qemu/audio/
esdaudio.c 376 int rbytes = rsamples << hw->info.shift; local
377 if (rbytes != nread) {
380 rbytes, nread, hw->info.align + 1);

Completed in 873 milliseconds