Searched refs:repr (Results 1 – 14 of 14) sorted by relevance
/frameworks/libs/net/common/netd/libnetdutils/ |
D | InternetAddresses.cpp | 34 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/ |
D | InternetAddresses.h | 126 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/ |
D | deprecated_at_birth.py | 243 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/ |
D | make-iana-tld-pattern.py | 172 result = repr(result)
|
/frameworks/native/libs/binder/tests/ |
D | binderRpcWireProtocolTest.cpp | 184 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/ |
D | parcel.rs | 50 #[repr(transparent)] 67 #[repr(transparent)]
|
D | native.rs | 39 #[repr(C)]
|
D | proxy.rs | 575 #[repr(C)]
|
D | binder.rs | 880 #[repr(transparent)]
|
/frameworks/minikin/tools/ |
D | mk_hyb_file.py | 437 print(repr(line) + ' in reconstruction, not in file') 439 print(repr(line) + ' in file, not in reconstruction')
|
/frameworks/native/libs/input/ |
D | input_verifier.rs | 90 #[repr(u32)]
|
/frameworks/base/tools/fonts/ |
D | fontchain_linter.py | 480 repr(missing_text_chars))
|
/frameworks/av/media/audioaidlconversion/ |
D | AidlConversionCppNdk.cpp | 956 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/ |
D | integration.rs | 92 #[repr(u32)]
|