/external/fonttools/Lib/fontTools/ttLib/tables/ |
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)
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
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(c)+")=0x"+hex(value)+" instead of 0x"+hex(leadUnitValue)) [all...] |
/external/libedit/src/ |
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/ |
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/ |
ostreams.cc | 108 std::ostream& operator<<(std::ostream& os, const AsHex& hex) { 110 snprintf(buf, sizeof(buf), "%.*" PRIx64, hex.min_width, hex.value);
|
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/crypto/chacha20poly1305/ |
chacha20poly1305_test.go | 10 "encoding/hex" 17 key, _ := hex.DecodeString(test.key) 18 nonce, _ := hex.DecodeString(test.nonce) 19 ad, _ := hex.DecodeString(test.aad) 20 plaintext, _ := hex.DecodeString(test.plaintext) 28 if ctHex := hex.EncodeToString(ct); ctHex != test.out {
|
/prebuilts/go/linux-x86/src/vendor/golang_org/x/crypto/chacha20poly1305/ |
chacha20poly1305_test.go | 10 "encoding/hex" 17 key, _ := hex.DecodeString(test.key) 18 nonce, _ := hex.DecodeString(test.nonce) 19 ad, _ := hex.DecodeString(test.aad) 20 plaintext, _ := hex.DecodeString(test.plaintext) 28 if ctHex := hex.EncodeToString(ct); ctHex != test.out {
|
/system/vold/ |
Utils.h | 84 /* Converts hex string to raw bytes, ignoring [ :-] */ 85 status_t HexToStr(const std::string& hex, std::string& str); 86 /* Converts raw bytes to hex string */ 87 status_t StrToHex(const std::string& str, std::string& hex); 88 /* Converts raw key bytes to hex string */ 89 status_t StrToHex(const KeyBuffer& str, KeyBuffer& hex); 90 /* Normalize given hex string into consistent format */
|
/external/boringssl/src/crypto/bn_extra/ |
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/ |
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/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
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/autotest/client/tests/memory_api/ |
memory_api.py | 66 logging.info("%s %s %d %d", hex(mem_start), hex(mem_len), vma_count,
|
/external/doclava/src/com/google/doclava/ |
FieldInfo.java | 396 String hex = null; local 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/ |
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(b) 488 UnicodeString BasicNormalizerTest::hex(UChar ch) { function in class:BasicNormalizerTest 493 UnicodeString BasicNormalizerTest::hex(const UnicodeString& s) { function in class:BasicNormalizerTest [all...] |
/external/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/ |
put_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_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.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);
|
/external/python/cpython2/Lib/plat-mac/ |
argvemulator.py | 59 msg = "High Level Event: %r %r" % (hex(message), hex(h | (v<<16)))
|
/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;
|
/hardware/interfaces/keymaster/4.0/support/ |
key_param_output.cpp | 82 os << std::hex << ::std::setw(2) << static_cast<int>(param.blob[i]) << ::std::dec; 88 os << ::std::hex << ::std::setw(2) << static_cast<int>(param.blob[i]) << ::std::dec;
|
/libcore/luni/src/test/java/libcore/libcore/util/ |
SerializationTester.java | 108 public static Object deserializeHex(String hex) throws IOException, ClassNotFoundException { 109 return deserialize(HexEncoding.decode(hex));
|
/prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/ |
argvemulator.py | 59 msg = "High Level Event: %r %r" % (hex(message), hex(h | (v<<16)))
|
/prebuilts/go/darwin-x86/src/crypto/rsa/ |
pss_test.go | 16 "encoding/hex" 88 // lines, removing spaces in hex values and identifying the start of 236 func bigFromHex(hex string) *big.Int { 237 n, ok := new(big.Int).SetString(hex, 16) 239 panic("bad hex: " + hex) 244 func intFromHex(hex string) int { 245 i, err := strconv.ParseInt(hex, 16, 32) 253 s, err := hex.DecodeString(hexStr)
|