/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/python/cpython2/Lib/test/ |
H A D | test_future_builtins.py | 4 from future_builtins import hex, oct, map, zip, filter namespace 8 self.assertEqual(hex(0), '0x0') 9 self.assertEqual(hex(16), '0x10') 10 self.assertEqual(hex(16L), '0x10') 11 self.assertEqual(hex(-16), '-0x10') 12 self.assertEqual(hex(-16L), '-0x10') 13 self.assertRaises(TypeError, 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/icu/icu4c/source/test/intltest/ |
H A D | testutil.h | 32 static UnicodeString hex(UChar32 ch); 34 static UnicodeString hex(const UnicodeString& s); 36 static UnicodeString hex(const UnicodeString& s, UChar sep); 38 static UnicodeString hex(const uint8_t* bytes, int32_t len);
|
/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 | 19 public static String hex(char ch) { method in class:TestUtility 24 public static String hex(int ch) { method in class:TestUtility 29 public static String hex(String s) { method in class:TestUtility 30 return hex(s,","); 33 public static String hex(String s, String sep) { method in class:TestUtility 35 String result = hex(s.charAt(0)); 38 result += hex(s.charAt(i)); 131 System.out.println(TestUtility.hex(cc) + "\t" + block); 141 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/strace/tests/ |
H A D | scm_rights-fd.test | 52 hex='[[:xdigit:]]' 57 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 | 52 hex='[[:xdigit:]]' 57 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 | 52 hex='[[:xdigit:]]' 57 path6='(/.*/(A\\n){127}Z|\\x2f(\\x'"$hex$hex"')*\\x2f(\\x41\\x0a){127}\\x5a)'
|
/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/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/ |
H A D | TestDeprecatedNormalizerAPI.java | 108 errln("ERROR: " + hex(ch) + " has identical decomp"); 111 errln("ERROR: Normalizer decomp for " + hex(ch) + " (" + hex(normDecomp) + ")" 112 + " != iter decomp (" + hex(iterDecomp) + ")" ); 124 errln("ERROR: " + hex(x) + " has decomposition (" + hex(decomp) + ")" 145 logln("Skipped excluded char " + hex(ch) + " (" + UCharacter.getName(ch) + ")" ); 153 errln("ERROR: Round trip invalid: " + hex(chStr) + " --> " + hex(decomp) 154 + " --> " + hex(com [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
H A D | TestDeprecatedNormalizerAPI.java | 105 errln("ERROR: " + hex(ch) + " has identical decomp"); 108 errln("ERROR: Normalizer decomp for " + hex(ch) + " (" + hex(normDecomp) + ")" 109 + " != iter decomp (" + hex(iterDecomp) + ")" ); 121 errln("ERROR: " + hex(x) + " has decomposition (" + hex(decomp) + ")" 142 logln("Skipped excluded char " + hex(ch) + " (" + UCharacter.getName(ch) + ")" ); 150 errln("ERROR: Round trip invalid: " + hex(chStr) + " --> " + hex(decomp) 151 + " --> " + 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/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/libmojo/mojo/edk/system/ports/ |
H A D | name.cc | 17 stream << std::hex << std::uppercase << name.v1;
|
/external/llvm/test/MC/Mips/ |
H A D | hex-immediates.s | 2 # RUN: | llvm-objdump -d --print-imm-hex - | FileCheck %s
|
/external/python/cpython2/PC/VS7.1/ |
H A D | field3.py | 27 print " * PY_RELEASE_LEVEL = %r = %s" % (level, hex(levelnum))
|
/external/python/cpython2/PC/VS8.0/ |
H A D | field3.py | 27 print(" * PY_RELEASE_LEVEL = %r = %s" % (level, hex(levelnum)))
|
/external/python/cpython2/PC/VS9.0/ |
H A D | field3.py | 27 print(" * PY_RELEASE_LEVEL = %r = %s" % (level, hex(levelnum)))
|
/external/python/cpython2/PCbuild/ |
H A D | field3.py | 27 print(" * PY_RELEASE_LEVEL = %r = %s" % (level, hex(levelnum)))
|