Home
last modified time | relevance | path

Searched refs:parseHex (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/test/java/util/HexFormat/
DHexFormatTest.java259 byte[] v = hex.parseHex(value); in testToBytesThrowing()
287 assertThrows(NPE, () -> HexFormat.of().parseHex(null)); in testParseHexNPE()
288 assertThrows(NPE, () -> HexFormat.of().parseHex((String)null, 0, 0)); in testParseHexNPE()
289 assertThrows(NPE, () -> HexFormat.of().parseHex((char[])null, 0, 0)); in testParseHexNPE()
309 () -> HexFormat.of().parseHex(string, offset, length)); in badParseHex()
312 () -> HexFormat.of().parseHex(chars, offset, length)); in badParseHex()
380 byte[] actual = hex.parseHex(s); in testFormatHexString()
398 byte[] actual = hex.parseHex(s, low * stride, in testParseHexStringRange()
410 byte[] actual = hex.parseHex(""); in testParseHexEmptyString()
412 actual = hex.parseHex("abc", 0, 0); in testParseHexEmptyString()
[all …]
/libcore/ojluni/src/main/java/java/util/
DHexFormat.java520 public byte[] parseHex(CharSequence string) { in parseHex() method in HexFormat
521 return parseHex(string, 0, string.length()); in parseHex()
542 public byte[] parseHex(CharSequence string, int fromIndex, int toIndex) { in parseHex() method in HexFormat
602 public byte[] parseHex(char[] chars, int fromIndex, int toIndex) { in parseHex() method in HexFormat
606 return parseHex(cb); in parseHex()
/libcore/api/
Dcurrent.txt14028 method public byte[] parseHex(CharSequence);
14029 method public byte[] parseHex(CharSequence, int, int);
14030 method public byte[] parseHex(char[], int, int);