/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 | 44 private static void halving_add_signed(short[] b1, short[] b2, short[] 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] = (short) ((b1[i] + b2[i]) >> 1); in halving_add_signed() 70 private static void halving_add_signed_alt(short[] b1, short[] b2, short[] bo) { in halving_add_signed_alt() argument 71 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_signed_alt() 74 bo[i] = (short) (((b1[i] + 10) + (b2[i] - 10)) >> 1); in halving_add_signed_alt() 106 private static void halving_add_unsigned(short[] b1, short[] b2, short[] bo) { in halving_add_unsigned() argument 107 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_unsigned() 109 bo[i] = (short) (((b1[i] & 0xffff) + (b2[i] & 0xffff)) >> 1); in halving_add_unsigned() 129 private static void rounding_halving_add_signed(short[] b1, short[] b2, short[] bo) { in rounding_halving_add_signed() argument [all …]
|
/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() 85 bo[i] = (short) (((b1[i] & 0xffff) + (b2[i] & 0xffff)) >>> 1); in halving_add_unsigned() 105 private static void rounding_halving_add_signed(short[] b1, short[] b2, short[] 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] = (short) ((b1[i] + b2[i] + 1) >>> 1); in rounding_halving_add_signed() 142 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 | 235 jbyte b2 = ((ch >> 12) & 0x3f) | 0x80; in CharsetUtils_toUtf8Bytes() local 238 if (!out.append(b1) || !out.append(b2) || !out.append(b3) || !out.append(b4)) { in CharsetUtils_toUtf8Bytes() 244 jbyte b2 = ((ch >> 6) & 0x3f) | 0x80; in CharsetUtils_toUtf8Bytes() local 246 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 | 145 static jbyte trampoline_Java_Main_byteMethod(JNIEnv* env, jclass klass, jbyte b1, jbyte b2, in trampoline_Java_Main_byteMethod() argument 152 return fnPtr(env, klass, b1, b2, b3, b4, b5, b6, b7, b8, b9, b10); in trampoline_Java_Main_byteMethod() 166 jboolean b2, jboolean b3, jboolean b4, in trampoline_Java_Main_booleanMethod() argument 173 return fnPtr(env, klass, b1, b2, b3, b4, b5, b6, b7, b8, b9, b10); in trampoline_Java_Main_booleanMethod()
|
/art/test/906-iterate-heap/src/art/ |
D | Test906.java | 30 B b2 = new B(); in doTest() local 37 setTag(b2, 3); in doTest()
|
/art/test/623-checker-loop-regressions/src/ |
D | Main.java | 704 byte[] b2 = new byte[259]; in main() 707 b2[i] = (byte) i; in main() 709 typeConv(b1, b2); in main()
|
/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/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 | 274 bool b1, b2; // unused in GenerateRange() local 285 &b2)) { in GenerateRange() 296 bool b1, b2; // unused in GenerateTakenTest() local 307 &b2)) { in GenerateTakenTest() 338 bool b1, b2; // unused in GenerateLastValue() local 349 &b2)) { in GenerateLastValue()
|
D | bounds_check_elimination.cc | 1446 bool b1 = false, b2 = false; in TransformLoopForDynamicBCE() local 1447 if (!induction_range_.CanGenerateRange(other_bounds_check, other_index, &b1, &b2)) { in TransformLoopForDynamicBCE()
|
/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 | const-method-handle.txt | 200 0004b2: 1a02 1f00 |0007: const-string v2, "MethodType " // string@001f
|
D | bytecodes.txt | 683 000d36: 52b2 1000 |0049: iget v2, v11, Lcom/google/android/test/Test;.… 687 000d42: 52b2 1000 |004f: iget v2, v11, Lcom/google/android/test/Test;.… 739 000e08: 2f00 0002 |00b2: cmpl-double v0, v0, v2 1094 0011b2: 1210 |0001: const/4 v0, #int 1 // #1 1271 0013b2: 8a00 |0093: double-to-int v0, v0 1287 0013f0: 5200 1000 |00b2: iget v0, v0, Lcom/google/android/test/Test;.m… 1336 0014b2: 5910 1000 |0113: iput v0, v1, Lcom/google/android/test/Test;.m… 1460 0015b2: 9202 0909 |004d: mul-int v2, v9, v9 1678 0017b2: 9b16 1618 |0089: add-long v22, v22, v24
|