Searched refs:parseByte (Results 1 – 8 of 8) sorted by relevance
/external/smali/smali/src/test/java/ |
D | ByteLiteralTest.java | 39 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/ |
D | ByteTest.java | 210 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/ |
D | AbstractAppleMetaDataBox.java | 111 IsoTypeWriter.writeUInt8(bb, (Byte.parseByte(value) & 0xFF)); in setValue()
|
/external/smali/smali/src/main/java/org/jf/smali/ |
D | LiteralTools.java | 36 public static byte parseByte(String byteLiteral) in parseByte() method in LiteralTools
|
/external/proguard/src/proguard/gui/ |
D | default.pro | 100 public static byte parseByte(java.lang.String); 101 public static byte parseByte(java.lang.String,int);
|
D | boilerplate.pro | 161 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/ |
D | DOMInputCapsule.java | 129 return Byte.parseByte(tmpString); in readByte() 164 tmp[i] = Byte.parseByte(strings[i]); in readByteArray()
|
/external/smali/smali/src/main/antlr3/ |
D | smaliTreeWalker.g | 65 int val = Byte.parseByte(register.substring(1)); 1563 : BYTE_LITERAL { $value = LiteralTools.parseByte($BYTE_LITERAL.text); };
|