Home
last modified time | relevance | path

Searched refs:family (Results 1 – 25 of 410) sorted by relevance

12345678910>>...17

/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/socket_exec/include/
H A Dsocket_exec_common.h49 static int MakeTcpSocket(sa_family_t family, bool needNonblock = true)
51 if (family != AF_INET && family != AF_INET6) {
54 int sock = socket(family, SOCK_STREAM, IPPROTO_TCP);
67 static int MakeUdpSocket(sa_family_t family) in MakeUdpSocket() argument
69 if (family != AF_INET && family != AF_INET6) { in MakeUdpSocket()
72 int sock = socket(family, SOCK_DGRAM, IPPROTO_UDP); in MakeUdpSocket()
101 std::string ConvertAddressToIp(const std::string &address, sa_family_t family);
102 bool IpMatchFamily(const std::string &address, sa_family_t family);
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/js-service-widget-ui/
H A Djs-service-widget-common-customizing-font.md4 font-face用于定义字体样式。应用可以在style中定义font-face来指定相应的字体名和字体资源,然后在font-family样式中引用该字体。
21 font-family: HWfont;
26 **font-family:** 自定义字体的名称。
39 可以在style中定义font-face,然后在font-family样式中指定该font-face的名称,从而应用font-face定义的字体。示例如下:
53 font-family: HWfont;
57 font-family: HWfont;
/ohos5.0/docs/en/application-dev/reference/apis-network-kit/
H A D_net_conn___net_addr.md20 | [family](#family) | Network address family.|
40 ### family subsection
43 uint8_t NetConn_NetAddr::family
48 Network address family.
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/
H A D_o_h___drawing___font_alias_info.md20 | char \* [familyName](#familyname) | Pointer to the name of a font family. |
21 …s with the specified weight in the font family are contained. If the value is 0, all the fonts in …
34 Pointer to the name of a font family.
44 …s with the specified weight in the font family are contained. If the value is 0, all the fonts in …
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/
H A DArkDatePicker.ts72 this.value?.font?.family ?? undefined,
84 !isBaseOrResourceEqual(this.stageValue?.font?.family, this.value?.font?.family);
98 this.value?.font?.family ?? undefined,
110 !isBaseOrResourceEqual(this.stageValue?.font?.family, this.value?.font?.family);
124 this.value?.font?.family ?? undefined,
136 !isBaseOrResourceEqual(this.stageValue?.font?.family, this.value?.font?.family);
H A DArkTimePicker.ts68 this.value?.font?.family ?? undefined,
80 !isBaseOrResourceEqual(this.stageValue?.font?.family, this.value?.font?.family);
98 this.value?.font?.family ?? undefined,
110 !isBaseOrResourceEqual(this.stageValue?.font?.family, this.value?.font?.family);
128 this.value?.font?.family ?? undefined,
140 !isBaseOrResourceEqual(this.stageValue?.font?.family, this.value?.font?.family);
H A DArkTextPicker.ts161 this.value?.font?.family ?? undefined,
173 !isBaseOrResourceEqual(this.stageValue?.font?.family, this.value?.font?.family);
190 this.value?.font?.family ?? undefined,
202 !isBaseOrResourceEqual(this.stageValue?.font?.family, this.value?.font?.family);
219 this.value?.font?.family ?? undefined,
231 !isBaseOrResourceEqual(this.stageValue?.font?.family, this.value?.font?.family);
H A DArkMenuItem.ts89 (this.value as Font).weight, (this.value as Font).family,
97 let familyEQ = isBaseOrResourceEqual(this.stageValue.family, this.value.family);
113 (this.value as Font).weight, (this.value as Font).family,
121 let familyEQ = isBaseOrResourceEqual(this.stageValue.family, this.value.family);
H A DArkAlphabetIndexer.ts148 …er.setPopupItemFont(node, this.value.size, this.value.weight, this.value.family, this.value.style);
155 let familyEQ = isBaseOrResourceEqual(this.stageValue.family, this.value.family);
167 …xer.setSelectedFont(node, this.value.size, this.value.weight, this.value.family, this.value.style);
174 let familyEQ = isBaseOrResourceEqual(this.stageValue.family, this.value.family);
186 …ndexer.setPopupFont(node, this.value.size, this.value.weight, this.value.family, this.value.style);
193 let familyEQ = isBaseOrResourceEqual(this.stageValue.family, this.value.family);
205 …abetIndexer.setFont(node, this.value.size, this.value.weight, this.value.family, this.value.style);
212 let familyEQ = isBaseOrResourceEqual(this.stageValue.family, this.value.family);
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/options/src/
H A Dsocket_remote_info.cpp29 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()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-common-customizing-font.md14 font-family: font;
19 **font-family:**
34 可以在style中定义font-face,然后在font-family样式中指定该font-face的名称,从而应用font-face定义的字体。
51 font-family: font;
55 font-family: font;
/ohos5.0/docs/zh-cn/application-dev/reference/apis-network-kit/
H A D_net_conn___net_addr.md20 | [family](#family) | 网络地址族。 |
40 ### family subsection
43 uint8_t NetConn_NetAddr::family
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/bpf/include/netfirewall/
H A Dnetfirewall_utils.h62 if (skb->family == AF_INET) { in is_l4_protocol()
68 if (skb->family == AF_INET6) { in is_l4_protocol()
99 return L4_NHOFF(skb->family == AF_INET); in get_l4_nhoff()
125 if (skb->family == AF_INET) { in load_l4_protocol()
131 } else if (skb->family == AF_INET6) { in load_l4_protocol()
153 if (skb->family != AF_INET) { in load_l3_v4_addrs()
178 if (skb->family != AF_INET6) { in load_l3_v6_addrs()
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/connection/options/src/
H A Dnet_address.cpp29 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()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/js-service-widget-ui/
H A Djs-service-widget-common-customizing-font.md4 …fy a font name and resource for your application and then reference this font from **font-family**.
21 font-family: HWfont;
26 **font-family**: name of the custom font.
39 …ce** in **style** and specify the name of the **font-face** using **font-family**. The code snippe…
53 font-family: HWfont;
57 font-family: HWfont;
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-common-customizing-font.md14 font-family: font;
19 **font-family**
34 …can set **font-face** in **style** and specify the name of the **font-face** using **font-family**.
51 font-family: font;
55 font-family: font;
/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/mdns/src/contexts/
H A Dmdns_base_context.cpp36 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()
/ohos5.0/base/customization/enterprise_device_management/test/unittest/services/edm_plugin/src/
H A Dmessage_parcel_utils_test.cpp58 config.wifiIpConfig.staticIpAddress.ipAddress.address.family = -1;
63 config.wifiIpConfig.staticIpAddress.gateway.family = -1;
65 config.wifiIpConfig.staticIpAddress.dnsServer1.family = -1;
67 config.wifiIpConfig.staticIpAddress.dnsServer2.family = -1;
101 ASSERT_TRUE(config2.wifiIpConfig.staticIpAddress.ipAddress.address.family == -1);
106 ASSERT_TRUE(config2.wifiIpConfig.staticIpAddress.gateway.family == -1);
108 ASSERT_TRUE(config2.wifiIpConfig.staticIpAddress.dnsServer1.family == -1);
110 ASSERT_TRUE(config2.wifiIpConfig.staticIpAddress.dnsServer2.family == -1);
210 address.family = -1;
216 ASSERT_TRUE(address2.family == -1);
/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/netfirewall/src/context/
H A Dnet_firewall_param_check.cpp152 int32_t NetFirewallParamCheck::CheckIpAddress(const std::string &ipStr, const int32_t family) in CheckIpAddress() argument
154 if ((family == FAMILY_IPV4 && CheckIpV4(ipStr) != FIREWALL_SUCCESS) || in CheckIpAddress()
155 (family == FAMILY_IPV6 && CheckIpV6(ipStr) != FIREWALL_SUCCESS)) { in CheckIpAddress()
167 if (family == FAMILY_IPV6) { in CheckIpAddress()
235 int32_t ret = CheckIpAddress(address, family); in CheckSingeIp()
246 int32_t maskMax = family == FAMILY_IPV4 ? IPV4_MASK_MAX : IPV6_MASK_MAX; in CheckSingeIp()
271 if (CheckIpAddress(startIp, endIp, family)) { in CheckMultipleIp()
290 int32_t family = FAMILY_IPV4; in CheckIpList() local
296 family = NapiUtils::GetInt32Property(env, valAttr, NET_FIREWALL_IP_FAMILY); in CheckIpList()
297 if (family != FAMILY_IPV4 && family != FAMILY_IPV6) { in CheckIpList()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_menu_item_bridge.cpp137 std::string family; in SetLabelFont() local
138 if (!ArkTSUtils::ParseJsFontFamiliesToString(vm, familyArg, family) || family.empty()) { in SetLabelFont()
139 family = DEFAULT_ERR_CODE; in SetLabelFont()
144 …StringUtils::FormatString(FORMAT_FONT.c_str(), fontSizeStr.c_str(), weight.c_str(), family.c_str()… in SetLabelFont()
193 std::string family; in SetContentFont() local
194 if (!ArkTSUtils::ParseJsFontFamiliesToString(vm, familyArg, family) || family.empty()) { in SetContentFont()
195 family = DEFAULT_ERR_CODE; in SetContentFont()
200 …StringUtils::FormatString(FORMAT_FONT.c_str(), fontSizeStr.c_str(), weight.c_str(), family.c_str()… in SetContentFont()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_alphabet_indexer_ffi.cpp66 double size, int32_t unit, const char* weight, const char* family, int32_t style) in FfiOHOSAceFrameworkAlphabetIndexerSelectedFont() argument
70 std::optional<std::vector<std::string>> fontFamily = std::vector<std::string>{family}; in FfiOHOSAceFrameworkAlphabetIndexerSelectedFont()
75 double size, int32_t unit, const char* weight, const char* family, int32_t style) in FfiOHOSAceFrameworkAlphabetIndexerPopupFont() argument
79 std::optional<std::vector<std::string>> fontFamily = std::vector<std::string>{family}; in FfiOHOSAceFrameworkAlphabetIndexerPopupFont()
84 const char* family, int32_t style) in FfiOHOSAceFrameworkAlphabetIndexerFont() argument
88 std::optional<std::vector<std::string>> fontFamily = std::vector<std::string>{family}; in FfiOHOSAceFrameworkAlphabetIndexerFont()
/ohos5.0/foundation/communication/netmanager_ext/services/ethernetmanager/src/
H A Dethernet_lan_management.cpp85 auto family = CommonUtils::GetAddrFamily(inetAddr.address_); in ReleaseLanNetLink() local
87 … : ((family == AF_INET6) ? CommonUtils::Ipv6PrefixLen(inetAddr.netMask_) in ReleaseLanNetLink()
117 auto family = CommonUtils::GetAddrFamily(inetAddr.address_); in SetIp() local
119 … : ((family == AF_INET6) ? CommonUtils::Ipv6PrefixLen(inetAddr.netMask_) in SetIp()
140 auto family = CommonUtils::GetAddrFamily(inetAddr.address_); in DelIp() local
142 … : ((family == AF_INET6) ? CommonUtils::Ipv6PrefixLen(inetAddr.netMask_) in DelIp()
/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/netfirewall/include/context/
H A Dnet_firewall_param_check.h70 static int32_t CheckIpAddress(const std::string &ipStr, const int32_t family);
80 …ic bool CheckIpAddress(const std::string &startIp, const std::string &endIp, const int32_t family);
99 static int32_t CheckSingeIp(napi_env env, napi_value valAttr, int32_t family);
101 static int32_t CheckMultipleIp(napi_env env, napi_value valAttr, int32_t family);
/ohos5.0/docs/en/application-dev/reference/apis-arkui/
H A Djs-apis-font.md197 | family | string | Yes| Family of the system font. |
228 console.log("getFontByName(): Family = " + this.fontInfo.family)
273 | family | string | Yes| Font family name, which is the value of **family** specified in the…
284 | fontSetName | string | Yes| Name of the font family corresponding to the alternate fonts. |
285 …llbackInfo](#uifontfallbackinfo11)> | Yes| Alternate fonts for the font family. If **fontSetName*…
295 … font family. If the value is greater than 0, the font family contains only the fonts with the spe…
314 | language | string | Yes| Language supported by the font family. The language format is BCP…
315 | family | string | Yes| Font family name, which is the value of **family** specified in t…
340 console.log("family:" + fontConfig.generic[i].family);
352 …fig.fallbackGroups[i].fallback[j].language + " family:" + fontConfig.fallbackGroups[i].fallback[j]…
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/
H A Djs-apis-font.md198 | family | string | 是 | 系统字体的字体家族。 |
231 console.log("getFontByName(): Family = " + this.fontInfo.family)
276 | family | string | 是 | 字体集名,字体文件中指定的"family"值。 |
318 | family | string | 是 | 字体集名,字体文件中指定的"family"值。 |
343 console.log("family:" + fontConfig.generic[i].family);
355 … console.log("language:" + fontConfig.fallbackGroups[i].fallback[j].language + " family:" +
356 fontConfig.fallbackGroups[i].fallback[j].family);

12345678910>>...17