/external/mesa3d/src/util/ |
disk_cache.c | 504 const char hex[] = "0123456789abcde"; local 510 * from a cryptographic hash), we can choose two random hex digits 516 if (asprintf(&dir_path, "%s/%c%c", cache->path, hex[a], hex[b]) < 0)
|
/external/okhttp/okio/okio/src/main/java/okio/ |
ByteString.java | 144 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) { 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.charAt(i * 2)) << 4 [all...] |
/external/ppp/pppd/plugins/radius/ |
avpair.c | 164 unsigned char hex[3]; /* For hex string conversion. */ local 199 sprintf (hex, "%2.2X", *x_ptr); 200 strcat (buffer, hex);
|
/external/python/cpython3/Lib/ |
uuid.py | 31 # 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 is not None 281 def hex(self): member in class:UUID [all...] |
/external/skia/src/utils/ |
SkParseColor.cpp | 458 uint32_t hex; local 459 const char* end = SkParse::FindHex(value + 1, &hex); 465 unsigned a = len == 4 ? nib2byte(hex >> 12) : oldAlpha; 466 unsigned r = nib2byte((hex >> 8) & 0xF); 467 unsigned g = nib2byte((hex >> 4) & 0xF); 468 unsigned b = nib2byte(hex & 0xF); 473 hex |= oldAlpha << 24; 474 *colorPtr = hex;
|
/external/skqp/src/utils/ |
SkParseColor.cpp | 458 uint32_t hex; local 459 const char* end = SkParse::FindHex(value + 1, &hex); 465 unsigned a = len == 4 ? nib2byte(hex >> 12) : oldAlpha; 466 unsigned r = nib2byte((hex >> 8) & 0xF); 467 unsigned g = nib2byte((hex >> 4) & 0xF); 468 unsigned b = nib2byte(hex & 0xF); 473 hex |= oldAlpha << 24; 474 *colorPtr = hex;
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
Example2_24Test.java | 144 HexInteger hex = (HexInteger) data; local 146 + Integer.toHexString(hex.getColor()).toUpperCase(), null);
|
/external/strace/ |
v4l2.c | 128 char hex[] = { local 137 tprints(hex);
|
/external/syslinux/gpxe/src/core/ |
vsprintf.c | 189 /* We always 0-pad hex and space-pad decimal */ 234 unsigned long long hex; local 238 hex = va_arg ( args, unsigned long long ); 240 hex = va_arg ( args, unsigned long ); 242 hex = va_arg ( args, unsigned int ); 244 ptr = format_hex ( ptr, hex, width, flags );
|
/external/wpa_supplicant_8/src/wps/ |
wps_enrollee.c | 301 char hex[65]; local 314 wpa_snprintf_hex(hex, sizeof(hex), psk, sizeof(psk)); 317 wpabuf_put_data(msg, hex, sizeof(psk) * 2); [all...] |
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
networkconfig.cpp | 200 "or 64 hex digit PSK")); 461 bool hex; local 469 * Assume hex key if only hex characters are present and length matches 479 hex = true; 484 hex = false; 489 if (hex && len != 10 && len != 26 && len != 32) 490 hex = false; 492 setNetworkParam(network_id, buf, txt, !hex);
|
/hardware/google/av/media/sfplugin/tests/ |
ReflectedParamUpdater_test.cpp | 285 AString hex; local 286 hexdump(CastParam<C2CompositeInfo>(params[0])->m.blob, 8, 0, &hex); local 287 printf("%s\n", hex.c_str());
|
/libcore/json/src/main/java/org/json/ |
JSONTokener.java | 244 String hex = in.substring(pos, pos + 4); local 247 return (char) Integer.parseInt(hex, 16); 249 throw syntaxError("Invalid escape sequence: " + hex); 593 * Returns the integer [0..15] value for the given hex character, or -1 594 * for non-hex input. 596 * @param hex a character in the ranges [0-9], [A-F] or [a-f]. Any other 599 public static int dehexchar(char hex) { 600 if (hex >= '0' && hex <= '9') { 601 return hex - '0' [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
ScopedPrinter.h | 91 template <typename T> HexNumber hex(T Value) { return HexNumber(Value); } function in class:llvm::ScopedPrinter 107 startLine() << Label << ": " << Name << " (" << hex(Value) << ")\n"; 109 startLine() << Label << ": " << hex(Value) << "\n"; 141 startLine() << Label << " [ (" << hex(Value) << ")\n"; 143 startLine() << " " << Flag.Name << " (" << hex(Flag.Value) << ")\n"; 149 startLine() << Label << " [ (" << hex(Value) << ")\n"; 154 startLine() << " " << hex(Flag) << "\n"; 238 OS << hex(Item); 245 startLine() << Label << ": " << hex(Value) << "\n"; 249 startLine() << Label << ": " << Str << " (" << hex(Value) << ")\n" [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Support/ |
ScopedPrinter.h | 91 template <typename T> HexNumber hex(T Value) { return HexNumber(Value); } function in class:llvm::ScopedPrinter 107 startLine() << Label << ": " << Name << " (" << hex(Value) << ")\n"; 109 startLine() << Label << ": " << hex(Value) << "\n"; 141 startLine() << Label << " [ (" << hex(Value) << ")\n"; 143 startLine() << " " << Flag.Name << " (" << hex(Flag.Value) << ")\n"; 149 startLine() << Label << " [ (" << hex(Value) << ")\n"; 154 startLine() << " " << hex(Flag) << "\n"; 238 OS << hex(Item); 245 startLine() << Label << ": " << hex(Value) << "\n"; 249 startLine() << Label << ": " << Str << " (" << hex(Value) << ")\n" [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Support/ |
ScopedPrinter.h | 91 template <typename T> HexNumber hex(T Value) { return HexNumber(Value); } function in class:llvm::ScopedPrinter 107 startLine() << Label << ": " << Name << " (" << hex(Value) << ")\n"; 109 startLine() << Label << ": " << hex(Value) << "\n"; 141 startLine() << Label << " [ (" << hex(Value) << ")\n"; 143 startLine() << " " << Flag.Name << " (" << hex(Flag.Value) << ")\n"; 149 startLine() << Label << " [ (" << hex(Value) << ")\n"; 154 startLine() << " " << hex(Flag) << "\n"; 238 OS << hex(Item); 245 startLine() << Label << ": " << hex(Value) << "\n"; 249 startLine() << Label << ": " << Str << " (" << hex(Value) << ")\n" [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Support/ |
ScopedPrinter.h | 91 template <typename T> HexNumber hex(T Value) { return HexNumber(Value); } function in class:llvm::ScopedPrinter 107 startLine() << Label << ": " << Name << " (" << hex(Value) << ")\n"; 109 startLine() << Label << ": " << hex(Value) << "\n"; 141 startLine() << Label << " [ (" << hex(Value) << ")\n"; 143 startLine() << " " << Flag.Name << " (" << hex(Flag.Value) << ")\n"; 149 startLine() << Label << " [ (" << hex(Value) << ")\n"; 154 startLine() << " " << hex(Flag) << "\n"; 238 OS << hex(Item); 245 startLine() << Label << ": " << hex(Value) << "\n"; 249 startLine() << Label << ": " << Str << " (" << hex(Value) << ")\n" [all...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Support/ |
ScopedPrinter.h | 91 template <typename T> HexNumber hex(T Value) { return HexNumber(Value); } function in class:llvm::ScopedPrinter 107 startLine() << Label << ": " << Name << " (" << hex(Value) << ")\n"; 109 startLine() << Label << ": " << hex(Value) << "\n"; 141 startLine() << Label << " [ (" << hex(Value) << ")\n"; 143 startLine() << " " << Flag.Name << " (" << hex(Flag.Value) << ")\n"; 149 startLine() << Label << " [ (" << hex(Value) << ")\n"; 154 startLine() << " " << hex(Flag) << "\n"; 238 OS << hex(Item); 245 startLine() << Label << ": " << hex(Value) << "\n"; 249 startLine() << Label << ": " << Str << " (" << hex(Value) << ")\n" [all...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/Support/ |
ScopedPrinter.h | 91 template <typename T> HexNumber hex(T Value) { return HexNumber(Value); } function in class:llvm::ScopedPrinter 107 startLine() << Label << ": " << Name << " (" << hex(Value) << ")\n"; 109 startLine() << Label << ": " << hex(Value) << "\n"; 141 startLine() << Label << " [ (" << hex(Value) << ")\n"; 143 startLine() << " " << Flag.Name << " (" << hex(Flag.Value) << ")\n"; 149 startLine() << Label << " [ (" << hex(Value) << ")\n"; 154 startLine() << " " << hex(Flag) << "\n"; 238 OS << hex(Item); 245 startLine() << Label << ": " << hex(Value) << "\n"; 249 startLine() << Label << ": " << Str << " (" << hex(Value) << ")\n" [all...] |
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/Support/ |
ScopedPrinter.h | 91 template <typename T> HexNumber hex(T Value) { return HexNumber(Value); } function in class:llvm::ScopedPrinter 107 startLine() << Label << ": " << Name << " (" << hex(Value) << ")\n"; 109 startLine() << Label << ": " << hex(Value) << "\n"; 141 startLine() << Label << " [ (" << hex(Value) << ")\n"; 143 startLine() << " " << Flag.Name << " (" << hex(Flag.Value) << ")\n"; 149 startLine() << Label << " [ (" << hex(Value) << ")\n"; 154 startLine() << " " << hex(Flag) << "\n"; 238 OS << hex(Item); 245 startLine() << Label << ": " << hex(Value) << "\n"; 249 startLine() << Label << ": " << Str << " (" << hex(Value) << ")\n" [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
ScopedPrinter.h | 91 template <typename T> HexNumber hex(T Value) { return HexNumber(Value); } function in class:llvm::ScopedPrinter 107 startLine() << Label << ": " << Name << " (" << hex(Value) << ")\n"; 109 startLine() << Label << ": " << hex(Value) << "\n"; 141 startLine() << Label << " [ (" << hex(Value) << ")\n"; 143 startLine() << " " << Flag.Name << " (" << hex(Flag.Value) << ")\n"; 149 startLine() << Label << " [ (" << hex(Value) << ")\n"; 154 startLine() << " " << hex(Flag) << "\n"; 238 OS << hex(Item); 245 startLine() << Label << ": " << hex(Value) << "\n"; 249 startLine() << Label << ": " << Str << " (" << hex(Value) << ")\n" [all...] |
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/Support/ |
ScopedPrinter.h | 91 template <typename T> HexNumber hex(T Value) { return HexNumber(Value); } function in class:llvm::ScopedPrinter 107 startLine() << Label << ": " << Name << " (" << hex(Value) << ")\n"; 109 startLine() << Label << ": " << hex(Value) << "\n"; 141 startLine() << Label << " [ (" << hex(Value) << ")\n"; 143 startLine() << " " << Flag.Name << " (" << hex(Flag.Value) << ")\n"; 149 startLine() << Label << " [ (" << hex(Value) << ")\n"; 154 startLine() << " " << hex(Flag) << "\n"; 238 OS << hex(Item); 245 startLine() << Label << ": " << hex(Value) << "\n"; 249 startLine() << Label << ": " << Str << " (" << hex(Value) << ")\n" [all...] |
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/Support/ |
ScopedPrinter.h | 91 template <typename T> HexNumber hex(T Value) { return HexNumber(Value); } function in class:llvm::ScopedPrinter 107 startLine() << Label << ": " << Name << " (" << hex(Value) << ")\n"; 109 startLine() << Label << ": " << hex(Value) << "\n"; 141 startLine() << Label << " [ (" << hex(Value) << ")\n"; 143 startLine() << " " << Flag.Name << " (" << hex(Flag.Value) << ")\n"; 149 startLine() << Label << " [ (" << hex(Value) << ")\n"; 154 startLine() << " " << hex(Flag) << "\n"; 238 OS << hex(Item); 245 startLine() << Label << ": " << hex(Value) << "\n"; 249 startLine() << Label << ": " << Str << " (" << hex(Value) << ")\n" [all...] |
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/Support/ |
ScopedPrinter.h | 91 template <typename T> HexNumber hex(T Value) { return HexNumber(Value); } function in class:llvm::ScopedPrinter 107 startLine() << Label << ": " << Name << " (" << hex(Value) << ")\n"; 109 startLine() << Label << ": " << hex(Value) << "\n"; 141 startLine() << Label << " [ (" << hex(Value) << ")\n"; 143 startLine() << " " << Flag.Name << " (" << hex(Flag.Value) << ")\n"; 149 startLine() << Label << " [ (" << hex(Value) << ")\n"; 154 startLine() << " " << hex(Flag) << "\n"; 238 OS << hex(Item); 245 startLine() << Label << ": " << hex(Value) << "\n"; 249 startLine() << Label << ": " << Str << " (" << hex(Value) << ")\n" [all...] |
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/Support/ |
ScopedPrinter.h | 91 template <typename T> HexNumber hex(T Value) { return HexNumber(Value); } function in class:llvm::ScopedPrinter 107 startLine() << Label << ": " << Name << " (" << hex(Value) << ")\n"; 109 startLine() << Label << ": " << hex(Value) << "\n"; 141 startLine() << Label << " [ (" << hex(Value) << ")\n"; 143 startLine() << " " << Flag.Name << " (" << hex(Flag.Value) << ")\n"; 149 startLine() << Label << " [ (" << hex(Value) << ")\n"; 154 startLine() << " " << hex(Flag) << "\n"; 238 OS << hex(Item); 245 startLine() << Label << ": " << hex(Value) << "\n"; 249 startLine() << Label << ": " << Str << " (" << hex(Value) << ")\n" [all...] |