/external/apache-commons-math/src/main/java/org/apache/commons/math/random/ |
H A D | RandomDataImpl.java | 138 * <strong>Algorithm Description:</strong> hex strings are generated using a 144 * Each binary byte is translated into 2 hex digits</li> 168 // Convert each byte to 2 hex digits 173 * Add 128 to byte value to make interval 0-255 before doing hex 174 * conversion. This guarantees <= 2 hex digits from toHexString() 177 String hex = Integer.toHexString(c.intValue() + 128); 179 // Make sure we add 2 hex digits for each byte 180 if (hex.length() == 1) { 181 hex = "0" + hex; [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
H A D | CanonicalIterator.java | 185 //System.out.println("Skipping " + Utility.hex(UTF16.valueOf(source, i))); 269 if (PROGRESS) System.out.println("Adding Permutation: " + Utility.hex(possible)); 273 if (PROGRESS) System.out.println("-Skipping Permutation: " + Utility.hex(possible)); 289 if (PROGRESS) System.out.println("Adding: " + Utility.hex(segment)); 365 if (PROGRESS) System.out.println(" extract: " + Utility.hex(UTF16.valueOf(comp)) 366 + ", " + Utility.hex(segment.substring(segmentPos))); 385 if (PROGRESS) System.out.println(" matches: " + Utility.hex(UTF16.valueOf(cp))); 395 if (PROGRESS) System.out.println(" buffer: " + Utility.hex(UTF16.valueOf(cp)));
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | CanonicalIterator.java | 189 //System.out.println("Skipping " + Utility.hex(UTF16.valueOf(source, i))); 273 if (PROGRESS) System.out.println("Adding Permutation: " + Utility.hex(possible)); 277 if (PROGRESS) System.out.println("-Skipping Permutation: " + Utility.hex(possible)); 293 if (PROGRESS) System.out.println("Adding: " + Utility.hex(segment)); 369 if (PROGRESS) System.out.println(" extract: " + Utility.hex(UTF16.valueOf(comp)) 370 + ", " + Utility.hex(segment.substring(segmentPos))); 389 if (PROGRESS) System.out.println(" matches: " + Utility.hex(UTF16.valueOf(cp))); 399 if (PROGRESS) System.out.println(" buffer: " + Utility.hex(UTF16.valueOf(cp)));
|
/external/iw/ |
H A D | util.c | 115 unsigned char *parse_hex(char *hex, size_t *outlen) argument 119 if (parse_hex_mask(hex, &result, outlen, NULL)) 345 static int hex2byte(char *hex) argument 349 d1 = hex2num(hex[0]); 352 d2 = hex2num(hex[1]); 358 static char *hex2bin(char *hex, char *buf) argument 363 while (hex[0]) { 364 d = hex2byte(hex); 369 hex += 2; 456 " or 10 or 26 hex digit [all...] |
/external/boringssl/src/fipstools/ |
H A D | cavp_test_util.cc | 170 std::string hex; local 171 if (!t->GetAttribute(&hex, attribute)) { 176 if (HexToBIGNUM(&ret, hex.c_str()) != static_cast<int>(hex.size())) { 177 t->PrintLine("Could not decode '%s'.", hex.c_str());
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
H A D | LigatureTree.java | 84 result.append(Utility.hex(chars[i], 6)); 87 result.append(" => " + Utility.hex(chars[len], 6)); 100 ": already have " + Utility.hex(ligature, 6)); 177 w.write(Utility.hex(target, 6)); 183 w.write(Utility.hex(ligature, 6));
|
/external/libxml2/ |
H A D | genUnicode.py | 332 pline += "{%s, %s}" % (hex(low), hex(high)) 435 output.write("(code == %s)" % (hex(begin))) 438 hex(begin), hex(end)))
|
/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/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
H A D | 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); 84 return "\\u"+hex;
|
H A D | Target.java | 187 String hex = Integer.toHexString(c|0x10000).toUpperCase().substring(1,5); 189 buf.append(hex); 321 * with bitsets. I.e., convert bytes to hex string. 342 String hex = Integer.toHexString(v|0x10000).substring(1,5); 343 return "\\u"+hex;
|
/external/boringssl/src/crypto/x509/ |
H A D | x509_obj.c | 85 static const char hex[17] = "0123456789ABCDEF"; local 178 *(p++) = hex[(n >> 4) & 0x0f]; 179 *(p++) = hex[n & 0x0f];
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
H A D | C_P_A_L_.py | 83 def hex(self): member in class:Color 87 return self.hex() 90 writer.simpletag("color", value=self.hex(), index=index)
|
H A D | S_I_N_G_.py | 37 self.METAMD5 = "[" + hex(byteord(self.METAMD5[0])) 39 self.METAMD5 = self.METAMD5 + ", " + hex(byteord(char))
|
/external/fonttools/Tools/fontTools/ttLib/tables/ |
H A D | C_P_A_L_.py | 83 def hex(self): member in class:Color 87 return self.hex() 90 writer.simpletag("color", value=self.hex(), index=index)
|
H A D | S_I_N_G_.py | 37 self.METAMD5 = "[" + hex(byteord(self.METAMD5[0])) 39 self.METAMD5 = self.METAMD5 + ", " + hex(byteord(char))
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | TrieTest.java | 497 errln("CharTrie/dummy.getCodePointValue(c)(U+"+hex(c)+")=0x"+hex(value)+" instead of 0x"+hex(initialValue)); 505 errln("CharTrie/dummy.getLeadValue(c)(U+"+hex(c)+")=0x"+hex(value)+" instead of 0x"+hex(leadUnitValue)); 522 errln("IntTrie/dummy.getCodePointValue(c)(U+"+hex(c)+")=0x"+hex(value)+" instead of 0x"+hex(initialValue)); 530 errln("IntTrie/dummy.getLeadValue(c)(U+"+hex( [all...] |
/external/libedit/src/ |
H A D | parse.c | 179 const Char hex[] = STR("0123456789ABCDEF"); local 186 h = Strchr(hex, *p++); 190 c = (c << 4) | ((int)(h - hex));
|
/external/parameter-framework/upstream/parameter/ |
H A D | SelectionCriterionType.cpp | 61 error << "Rejecting value pair association: 0x" << std::hex << iValue << " - " << strValue 72 error << "Rejecting value pair association (literal already present): 0x" << std::hex 82 << " 0x" << std::hex << iValue << " - " << strValue
|
/external/v8/src/ |
H A D | ostreams.cc | 108 std::ostream& operator<<(std::ostream& os, const AsHex& hex) { argument 110 snprintf(buf, sizeof(buf), "%.*" PRIx64, hex.min_width, hex.value);
|
/external/boringssl/src/crypto/bn_extra/ |
H A D | convert.c | 113 // decode_hex decodes |in_len| bytes of hex data from |in| and updates |bn|. 119 // |in_len| is the number of hex digits. 137 BN_ULONG hex; local 139 hex = c - '0'; 141 hex = c - 'a' + 10; 143 hex = c - 'A' + 10; 145 hex = 0; 149 word = (word << 4) | hex; 210 // in is the start of the hex digits, and it is 'i' long
|
/external/google-breakpad/src/common/ |
H A D | module.cc | 48 using std::hex; 256 stream << "FUNC " << hex 266 stream << hex 281 stream << "PUBLIC " << hex 293 stream << "STACK CFI INIT " << hex 305 stream << "STACK CFI " << hex
|
/external/autotest/client/tests/memory_api/ |
H A D | memory_api.py | 66 logging.info("%s %s %d %d", hex(mem_start), hex(mem_len), vma_count,
|
/external/compiler-rt/lib/asan/scripts/ |
H A D | symbolize.py | 32 return hex(addr) 63 addr = hex(int(addr, 16))
|
/external/doclava/src/com/google/doclava/ |
H A D | FieldInfo.java | 396 String hex = null; 403 hex = String.format("0x%02x", val); 406 hex = String.format("0x%04x", val); 413 hex = String.format("0x%08x", val); 416 hex = String.format("0x%016x", val); 419 hex = String.format("0x%04x", val); 426 if (dec != null && hex != null) { 428 data.setValue(base + ".constantValue.hex", Doclava.escape(hex));
|
/external/icu/icu4c/source/test/intltest/ |
H A D | tstnorm.cpp | 325 errln("FAIL: " + hex(a) + " x DECOMP_COMPAT => " + 326 hex(b) + " x COMPOSE => " + 327 hex(c)); 329 logln("Ok: " + hex(a) + " x DECOMP_COMPAT => " + 330 hex(b) + " x COMPOSE => " + 331 hex(c)); 369 logln((UnicodeString)"Ok: " + hex(a) + " x COMPOSE_COMPAT => " + hex(b)); 371 errln((UnicodeString)"FAIL: " + hex(a) + " x COMPOSE_COMPAT => " + hex( 488 UnicodeString BasicNormalizerTest::hex(UChar ch) { function in class:BasicNormalizerTest 493 UnicodeString BasicNormalizerTest::hex(const UnicodeString& s) { function in class:BasicNormalizerTest [all...] |