Searched refs:hex (Results 201 - 225 of 693) sorted by relevance

1234567891011>>

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
H A DNormalizerBuilder.java106 //System.out.println("Excluding " + hex(value));
183 "\"\\u" + hex((char)value) + "\", "
184 + "\"\\u" + hex(decomp, "\\u") + "\", "
442 * Utility: Parses a sequence of hex Unicode characters separated by spaces
477 throw new IllegalArgumentException("Bad hex value in " + source);
484 * Utility: Supplies a zero-padded hex representation of an integer (without 0x)
486 static public String hex(int i) { method in class:NormalizerBuilder
492 * Utility: Supplies a zero-padded hex representation of a Unicode character (without 0x, \\u)
494 static public String hex(char i) { method in class:NormalizerBuilder
500 * Utility: Supplies a zero-padded hex representatio
502 public static String hex(String s, String sep) { method in class:NormalizerBuilder
[all...]
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
H A DAnyTransliterator.java42 static private Transliterator hex = Transliterator.getInstance("[^\\u0020-\\u007E] hex"); field in class:AnyTransliterator
47 System.out.println("- handleTransliterate " + hex.transliterate(text.toString())
77 System.out.println("input: " + hex.transliterate(text.toString())
90 System.out.println("output: " + hex.transliterate(text.toString())
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
H A DNormalizerBuilder.java105 //System.out.println("Excluding " + hex(value));
182 "\"\\u" + hex((char)value) + "\", "
183 + "\"\\u" + hex(decomp, "\\u") + "\", "
441 * Utility: Parses a sequence of hex Unicode characters separated by spaces
476 throw new IllegalArgumentException("Bad hex value in " + source);
483 * Utility: Supplies a zero-padded hex representation of an integer (without 0x)
485 static public String hex(int i) { method in class:NormalizerBuilder
491 * Utility: Supplies a zero-padded hex representation of a Unicode character (without 0x, \\u)
493 static public String hex(char i) { method in class:NormalizerBuilder
499 * Utility: Supplies a zero-padded hex representatio
501 public static String hex(String s, String sep) { method in class:NormalizerBuilder
[all...]
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
H A DBuildMirroringTables.java43 line.append("0x" + Utility.hex(array[i], 4));
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/
H A Dminmax_showbase.pass.cpp47 const std::ios_base::fmtflags x = std::ios_base::hex;
H A Dminus1.pass.cpp53 ss << std::hex << static_cast<T>(-1);
/external/libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/
H A Dget_unsigned_int.pass.cpp71 hex(ios);
H A Dget_unsigned_long.pass.cpp71 hex(ios);
H A Dget_unsigned_long_long.pass.cpp71 hex(ios);
H A Dget_unsigned_short.pass.cpp71 hex(ios);
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/
H A DWebSocketWriterTest.java53 assertEquals("Data not empty", "", data.readByteString().hex());
299 String longString = ByteString.of(binaryData(75)).hex();
317 private void assertData(String hex) throws EOFException { argument
318 ByteString expected = ByteString.decodeHex(hex);
/external/perf_data_converter/src/quipper/
H A Dbinary_data_utils.cc21 // Number of hex digits in a byte.
38 // hex characters for every 8-bits of the hash.
39 ss << std::hex << std::setw(2) << std::setfill('0')
56 // Convert the bytes to hex digits one at a time.
57 // There will be kNumHexDigitsInByte hex digits, and 1 char for NUL.
H A Daddress_mapper_test.cc83 VLOG(1) << "Mapping range at " << std::hex << range.addr
97 VLOG(1) << "Testing range at " << std::hex << range.addr
98 << " with length of " << std::hex << range.size;
189 LOG(INFO) << "Mapping range at " << std::hex << range.addr
190 << " with length of " << std::hex << range.size;
/external/perfetto/src/protozero/test/
H A Dfake_scattered_buffer.cc30 ss << std::hex << std::setfill('0');
/external/perfetto/src/tracing/core/
H A Dpatch_list_unittest.cc30 o << p.chunk_id << "@" << p.offset << " : {" << std::hex << p.size_field[0]
/external/capstone/bindings/java/
H A DTestArm.java12 // from http://stackoverflow.com/questions/140131/convert-a-string-representation-of-a-hex-dump-to-a-byte-array-using-java
29 private static String hex(int i) { method in class:TestArm
33 private static String hex(long i) { method in class:TestArm
46 String imm = hex(i.value.imm);
H A DTestArm64.java12 // from http://stackoverflow.com/questions/140131/convert-a-string-representation-of-a-hex-dump-to-a-byte-array-using-java
26 private static String hex(int i) { method in class:TestArm64
30 private static String hex(long i) { method in class:TestArm64
43 String imm = hex(i.value.imm);
H A DTestX86.java12 // from http://stackoverflow.com/questions/140131/convert-a-string-representation-of-a-hex-dump-to-a-byte-array-using-java
28 private static String hex(int i) { method in class:TestX86
32 private static String hex(long i) { method in class:TestX86
98 String imm = hex(i.value.imm);
/external/freetype/src/tools/ftrandom/
H A Dftrandom.c477 int hex = getRandom( 0, 15 ); local
480 if ( hex < 10 )
481 hex += '0';
483 hex += 'A' - 10;
485 putc( hex, newf );
/external/icu/icu4c/source/test/intltest/
H A Dtestutil.cpp39 UnicodeString TestUtility::hex(UChar32 ch) { function in class:TestUtility
45 UnicodeString TestUtility::hex(const UnicodeString& s) { function in class:TestUtility
46 return hex(s, u',');
49 UnicodeString TestUtility::hex(const UnicodeString& s, UChar sep) { function in class:TestUtility
63 UnicodeString TestUtility::hex(const uint8_t* bytes, int32_t len) { function in class:TestUtility
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
H A DUnicodeSetCloseOver.java273 out.print("0x" + Utility.hex(s.charAt(0)) + ",0x" +
274 Utility.hex(s.charAt(1)) + ",");
303 out.print("0x"+Utility.hex(a[k].charAt(0)) + ",");
313 out.print("0x"+Utility.hex(a[k].charAt(m)) + ",");
448 out.print("0x" + Utility.hex(buf.charAt(i), 4) + ',');
/external/v4l2_codec2/vda/
H A Dv4l2_device.cc140 VLOGF(1) << "Unhandled pixelformat " << std::hex << "0x" << pix_fmt;
227 VLOGF(1) << "No devices supporting " << std::hex << "0x" << v4l2_pixfmt
332 << "fourcc " << std::hex << pixelformat
338 << "fourcc " << std::hex << pixelformat
352 DVLOGF(3) << "Found " << fmtdesc.description << std::hex << " (0x"
/external/wpa_supplicant_8/wpa_supplicant/
H A Dwpas_glue.c103 char *hex = os_malloc(hex_len); local
105 if (hex == NULL)
107 wpa_snprintf_hex(hex, hex_len, buf, len);
109 MAC2STR(dest), hex);
110 os_free(hex);
1171 char *hex; local
1175 hex = os_malloc(hexlen);
1176 if (!hex)
1178 wpa_snprintf_hex(hex, hexlen, pkt, pkt_len);
1180 " frame=%s", MAC2STR(dst), MAC2STR(src), hex);
[all...]
/external/perf_data_converter/src/
H A Dperf_data_handler.cc38 std::stringstream hex; local
44 hex << std::hex << std::setfill('0') << std::setw(2)
48 filename_to_build_id_[build_id.filename()] = hex.str();
51 filename << std::hex << build_id.filename_md5_prefix();
52 filename_to_build_id_[filename.str().c_str()] = hex.str();
349 filename << std::hex << mmap->filename_md5_prefix();
/external/valgrind/coregrind/m_gdbserver/
H A Dremote-utils.c594 /* Convert hex digit A to a number. */
604 error ("Reply contains invalid hex digit 0x%x\n", (unsigned)a);
608 int unhexify (char *bin, const char *hex, int count) argument
613 if (hex[0] == 0 || hex[1] == 0) {
618 *bin++ = fromhex (hex[0]) * 16 + fromhex (hex[1]);
619 hex += 2;
639 /* Convert number NIB to a hex digit. */
650 int hexify (char *hex, cons argument
[all...]

Completed in 1610 milliseconds

1234567891011>>