/external/libmojo/mojo/edk/js/test/ |
H A D | hexdump.js | 7 var hex = value.toString(16); 8 while (hex.length < length) 9 hex = "0" + hex; 10 return hex;
|
/external/icu/icu4c/source/test/intltest/ |
H A D | testutil.h | 26 static UnicodeString hex(UChar32 ch); 28 static UnicodeString hex(const UnicodeString& s); 30 static UnicodeString hex(const UnicodeString& s, UChar sep); 32 static UnicodeString hex(const uint8_t* bytes, int32_t len);
|
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/libcxx/test/std/input.output/iostreams.base/std.ios.manip/basefield.manip/ |
H A D | hex.pass.cpp | 14 // ios_base& hex(ios_base& str); 26 std::ios_base& r = std::hex(ios); 28 assert(ios.flags() & std::ios::hex);
|
/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/libcxx/test/std/input.output/iostreams.base/ios.base/fmtflags.state/ |
H A D | flags_fmtflags.pass.cpp | 33 test::fmtflags f = t.flags(test::hex | test::right); 35 assert(t.flags() == (test::hex | test::right));
|
H A D | setf_fmtflags.pass.cpp | 33 test::fmtflags f = t.setf(test::hex | test::right); 35 assert(t.flags() == (test::skipws | test::dec | test::hex | test::right));
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
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);
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
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);
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
H A D | HttpParsingTest.java | 52 String hex = Integer.toHexString(i); 53 String input = "%" + hex;
|
/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/libmojo/mojo/edk/system/ports/ |
H A D | name.cc | 13 stream << std::hex << std::uppercase << name.v1;
|
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/ |
H A D | ipv6.py | 36 hex = address.encode('hex_codec') 39 l = len(hex) 41 chunk = hex[i : i + 4] 84 hex = prefix + dns.ipv4.inet_ntoa(address[12:]) 86 hex = ':'.join(chunks[:best_start]) + '::' + \ 89 hex = ':'.join(chunks) 90 return hex 131 # Now canonicalize into 8 chunks of 4 hex digits each
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/ |
H A D | TestDeprecatedNormalizerAPI.java | 103 errln("ERROR: " + hex(ch) + " has identical decomp"); 106 errln("ERROR: Normalizer decomp for " + hex(ch) + " (" + hex(normDecomp) + ")" 107 + " != iter decomp (" + hex(iterDecomp) + ")" ); 119 errln("ERROR: " + hex(x) + " has decomposition (" + hex(decomp) + ")" 140 logln("Skipped excluded char " + hex(ch) + " (" + UCharacter.getName(ch) + ")" ); 148 errln("ERROR: Round trip invalid: " + hex(chStr) + " --> " + hex(decomp) 149 + " --> " + hex(com [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
H A D | TestDeprecatedNormalizerAPI.java | 102 errln("ERROR: " + hex(ch) + " has identical decomp"); 105 errln("ERROR: Normalizer decomp for " + hex(ch) + " (" + hex(normDecomp) + ")" 106 + " != iter decomp (" + hex(iterDecomp) + ")" ); 118 errln("ERROR: " + hex(x) + " has decomposition (" + hex(decomp) + ")" 139 logln("Skipped excluded char " + hex(ch) + " (" + UCharacter.getName(ch) + ")" ); 147 errln("ERROR: Round trip invalid: " + hex(chStr) + " --> " + hex(decomp) 148 + " --> " + hex(com [all...] |
/external/libbrillo/brillo/ |
H A D | data_encoding.cc | 17 inline int HexToDec(int hex) { argument 19 if (hex >= '0' && hex <= '9') { 20 dec = hex - '0'; 21 } else if (hex >= 'A' && hex <= 'F') { 22 dec = hex - 'A' + 10; 23 } else if (hex >= 'a' && hex <= 'f') { 24 dec = hex [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/strace/tests/ |
H A D | scm_rights-fd.test | 54 hex='[[:xdigit:]]' 59 path6='(/.*/(A\\n){127}Z|\\x2f(\\x'"$hex$hex"')*\\x2f(\\x41\\x0a){127}\\x5a)'
|
/external/strace/tests-m32/ |
H A D | scm_rights-fd.test | 54 hex='[[:xdigit:]]' 59 path6='(/.*/(A\\n){127}Z|\\x2f(\\x'"$hex$hex"')*\\x2f(\\x41\\x0a){127}\\x5a)'
|
/external/strace/tests-mx32/ |
H A D | scm_rights-fd.test | 54 hex='[[:xdigit:]]' 59 path6='(/.*/(A\\n){127}Z|\\x2f(\\x'"$hex$hex"')*\\x2f(\\x41\\x0a){127}\\x5a)'
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
H A D | JavaScriptTarget.java | 40 String hex = Integer.toHexString(v|0x10000).substring(1,5); 41 return "\\u"+hex;
|
/external/swiftshader/third_party/LLVM/test/Scripts/ |
H A D | common_dump.py | 2 """ Convert the raw data in 'd' to an hex string with a space every 4 bytes. 7 hex_byte = hex(byte)[2:] 16 """ Convert the raw data in 'd' to an hex string with a space every 4 bytes. 23 hex_byte = hex(byte)[2:]
|
/external/llvm/test/MC/Mips/ |
H A D | hex-immediates.s | 2 # RUN: | llvm-objdump -d --print-imm-hex - | FileCheck %s
|
/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/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];
|