Home
last modified time | relevance | path

Searched refs:parseByte (Results 1 – 8 of 8) sorted by relevance

/external/smali/smali/src/test/java/
DByteLiteralTest.java39 Assert.assertTrue(LiteralTools.parseByte("0x0T") == 0x0); in SuccessHexTests()
40 Assert.assertTrue(LiteralTools.parseByte("0x00") == 0x0); in SuccessHexTests()
41 Assert.assertTrue(LiteralTools.parseByte("0x1T") == 0x1); in SuccessHexTests()
42 Assert.assertTrue(LiteralTools.parseByte("0x12") == 0x12); in SuccessHexTests()
43 Assert.assertTrue(LiteralTools.parseByte("0x7fT") == 0x7f); in SuccessHexTests()
44 Assert.assertTrue(LiteralTools.parseByte("0x80t") == Byte.MIN_VALUE); in SuccessHexTests()
45 Assert.assertTrue(LiteralTools.parseByte("0xFFt") == -1); in SuccessHexTests()
47 Assert.assertTrue(LiteralTools.parseByte("-0x00") == 0); in SuccessHexTests()
48 Assert.assertTrue(LiteralTools.parseByte("-0x01") == -1); in SuccessHexTests()
49 Assert.assertTrue(LiteralTools.parseByte("-0x12") == -0x12); in SuccessHexTests()
[all …]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
DByteTest.java210 assertEquals(0, Byte.parseByte("0")); in test_parseByteLjava_lang_String()
211 assertEquals(1, Byte.parseByte("1")); in test_parseByteLjava_lang_String()
212 assertEquals(-1, Byte.parseByte("-1")); in test_parseByteLjava_lang_String()
215 Byte.parseByte("0x1"); in test_parseByteLjava_lang_String()
221 Byte.parseByte("9.2"); in test_parseByteLjava_lang_String()
227 Byte.parseByte(""); in test_parseByteLjava_lang_String()
233 Byte.parseByte(null); in test_parseByteLjava_lang_String()
243 assertEquals(0, Byte.parseByte("0", 10)); in test_parseByteLjava_lang_StringI()
244 assertEquals(1, Byte.parseByte("1", 10)); in test_parseByteLjava_lang_StringI()
245 assertEquals(-1, Byte.parseByte("-1", 10)); in test_parseByteLjava_lang_StringI()
[all …]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/apple/
DAbstractAppleMetaDataBox.java111 IsoTypeWriter.writeUInt8(bb, (Byte.parseByte(value) & 0xFF)); in setValue()
/external/smali/smali/src/main/java/org/jf/smali/
DLiteralTools.java36 public static byte parseByte(String byteLiteral) in parseByte() method in LiteralTools
/external/proguard/src/proguard/gui/
Ddefault.pro100 public static byte parseByte(java.lang.String);
101 public static byte parseByte(java.lang.String,int);
Dboilerplate.pro161 public static byte parseByte(java.lang.String);
162 public static byte parseByte(java.lang.String,int);
/external/jmonkeyengine/engine/src/xml/com/jme3/export/xml/
DDOMInputCapsule.java129 return Byte.parseByte(tmpString); in readByte()
164 tmp[i] = Byte.parseByte(strings[i]); in readByteArray()
/external/smali/smali/src/main/antlr3/
DsmaliTreeWalker.g65 int val = Byte.parseByte(register.substring(1));
1563 : BYTE_LITERAL { $value = LiteralTools.parseByte($BYTE_LITERAL.text); };