/libcore/luni/src/main/java/java/lang/ |
Number.java | 42 public byte byteValue() {
|
Byte.java | 91 public byte byteValue() {
|
Short.java | 88 public byte byteValue() {
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
NumberTest.java | 23 * @tests java.lang.Number#byteValue() 29 .byteValue()); 33 .byteValue()); 37 .byteValue()); 41 .byteValue());
|
ByteTest.java | 86 assertEquals(1, new Byte((byte) 1).byteValue()); 87 assertEquals(2, new Byte((byte) 2).byteValue()); 88 assertEquals(0, new Byte((byte) 0).byteValue()); 89 assertEquals(-1, new Byte((byte) -1).byteValue()); 93 * @tests java.lang.Byte#byteValue() 96 assertEquals(1, new Byte((byte) 1).byteValue()); 97 assertEquals(2, new Byte((byte) 2).byteValue()); 98 assertEquals(0, new Byte((byte) 0).byteValue()); 99 assertEquals(-1, new Byte((byte) -1).byteValue()); 178 assertEquals(Character.digit('1', 2), Byte.valueOf("1", 2).byteValue()); [all...] |
ShortTest.java | 26 * @tests java.lang.Short#byteValue() 29 // Test for method byte java.lang.Short.byteValue() 31 .byteValue()); 33 .byteValue()); 409 * @tests java.lang.Short#byteValue() 412 assertEquals(1, new Short((short)1).byteValue()); 413 assertEquals(2, new Short((short)2).byteValue()); 414 assertEquals(0, new Short((short)0).byteValue()); 415 assertEquals(-1, new Short((short)-1).byteValue()); 490 assertEquals(Character.digit('1', 2), Short.valueOf("1", 2).byteValue()); [all...] |
IntegerTest.java | 37 * @tests java.lang.Integer#byteValue() 40 // Test for method byte java.lang.Integer.byteValue() 42 .byteValue()); 44 .byteValue()); 740 * @tests java.lang.Integer#byteValue() 743 assertEquals(1, new Integer(1).byteValue()); 744 assertEquals(2, new Integer(2).byteValue()); 745 assertEquals(0, new Integer(0).byteValue()); 746 assertEquals(-1, new Integer(-1).byteValue()); 821 assertEquals(Character.digit('1', 2), Integer.valueOf("1", 2).byteValue()); [all...] |
LongTest.java | 37 * @tests java.lang.Long#byteValue() 40 // Test for method byte java.lang.Long.byteValue() 42 assertEquals("Returned incorrect byte value", 127, l.byteValue()); 44 .byteValue()); 574 * @tests java.lang.Long#byteValue() 577 assertEquals(1, new Long(1).byteValue()); 578 assertEquals(2, new Long(2).byteValue()); 579 assertEquals(0, new Long(0).byteValue()); 580 assertEquals(-1, new Long(-1).byteValue()); 655 assertEquals(Character.digit('1', 2), Long.valueOf("1", 2).byteValue()); [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_GetPutFields.java | 38 public byte byteValue = 0; 78 byteValue = (byte) 0xbe; 95 byteValue == other.byteValue && 109 byteValue = getField.get("byteValue", (byte) 0); 123 putField.put("byteValue", byteValue);
|
Support_GetPutFieldsDeprecated.java | 40 public byte byteValue = 0; 80 byteValue = (byte) 0xbe; 97 byteValue == other.byteValue && 110 byteValue = getField.get("byteValue", (byte) 0); 124 putField.put("byteValue", byteValue);
|
Support_GetPutFieldsDefaulted.java | 49 public byte byteValue = 0; 89 byteValue = (byte) 0x0b; 106 byteValue == other.byteValue && 120 byteValue = getField.get("byteValue", (byte) 0x0b);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldDoubleTest.java | 25 assertEquals("Returned incorrect byte value", Byte.MAX_VALUE, d.byteValue()); 27 assertEquals("Returned incorrect byte value", Byte.MIN_VALUE, d.byteValue()); 29 assertEquals("Returned incorrect byte value", -1, d.byteValue());
|
/external/guava/guava-tests/test/com/google/common/base/ |
DefaultsTest.java | 30 assertEquals(0, Defaults.defaultValue(byte.class).byteValue());
|
/libcore/luni/src/test/java/libcore/java/math/ |
OldBigDecimalConvertTest.java | 250 byte bNumber = bdNumber.byteValue(); 251 assertTrue("incorrect byteValue", i == bNumber); 255 * @test java.math.BigDecimal#byteValue() Convert negative BigDesimal to 264 byte bNumber = bdNumber.byteValue(); 276 byte bNumber = bdNumber.byteValue(); 277 assertTrue("incorrect byteValue", iNumber == bNumber); 286 byte bNumber = bdNumber.byteValue(); 287 assertTrue("incorrect byteValue", iNumber == bNumber); 294 byte bNumber = bdNumber.byteValue(); 295 assertTrue("incorrect byteValue", bNumber == result) [all...] |
/art/test/070-nio-buffer/src/ |
Main.java | 130 final byte byteValue = -5; 138 if (directBuf.put(1, byteValue).get(1) != byteValue) {
|
/dalvik/tests/070-nio-buffer/src/ |
Main.java | 130 final byte byteValue = -5; 138 if (directBuf.put(1, byteValue).get(1) != byteValue) {
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
WTauNafMultiplier.java | 31 byte a = curve.getA().toBigInteger().byteValue(); 85 byte a = curve.getA().toBigInteger().byteValue();
|
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardProperty.java | 138 public void setByteValue(byte[] byteValue) { 139 mByteValue = byteValue;
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/ |
Constraint.java | 62 Space targetSpace = Space.valueOf(((Number) constraintStructure.getFieldValue("tarspace")).byteValue());
72 Space ownerSpace = Space.valueOf(((Number) constraintStructure.getFieldValue("ownspace")).byteValue());
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
CharsetDecoderTest.java | 57 arr = prependByteToByteArray(arr, new Integer(1).byteValue()); 73 arr = prependByteToByteArray(arr, new Integer(1).byteValue());
|
/external/proguard/src/proguard/evaluation/value/ |
ParticularIntegerValue.java | 59 int byteValue = (byte)value; 61 return byteValue == value ? 63 new ParticularIntegerValue(byteValue);
|
/libcore/luni/src/main/java/java/io/ |
EmulatedFieldsForDumping.java | 206 output.writeByte(fieldValue != null ? ((Byte) fieldValue).byteValue() : 0);
|
/libcore/luni/src/test/java/libcore/java/text/ |
NumberFormatTest.java | 32 public byte byteValue() { throw new UnsupportedOperationException(); }
|
/external/chromium_org/third_party/skia/src/sfnt/ |
SkOTTable_glyf.h | 184 struct ByteValue { 188 } byteValue;
|
/external/skia/src/sfnt/ |
SkOTTable_glyf.h | 184 struct ByteValue { 188 } byteValue;
|