Home
last modified time | relevance | path

Searched refs:addrs (Results 1 – 11 of 11) sorted by relevance

/system/core/adb/daemon/
Dmain.cpp164 static void setup_adb(const std::vector<std::string>& addrs) { in setup_adb() argument
169 for (const auto& addr : addrs) { in setup_adb()
181 for (const auto& addr : addrs) { in setup_adb()
243 std::vector<std::string> addrs; in adbd_main() local
261 addrs.push_back(android::base::StringPrintf("tcp:%d", port)); in adbd_main()
262 addrs.push_back(android::base::StringPrintf("vsock:%d", port)); in adbd_main()
263 setup_adb(addrs); in adbd_main()
266 addrs.push_back( in adbd_main()
268 addrs.push_back( in adbd_main()
270 setup_adb(addrs); in adbd_main()
[all …]
/system/core/libunwindstack/
DSymbols.cpp93 std::vector<uint64_t> addrs; // Addresses of all symbols (addrs[i] == symbols[i].st_value). in BuildRemapTable() local
94 addrs.reserve(count_); in BuildRemapTable()
109 addrs.push_back(sym.st_value); // Always insert so it is indexable by symbol index. in BuildRemapTable()
116 auto comp = [&addrs](auto a, auto b) { return std::tie(addrs[a], a) < std::tie(addrs[b], b); }; in BuildRemapTable()
119 auto pred = [&addrs](auto a, auto b) { return addrs[a] == addrs[b]; }; in BuildRemapTable()
/system/core/libcutils/
Dsocket_network_client_unix.cpp56 struct addrinfo* addrs; in socket_network_client_timeout() local
57 *getaddrinfo_error = getaddrinfo(host, port_str, &hints, &addrs); in socket_network_client_timeout()
63 for (struct addrinfo* addr = addrs; addr != NULL; addr = addr->ai_next) { in socket_network_client_timeout()
118 freeaddrinfo(addrs); in socket_network_client_timeout()
/system/extras/tests/kernel.config/
Daslr_test.cpp118 std::unordered_set<uint64_t> addrs = { }; in calc_mmap_entropy() local
131 addrs.insert(addr); in calc_mmap_entropy()
147 addrs.insert(addr); in calc_mmap_entropy()
149 if (addrs.size() < (samp_sz >> 1)) { in calc_mmap_entropy()
/system/extras/simpleperf/scripts/
Dutils.py426 self.addrs = {}
457 if addr not in dso.addrs:
458 dso.addrs[addr] = self.Addr(func_addr)
496 for addr in dso.addrs:
497 addr_obj = dso.addrs[addr]
552 for addr in dso.addrs:
553 addr_obj = dso.addrs[addr]
606 source = dso.addrs[addr].source_lines
/system/extras/simpleperf/
Detm_branch_list.proto42 repeated Address addrs = 3; field
Dcmd_inject.cpp332 const auto& addr_proto = binary_proto.addrs(i); in BuildBranchMap()
/system/bt/service/
Dadapter.cc577 auto addrs = reinterpret_cast<const RawAddress*>(property->val); in AdapterPropertiesCallback() local
578 if (property->len % sizeof(addrs[0]) != 0) { in AdapterPropertiesCallback()
586 for (size_t i = 0; i < property->len / sizeof(addrs[0]); ++i) in AdapterPropertiesCallback()
587 str_addrs.push_back(BtAddrString(addrs + i)); in AdapterPropertiesCallback()
/system/core/libsysutils/src/
DNetlinkEvent.cpp514 struct in6_addr *addrs = (struct in6_addr *) (rndss_opt + 1); in parseNdUserOptMessage() local
520 inet_ntop(AF_INET6, addrs + i, buf + pos, bufsize - pos); in parseNdUserOptMessage()
522 if (IN6_IS_ADDR_LINKLOCAL(addrs + i)) { in parseNdUserOptMessage()
/system/netd/server/
DTetherController.h180 std::vector<char*> toCstrVec(const std::vector<std::string>& addrs);
DTetherController.cpp343 std::vector<char*> TetherController::toCstrVec(const std::vector<std::string>& addrs) { in toCstrVec() argument
345 addrsCstrVec.reserve(addrs.size()); in toCstrVec()
346 for (const auto& addr : addrs) { in toCstrVec()