/external/gptfdisk/ |
H A D | gptpart.h | 75 void SetType(uint16_t hex) {partitionType = hex;} argument
|
H A D | gptpart.cc | 46 // Return the gdisk-specific two-byte hex code for the partition 314 cout << hex << partitionType.GetHexType() << " " << dec; 383 cout << hex; local 440 cout << "Hex code or GUID (L to show codes, Enter = " << hex << DEFAULT_GPT_TYPE << dec << "): ";
|
H A D | gpttext.cc | 920 cout << "Enter an MBR hex code (default " << hex; local
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/ |
H A D | NormalizerBuilder.java | 106 //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/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
H A D | NormalizerBuilder.java | 105 //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/libbrillo/brillo/ |
H A D | data_encoding.cc | 17 inline int HexToDec(int hex) { argument 19 if (hex >= '0' && hex <= '9') { 20 dec = hex - '0'; 21 } else if (hex >= 'A' && hex <= 'F') { 22 dec = hex - 'A' + 10; 23 } else if (hex >= 'a' && hex <= 'f') { 24 dec = hex [all...] |
/external/okhttp/okio/okio/src/main/java/okio/ |
H A D | SegmentedByteString.java | 92 @Override public String hex() { method in class:SegmentedByteString 93 return toByteString().hex();
|
H A D | 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) { 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/toybox/toys/posix/ |
H A D | cpio.c | 63 //convert hex to uint; mostly to allow using bits of non-terminated strings 64 static unsigned x8u(char *hex) argument 69 while (*hex == '0') { 70 hex++; 75 sscanf(hex, pattern, &val, &outpos);
|
/external/boringssl/src/crypto/dh/ |
H A D | dh_test.cc | 539 static bool BIGNUMEqualsHex(const BIGNUM *bn, const char *hex) { argument 541 if (!BN_hex2bn(&hex_bn, hex)) {
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/ |
H A D | SECNamedCurves.java | 31 String hex) 33 return new BigInteger(1, Hex.decode(hex)); 30 fromHex( String hex) argument
|
/external/deqp/framework/common/ |
H A D | tcuFormatUtil.hpp | 67 std::ostream& operator<< (std::ostream& stream, tcu::Format::Hex<NumDigits> hex) argument 69 return hex.toStream(stream);
|
/external/flatbuffers/grpc/src/compiler/ |
H A D | cpp_generator.cc | 57 static char hex[] = "0123456789abcdef"; local 59 result.push_back(hex[(c >> 4) & 0xf]); 60 result.push_back(hex[c & 0xf]);
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
H A D | AnyTransliterator.java | 42 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/libcups/filter/ |
H A D | rastertolabel.c | 744 static const unsigned char *hex = (const unsigned char *)"0123456789ABCDEF"; local 813 * Convert the line to hex digits... 820 *compptr++ = hex[*ptr >> 4]; 821 *compptr++ = hex[*ptr & 15];
|
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/ |
H A D | WebSocketWriterTest.java | 53 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/ppp/pppd/plugins/radius/ |
H A D | avpair.c | 164 unsigned char hex[3]; /* For hex string conversion. */ local 199 sprintf (hex, "%2.2X", *x_ptr); 200 strcat (buffer, hex);
|
/external/skia/src/utils/ |
H A D | 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/syslinux/gpxe/src/core/ |
H A D | 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/zlib/src/test/ |
H A D | infcover.c | 239 decodes liberally, in that hex digits can be adjacent, in which case two in 240 a row writes a byte. Or they can delimited by any non-hex character, where 241 the delimiters are ignored except when a single hex digit is followed by a 245 local unsigned char *h2b(const char *hex, unsigned *len) argument 250 in = malloc((strlen(hex) + 1) >> 1); 256 if (*hex >= '0' && *hex <= '9') 257 val = (val << 4) + *hex - '0'; 258 else if (*hex >= 'A' && *hex < 284 inf(char *hex, char *what, unsigned step, int win, unsigned len, int err) argument 507 try(char *hex, char *id, int err) argument [all...] |
/external/ImageMagick/Magick++/lib/ |
H A D | Statistic.cpp | 150 hex; local 155 if (sscanf(hash_.substr(i*5,5).c_str(),"%05x",&hex) != 1) 158 value=((unsigned short)hex) / pow(10.0, (double)(hex >> 17)); 159 if (hex & (1 << 16)) 192 hex; local 199 hex=0; 200 while(hex < 7 && fabs(value*10) < 65536) 203 hex++; 206 hex [all...] |
/external/ImageMagick/MagickCore/ |
H A D | histogram.c | 1020 hex[MagickPathExtent], 1084 GetColorTuple(&pixel,MagickTrue,hex); 1087 (void) FormatLocaleFile(file,": %s %s %s\n",tuple,hex,color); 1004 hex[MagickPathExtent], local
|
H A D | identify.c | 993 hex[MagickPathExtent], 1031 GetColorTuple(&pixel,MagickTrue,hex); 1033 hex,color); 991 hex[MagickPathExtent], local
|
/external/boringssl/src/crypto/bn/ |
H A D | convert.c | 290 /* decode_hex decodes |in_len| bytes of hex data from |in| and updates |bn|. */ 296 /* |in_len| is the number of hex digits. */ 314 BN_ULONG hex; local 316 hex = c - '0'; 318 hex = c - 'a' + 10; 320 hex = c - 'A' + 10; 322 hex = 0; 326 word = (word << 4) | hex; 387 /* in is the start of the hex digits, and it is 'i' long */
|
/external/llvm/include/llvm/Support/ |
H A D | 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(Valu [all...] |