/libcore/ojluni/src/main/java/java/lang/ |
Number.java | 94 public byte byteValue() {
|
Byte.java | 323 public byte byteValue() { 415 return value == ((Byte)obj).byteValue();
|
Short.java | 328 public byte byteValue() {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
NumberTest.java | 23 * 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 * 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 * java.lang.Short#byteValue() 29 // Test for method byte java.lang.Short.byteValue() 31 .byteValue()); 33 .byteValue()); 414 * java.lang.Short#byteValue() 417 assertEquals(1, new Short((short) 1).byteValue()); 418 assertEquals(2, new Short((short) 2).byteValue()); 419 assertEquals(0, new Short((short) 0).byteValue()); 420 assertEquals(-1, new Short((short) -1).byteValue()); 499 assertEquals(Character.digit('1', 2), Short.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);
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/debugging/value/ |
LazyPrimitiveValue.java | 47 @Override public byte byteValue() { 48 return getValue().byteValue();
|
/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); 260 byte bNumber = bdNumber.byteValue(); 272 byte bNumber = bdNumber.byteValue(); 273 assertTrue("incorrect byteValue", iNumber == bNumber); 282 byte bNumber = bdNumber.byteValue(); 283 assertTrue("incorrect byteValue", iNumber == bNumber); 290 byte bNumber = bdNumber.byteValue(); 291 assertTrue("incorrect byteValue", bNumber == result); 298 byte bNumber = bdNumber.byteValue(); [all...] |
/art/test/070-nio-buffer/src/ |
Main.java | 130 final byte byteValue = -5; 138 if (directBuf.put(1, byteValue).get(1) != byteValue) {
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
BuglePrefsImpl.java | 76 final String byteValue = getString(key, null); 77 return byteValue == null ? null : Base64.decode(byteValue, Base64.DEFAULT);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
WTauNafMultiplier.java | 33 byte a = curve.getA().toBigInteger().byteValue(); 77 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/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/ |
MockSocketConnectionTest.java | 162 assertEquals(123, f.get().byteValue()); 185 assertEquals(-1, f.get().byteValue());
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
HostNfcFEmulationManager.java | 335 int byteValue; 337 byteValue = bytes[offset + j] & 0xFF; 338 chars[j * 2] = hexChars[byteValue >>> 4]; 339 chars[j * 2 + 1] = hexChars[byteValue & 0x0F];
|
HostEmulationManager.java | 508 int byteValue; 510 byteValue = bytes[offset + j] & 0xFF; 511 chars[j * 2] = hexChars[byteValue >>> 4]; 512 chars[j * 2 + 1] = hexChars[byteValue & 0x0F];
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/ |
GetValues002Test.java | 190 byte byteValue = fieldValue.getByteValue(); 191 logWriter.println("=> Byte value = " + byteValue); 193 assertEquals("Invalid byte value,", expectedByteValue, byteValue);
|
/external/proguard/src/proguard/evaluation/value/ |
ParticularIntegerValue.java | 59 int byteValue = (byte)value; 61 return byteValue == value ? 63 new ParticularIntegerValue(byteValue);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/ |
GetValues002Test.java | 164 byte byteValue = fieldValue.getByteValue(); 165 logWriter.println("=> Byte value = " + byteValue);
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/mbcs/ |
BIG5Tool.java | 293 int byteValue = (int)buf[nextIndex++] & 0x00ff; 294 return byteValue;
|
EUCTool.java | 293 int byteValue = (int)buf[nextIndex++] & 0x00ff; 294 return byteValue;
|