/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | FloatTest.java | 93 + ") Expecting:" + Integer.toHexString(expectedRawBits) + " Got: " in doTestCompareRawBits() 94 + Integer.toHexString(rawBits), expectedRawBits, rawBits); in doTestCompareRawBits() 492 String expectedString = Integer.toHexString(Float.floatToIntBits(expected)); in test_parseFloat_LString_NormalPositiveExponent() 493 String actualString = Integer.toHexString(Float.floatToIntBits(actual)); in test_parseFloat_LString_NormalPositiveExponent() 541 String expectedString = Integer.toHexString(Float.floatToIntBits(expected)); in test_parseFloat_LString_NormalNegativeExponent() 542 String actualString = Integer.toHexString(Float.floatToIntBits(actual)); in test_parseFloat_LString_NormalNegativeExponent() 591 String expectedString = Integer.toHexString(Float.floatToIntBits(expected)); in test_parseFloat_LString_MaxNormalBoundary() 592 String actualString = Integer.toHexString(Float.floatToIntBits(actual)); in test_parseFloat_LString_MaxNormalBoundary() 641 String expectedString = Integer.toHexString(Float.floatToIntBits(expected)); in test_parseFloat_LString_MinNormalBoundary() 642 String actualString = Integer.toHexString(Float.floatToIntBits(actual)); in test_parseFloat_LString_MinNormalBoundary() [all …]
|
D | DoubleTest.java | 787 String expectedString = "0x" + Long.toHexString(Double.doubleToLongBits(expected)); in test_parseDouble_LString_NormalPositiveExponent() 788 String actualString = "0x" + Long.toHexString(Double.doubleToLongBits(actual)); in test_parseDouble_LString_NormalPositiveExponent() 848 String expectedString = "0x" + Long.toHexString(Double.doubleToLongBits(expected)); in test_parseDouble_LString_NormalNegativeExponent() 849 String actualString = "0x" + Long.toHexString(Double.doubleToLongBits(actual)); in test_parseDouble_LString_NormalNegativeExponent() 912 String expectedString = "0x" + Long.toHexString(Double.doubleToLongBits(expected)); in test_parseDouble_LString_MaxNormalBoundary() 913 String actualString = "0x" + Long.toHexString(Double.doubleToLongBits(actual)); in test_parseDouble_LString_MaxNormalBoundary() 976 String expectedString = "0x" + Long.toHexString(Double.doubleToLongBits(expected)); in test_parseDouble_LString_MinNormalBoundary() 977 String actualString = "0x" + Long.toHexString(Double.doubleToLongBits(actual)); in test_parseDouble_LString_MinNormalBoundary() 1040 String expectedString = "0x" + Long.toHexString(Double.doubleToLongBits(expected)); in test_parseDouble_LString_MaxSubNormalBoundary() 1041 String actualString = "0x" + Long.toHexString(Double.doubleToLongBits(actual)); in test_parseDouble_LString_MaxSubNormalBoundary() [all …]
|
D | IntegerTest.java | 464 .toHexString(i).equals(hexvals[i])); in test_toHexStringI() 468 + Integer.toHexString(Integer.MAX_VALUE), Integer.toHexString( in test_toHexStringI() 471 + Integer.toHexString(Integer.MIN_VALUE), Integer.toHexString( in test_toHexStringI()
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | SNIServerName.java | 184 return "type=host_name (0), value=" + toHexString(encoded); in toString() 186 return "type=(" + type + "), value=" + toHexString(encoded); in toString() 191 private static String toHexString(byte[] bytes) { in toHexString() method in SNIServerName
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | IntegralToStringBenchmark.java | 117 Integer.toHexString(SMALL); in time_IntegerToHexString_small() 123 Integer.toHexString(MEDIUM); in time_IntegerToHexString_medium() 129 Integer.toHexString(LARGE); in time_IntegerToHexString_large()
|
D | FormatterBenchmark.java | 78 sb.append(Integer.toHexString(1024)); in timeStringBuilder_OneHexInt()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Float.java | 283 public static String toHexString(float f) { in toHexString() method in Float 289 String s = Double.toHexString(Math.scalb((double)f, in toHexString() 296 return Double.toHexString(f); in toHexString()
|
D | Double.java | 281 public static String toHexString(double d) { in toHexString() method in Double 321 String signif = Long.toHexString(signifBits).substring(3,16); in toHexString()
|
D | Object.java | 273 return getClass().getName() + "@" + Integer.toHexString(hashCode()); in toString()
|
D | Byte.java | 525 public static String toHexString(byte b, boolean upperCase) { in toHexString() method in Byte
|
/libcore/support/src/test/java/tests/security/ |
D | MessageDigestTest.java | 157 String res = Integer.toHexString(computedDigest[i] & 0xFF); in testfips180_2_singleblock() 173 String res = Integer.toHexString(computedDigest[i] & 0xFF); in testfips180_2_multiblock() 189 String res = Integer.toHexString(computedDigest[i] & 0xFF); in testfips180_2_longMessage()
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
D | PKCS8Key.java | 126 Debug.toHexString(version) + in parseKey() 128 Debug.toHexString(parsedVersion)); in parseKey() 336 Debug.toHexString(PKCS8Key.version) + in decode() 338 Debug.toHexString(version)); in decode()
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipInputStream.java | 231 "invalid entry CRC (expected 0x" + Long.toHexString(entry.crc) + in read() 232 " but got 0x" + Long.toHexString(crc.getValue()) + ")"); in read() 404 "invalid entry CRC (expected 0x" + Long.toHexString(e.crc) + in readEnd() 405 " but got 0x" + Long.toHexString(crc.getValue()) + ")"); in readEnd()
|
D | ZipOutputStream.java | 274 Long.toHexString(e.crc) + " but got 0x" + in closeEntry() 275 Long.toHexString(crc.getValue()) + ")"); in closeEntry() 296 Long.toHexString(e.crc) + " but got 0x" + in closeEntry() 297 Long.toHexString(crc.getValue()) + ")"); in closeEntry()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixFileKey.java | 61 .append(Long.toHexString(st_dev)) in toString()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | TestUtils.java | 52 String tail = Integer.toHexString(0x000000ff & data[i]); in printAsHex()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | SerialNumber.java | 104 return ("SerialNumber: [" + Debug.toHexString(serialNum) + "]"); in toString()
|
/libcore/benchmarks/src/benchmarks/ |
D | ZipFileBenchmark.java | 64 ZipEntry ze = new ZipEntry(Integer.toHexString(entry)); in writeEntries()
|
D | ZipFileReadBenchmark.java | 57 ZipEntry ze = new ZipEntry(Integer.toHexString(entry)); in writeEntries()
|
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
D | DdmServer.java | 59 throw new RuntimeException("type " + Integer.toHexString(type) in registerHandler()
|
/libcore/xml/src/main/java/org/kxml2/io/ |
D | KXmlSerializer.java | 182 … throw new IllegalArgumentException("Illegal character (U+" + Integer.toHexString((int) ch) + ")"); in reportInvalidCharacter() 605 … throw new IllegalArgumentException("Bad surrogate pair (U+" + Integer.toHexString((int) high) + in writeSurrogate() 606 " U+" + Integer.toHexString((int) low) + ")"); in writeSurrogate()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | IntegerTest.java | 204 assertEquals(val, Integer.parseUnsignedInt(Integer.toHexString(val), 16)); 252 assertTrue(Integer.toUnsignedString(val, 16).equals(Integer.toHexString(val)));
|
D | LongTest.java | 220 assertEquals(val, Long.parseUnsignedLong(Long.toHexString(val), 16)); 259 assertTrue(Long.toUnsignedString(val, 16).equals(Long.toHexString(val)));
|
/libcore/support/src/test/java/libcore/tlswire/handshake/ |
D | CipherSuite.java | 385 "Cipher suite multiply defined: " + Integer.toHexString(cipherSuite.code)); 434 return new CipherSuite(code, Integer.toHexString(code)); in valueOf()
|
/libcore/support/src/test/java/tests/http/ |
D | MockResponse.java | 120 bytesOut.write(Integer.toHexString(chunkSize).getBytes(ASCII)); in setChunkedBody()
|