Home
last modified time | relevance | path

Searched refs:b2 (Results 1 – 25 of 28) sorted by relevance

12

/art/test/660-checker-simd-sad-byte/src/
DMain.java24 private static byte sadByte2Byte(byte[] b1, byte[] b2) { in sadByte2Byte() argument
25 int min_length = Math.min(b1.length, b2.length); in sadByte2Byte()
28 sad += Math.abs(b1[i] - b2[i]); in sadByte2Byte()
33 private static byte sadByte2ByteAlt(byte[] b1, byte[] b2) { in sadByte2ByteAlt() argument
34 int min_length = Math.min(b1.length, b2.length); in sadByte2ByteAlt()
38 byte p = b2[i]; in sadByte2ByteAlt()
44 private static byte sadByte2ByteAlt2(byte[] b1, byte[] b2) { in sadByte2ByteAlt2() argument
45 int min_length = Math.min(b1.length, b2.length); in sadByte2ByteAlt2()
49 byte p = b2[i]; in sadByte2ByteAlt2()
57 private static short sadByte2Short(byte[] b1, byte[] b2) { in sadByte2Short() argument
[all …]
/art/test/646-checker-hadd-short/src/
DMain.java48 private static void halving_add_signed(short[] b1, short[] b2, short[] bo) { in halving_add_signed() argument
49 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_signed()
51 bo[i] = (short) ((b1[i] + b2[i]) >> 1); in halving_add_signed()
74 private static void halving_add_signed_alt(short[] b1, short[] b2, short[] bo) { in halving_add_signed_alt() argument
75 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_signed_alt()
78 bo[i] = (short) (((b1[i] + 10) + (b2[i] - 10)) >> 1); in halving_add_signed_alt()
110 private static void halving_add_unsigned(short[] b1, short[] b2, short[] bo) { in halving_add_unsigned() argument
111 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_unsigned()
114 int v2 = b2[i] & 0xffff; in halving_add_unsigned()
135 private static void rounding_halving_add_signed(short[] b1, short[] b2, short[] bo) { in rounding_halving_add_signed() argument
[all …]
/art/test/684-checker-simd-dotprod/src/other/
DTestByte.java431 private static void testDotProd(byte[] b1, byte[] b2, int[] results) { in testDotProd() argument
432 expectEquals(results[0], testDotProdSimple(b1, b2)); in testDotProd()
433 expectEquals(results[1], testDotProdComplex(b1, b2)); in testDotProd()
434 expectEquals(results[2], testDotProdSimpleUnsigned(b1, b2)); in testDotProd()
435 expectEquals(results[3], testDotProdComplexUnsigned(b1, b2)); in testDotProd()
436 expectEquals(results[4], testDotProdComplexUnsignedCastedToSigned(b1, b2)); in testDotProd()
437 expectEquals(results[5], testDotProdComplexSignedCastedToUnsigned(b1, b2)); in testDotProd()
438 expectEquals(results[6], testDotProdSignedWidening(b1, b2)); in testDotProd()
439 expectEquals(results[7], testDotProdParamSigned(-128, b2)); in testDotProd()
440 expectEquals(results[8], testDotProdParamUnsigned(-128, b2)); in testDotProd()
[all …]
DTestVarious.java396 byte[] b2 = { 127, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 127, 127, 127, 127 }; in run()
406 expectEquals(56516, testDotProdConstRight(b2)); in run()
407 expectEquals(56516, testDotProdConstLeft(b2)); in run()
408 expectEquals(1271, testDotProdLoopInvariantConvRight(b2, 129)); in run()
413 expectEquals(3, testDotProdBothSignedUnsigned1(b1, b2)); in run()
414 expectEquals(54403, testDotProdBothSignedUnsigned2(b1, b2)); in run()
415 expectEquals(3, testDotProdBothSignedUnsignedDoubleLoad(b1, b2)); in run()
/art/test/646-checker-hadd-alt-char/src/
DMain.java47 private static void halving_add_unsigned(char[] b1, char[] b2, char[] bo) { in halving_add_unsigned() argument
48 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_unsigned()
50 bo[i] = (char) ((b1[i] + b2[i]) >>> 1); in halving_add_unsigned()
86 private static void halving_add_also_unsigned(char[] b1, char[] b2, char[] bo) { in halving_add_also_unsigned() argument
87 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_also_unsigned()
89 bo[i] = (char) (((b1[i] & 0xffff) + (b2[i] & 0xffff)) >>> 1); in halving_add_also_unsigned()
109 private static void rounding_halving_add_unsigned(char[] b1, char[] b2, char[] bo) { in rounding_halving_add_unsigned() argument
110 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_unsigned()
112 bo[i] = (char) ((b1[i] + b2[i] + 1) >>> 1); in rounding_halving_add_unsigned()
149 private static void rounding_halving_add_also_unsigned(char[] b1, char[] b2, char[] bo) { in rounding_halving_add_also_unsigned() argument
[all …]
/art/test/646-checker-hadd-alt-short/src/
DMain.java47 private static void halving_add_signed(short[] b1, short[] b2, short[] bo) { in halving_add_signed() argument
48 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_signed()
50 bo[i] = (short) ((b1[i] + b2[i]) >>> 1); in halving_add_signed()
82 private static void halving_add_unsigned(short[] b1, short[] b2, short[] bo) { in halving_add_unsigned() argument
83 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_unsigned()
86 int v2 = b2[i] & 0xffff; in halving_add_unsigned()
107 private static void rounding_halving_add_signed(short[] b1, short[] b2, short[] bo) { in rounding_halving_add_signed() argument
108 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_signed()
110 bo[i] = (short) ((b1[i] + b2[i] + 1) >>> 1); in rounding_halving_add_signed()
144 private static void rounding_halving_add_unsigned(short[] b1, short[] b2, short[] bo) { in rounding_halving_add_unsigned() argument
[all …]
/art/test/646-checker-hadd-char/src/
DMain.java56 private static void halving_add_unsigned(char[] b1, char[] b2, char[] bo) { in halving_add_unsigned() argument
57 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_unsigned()
59 bo[i] = (char) ((b1[i] + b2[i]) >> 1); in halving_add_unsigned()
106 private static void halving_add_also_unsigned(char[] b1, char[] b2, char[] bo) { in halving_add_also_unsigned() argument
107 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_also_unsigned()
109 bo[i] = (char) (((b1[i] & 0xffff) + (b2[i] & 0xffff)) >> 1); in halving_add_also_unsigned()
141 private static void rounding_halving_add_unsigned(char[] b1, char[] b2, char[] bo) { in rounding_halving_add_unsigned() argument
142 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_unsigned()
144 bo[i] = (char) ((b1[i] + b2[i] + 1) >> 1); in rounding_halving_add_unsigned()
193 private static void rounding_halving_add_also_unsigned(char[] b1, char[] b2, char[] bo) { in rounding_halving_add_also_unsigned() argument
[all …]
/art/test/646-checker-hadd-alt-byte/src/
DMain.java47 private static void halving_add_signed(byte[] b1, byte[] b2, byte[] bo) { in halving_add_signed() argument
48 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_signed()
50 bo[i] = (byte) ((b1[i] + b2[i]) >>> 1); in halving_add_signed()
82 private static void halving_add_unsigned(byte[] b1, byte[] b2, byte[] bo) { in halving_add_unsigned() argument
83 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_unsigned()
85 bo[i] = (byte) (((b1[i] & 0xff) + (b2[i] & 0xff)) >>> 1); in halving_add_unsigned()
105 private static void rounding_halving_add_signed(byte[] b1, byte[] b2, byte[] bo) { in rounding_halving_add_signed() argument
106 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_signed()
108 bo[i] = (byte) ((b1[i] + b2[i] + 1) >>> 1); in rounding_halving_add_signed()
142 private static void rounding_halving_add_unsigned(byte[] b1, byte[] b2, byte[] bo) { in rounding_halving_add_unsigned() argument
[all …]
/art/test/646-checker-hadd-byte/src/
DMain.java44 private static void halving_add_signed(byte[] b1, byte[] b2, byte[] bo) { in halving_add_signed() argument
45 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_signed()
47 bo[i] = (byte) ((b1[i] + b2[i]) >> 1); in halving_add_signed()
79 private static void halving_add_unsigned(byte[] b1, byte[] b2, byte[] bo) { in halving_add_unsigned() argument
80 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_unsigned()
82 bo[i] = (byte) (((b1[i] & 0xff) + (b2[i] & 0xff)) >> 1); in halving_add_unsigned()
102 private static void rounding_halving_add_signed(byte[] b1, byte[] b2, byte[] bo) { in rounding_halving_add_signed() argument
103 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_signed()
105 bo[i] = (byte) ((b1[i] + b2[i] + 1) >> 1); in rounding_halving_add_signed()
139 private static void rounding_halving_add_unsigned(byte[] b1, byte[] b2, byte[] bo) { in rounding_halving_add_unsigned() argument
[all …]
/art/test/476-checker-ctor-fence-redun-elim/src/
DMain.java214 Base b2 = new Base(); in exercise() local
218 external2 = b2; in exercise()
264 Base b2 = new ThreeFinal(4, 5, 6); in exercise() local
268 b2.w0 = 7; in exercise()
273 external2 = b2; in exercise()
316 Base b2 = new Base(); in exercise() local
320 external2 = b2; in exercise()
359 Base b2 = new Base(); in exercise() local
363 external4 = b2; in exercise()
413 Base b2 = new Base(); in exercise() local
[all …]
/art/tools/dexfuzz/src/dexfuzz/rawdex/
DDexRandomAccessFile.java56 int b2 = readUnsignedByte(); in readUShort() local
57 return (short) ((b2 << 8) | b1); in readUShort()
65 int b2 = (value & 0xff00) >> 8; in writeUShort() local
67 writeByte(b2); in writeUShort()
75 int b2 = readUnsignedByte(); in readUInt() local
78 return (b4 << 24) | (b3 << 16) | (b2 << 8) | b1; in readUInt()
87 int b2 = (value & 0xff00) >> 8; in writeUInt() local
88 writeByte(b2); in writeUInt()
/art/test/952-invoke-custom/src/
DTestBase.java26 static void assertEquals(byte b1, byte b2) { in assertEquals() argument
27 if (b1 == b2) { in assertEquals()
30 throw new AssertionError("assertEquals b1: " + b1 + ", b2: " + b2); in assertEquals()
/art/test/805-TooDeepClassInstanceOf/src/
DMain.java38 A b2 = new B2(); in main() local
51 expectFalse(b2 instanceof G1); in main()
53 expectFalse(b2 instanceof F1); in main()
/art/test/168-vmstack-annotated/src/
DMain.java118 LinkedList<CyclicBarrier> b2 = new LinkedList<>(); in testCluster1() local
137 b2.add(null); in testCluster1()
138 b2.add(c1); in testCluster1()
139 b2.add(c2); in testCluster1()
144 Thread t2 = new Thread(new Runner(l2, b2)); in testCluster1()
/art/test/515-dce-dominator/smali/
DDominator.smali24 :b2
27 if-eq v0, p0, :b2
/art/runtime/native/
Dlibcore_util_CharsetUtils.cc236 jbyte b2 = ((ch >> 12) & 0x3f) | 0x80; in CharsetUtils_toUtf8Bytes() local
239 if (!out.append(b1) || !out.append(b2) || !out.append(b3) || !out.append(b4)) { in CharsetUtils_toUtf8Bytes()
245 jbyte b2 = ((ch >> 6) & 0x3f) | 0x80; in CharsetUtils_toUtf8Bytes() local
247 if (!out.append(b1) || !out.append(b2) || !out.append(b3)) { in CharsetUtils_toUtf8Bytes()
/art/test/115-native-bridge/src/
DNativeBridgeMain.java97 native static byte byteMethod(byte b1, byte b2, byte b3, byte b4, byte b5, byte b6, byte b7, in byteMethod() argument
129 …native static boolean booleanMethod(boolean b1, boolean b2, boolean b3, boolean b4, boolean b5, bo… in booleanMethod() argument
/art/test/115-native-bridge/
Dnativebridge.cc144 static jbyte trampoline_Java_Main_byteMethod(JNIEnv* env, jclass klass, jbyte b1, jbyte b2, in trampoline_Java_Main_byteMethod() argument
151 return fnPtr(env, klass, b1, b2, b3, b4, b5, b6, b7, b8, b9, b10); in trampoline_Java_Main_byteMethod()
165 jboolean b2, jboolean b3, jboolean b4, in trampoline_Java_Main_booleanMethod() argument
172 return fnPtr(env, klass, b1, b2, b3, b4, b5, b6, b7, b8, b9, b10); in trampoline_Java_Main_booleanMethod()
/art/test/004-JniTest/src/
DMain.java147 static native byte byteMethod(byte b1, byte b2, byte b3, byte b4, byte b5, byte b6, byte b7, in byteMethod() argument
185 …private static native boolean booleanMethod(boolean b1, boolean b2, boolean b3, boolean b4, boolea… in booleanMethod() argument
/art/test/623-checker-loop-regressions/src/
DMain.java723 byte[] b2 = new byte[259]; in main()
726 b2[i] = (byte) i; in main()
728 typeConv(b1, b2); in main()
/art/test/906-iterate-heap/src/art/
DTest906.java110 B b2 = new B(); in doTest() local
117 setTag(b2, 3); in doTest()
/art/test/004-JniTest/
Djni_test.cc203 extern "C" jbyte JNICALL Java_Main_byteMethod(JNIEnv*, jclass, jbyte b1, jbyte b2, in Java_Main_byteMethod() argument
207 CHECK_EQ(b2, 2); in Java_Main_byteMethod()
249 jboolean b2, jboolean b3, jboolean b4, in Java_Main_booleanMethod() argument
253 CHECK_EQ(b2, JNI_TRUE); in Java_Main_booleanMethod()
/art/compiler/optimizing/
Dinduction_var_range.cc260 bool b1, b2; // unused in GenerateRange() local
271 &b2)) { in GenerateRange()
282 bool b1, b2; // unused in GenerateTakenTest() local
293 &b2)) { in GenerateTakenTest()
324 bool b1, b2; // unused in GenerateLastValue() local
335 &b2)) { in GenerateLastValue()
/art/test/dexdump/
Dinvoke-custom.txt132 002590: 1a02 0d00 |0012: const-string v2, ", b2: " // string@000d
146 0x0000 - 0x0022 reg=4 b2 B
242 0026b2: 2700 |0023: throw v0
309 0027b2: 0c01 |001f: move-result-object v1
1778 … |001f: invoke-virtual {v1, v2}, Ljava/io/PrintStream;.println:(Ljava/lang/Object;)V // method@00b2
1789 … |0037: invoke-virtual {v1, v2}, Ljava/io/PrintStream;.println:(Ljava/lang/Object;)V // method@00b2
1815 … |0070: invoke-virtual {v1, v2}, Ljava/io/PrintStream;.println:(Ljava/lang/Object;)V // method@00b2
1841 … |00a9: invoke-virtual {v1, v2}, Ljava/io/PrintStream;.println:(Ljava/lang/Object;)V // method@00b2
1844 002148: 2833 |00b2: goto 00e5 // +0033
1867 … |00e2: invoke-virtual {v1, v2}, Ljava/io/PrintStream;.println:(Ljava/lang/Object;)V // method@00b2
[all …]
Dconst-method-handle.txt200 0004b2: 1a02 1f00 |0007: const-string v2, "MethodType " // string@001f

12