/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/ |
D | dns_lookup_name_test.cpp | 40 addrBuff.family = AF_INET; in SockAddrCopy001() 58 addrBuf[0].family = AF_INET6; in LookUpNameParamTest001() 59 addrBuf[1].family = AF_INET; in LookUpNameParamTest001() 86 int32_t family = 0; variable 88 int32_t ret = name.NameFromNull(buf, host, family, flag); 98 int32_t family = AF_INET; variable 100 int32_t ret = name.NameFromNull(buf, host, family, flag); 110 int32_t family = AF_INET6; variable 112 int32_t ret = name.NameFromNull(buf, host, family, flag); 122 int32_t family = AF_INET; variable [all …]
|
D | netsys_addr_info_parcel_test.cpp | 72 int16_t family = 1; variable 86 if (!reply.WriteInt16(family)) { 116 int16_t family = 1; variable 129 if (!reply.WriteInt16(family)) {
|
D | dns_lookup_parser_test.cpp | 103 resolvConf.ns[0].family = AF_INET; in GetNsFromConfTest001() 104 int32_t family = 0; in GetNsFromConfTest001() local 107 DnsLookUpParse::GetNsFromConf(&resolvConf, nns, family, saLen); in GetNsFromConfTest001() 114 resolvConf.ns[0].family = AF_INET6; in GetNsFromConfTest002() 115 int32_t family = 0; in GetNsFromConfTest002() local 118 DnsLookUpParse::GetNsFromConf(&resolvConf, nns, family, saLen); in GetNsFromConfTest002() 197 int32_t family = 0; variable 200 data.family = AF_INET; 203 instance_->GetNsFromConf(&cfg, nns, family, saLen); 211 int32_t family = 0; variable [all …]
|
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/dnsresolv/ |
D | dns_lookup_name.cpp | 67 …LookUpName::NameFromNull(AddrData buf[SECOND_ADDR_IN_BUFF], const std::string name, int32_t family, in NameFromNull() argument 75 if (family != AF_INET6) { in NameFromNull() 76 buf[cnt++] = (AddrData){.family = AF_INET}; in NameFromNull() 78 if (family != AF_INET) { in NameFromNull() 79 buf[cnt++] = (AddrData){.family = AF_INET6}; in NameFromNull() 82 if (family != AF_INET6) { in NameFromNull() 83 buf[cnt++] = (AddrData){.family = AF_INET, .addr = {127, 0, 0, 1}}; in NameFromNull() 85 if (family != AF_INET) { in NameFromNull() 86 buf[cnt] = (AddrData){.family = AF_INET6}; in NameFromNull() 95 …nsLookUpName::NameFromNumeric(AddrData buf[ADDR_FIRST_BIT], const std::string name, int32_t family) in NameFromNumeric() argument [all …]
|
D | dns_getaddrinfo.cpp | 36 uint32_t family = hints.aiFamily; in CheckHints() local 37 switch (family) { in CheckHints() 43 NETNATIVE_LOGE("family not supported, family : [%{public}d]", family); in CheckHints() 75 info.aiFamily = static_cast<uint32_t>(addrs[i].family); in ParseAddr() 78 … info.aiAddrLen = addrs[i].family == AF_INET ? static_cast<socklen_t>(sizeof(sockaddr_in)) in ParseAddr() 83 switch (addrs[i].family) { in ParseAddr() 105 uint32_t family = AF_UNSPEC; in GetAddrInfo() local 114 family = hints.aiFamily; in GetAddrInfo() 119 family = AF_INET; in GetAddrInfo() 131 … int32_t nAddrs = DnsLookUpName().LookUpName(addrs, canon, hostName, static_cast<int32_t>(family), in GetAddrInfo()
|
D | dns_lookup_parse.cpp | 82 int32_t DnsLookUpParse::LookupIpLiteralForIPV6(const char *hostName, int32_t &family, struct AddrDa… in LookupIpLiteralForIPV6() argument 98 if (family == AF_INET) { in LookupIpLiteralForIPV6() 107 buf[ARG_INDEX_0].family = AF_INET6; in LookupIpLiteralForIPV6() 134 …kUpParse::LookupIpLiteral(struct AddrData buf[ARG_INDEX_1], const std::string name, int32_t family) in LookupIpLiteral() argument 142 if (family == AF_INET6) { in LookupIpLiteral() 149 buf[ARG_INDEX_0].family = AF_INET; in LookupIpLiteral() 154 return LookupIpLiteralForIPV6(hostName, family, buf); in LookupIpLiteral() 209 void DnsLookUpParse::GetNsFromConf(const ResolvConf *conf, uint32_t &nns, int32_t &family, socklen_… in GetNsFromConf() argument 213 if (ipLit->family == AF_INET) { in GetNsFromConf() 228 nSockAddr[nns].sin6.sin6_family = family = AF_INET6; in GetNsFromConf() [all …]
|
/foundation/communication/netstack/frameworks/js/napi/socket/options/src/ |
D | socket_remote_info.cpp | 29 void SocketRemoteInfo::SetFamily(sa_family_t family) in SetFamily() argument 31 if (family == AF_INET) { in SetFamily() 33 } else if (family == AF_INET6) { in SetFamily() 60 void SocketRemoteInfo::SetFamilyByStr(const std::string family) in SetFamilyByStr() argument 62 family_ = family; in SetFamilyByStr()
|
D | net_address.cpp | 54 void NetAddress::SetFamilyByJsValue(uint32_t family) in SetFamilyByJsValue() argument 56 if (static_cast<Family>(family) == Family::IPv6) { in SetFamilyByJsValue() 61 void NetAddress::SetFamilyBySaFamily(sa_family_t family) in SetFamilyBySaFamily() argument 63 if (family == AF_INET6) { in SetFamilyBySaFamily()
|
/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/ |
D | dns_lookup_name.h | 65 int32_t family; member 97 …LookUpName(AddrData buf[MAXADDRS], char canon[CANON_LINE], const std::string &name, int32_t family, 101 …tic int32_t NameFromNull(AddrData buf[SECOND_ADDR_IN_BUFF], const std::string name, int32_t family, 103 …atic int32_t NameFromNumeric(AddrData buf[ADDR_FIRST_BIT], const std::string name, int32_t family); 105 int32_t family, uint16_t netId); 108 …NameFromDns(AddrData buf[MAXADDRS], char canon[CANON_LINE], const std::string name, int32_t family, 116 static int32_t CheckNameParam(const std::string name, int32_t &flags, int32_t &family); 117 static bool UpdateBuf(int32_t flags, int32_t family, AddrData *buf, int32_t &cnt); 120 …static int32_t FindName(AddrData *buf, char *canon, const std::string name, int32_t family, int32_…
|
D | dns_lookup_parse.h | 93 int32_t family; member 133 … int32_t LookupIpLiteral(struct AddrData buf[ARG_INDEX_1], const std::string name, int32_t family); 147 …static void GetNsFromConf(const ResolvConf *conf, uint32_t &nns, int32_t &family, socklen_t &saLen… 155 …int32_t LookupIpLiteralForIPV6(const char *hostName, int32_t &family, struct AddrData buf[ARG_INDE…
|
/foundation/communication/netmanager_base/frameworks/js/napi/connection/options/src/ |
D | net_address.cpp | 29 void NetAddress::SetFamilyByJsValue(uint32_t family) in SetFamilyByJsValue() argument 31 if (static_cast<Family>(family) == Family::IPv6) { in SetFamilyByJsValue() 36 void NetAddress::SetFamilyBySaFamily(sa_family_t family) in SetFamilyBySaFamily() argument 38 if (family == AF_INET6) { in SetFamilyBySaFamily()
|
/foundation/communication/netmanager_ext/frameworks/js/napi/mdns/src/contexts/ |
D | mdns_base_context.cpp | 36 serviceInfo_.family = MDnsServiceInfo::UNKNOWN; in ParseAddressObj() 39 int32_t family = NapiUtils::GetInt32Property(env, obj, SERVICEINFO_FAMILY); in ParseAddressObj() local 40 if (family == 0) { in ParseAddressObj() 41 serviceInfo_.family = MDnsServiceInfo::IPV6; in ParseAddressObj() 42 } else if (family == 1) { in ParseAddressObj() 43 serviceInfo_.family = MDnsServiceInfo::IPV4; in ParseAddressObj()
|
/foundation/communication/netmanager_base/services/etc/init/ |
D | netsysnative.cfg | 26 "family" : "AF_UNIX", 36 "family" : "AF_UNIX", 46 "family" : "AF_UNIX",
|
/foundation/communication/netmanager_base/frameworks/js/napi/connection/options/include/ |
D | net_address.h | 37 void SetFamilyByJsValue(uint32_t family); 39 void SetFamilyBySaFamily(sa_family_t family);
|
/foundation/communication/netstack/frameworks/js/napi/socket/options/include/ |
D | net_address.h | 36 void SetFamilyByJsValue(uint32_t family); 38 void SetFamilyBySaFamily(sa_family_t family);
|
D | socket_remote_info.h | 34 void SetFamily(sa_family_t family); 40 void SetFamilyByStr(const std::string family);
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper/ |
D | base_address.cpp | 27 BaseAddress::BaseAddress(const std::string &ip, size_t prefixLength, FamilyType family) in BaseAddress() argument 28 : family_(family), prefixLength_(prefixLength), ipAddress_(ip) in BaseAddress()
|
D | network_interface.cpp | 212 int family = ifa.ifa_addr->sa_family; in SaveIpAddress() local 214 if (family == AF_INET || family == AF_INET6) { in SaveIpAddress() 216 (family == AF_INET) ? sizeof(struct sockaddr_in) : sizeof(struct sockaddr_in6), in SaveIpAddress() 227 (family == AF_INET) ? sizeof(struct sockaddr_in) : sizeof(struct sockaddr_in6), in SaveIpAddress() 242 if (family == AF_INET) { in SaveIpAddress() 244 } else if (family == AF_INET6) { in SaveIpAddress()
|
/foundation/communication/netstack/test/fuzztest/socket/fuzztest/socketexec_fuzzer/ |
D | socket_exec_fuzzer.cpp | 58 sa_family_t family(GetData<sa_family_t>()); in MakeUdpSocketFuzzTest() local 59 if (family == AF_INET || family == AF_INET6) { in MakeUdpSocketFuzzTest() 62 SocketExec::MakeUdpSocket(family); in MakeUdpSocketFuzzTest() 71 sa_family_t family(GetData<sa_family_t>()); in MakeTcpSocketFuzzTest() local 72 if (family == AF_INET || family == AF_INET6) { in MakeTcpSocketFuzzTest() 75 SocketExec::MakeTcpSocket(family); in MakeTcpSocketFuzzTest()
|
/foundation/barrierfree/accessibility/frameworks/common/src/ |
D | accessibility_caption.cpp | 77 void CaptionProperty::SetFontFamily(const std::string &family) in SetFontFamily() argument 79 fontFamily_ = family; in SetFontFamily()
|
/foundation/communication/netmanager_base/services/netconnmanager/src/ |
D | network.cpp | 139 auto family = GetAddrFamily(route.destination_.address_); in ReleaseBasicNetwork() local 140 std::string nextHop = (family == AF_INET6) ? "" : LOCAL_ROUTE_NEXT_HOP; in ReleaseBasicNetwork() 225 auto family = GetAddrFamily(inetAddr.address_); in UpdateIpAddrs() local 227 … : ((family == AF_INET6) ? Ipv6PrefixLen(inetAddr.netMask_) in UpdateIpAddrs() 237 auto family = GetAddrFamily(inetAddr.address_); in UpdateIpAddrs() local 239 … : ((family == AF_INET6) ? Ipv6PrefixLen(inetAddr.netMask_) in UpdateIpAddrs() 260 auto family = GetAddrFamily(route.destination_.address_); in UpdateRoutes() local 261 std::string nextHop = (family == AF_INET6) ? "" : LOCAL_ROUTE_NEXT_HOP; in UpdateRoutes() 277 auto family = GetAddrFamily(route.destination_.address_); in UpdateRoutes() local 278 std::string nextHop = (family == AF_INET6) ? "" : LOCAL_ROUTE_NEXT_HOP; in UpdateRoutes()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/ |
D | netlink_socket_diag.cpp | 210 int32_t NetLinkSocketDiag::SendSockDiagDumpRequest(uint8_t proto, uint8_t family, uint32_t states) in SendSockDiagDumpRequest() argument 221 request.req_ = {.sdiag_family = family, .sdiag_protocol = proto, .idiag_states = states}; in SendSockDiagDumpRequest() 269 for (const int family : {AF_INET, AF_INET6}) { in DestroyLiveSockets() 270 int32_t ret = SendSockDiagDumpRequest(proto, family, states); in DestroyLiveSockets() 272 … NETNATIVE_LOGE("Failed to dump %{public}s sockets", family == AF_INET ? "IPv4" : "IPv6"); in DestroyLiveSockets() 277 … NETNATIVE_LOGE("Failed to destroy %{public}s sockets", family == AF_INET ? "IPv4" : "IPv6"); in DestroyLiveSockets()
|
/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/pages/input/RadioEventTest031/ |
D | index.css | 39 font-family: HYQiHei-65S; 48 font-family: HYQiHei-65S; 57 font-family: HYQiHei-65S;
|
/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/pages/picker_view/event004/ |
D | index.css | 18 font-family:HYQiHei-65S; 21 selected-font-family:HYQiHei-65S;
|
/foundation/arkui/ace_engine_lite/frameworks/examples/showcase/src/main/js/default/pages/component/picker_view/text_picker/text_picker9/ |
D | text_picker9.css | 18 font-family: HYQiHei-65S; 21 selected-font-family: HYQiHei-65S;
|