Home
last modified time | relevance | path

Searched refs:repr (Results 1 – 9 of 9) sorted by relevance

/system/netd/libnetdutils/
DInternetAddresses.cpp34 char repr[INET6_ADDRSTRLEN] = "\0"; in toString() local
41 inet_ntop(AF_INET, &v4, repr, sizeof(repr)); in toString()
46 inet_ntop(AF_INET6, &v6, repr, sizeof(repr)); in toString()
54 return StringPrintf("%s%%%u", repr, mData.scope_id); in toString()
57 return repr; in toString()
60 bool IPAddress::forString(const std::string& repr, IPAddress* ip) { in forString() argument
65 const int ret = getaddrinfo(repr.c_str(), nullptr, &hints, &res); in forString()
128 bool IPPrefix::forString(const std::string& repr, IPPrefix* prefix) { in forString() argument
129 size_t index = repr.find('/'); in forString()
134 if (!IPAddress::forString(repr.substr(0, index), &ip)) return false; in forString()
[all …]
/system/netd/server/
DNetwork.cpp62 std::stringstream repr; in toString() local
64 repr << mNetId << kSeparator << getTypeString(); in toString()
67 repr << kSeparator << android::base::Join(mInterfaces, ","); in toString()
70 return repr.str(); in toString()
/system/netd/libnetdutils/include/netdutils/
DInternetAddresses.h126 static bool forString(const std::string& repr, IPAddress* ip);
127 static IPAddress forString(const std::string& repr) { in forString() argument
129 if (!forString(repr, &ip)) return IPAddress(); in forString()
198 static bool forString(const std::string& repr, IPPrefix* prefix);
199 static IPPrefix forString(const std::string& repr) { in forString() argument
201 if (!forString(repr, &prefix)) return IPPrefix(); in forString()
250 static IPSockAddr toIPSockAddr(const std::string& repr, in_port_t port) { in toIPSockAddr() argument
251 return IPSockAddr(IPAddress::forString(repr), port); in toIPSockAddr()
/system/bt/gd/rust/topshim/src/
Dbtif.rs14 #[repr(i32)]
21 #[repr(i32)]
45 #[repr(i32)]
52 #[repr(i32)]
/system/bt/gd/rust/linux/stack/src/
Dbluetooth_gatt.rs24 #[repr(i32)]
Dbluetooth.rs100 #[repr(i32)]
/system/security/keystore2/src/
Dmetrics_store.rs653 #[repr(i32)]
672 #[repr(i32)]
693 #[repr(i32)]
708 #[repr(i32)]
/system/bt/tools/scripts/
Dbtsnoop_live.py250 print("Error: Invalid data", repr(snoop_hdr))
/system/vold/bench/
Dbenchgen.py43 return "%s(%s)=%s" % (self.call, repr(self.args), self.ret)