Home
last modified time | relevance | path

Searched refs:addr_str (Results 1 – 3 of 3) sorted by relevance

/system/extras/tests/kernel.config/
Daslr_test.cpp121 std::string addr_str = scrape_addr(exec_name, lib_match); in calc_mmap_entropy() local
122 if (addr_str.empty()) { in calc_mmap_entropy()
126 if (!isxdigit(addr_str[0])) { in calc_mmap_entropy()
127 std::cerr << "invalid address: " << addr_str; in calc_mmap_entropy()
130 addr = min_addr = max_addr = std::stoll(addr_str, 0, 16); in calc_mmap_entropy()
133 addr_str = scrape_addr(exec_name, lib_match); in calc_mmap_entropy()
134 if (addr_str.empty()) { in calc_mmap_entropy()
138 if (!isxdigit(addr_str[0])) { in calc_mmap_entropy()
139 std::cerr << "invalid address: " << addr_str; in calc_mmap_entropy()
142 addr = std::stoll(addr_str, 0, 16); in calc_mmap_entropy()
/system/core/debuggerd/libdebuggerd/
Dtombstone.cpp190 std::string addr_str; in get_addr_string() local
192 addr_str = StringPrintf("%08x'%08x", in get_addr_string()
196 addr_str = StringPrintf("%08x", static_cast<uint32_t>(addr)); in get_addr_string()
198 return addr_str; in get_addr_string()
/system/bt/btif/src/
Dbtif_config.cc205 auto addr_str = mac_address.ToString(); in init_metric_id_allocator() local
208 if (btif_config_exist(addr_str, BT_CONFIG_METRICS_ID_KEY)) { in init_metric_id_allocator()
211 btif_config_get_int(addr_str, BT_CONFIG_METRICS_ID_KEY, &id); in init_metric_id_allocator()