Home
last modified time | relevance | path

Searched refs:hex (Results 1 – 5 of 5) sorted by relevance

/libcore/json/src/main/java/org/json/
DJSONTokener.java249 String hex = in.substring(pos, pos + 4); in readEscapeCharacter() local
251 return (char) Integer.parseInt(hex, 16); in readEscapeCharacter()
600 public static int dehexchar(char hex) { in dehexchar() argument
601 if (hex >= '0' && hex <= '9') { in dehexchar()
602 return hex - '0'; in dehexchar()
603 } else if (hex >= 'A' && hex <= 'F') { in dehexchar()
604 return hex - 'A' + 10; in dehexchar()
605 } else if (hex >= 'a' && hex <= 'f') { in dehexchar()
606 return hex - 'a' + 10; in dehexchar()
/libcore/luni/src/test/java/libcore/util/
DSerializationTester.java122 public static Object deserializeHex(String hex) throws IOException, ClassNotFoundException { in deserializeHex() argument
123 return deserialize(hexDecode(hex)); in deserializeHex()
/libcore/luni/src/main/java/java/util/
DProperties.java135 String hex = Integer.toHexString(ch); in dumpString() local
137 for (int j = 0; j < 4 - hex.length(); j++) { in dumpString()
140 buffer.append(hex); in dumpString()
/libcore/expectations/
Dicebox.txt136 …substring: "Large hex longs shouldn't be yield ints or strings expected:<-1> but was:<0xFFFFFFFFFF…
/libcore/benchmarks/libs/
Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...