Home
last modified time | relevance | path

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

/system/netd/server/
DNetwork.cpp60 std::stringstream repr; in toString() local
62 repr << mNetId; in toString()
64 repr << kSeparator; in toString()
67 repr << "DUMMY"; in toString()
70 repr << "LOCAL"; in toString()
73 repr << "PHYSICAL"; in toString()
76 repr << "VIRTUAL"; in toString()
79 repr << "unknown"; in toString()
83 repr << kSeparator << android::base::Join(mInterfaces, ","); in toString()
86 return repr.str(); in toString()
/system/netd/libnetdutils/
DInternetAddresses.cpp32 char repr[INET6_ADDRSTRLEN] = "\0"; in toString() local
39 inet_ntop(AF_INET, &v4, repr, sizeof(repr)); in toString()
44 inet_ntop(AF_INET6, &v6, repr, sizeof(repr)); in toString()
52 return StringPrintf("%s%%%u", repr, mData.scope_id); in toString()
55 return repr; in toString()
58 bool IPAddress::forString(const std::string& repr, IPAddress* ip) { in forString() argument
63 const int ret = getaddrinfo(repr.c_str(), nullptr, &hints, &res); in forString()
/system/netd/libnetdutils/include/netdutils/
DInternetAddresses.h116 static bool forString(const std::string& repr, IPAddress* ip);
117 static IPAddress forString(const std::string& repr) { in forString() argument
119 if (!forString(repr, &ip)) return IPAddress(); in forString()
/system/extras/perfprofd/scripts/
Dsorted_collection.py68 getattr(self._given_key, '__name__', repr(self._given_key))
/system/vold/bench/
Dbenchgen.py43 return "%s(%s)=%s" % (self.call, repr(self.args), self.ret)
/system/core/adb/
Dtest_adb.py150 assert greeting == b"OK\n", repr(greeting)