Home
last modified time | relevance | path

Searched refs:Byte (Results 1 – 23 of 23) sorted by relevance

/art/test/567-checker-compare/src/
DMain.java361 expectEquals(-1, compareBytes(Byte.MIN_VALUE, (byte)(Byte.MIN_VALUE + 1))); in testCompareBytes()
362 expectEquals(-1, compareBytes(Byte.MIN_VALUE, (byte)-1)); in testCompareBytes()
363 expectEquals(-1, compareBytes(Byte.MIN_VALUE, (byte)0)); in testCompareBytes()
364 expectEquals(-1, compareBytes(Byte.MIN_VALUE, (byte)1)); in testCompareBytes()
365 expectEquals(-1, compareBytes(Byte.MIN_VALUE, Byte.MAX_VALUE)); in testCompareBytes()
370 expectEquals(0, compareBytes(Byte.MIN_VALUE, Byte.MIN_VALUE)); in testCompareBytes()
374 expectEquals(0, compareBytes(Byte.MAX_VALUE, Byte.MAX_VALUE)); in testCompareBytes()
379 expectEquals(1, compareBytes(Byte.MAX_VALUE, Byte.MIN_VALUE)); in testCompareBytes()
380 expectEquals(1, compareBytes(Byte.MAX_VALUE, (byte)-1)); in testCompareBytes()
381 expectEquals(1, compareBytes(Byte.MAX_VALUE, (byte)0)); in testCompareBytes()
[all …]
/art/test/458-checker-instruction-simplification/src/
DMain.java1761 assertIntEquals(Byte.MIN_VALUE, byteToDoubleToInt(Byte.MIN_VALUE)); in main()
1762 assertIntEquals(Byte.MAX_VALUE, byteToDoubleToInt(Byte.MAX_VALUE)); in main()
1766 assertIntEquals(Byte.MIN_VALUE, byteToDoubleToShort(Byte.MIN_VALUE)); in main()
1767 assertIntEquals(Byte.MAX_VALUE, byteToDoubleToShort(Byte.MAX_VALUE)); in main()
/art/test/564-checker-bitcount/src/
DMain.java80 int signExtensionSize = Integer.SIZE - Byte.SIZE; in testBitCountByte()
82 int signBit = Byte.SIZE - 1; in testBitCountByte()
96 for (int i = 0; i < Byte.SIZE; i++) { in testBitCountByte()
/art/test/566-checker-signum/src/
DMain.java143 expectEquals(-1, signByte((byte)Byte.MIN_VALUE)); in testSignByte()
149 expectEquals(1, signByte((byte)Byte.MAX_VALUE)); in testSignByte()
/art/test/457-regs/src/
DMain.java29 m.invoke(null, new Boolean(true), new Byte((byte)2)); in main()
/art/test/044-proxy/src/
DReturnsAndArgPassing.java121 myHandler.returnType = Byte.class; in testProxyReturns()
122 check(proxyMyInterface.byteFoo() == Byte.MAX_VALUE); in testProxyReturns()
126 check(proxyMyInterface.byteBar() == Byte.MIN_VALUE); in testProxyReturns()
/art/test/021-string2/src/junit/framework/
DAssert.java160 assertEquals(message, new Byte(expected), new Byte(actual)); in assertEquals()
/art/test/082-inline-execute/src/junit/framework/
DAssert.java160 assertEquals(message, new Byte(expected), new Byte(actual)); in assertEquals()
/art/test/093-serialization/src/
DMain.java111 private Byte six = 26;
/art/tools/ahat/src/
DInstanceUtils.java57 Byte b = (Byte)objs[i]; in asByteArray()
/art/test/800-smali/smali/
DsameFieldNames.smali22 .field static public a:Ljava/lang/Byte;
/art/runtime/
Dart_field-inl.h152 FIELD_GET(object, Byte); in GetByte()
157 FIELD_SET(object, Byte, b); in SetByte()
Djni_internal.cc1283 GET_PRIMITIVE_FIELD(Byte, obj); in GetByteField()
1315 GET_STATIC_PRIMITIVE_FIELD(Byte); in GetStaticByteField()
1347 SET_PRIMITIVE_FIELD(Byte, obj, v); in SetByteField()
1379 SET_STATIC_PRIMITIVE_FIELD(Byte, v); in SetStaticByteField()
Djni_internal_test.cc1758 EXPECT_STATIC_PRIMITIVE_FIELD(EXPECT_EQ, Byte, "sB", "B", 1, 2); in TEST_F()
1767 EXPECT_PRIMITIVE_FIELD(EXPECT_EQ, o, Byte, "iB", "B", 1, 2); in TEST_F()
Dcheck_jni.cc2097 FIELD_ACCESSORS(jbyte, Byte, Primitive::kPrimByte, B) in FIELD_ACCESSORS()
2210 CALL(jbyte, Byte, Primitive::kPrimByte, B) in CALL()
2452 PRIMITIVE_ARRAY_FUNCTIONS(jbyte, Byte, Primitive::kPrimByte) in PRIMITIVE_ARRAY_FUNCTIONS()
/art/test/082-inline-execute/src/
DMain.java1375 poke_byte = io_memory.getDeclaredMethod("pokeByte", Long.TYPE, Byte.TYPE);
1382 byte[] b = (byte[])new_non_movable_array.invoke(runtime, Byte.TYPE, 2);
1391 byte[] b = (byte[])new_non_movable_array.invoke(runtime, Byte.TYPE, 3);
1402 byte[] b = (byte[])new_non_movable_array.invoke(runtime, Byte.TYPE, 5);
1415 byte[] b = (byte[])new_non_movable_array.invoke(runtime, Byte.TYPE, 9);
1433 byte[] b = (byte[])new_non_movable_array.invoke(runtime, Byte.TYPE, 2);
1443 byte[] b = (byte[])new_non_movable_array.invoke(runtime, Byte.TYPE, 3);
1459 byte[] b = (byte[])new_non_movable_array.invoke(runtime, Byte.TYPE, 5);
1473 byte[] b = (byte[])new_non_movable_array.invoke(runtime, Byte.TYPE, 9);
/art/runtime/verifier/
Dreg_type_cache.h94 const ByteType& Byte() SHARED_REQUIRES(Locks::mutator_lock_) { in Byte() function
Dmethod_verifier.cc1723 reg_line->SetRegisterType<LockOp::kClear>(this, arg_start + cur_arg, reg_types_.Byte()); in SetTypesFromSignature()
2698 VerifyAGet(inst, reg_types_.Byte(), true); in CodeFlowVerifyInstruction()
2720 VerifyAPut(inst, reg_types_.Byte(), true); in CodeFlowVerifyInstruction()
2742 VerifyISFieldAccess<FieldAccessType::kAccGet>(inst, reg_types_.Byte(), true, false); in CodeFlowVerifyInstruction()
2765 VerifyISFieldAccess<FieldAccessType::kAccPut>(inst, reg_types_.Byte(), true, false); in CodeFlowVerifyInstruction()
2788 VerifyISFieldAccess<FieldAccessType::kAccGet>(inst, reg_types_.Byte(), true, true); in CodeFlowVerifyInstruction()
2811 VerifyISFieldAccess<FieldAccessType::kAccPut>(inst, reg_types_.Byte(), true, true); in CodeFlowVerifyInstruction()
3087 work_line_->CheckUnaryOp(this, inst, reg_types_.Byte(), reg_types_.Integer()); in CodeFlowVerifyInstruction()
3284 VerifyQuickFieldAccess<FieldAccessType::kAccGet>(inst, reg_types_.Byte(), true); in CodeFlowVerifyInstruction()
3299 VerifyQuickFieldAccess<FieldAccessType::kAccPut>(inst, reg_types_.Byte(), true); in CodeFlowVerifyInstruction()
Dreg_type_cache.cc83 return Byte(); in FromDescriptor()
Dreg_type.cc666 return reg_types->Byte(); // byte MERGE byte => byte in Merge()
Dreg_type_test.cc125 const RegType& byte_reg_type = cache.Byte(); in TEST_F()
/art/test/100-reflect2/src/
DMain.java87 f.set(null, Byte.valueOf((byte) 6)); in testFieldReflection()
/art/test/100-reflect2/
Dexpected.txt27 6 (class java.lang.Byte)