/art/test/660-checker-simd-sad-byte/src/ |
D | Main.java | 24 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/ |
D | Main.java | 48 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/ |
D | TestByte.java | 431 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 …]
|
D | TestVarious.java | 396 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/ |
D | Main.java | 47 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-char/src/ |
D | Main.java | 56 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-short/src/ |
D | Main.java | 47 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-alt-byte/src/ |
D | Main.java | 47 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/ |
D | Main.java | 44 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/ |
D | Main.java | 214 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/ |
D | DexRandomAccessFile.java | 56 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/ |
D | TestBase.java | 26 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/ |
D | Main.java | 38 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/ |
D | Main.java | 118 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/ |
D | Dominator.smali | 24 :b2 27 if-eq v0, p0, :b2
|
/art/runtime/native/ |
D | libcore_util_CharsetUtils.cc | 236 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/ |
D | NativeBridgeMain.java | 97 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/ |
D | nativebridge.cc | 144 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/ |
D | Main.java | 147 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/ |
D | Main.java | 723 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/ |
D | Test906.java | 110 B b2 = new B(); in doTest() local 117 setTag(b2, 3); in doTest()
|
/art/test/004-JniTest/ |
D | jni_test.cc | 203 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/ |
D | induction_var_range.cc | 260 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/ |
D | checkers.txt | 172 0015b2: 6f20 0300 a900 |0005: invoke-super {v9, v10}, Landroid/app/Activity… 232 0016b2: 7250 2c00 5a88 |0085: invoke-interface {v10, v5, v8, v8, v0}, Landr… 254 00170c: 1a03 5e00 |00b2: const-string v3, "Level 6 (30s)" // string@00… 305 0017b2: 28e8 |0025: goto 000d // -0018 466 0019b2: 6e10 5d00 0100 |000f: invoke-virtual {v1}, Lcom/google/android/chec… 881 001d60: 6200 6800 |01b2: sget-object v0, Lcom/google/android/checkers/… 1314 0022b2: 54a1 0a00 |00b5: iget-object v1, v10, Lcom/google/android/chec… 1666 00275c: 5990 2800 |01b2: iput v0, v9, Lcom/google/android/checkers/Che… 1693 0027b2: 5990 2300 |01dd: iput v0, v9, Lcom/google/android/checkers/Che… 1766 0028b2: b587 |025d: and-int/2addr v7, v8 [all …]
|
D | invoke-custom.txt | 132 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 …]
|