Home
last modified time | relevance | path

Searched refs:formatHex (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/test/java/util/HexFormat/
DHexFormatTest.java276 assertThrows(NPE, () -> HexFormat.of().formatHex(null)); in testFormatHexNPE()
277 assertThrows(NPE, () -> HexFormat.of().formatHex(null, 0, 1)); in testFormatHexNPE()
278 assertThrows(NPE, () -> HexFormat.of().formatHex(null, null)); in testFormatHexNPE()
279 assertThrows(NPE, () -> HexFormat.of().formatHex(null, null, 0, 0)); in testFormatHexNPE()
281 assertThrows(NPE, () -> HexFormat.of().formatHex(sb, null)); in testFormatHexNPE()
282 assertThrows(NPE, () -> HexFormat.of().formatHex(sb, null, 0, 1)); in testFormatHexNPE()
343 String res = hex.formatHex(expected); in testFormatter()
377 String s = hex.formatHex(expected); in testFormatHexString()
390 String s = hex.formatHex(expected); in testParseHexStringRange()
424 String s = hex.formatHex(expected, low, high); in testFormatHexRangeString()
[all …]
/libcore/ojluni/src/main/java/java/util/
DHexFormat.java340 public String formatHex(byte[] bytes) { in formatHex() method in HexFormat
341 return formatHex(bytes, 0, bytes.length); in formatHex()
356 public String formatHex(byte[] bytes, int fromIndex, int toIndex) { in formatHex() method in HexFormat
368 formatHex(sb, bytes, fromIndex, toIndex); in formatHex()
387 public <A extends Appendable> A formatHex(A out, byte[] bytes) { in formatHex() method in HexFormat
388 return formatHex(out, bytes, 0, bytes.length); in formatHex()
407 public <A extends Appendable> A formatHex(A out, byte[] bytes, int fromIndex, int toIndex) { in formatHex() method in HexFormat
/libcore/ojluni/src/main/java/sun/security/x509/
DX509CertImpl.java2024 return HexFormat.of().withUpperCase().formatHex(digest);
/libcore/api/
Dcurrent.txt14015 method public String formatHex(byte[]);
14016 method public String formatHex(byte[], int, int);
14017 method public <A extends java.lang.Appendable> A formatHex(A, byte[]);
14018 method public <A extends java.lang.Appendable> A formatHex(A, byte[], int, int);