/external/boringssl/src/crypto/test/ |
H A D | test_util.cc | 33 // Print a byte slice as hex. 34 static const char hex[] = "0123456789abcdef"; local 36 os << hex[in.data[i] >> 4]; local 37 os << hex[in.data[i] & 0xf]; local
|
/external/icu/icu4c/source/test/intltest/ |
H A D | testutil.cpp | 32 UnicodeString TestUtility::hex(UChar32 ch) { function in class:TestUtility 38 UnicodeString TestUtility::hex(const UnicodeString& s) { function in class:TestUtility 39 return hex(s, 44 /*,*/); 42 UnicodeString TestUtility::hex(const UnicodeString& s, UChar sep) { function in class:TestUtility 56 UnicodeString TestUtility::hex(const uint8_t* bytes, int32_t len) { function in class:TestUtility
|
/external/boringssl/src/tool/ |
H A D | rand.cc | 29 "-hex", kBooleanArgument, 38 bool forever = true, hex = false; local 61 hex = args_map.count("-hex") > 0; 74 if (hex) { 91 if (hex && fwrite("\n", 1, 1, stdout) != 1) {
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
H A D | C_P_A_L_.py | 83 def hex(self): member in class:Color 87 return self.hex() 90 writer.simpletag("color", value=self.hex(), index=index)
|
/external/fonttools/Tools/fontTools/ttLib/tables/ |
H A D | C_P_A_L_.py | 83 def hex(self): member in class:Color 87 return self.hex() 90 writer.simpletag("color", value=self.hex(), index=index)
|
/external/google-tv-pairing-protocol/cpp/src/polo/util/ |
H A D | poloutil.cc | 26 char* hex = BN_bn2hex(bn); local 27 std::string hex_string(hex); 29 OPENSSL_free(hex);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
H A D | RegexUtilitiesTest.java | 56 Transliterator hex = Transliterator.getInstance("hex"); field in class:RegexUtilitiesTest 81 assertEquals("Doubled character works" + hex.transform(s), expected, pattern);
|
H A D | TestUtility.java | 17 public static String hex(char ch) { method in class:TestUtility 22 public static String hex(int ch) { method in class:TestUtility 27 public static String hex(String s) { method in class:TestUtility 28 return hex(s,","); 31 public static String hex(String s, String sep) { method in class:TestUtility 33 String result = hex(s.charAt(0)); 36 result += hex(s.charAt(i)); 129 System.out.println(TestUtility.hex(cc) + "\t" + block); 139 System.out.println(TestUtility.hex(cc) + "\t" + script);
|
H A D | WriteCharts.java | 161 //Transliterator hex = Transliterator.getInstance("Any-Hex"); 212 "<td class='s'>" + ss + "<br><tt>" + hex(ss) 213 + "</tt></td><td class='t'>" + ts + "<br><tt>" + hex(ts) 214 + "</tt></td><td class='r'>" + rt + "<br><tt>" + hex(rt) + "</tt></td>" ); 237 "<td class='s'>" + ss12 + "<br><tt>" + hex(ss12) 238 + "</tt></td><td class='t'>" + ts12 + "<br><tt>" + hex(ts12) 239 + "</tt></td><td class='r'>" + rt12 + "<br><tt>" + hex(rt12) + "</tt></td>" ); 275 "<td class='s'>-</td><td class='t'>" + ts + "<br><tt>" + hex(ts) 277 + rt + "<br><tt>" + hex(rt) + "</tt></td>"); 368 public static String hex(Strin method in class:WriteCharts [all...] |
/external/wycheproof/java/com/google/security/wycheproof/ |
H A D | TestUtil.java | 56 public static byte[] hexToBytes(String hex) throws IllegalArgumentException { argument 57 if (hex.length() % 2 != 0) { 60 int size = hex.length() / 2; 63 int hi = Character.digit(hex.charAt(2 * i), 16); 64 int lo = Character.digit(hex.charAt(2 * i + 1), 16);
|
/external/flatbuffers/src/ |
H A D | flathash.cpp | 83 ss << std::hex; member in class:std 85 ss << std::hex; member in class:std
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
H A D | RegexUtilitiesTest.java | 55 Transliterator hex = Transliterator.getInstance("hex"); field in class:RegexUtilitiesTest 80 assertEquals("Doubled character works" + hex.transform(s), expected, pattern);
|
H A D | TestUtility.java | 16 public static String hex(char ch) { method in class:TestUtility 21 public static String hex(int ch) { method in class:TestUtility 26 public static String hex(String s) { method in class:TestUtility 27 return hex(s,","); 30 public static String hex(String s, String sep) { method in class:TestUtility 32 String result = hex(s.charAt(0)); 35 result += hex(s.charAt(i)); 128 System.out.println(TestUtility.hex(cc) + "\t" + block); 138 System.out.println(TestUtility.hex(cc) + "\t" + script);
|
H A D | WriteCharts.java | 160 //Transliterator hex = Transliterator.getInstance("Any-Hex"); 211 "<td class='s'>" + ss + "<br><tt>" + hex(ss) 212 + "</tt></td><td class='t'>" + ts + "<br><tt>" + hex(ts) 213 + "</tt></td><td class='r'>" + rt + "<br><tt>" + hex(rt) + "</tt></td>" ); 236 "<td class='s'>" + ss12 + "<br><tt>" + hex(ss12) 237 + "</tt></td><td class='t'>" + ts12 + "<br><tt>" + hex(ts12) 238 + "</tt></td><td class='r'>" + rt12 + "<br><tt>" + hex(rt12) + "</tt></td>" ); 274 "<td class='s'>-</td><td class='t'>" + ts + "<br><tt>" + hex(ts) 276 + rt + "<br><tt>" + hex(rt) + "</tt></td>"); 367 public static String hex(Strin method in class:WriteCharts [all...] |
/external/libcups/cups/ |
H A D | md5passwd.c | 104 char * /* O - MD5 sum in hex */ 107 /* O - MD5 sum in hex */ 111 static const char hex[] = "0123456789abcdef"; local 121 *md5ptr++ = hex[*sum >> 4]; 122 *md5ptr++ = hex[*sum & 15];
|
/external/libvpx/libvpx/test/ |
H A D | md5_helper.h | 51 static const char hex[16] = { local 60 res_[i * 2 + 0] = hex[tmp[i] >> 4]; 61 res_[i * 2 + 1] = hex[tmp[i] & 0xf];
|
/external/openssh/ |
H A D | sshbuf-misc.c | 78 const char hex[] = "0123456789abcdef"; local 85 ret[j++] = hex[(p[i] >> 4) & 0xf]; 86 ret[j++] = hex[p[i] & 0xf];
|
/external/webrtc/webrtc/examples/turnserver/ |
H A D | turnserver_main.cc | 31 std::string hex; local 32 bool ret = file_.GetStringValue(username, &hex); 35 size_t len = rtc::hex_decode(buf, sizeof(buf), hex);
|
/external/boringssl/src/crypto/x509/ |
H A D | x509_obj.c | 86 static const char hex[17] = "0123456789ABCDEF"; local 180 *(p++) = hex[(n >> 4) & 0x0f]; 181 *(p++) = hex[n & 0x0f];
|
/external/libedit/src/ |
H A D | parse.c | 179 const Char hex[] = STR("0123456789ABCDEF"); local 186 h = Strchr(hex, *p++); 190 c = (c << 4) | ((int)(h - hex));
|
/external/libjpeg-turbo/md5/ |
H A D | md5hl.c | 40 static const char hex[]="0123456789abcdef"; local 48 buf[i+i] = hex[digest[i] >> 4]; 49 buf[i+i+1] = hex[digest[i] & 0x0f];
|
/external/ltp/testcases/kernel/syscalls/gethostid/ |
H A D | gethostid01.c | 145 hostid2[HOSTIDLEN], *hostid3, hex[2] = "0x"; local 192 if (name[0] == hex[0] && name[1] == hex[1])
|
/external/okhttp/okio/okio/src/test/java/okio/ |
H A D | Utf8Test.java | 189 private void assertEncoded(String hex, int... codePoints) throws Exception { argument 190 assertCodePointEncoded(hex, codePoints); 191 assertCodePointDecoded(hex, codePoints); 192 assertStringEncoded(hex, new String(codePoints, 0, codePoints.length)); 195 private void assertCodePointEncoded(String hex, int... codePoints) throws Exception { argument 200 assertEquals(buffer.readByteString(), ByteString.decodeHex(hex)); 203 private void assertCodePointDecoded(String hex, int... codePoints) throws Exception { argument 204 Buffer buffer = new Buffer().write(ByteString.decodeHex(hex)); 211 private void assertStringEncoded(String hex, String string) throws Exception { argument 212 ByteString expectedUtf8 = ByteString.decodeHex(hex); [all...] |
/external/v8/src/ |
H A D | ostreams.cc | 108 std::ostream& operator<<(std::ostream& os, const AsHex& hex) { argument 110 snprintf(buf, sizeof(buf), "%.*" PRIx64, hex.min_width, hex.value);
|
/external/curl/lib/ |
H A D | escape.c | 152 unsigned long hex; local 169 hex = strtoul(hexstr, &ptr, 16); 171 in = curlx_ultouc(hex); /* this long is never bigger than 255 anyway */
|