/external/autotest/client/common_lib/ |
D | smogcheck_ina219.py | 136 hex_str = '0x%.4x' % self.readWord(self.range_dict[measure]['reg']) 137 logging.debug('Word read = %r', hex_str) 138 return self._checkMeasureRange(hex_str, measure) 158 def _checkMeasureRange(self, hex_str, measure): argument 172 hex_str, self.range_dict[measure]['denom']) 181 def _convertHexToFloat(self, hex_str, denom): argument 202 match = HEX_STR_PATTERN.match(hex_str) 205 'expected pattern' % hex_str)
|
/external/skia/modules/skottie/src/layers/ |
D | SolidLayer.cpp | 24 const skjson::StringValue* hex_str = jlayer["sc"]; in attachSolidLayer() local 27 !hex_str || in attachSolidLayer() 28 *hex_str->begin() != '#' || in attachSolidLayer() 29 !SkParse::FindHex(hex_str->begin() + 1, &c)) { in attachSolidLayer()
|
/external/capstone/suite/arm/ |
D | test_arm_regression.c | 200 char *hex_str = NULL; in test_invalids() local 204 hex_str = hex_string(invalid_code->code, invalid_code->size); in test_invalids() 206 printf("%s %s: %s\n", invalid->platform_comment, hex_str, invalid_code->comment); in test_invalids() 208 free(hex_str); in test_invalids() 328 char * hex_str = NULL; in test_valids() local 333 hex_str = hex_string(valid_code->code, valid_code->size); in test_valids() 336 valid->platform_comment, hex_str, valid_code->start_addr, in test_valids()
|
/external/python/asn1crypto/asn1crypto/ |
D | util.py | 67 hex_str = '%x' % value 68 if len(hex_str) & 1: 69 hex_str = '0' + hex_str 71 output = hex_str.decode('hex')
|
/external/python/cryptography/tests/ |
D | utils.py | 173 hex_str = "".join(value).replace(" ", "").encode("ascii") 174 example_vector[key] = hex_str 200 hex_str = "".join(value).replace(" ", "").encode("ascii") 201 example_vector[key] = hex_str 221 hex_str = "".join(value).replace(" ", "") 222 public_key_vector[key] = int(hex_str, 16) 225 hex_str = "".join(value).replace(" ", "") 226 private_key_vector[key] = int(hex_str, 16)
|
/external/rust/crates/ring/src/ |
D | test.rs | 365 pub fn from_hex(hex_str: &str) -> Result<Vec<u8>, String> { in from_hex() 366 if hex_str.len() % 2 != 0 { in from_hex() 372 let mut result = Vec::with_capacity(hex_str.len() / 2); in from_hex() 373 for digits in hex_str.as_bytes().chunks(2) { in from_hex()
|
/external/bazelbuild-rules_android/rules/ |
D | utils.bzl | 322 hex_str = "" 326 hex_str = _HEX_CHAR[r] + hex_str 328 return hex_str 330 return hex_str.lstrip("0")
|
/external/skqp/modules/skottie/src/ |
D | SkottieLayer.cpp | 279 const skjson::StringValue* hex_str = jlayer["sc"]; in attachSolidLayer() local 282 !hex_str || in attachSolidLayer() 283 *hex_str->begin() != '#' || in attachSolidLayer() 284 !SkParse::FindHex(hex_str->begin() + 1, &c)) { in attachSolidLayer()
|
/external/llvm-project/lldb/examples/python/ |
D | gdbremote.py | 366 def get_value_from_hex_string(self, hex_str): argument 370 packet = Packet(hex_str) 527 hex_str = self.str[0:n] 529 return hex_str 533 hex_str = self.get_hex_chars(n) 534 if hex_str is None: 536 return int(hex_str, 16)
|
/external/llvm-project/lldb/source/Utility/ |
D | Args.cpp | 521 char hex_str[3] = {*p, '\0', '\0'}; in EncodeEscapeSequences() local 524 hex_str[1] = *p; in EncodeEscapeSequences() 527 unsigned long hex_value = strtoul(hex_str, nullptr, 16); in EncodeEscapeSequences()
|
/external/python/cpython3/Lib/ |
D | ipaddress.py | 1801 hex_str = '%032x' % ip_int 1802 hextets = ['%x' % int(hex_str[x:x+4], 16) for x in range(0, 32, 4)] 1825 hex_str = '%032x' % ip_int 1826 parts = [hex_str[x:x+4] for x in range(0, 32, 4)]
|
/external/skia/src/utils/ |
D | SkJSON.cpp | 672 const char hex_str[] = {p[1], p[2], p[3], p[4], '\0'}; in unescapeString() local 673 const auto* eos = SkParse::FindHex(hex_str, &hexed); in unescapeString()
|
/external/skqp/src/utils/ |
D | SkJSON.cpp | 664 const char hex_str[] = {p[1], p[2], p[3], p[4], '\0'}; in unescapeString() local 665 const auto* eos = SkParse::FindHex(hex_str, &hexed); in unescapeString()
|
/external/python/ipaddress/ |
D | ipaddress.py | 1949 hex_str = '%032x' % ip_int 1950 hextets = ['%x' % int(hex_str[x:x + 4], 16) for x in range(0, 32, 4)] 1973 hex_str = '%032x' % ip_int 1974 parts = [hex_str[x:x + 4] for x in range(0, 32, 4)]
|
/external/llvm-project/lldb/source/Core/ |
D | FormatEntity.cpp | 2133 char hex_str[3] = {0, 0, 0}; in ParseInternal() local 2134 hex_str[0] = format[0]; in ParseInternal() 2139 hex_str[1] = format[0]; in ParseInternal() 2143 unsigned long hex_value = strtoul(hex_str, nullptr, 16); in ParseInternal()
|
/external/python/pyopenssl/src/OpenSSL/ |
D | crypto.py | 2097 def set_serial(self, hex_str): argument 2111 bn_result = _lib.BN_hex2bn(bignum_ptr, hex_str)
|
/external/llvm-project/lldb/tools/debugserver/source/ |
D | RNBRemote.cpp | 2679 std::string hex_str; in cstring_to_asciihex_string() local 2680 hex_str.reserve (strlen (str) * 2); in cstring_to_asciihex_string() 2685 hex_str += hexbuf; in cstring_to_asciihex_string() 2687 return hex_str; in cstring_to_asciihex_string()
|
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/ |
D | backend.py | 331 hex_str = self._ffi.string(hex_cdata) 333 return int(hex_str, 16)
|