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

1234567891011>>

/external/icu/icu4c/source/test/intltest/
H A Dtestutil.h24 static UnicodeString hex(UChar32 ch);
26 static UnicodeString hex(const UnicodeString& s);
28 static UnicodeString hex(const UnicodeString& s, UChar sep);
30 static UnicodeString hex(const uint8_t* bytes, int32_t len);
H A Dtestutil.cpp30 UnicodeString TestUtility::hex(UChar32 ch) { function in class:TestUtility
36 UnicodeString TestUtility::hex(const UnicodeString& s) { function in class:TestUtility
37 return hex(s, 44 /*,*/);
40 UnicodeString TestUtility::hex(const UnicodeString& s, UChar sep) { function in class:TestUtility
54 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 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/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));
H A Dsetf_fmtflags_mask.pass.cpp33 test::fmtflags f = t.setf(test::hex | test::right, test::dec | test::right);
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
H A DTestUtility.java14 public static String hex(char ch) { method in class:TestUtility
19 public static String hex(int ch) { method in class:TestUtility
24 public static String hex(String s) { method in class:TestUtility
25 return hex(s,",");
28 public static String hex(String s, String sep) { method in class:TestUtility
30 String result = hex(s.charAt(0));
33 result += hex(s.charAt(i));
126 System.out.println(TestUtility.hex(cc) + "\t" + block);
136 System.out.println(TestUtility.hex(cc) + "\t" + script);
/external/boringssl/src/tool/
H A Drand.cc28 "-hex", kBooleanArgument,
37 bool forever = true, hex = false; local
60 hex = args_map.count("-hex") > 0;
73 if (hex) {
90 if (hex && fwrite("\n", 1, 1, stdout) != 1) {
/external/ltrace/etc/
H A Dsyscalls.conf21 int open(string, hex(uint), oct(uint));
121 int openat(at_dirfd_t, string, hex(uint), oct(uint));
124 int unlinkat(at_dirfd_t, string, hex(uint));
126 int linkat(at_dirfd_t, string, at_dirfd_t, string, hex(uint));
128 int faccessat(at_dirfd_t, string, oct(uint), hex(uint));
129 int fchmodat(at_dirfd_t, string, oct(uint), hex(uint));
130 int fchownat(at_dirfd_t, string, int, int, hex(uint));
132 int fstatat(at_dirfd_t, string, addr, hex(uint));
133 int utimensat(at_dirfd_t, string, addr, hex(uint));
136 addr shmat(int, addr, hex(uin
[all...]
/external/v8/test/mjsunit/
H A Dunicode-test.js9138 function hex(x) { function
9155 out += "\\x" + hex(c >> 4) + hex(c);
9157 out += "\\u" + hex(c >> 12) + hex(c >> 8) + hex(c >> 4) + hex(c);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
H A DTestDeprecatedNormalizerAPI.java120 errln("ERROR: " + hex(ch) + " has identical decomp");
123 errln("ERROR: Normalizer decomp for " + hex(ch) + " (" + hex(normDecomp) + ")"
124 + " != iter decomp (" + hex(iterDecomp) + ")" );
136 errln("ERROR: " + hex(x) + " has decomposition (" + hex(decomp) + ")"
156 logln("Skipped excluded char " + hex(ch) + " (" + UCharacter.getName(ch) + ")" );
164 errln("ERROR: Round trip invalid: " + hex(chStr) + " --> " + hex(decomp)
165 + " --> " + hex(com
[all...]
H A DBasicTest.java266 errln("FAIL: " + hex(a) + " x DECOMP_COMPAT => " +
267 hex(b) + " x COMPOSE => " +
268 hex(c));
270 logln("Ok: " + hex(a) + " x DECOMP_COMPAT => " +
271 hex(b) + " x COMPOSE => " +
272 hex(c));
295 // errln("FAIL: " + hex(a) + " x DECOMP_COMPAT => " +
296 // hex(b) + " x COMPOSE => " +
297 // hex(c));
299 // logln("Ok: " + hex(
[all...]
/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/nanohttpd/core/src/test/java/fi/iki/elonen/
H A DHttpParsingTest.java14 String hex = Integer.toHexString(i);
15 String input = "%" + hex;
/external/google-tv-pairing-protocol/cpp/src/polo/util/
H A Dpoloutil.cc26 char* hex = BN_bn2hex(bn); local
27 std::string hex_string(hex);
29 OPENSSL_free(hex);
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
H A Dspdhelper.cpp61 static char hex[] = "0123456789ABCDEF"; local
63 c[0] = hex[((b >> 4) & 0x0F)];
64 c[1] = hex[((b >> 0) & 0x0F)];
/external/libvpx/libvpx/test/
H A Dmd5_helper.h50 static const char hex[16] = { local
59 res_[i * 2 + 0] = hex[tmp[i] >> 4];
60 res_[i * 2 + 1] = hex[tmp[i] & 0xf];
/external/okhttp/okio/okio/src/test/java/okio/
H A DUtf8Test.java189 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/wpa_supplicant_8/wpa_supplicant/examples/p2p/
H A Dp2p_invite.py33 print "BSSID = ", hex(bssid[0]) , ":" , \
34 hex(bssid[1]) , ":" , hex(bssid[2]) , ":", \
35 hex(bssid[3]) , ":" , hex(bssid[4]) , ":" , \
36 hex(bssid[5])
/external/libcxx/test/std/input.output/iostreams.base/ios.base/ios.types/ios_fmtflags/
H A Dfmtflags.pass.cpp17 // static const fmtflags hex;
30 // static const fmtflags basefield = dec | oct | hex;
41 assert(std::ios_base::hex);
59 & std::ios_base::hex
78 | std::ios_base::hex));
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
H A DTestCharFromDirProp.java31 + "] == U+" + Utility.hex(c) + ") failed", i, dir);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/iterator/
H A DTestUCharacterIterator.java167 errln("moveCodePointIndex(1) didn't work correctly expected "+ hex(c) +" got "+hex(UTF16.charAt(text,1)) + " i= " + i);
172 errln("moveCodePointIndex(2) didn't work correctly expected "+ hex(c) +" got "+hex(UTF16.charAt(text,4)) + " i= " + i);
177 errln("moveCodePointIndex(-2) didn't work correctly expected "+ hex(c) +" got "+hex(UTF16.charAt(text,1)) + " i= " + i);
183 errln("moveCodePointIndex(-2) didn't work correctly expected "+ hex(c) +" got "+hex(UTF16.charAt(text,(text.length()-3)) ) + " i= " + i);
194 errln("first32PostInc failed. Expected->"+hex(UTF16.charAt(text,i))+" Got-> "+hex(
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
H A DUCharacterCaseTest.java69 hex(CHARACTER_LOWER_[i]));
76 hex(CHARACTER_UPPER_[i]));
86 hex(CHARACTER_UPPER_[i]) +
87 " to \\u" + hex(CHARACTER_LOWER_[i]));
93 hex(CHARACTER_LOWER_[i]));
101 hex(CHARACTER_UPPER_[i]));
104 logln("Ok \\u" + hex(CHARACTER_UPPER_[i]) + " and \\u" +
105 hex(CHARACTER_LOWER_[i]));
115 errln("FAIL: foldCase(\\u" + hex(FOLDING_SIMPLE_[i]) +
116 ", true) should be \\u" + hex(FOLDING_SIMPLE
[all...]
/external/ipsec-tools/src/racoon/
H A Dprsa_tok.l52 hex [0-9a-fA-F]
53 word6 {hex}{0,4}
/external/libcxx/test/std/input.output/iostream.format/std.manip/
H A Dsetbase.pass.cpp34 assert((is.flags() & std::ios_base::basefield) == std::ios_base::hex);
46 assert((os.flags() & std::ios_base::basefield) == std::ios_base::hex);
58 assert((is.flags() & std::ios_base::basefield) == std::ios_base::hex);
70 assert((os.flags() & std::ios_base::basefield) == std::ios_base::hex);

Completed in 1261 milliseconds

1234567891011>>