Searched refs:fromHex (Results 1 – 2 of 2) sorted by relevance
156 bool fromHex(char h, unsigned char *b) { in fromHex() function172 if (!fromHex(h1, &first)) return false; in hexToByte()173 if (!fromHex(h2, &second)) return false; in hexToByte()
53 int nibble = Utils.fromHex(s.charAt(n), true); // Set lenient to not blow up on ':' in parseMac()181 (byte) (((fromHex(text.charAt(n), false) & NIBBLE_MASK) << 4) | in hexToBytes()182 (fromHex(text.charAt(n + 1), false) & NIBBLE_MASK)); in hexToBytes()188 public static int fromHex(char ch, boolean lenient) throws NumberFormatException { in fromHex() method in Utils