/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
ActionScriptTarget.java | 66 * if the int is below 255, we encode as hex literal 78 // encode as hex 83 String hex = Integer.toHexString(v|0x10000).substring(1,5); local 84 return "\\u"+hex;
|
Target.java | 187 String hex = Integer.toHexString(c|0x10000).toUpperCase().substring(1,5); local 189 buf.append(hex); 321 * with bitsets. I.e., convert bytes to hex string. 342 String hex = Integer.toHexString(v|0x10000).substring(1,5); local 343 return "\\u"+hex;
|
/external/chromium_org/remoting/host/win/ |
chromoting_module.cc | 130 << std::hex << result << std::dec << "."; 144 << std::hex << result << std::dec << "."; 155 << std::hex << result << std::dec << ".";
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/ |
PEMDecoder.java | 50 throw new IllegalArgumentException("Need hex char"); 53 private static byte[] hexToByteArray(String hex) 55 if (hex == null) 58 if ((hex.length() % 2) != 0) 59 throw new IllegalArgumentException("Uneven string length in hex encoding."); 61 byte decoded[] = new byte[hex.length() / 2]; 65 int hi = hexToInt(hex.charAt(i * 2)); 66 int lo = hexToInt(hex.charAt((i * 2) + 1));
|
/art/compiler/ |
elf_writer_quick.cc | 134 LOG(INFO) << "phdr_offset=" << phdr_offset << std::hex << " " << phdr_offset; 135 LOG(INFO) << "phdr_size=" << phdr_size << std::hex << " " << phdr_size; 149 LOG(INFO) << "dynsym_offset=" << dynsym_offset << std::hex << " " << dynsym_offset; 150 LOG(INFO) << "dynsym_size=" << dynsym_size << std::hex << " " << dynsym_size; 178 LOG(INFO) << "dynstr_offset=" << dynstr_offset << std::hex << " " << dynstr_offset; 179 LOG(INFO) << "dynstr_size=" << dynstr_size << std::hex << " " << dynstr_size; 192 LOG(INFO) << "hash_offset=" << hash_offset << std::hex << " " << hash_offset; 193 LOG(INFO) << "hash_size=" << hash_size << std::hex << " " << hash_size; 204 LOG(INFO) << "oat_data_offset=" << oat_data_offset << std::hex << " " << oat_data_offset; 205 LOG(INFO) << "oat_data_size=" << oat_data_size << std::hex << " " << oat_data_size [all...] |
/external/chromium_org/third_party/JSON/JSON-2.59/blib/lib/JSON/backportPP/ |
Compat5005.pm | 56 my $uni = 0x10000 + (hex($_[0]) - 0xD800) * 0x400 + (hex($_[1]) - 0xDC00); # from perlunicode
|
/external/chromium_org/third_party/JSON/JSON-2.59/lib/JSON/backportPP/ |
Compat5005.pm | 56 my $uni = 0x10000 + (hex($_[0]) - 0xD800) * 0x400 + (hex($_[1]) - 0xDC00); # from perlunicode
|
/external/chromium_org/third_party/JSON/out/lib/perl5/JSON/backportPP/ |
Compat5005.pm | 56 my $uni = 0x10000 + (hex($_[0]) - 0xD800) * 0x400 + (hex($_[1]) - 0xDC00); # from perlunicode
|
/external/chromium_org/third_party/skia/src/utils/ |
SkParseColor.cpp | 459 uint32_t hex; local 460 const char* end = SkParse::FindHex(value + 1, &hex); 466 unsigned a = len == 4 ? nib2byte(hex >> 12) : oldAlpha; 467 unsigned r = nib2byte((hex >> 8) & 0xF); 468 unsigned g = nib2byte((hex >> 4) & 0xF); 469 unsigned b = nib2byte(hex & 0xF); 474 hex |= oldAlpha << 24; 475 *colorPtr = hex;
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/bin/tests/multisect/ |
multisect2.asm | 25 and dl, 0Fh ; mask off a single (hex) digit
|
/external/chromium_org/ui/events/keycodes/dom4/ |
keycode_converter_unittest.cc | 70 << " duplicate of USB code 0x" << std::hex << std::setfill('0') 79 << " duplicate of native code 0x" << std::hex << std::setfill('0')
|
/external/chromium_org/win8/metro_driver/ |
metro_driver.cc | 34 LOG(ERROR) << "VEH: Metro error 0x" << std::hex << info[0] << ": " << msg; 37 LOG(ERROR) << "VEH: Metro old error 0x" << std::hex << info[0]
|
/external/doclava/src/com/google/doclava/ |
FieldInfo.java | 346 String hex = null; local 353 hex = String.format("0x%02x", val); 356 hex = String.format("0x%04x", val); 363 hex = String.format("0x%08x", val); 366 hex = String.format("0x%016x", val); 369 hex = String.format("0x%04x", val); 376 if (dec != null && hex != null) { 378 data.setValue(base + ".constantValue.hex", Doclava.escape(hex));
|
/external/skia/src/utils/ |
SkParseColor.cpp | 459 uint32_t hex; local 460 const char* end = SkParse::FindHex(value + 1, &hex); 466 unsigned a = len == 4 ? nib2byte(hex >> 12) : oldAlpha; 467 unsigned r = nib2byte((hex >> 8) & 0xF); 468 unsigned g = nib2byte((hex >> 4) & 0xF); 469 unsigned b = nib2byte(hex & 0xF); 474 hex |= oldAlpha << 24; 475 *colorPtr = hex;
|
/libcore/luni/src/test/java/libcore/util/ |
SerializationTester.java | 122 public static Object deserializeHex(String hex) throws IOException, ClassNotFoundException { 123 return deserialize(hexDecode(hex));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/ |
put_long_long.pass.cpp | 116 hex(ios); 125 hex(ios); 135 hex(ios); 147 hex(ios); 159 hex(ios); 231 hex(ios); 244 hex(ios); 257 hex(ios);
|
put_unsigned_long_long.pass.cpp | 116 hex(ios); 125 hex(ios); 135 hex(ios); 147 hex(ios); 159 hex(ios); 231 hex(ios); 244 hex(ios); 257 hex(ios);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
argvemulator.py | 59 msg = "High Level Event: %r %r" % (hex(message), hex(h | (v<<16)))
|
/external/chromium/chrome/browser/policy/ |
configuration_policy_loader_win.cc | 78 << std::showbase << std::hex << object;
|
/external/chromium_org/tools/cygprofile/ |
symbolize.py | 49 # print hex(vm_start) 172 cmd = ['addr2line', '-f', '-e', lib_file, hex(addr)] 218 print('WARNING: Address ' + hex(addr) + ' (line= ' + 234 + hex(addr) + '\n') 248 + hex(addr) + '\n')
|
/external/qemu/android/utils/ |
misc.c | 176 hex2int( const uint8_t* hex, int len ) 180 int c = hexdigit(*hex++); 191 int2hex( uint8_t* hex, int len, int val ) 195 *hex++ = hexchars[(val >> (len*4)) & 15];
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
WifiP2pServiceResponse.java | 273 * Converts hex string to byte array. 275 * @param hex hex string. if invalid, return null. 278 private static byte[] hexStr2Bin(String hex) { 279 int sz = hex.length()/2; 280 byte[] b = new byte[hex.length()/2]; 284 b[i] = (byte)Integer.parseInt(hex.substring(i*2, i*2+2), 16);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/ |
double.pass.cpp | 78 hex(os);
|
float.pass.cpp | 78 hex(os);
|
int.pass.cpp | 78 hex(os);
|