Searched refs:hex (Results 51 - 75 of 693) sorted by relevance

1234567891011>>

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
H A DUnicodeNormalizerConformanceTest.java190 errln((" " + msg + ") " + op + "(" + s + ")=" + hex(got) +
191 ", exp. " + hex(exp)));
197 * character. Then, parse the resultant fields from hex into
245 int hex = Integer.parseInt(strToHex,16);
246 if (hex < 0 ) {
247 throw new IllegalArgumentException("Out of range hex " +
248 hex + " in " + s);
249 }else if (hex > 0xFFFF){
250 buf.append((char)((hex>>10)+0xd7c0));
251 buf.append((char)((hex
[all...]
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
H A DTagUtilities.java39 return "0x" + Utility.hex(tagValue, 8);
/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);
/external/libcxx/test/std/input.output/iostreams.base/ios.base/fmtflags.state/
H A Dsetf_fmtflags_mask.pass.cpp33 test::fmtflags f = t.setf(test::hex | test::right, test::dec | test::right);
/external/llvm/test/MC/X86/
H A Dhex-immediates.s1 # RUN: llvm-mc -filetype=obj %s -triple=x86_64-apple-darwin9 | llvm-objdump -d --print-imm-hex - | FileCheck %s
/external/python/cpython2/Lib/
H A Duuid.py31 # make a UUID from a string of hex digits (braces and hyphens ignored)
34 # convert a UUID to a string of hex digits in standard form
90 hex the UUID as a 32-character hexadecimal string
103 def __init__(self, hex=None, bytes=None, bytes_le=None, fields=None,
111 argument. When a string of hex digits is given, curly braces,
124 Exactly one of 'hex', 'bytes', 'bytes_le', 'fields', or 'int' must
127 overriding the given 'hex', 'bytes', 'bytes_le', 'fields', or 'int'.
130 if [hex, bytes, bytes_le, fields, int].count(None) != 4:
131 raise TypeError('need one of hex, bytes, bytes_le, fields, or int')
132 if hex i
270 hex = property(get_hex) variable in class:UUID
[all...]
/external/python/cpython3/Lib/
H A Duuid.py31 # make a UUID from a string of hex digits (braces and hyphens ignored)
34 # convert a UUID to a string of hex digits in standard form
93 hex the UUID as a 32-character hexadecimal string
106 def __init__(self, hex=None, bytes=None, bytes_le=None, fields=None,
114 argument. When a string of hex digits is given, curly braces,
127 Exactly one of 'hex', 'bytes', 'bytes_le', 'fields', or 'int' must
130 overriding the given 'hex', 'bytes', 'bytes_le', 'fields', or 'int'.
133 if [hex, bytes, bytes_le, fields, int].count(None) != 4:
134 raise TypeError('one of the hex, bytes, bytes_le, fields, '
136 if hex i
281 def hex(self): member in class:UUID
[all...]
/external/tensorflow/tensorflow/core/lib/strings/
H A Dstr_util.cc52 // Note that if we emit \xNN and the src character after that is a hex
186 if (error) *error = "\\x cannot be followed by a non-hex digit";
192 // Arbitrarily many hex digits
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
H A DCollationTest.java144 + Utility.hex(orders[index]) + " vs 0x" + Utility.hex(o));
162 String hexString = "0x" + Utility.hex(o) + " ";
168 String hexString = "0x" + Utility.hex(o) + " ";
225 TestFmwk.errln("Comparing \"" + Utility.hex(source) + "\" with \""
226 + Utility.hex(target) + "\" expected " + result
233 TestFmwk.errln("Comparing CollationKeys of \"" + Utility.hex(source)
234 + "\" with \"" + Utility.hex(target)
245 + Utility.hex(source)
246 + "\" with \"" + Utility.hex(targe
[all...]
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
H A DCollationTest.java141 + Utility.hex(orders[index]) + " vs 0x" + Utility.hex(o));
159 String hexString = "0x" + Utility.hex(o) + " ";
165 String hexString = "0x" + Utility.hex(o) + " ";
222 TestFmwk.errln("Comparing \"" + Utility.hex(source) + "\" with \""
223 + Utility.hex(target) + "\" expected " + result
230 TestFmwk.errln("Comparing CollationKeys of \"" + Utility.hex(source)
231 + "\" with \"" + Utility.hex(target)
242 + Utility.hex(source)
243 + "\" with \"" + Utility.hex(targe
[all...]
/external/perf_data_converter/src/quipper/
H A Daddress_mapper.cc37 LOG(ERROR) << "Address mapping at " << std::hex << real_addr
38 << " with size " << std::hex << size << " overflows.";
106 LOG(ERROR) << "Could not map old range from " << std::hex
114 LOG(ERROR) << "Could not map new range at " << std::hex << range.real_addr
122 LOG(ERROR) << "Could not map old range from " << std::hex
208 LOG(ERROR) << "Could not find space to map addr=" << std::hex << real_addr
209 << " with size " << std::hex << size;
216 LOG(INFO) << " real_addr: " << std::hex << it->real_addr
217 << " mapped: " << std::hex << it->mapped_addr
218 << " id: " << std::hex << i
[all...]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
H A DPerl5Target.java63 String hex = Integer.toHexString(c | 0x10000).toUpperCase().substring(1, 5);
65 buf.append(hex);
/external/autotest/client/cros/cellular/mbim_compliance/
H A Dmbim_data_channel.py68 numpy.set_printoptions(formatter={'int':lambda x: hex(int(x))},
98 numpy.set_printoptions(formatter={'int':lambda x: hex(int(x))},
/external/gptfdisk/
H A Dgptpart.h75 void SetType(uint16_t hex) {partitionType = hex;} argument
/external/icu/icu4c/source/test/intltest/
H A Dtstnorm.h88 static UnicodeString hex(UChar ch);
89 static UnicodeString hex(const UnicodeString& str);
/external/libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/
H A Dget_float.pass.cpp81 hex(ios);
93 hex(ios);
105 hex(ios);
117 hex(ios);
129 hex(ios);
141 hex(ios);
153 hex(ios);
165 hex(ios);
/external/syslinux/utils/
H A Dsyslinux2ansi20 $attr = hex $attr;
/external/skia/gm/
H A Dmultipicturedraw.cpp32 SkPath hex; local
33 hex.moveTo(originX-kHexSide, originY);
34 hex.rLineTo(SkScalarHalf(kHexSide), kRoot3Over2 * kHexSide);
35 hex.rLineTo(SkIntToScalar(kHexSide), 0);
36 hex.rLineTo(SkScalarHalf(kHexSide), -kHexSide * kRoot3Over2);
37 hex.rLineTo(-SkScalarHalf(kHexSide), -kHexSide * kRoot3Over2);
38 hex.rLineTo(-SkIntToScalar(kHexSide), 0);
39 hex.close();
40 return hex;
49 SkPath hex local
94 SkPath hex = make_hex_path(0, 0); local
301 SkPath hex = make_hex_path((kNumHexX / 2.0f) * kHexSide, kNumHexY * kHexSide * kRoot3Over2); local
313 SkPath hex = make_hex_path((kNumHexX / 2.0f) * kHexSide, kNumHexY * kHexSide * kRoot3Over2); local
[all...]
/external/skqp/gm/
H A Dmultipicturedraw.cpp32 SkPath hex; local
33 hex.moveTo(originX-kHexSide, originY);
34 hex.rLineTo(SkScalarHalf(kHexSide), kRoot3Over2 * kHexSide);
35 hex.rLineTo(SkIntToScalar(kHexSide), 0);
36 hex.rLineTo(SkScalarHalf(kHexSide), -kHexSide * kRoot3Over2);
37 hex.rLineTo(-SkScalarHalf(kHexSide), -kHexSide * kRoot3Over2);
38 hex.rLineTo(-SkIntToScalar(kHexSide), 0);
39 hex.close();
40 return hex;
49 SkPath hex local
94 SkPath hex = make_hex_path(0, 0); local
301 SkPath hex = make_hex_path((kNumHexX / 2.0f) * kHexSide, kNumHexY * kHexSide * kRoot3Over2); local
313 SkPath hex = make_hex_path((kNumHexX / 2.0f) * kHexSide, kNumHexY * kHexSide * kRoot3Over2); local
[all...]
/external/okhttp/okio/okio/src/main/java/okio/
H A DByteString.java144 public String hex() { method in class:ByteString
154 /** Decodes the hex-encoded bytes and returns their value a byte string. */
155 public static ByteString decodeHex(String hex) { argument
156 if (hex == null) throw new IllegalArgumentException("hex == null");
157 if (hex.length() % 2 != 0) throw new IllegalArgumentException("Unexpected hex string: " + hex);
159 byte[] result = new byte[hex.length() / 2];
161 int d1 = decodeHexDigit(hex
[all...]
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
H A DWriteIndicCharts.java126 // os.write(" <td bgcolor=#FFFF00 align=center title=\""++"\">"+str+"<br><tt>"+Utility.hex(str)+"</tt>"+"</td>\n");
152 os.write(" <td width=9% bgcolor=#BBBBFF align=center title=\""+name+"\">"+"&nbsp<br><tt>"+Utility.hex(str)+"</tt>"+"</td>\n");
154 os.write(" <td width=9% bgcolor=#BBBBFF align=center title=\""+name+"\">"+ str+"<br><tt>"+Utility.hex(str)+"</tt>"+"</td>\n");
157 os.write(" <td bgcolor=#FF9999 align=center title=\""+name+"\">"+"&nbsp<br><tt>"+Utility.hex(str)+"</tt>"+"</td>\n");
160 os.write(" <td width=9% bgcolor=#00FFFF align=center title=\""+name+"\">"+"&nbsp<br><tt>"+Utility.hex(str)+"</tt>"+"</td>\n");
162 os.write(" <td width=9% bgcolor=#00FFFF align=center title=\""+name+"\">"+ str+"<br><tt>"+Utility.hex(str)+"</tt>"+"</td>\n");
166 os.write(" <td width=9% bgcolor=#FFFF55 align=center title=\""+name+"\">"+"&nbsp<br><tt>"+Utility.hex(str)+"</tt>"+"</td>\n");
168 os.write(" <td width=9% bgcolor=#FFFF55 align=center title=\""+""+"\">"+"&nbsp<br><tt>"+Utility.hex(str)+"</tt>"+"</td>\n");
172 os.write(" <td width=9% bgcolor=#FFBBBB align=center title=\""+name+"\">"+"&nbsp<br><tt>"+Utility.hex(str)+"</tt>"+"</td>\n");
179 os.write(" <td width=9% align=center title=\""+name+"\">"+ str+"<br><tt>"+Utility.hex(st
[all...]
/external/mesa3d/src/glx/tests/
H A Denum_sizes.cpp75 std::setw(4) << std::setfill('0') << std::hex << i;
107 std::setw(4) << std::setfill('0') << std::hex << i;
143 std::setw(4) << std::setfill('0') << std::hex << i;
169 std::setw(4) << std::setfill('0') << std::hex << i;
199 std::setw(4) << std::setfill('0') << std::hex << i;
301 std::setw(4) << std::setfill('0') << std::hex << i;
369 std::setw(4) << std::setfill('0') << std::hex << i;
391 std::setw(4) << std::setfill('0') << std::hex << i;
425 std::setw(4) << std::setfill('0') << std::hex << i;
459 std::setw(4) << std::setfill('0') << std::hex <<
[all...]
/external/curl/lib/
H A Descape.c155 unsigned long hex; local
172 hex = strtoul(hexstr, &ptr, 16);
174 in = curlx_ultouc(hex); /* this long is never bigger than 255 anyway */
H A Drand.c155 const char *hex = "0123456789abcdef"; local
177 *rnd++ = hex[(*bufp & 0xF0)>>4];
178 *rnd++ = hex[*bufp & 0x0F];

Completed in 909 milliseconds

1234567891011>>