Home
last modified time | relevance | path

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

/frameworks/libs/net/common/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 …]
/frameworks/libs/net/common/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()
256 static IPSockAddr toIPSockAddr(const std::string& repr, in_port_t port) { in toIPSockAddr() argument
257 return IPSockAddr(IPAddress::forString(repr), port); in toIPSockAddr()
/frameworks/base/tools/apilint/
Ddeprecated_at_birth.py243 dump += "\n in " + repr(detail)
246 dump += "\n in " + repr(clazz)
247 dump += "\n in " + repr(clazz.pkg)
248 dump += "\n at line " + repr(self.line)
264 sig = "%s-%s-%s" % (clazz.fullname, repr(detail), msg)
/frameworks/ex/common/tools/
Dmake-iana-tld-pattern.py172 result = repr(result)
/frameworks/native/libs/binder/tests/
DbinderRpcWireProtocolTest.cpp184 static void checkRepr(const std::string& repr, uint32_t version) { in checkRepr() argument
187 auto expected = base::Split(repr, "|"); in checkRepr()
200 EXPECT_EQ(repr, actualRepr); in checkRepr()
/frameworks/native/libs/binder/rust/src/
Dparcel.rs50 #[repr(transparent)]
67 #[repr(transparent)]
Dnative.rs39 #[repr(C)]
Dproxy.rs575 #[repr(C)]
Dbinder.rs880 #[repr(transparent)]
/frameworks/minikin/tools/
Dmk_hyb_file.py437 print(repr(line) + ' in reconstruction, not in file')
439 print(repr(line) + ' in file, not in reconstruction')
/frameworks/native/libs/input/
Dinput_verifier.rs90 #[repr(u32)]
/frameworks/base/tools/fonts/
Dfontchain_linter.py480 repr(missing_text_chars))
/frameworks/av/media/audioaidlconversion/
DAidlConversionCppNdk.cpp956 const audio_channel_representation_t repr = audio_channel_mask_get_representation(legacy); in legacy2aidl_audio_channel_mask_t_AudioChannelLayout() local
957 if (repr == AUDIO_CHANNEL_REPRESENTATION_INDEX) { in legacy2aidl_audio_channel_mask_t_AudioChannelLayout()
966 } else if (repr == AUDIO_CHANNEL_REPRESENTATION_POSITION) { in legacy2aidl_audio_channel_mask_t_AudioChannelLayout()
991 __func__, repr, legacy); in legacy2aidl_audio_channel_mask_t_AudioChannelLayout()
/frameworks/native/libs/binder/rust/tests/
Dintegration.rs92 #[repr(u32)]