Searched refs:hex (Results 1 - 25 of 693) sorted by relevance

1234567891011>>

/external/libcxx/test/std/input.output/iostreams.base/std.ios.manip/basefield.manip/
H A Dhex.pass.cpp14 // 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 Dtest_future_builtins.py4 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 Dtest_util.cc33 // 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 Dtestutil.h32 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 Dflags_fmtflags.pass.cpp33 test::fmtflags f = t.flags(test::hex | test::right);
35 assert(t.flags() == (test::hex | test::right));
H A Dsetf_fmtflags.pass.cpp33 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 DTestUtility.java19 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 DTestUtility.java16 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 Dscm_rights-fd.test52 hex='[[:xdigit:]]'
57 path6='(/.*/(A\\n){127}Z|\\x2f(\\x'"$hex$hex"')*\\x2f(\\x41\\x0a){127}\\x5a)'
/external/strace/tests-m32/
H A Dscm_rights-fd.test52 hex='[[:xdigit:]]'
57 path6='(/.*/(A\\n){127}Z|\\x2f(\\x'"$hex$hex"')*\\x2f(\\x41\\x0a){127}\\x5a)'
/external/strace/tests-mx32/
H A Dscm_rights-fd.test52 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 DHttpParsingTest.java52 String hex = Integer.toHexString(i);
53 String input = "%" + hex;
/external/boringssl/src/tool/
H A Drand.cc29 "-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 DTestDeprecatedNormalizerAPI.java108 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 DTestDeprecatedNormalizerAPI.java105 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 Ddata_encoding.cc17 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 DTestUtil.java56 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 DJavaScriptTarget.java40 String hex = Integer.toHexString(v|0x10000).substring(1,5);
41 return "\\u"+hex;
/external/swiftshader/third_party/LLVM/test/Scripts/
H A Dcommon_dump.py2 """ 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 Dname.cc17 stream << std::hex << std::uppercase << name.v1;
/external/llvm/test/MC/Mips/
H A Dhex-immediates.s2 # RUN: | llvm-objdump -d --print-imm-hex - | FileCheck %s
/external/python/cpython2/PC/VS7.1/
H A Dfield3.py27 print " * PY_RELEASE_LEVEL = %r = %s" % (level, hex(levelnum))
/external/python/cpython2/PC/VS8.0/
H A Dfield3.py27 print(" * PY_RELEASE_LEVEL = %r = %s" % (level, hex(levelnum)))
/external/python/cpython2/PC/VS9.0/
H A Dfield3.py27 print(" * PY_RELEASE_LEVEL = %r = %s" % (level, hex(levelnum)))
/external/python/cpython2/PCbuild/
H A Dfield3.py27 print(" * PY_RELEASE_LEVEL = %r = %s" % (level, hex(levelnum)))

Completed in 697 milliseconds

1234567891011>>