/kernel/linux/linux-6.6/drivers/extcon/ |
H A D | extcon-intel-cht-wc.c | 117 static int cht_wc_extcon_get_id(struct cht_wc_extcon_data *ext, int pwrsrc_sts) in cht_wc_extcon_get_id() argument 143 static int cht_wc_extcon_get_charger(struct cht_wc_extcon_data *ext, in cht_wc_extcon_get_charger() argument 152 ret = regmap_read(ext->regmap, CHT_WC_USBSRC, &usbsrc); in cht_wc_extcon_get_charger() 154 dev_err(ext->dev, "Error reading usbsrc: %d\n", ret); in cht_wc_extcon_get_charger() 169 dev_warn(ext->dev, "Could not detect charger type\n"); in cht_wc_extcon_get_charger() 171 dev_warn(ext->dev, "Timeout detecting charger type\n"); in cht_wc_extcon_get_charger() 181 dev_warn(ext->dev, in cht_wc_extcon_get_charger() 184 ext->usb_type = POWER_SUPPLY_USB_TYPE_SDP; in cht_wc_extcon_get_charger() 189 ext->usb_type = POWER_SUPPLY_USB_TYPE_SDP; in cht_wc_extcon_get_charger() 192 ext in cht_wc_extcon_get_charger() 205 cht_wc_extcon_set_phymux(struct cht_wc_extcon_data *ext, u8 state) cht_wc_extcon_set_phymux() argument 214 cht_wc_extcon_set_5v_boost(struct cht_wc_extcon_data *ext, bool enable) cht_wc_extcon_set_5v_boost() argument 232 cht_wc_extcon_set_otgmode(struct cht_wc_extcon_data *ext, bool enable) cht_wc_extcon_set_otgmode() argument 256 cht_wc_extcon_enable_charging(struct cht_wc_extcon_data *ext, bool enable) cht_wc_extcon_enable_charging() argument 269 cht_wc_extcon_set_state(struct cht_wc_extcon_data *ext, unsigned int cable, bool state) cht_wc_extcon_set_state() argument 277 cht_wc_extcon_pwrsrc_event(struct cht_wc_extcon_data *ext) cht_wc_extcon_pwrsrc_event() argument 348 struct cht_wc_extcon_data *ext = data; cht_wc_extcon_isr() local 368 cht_wc_extcon_sw_control(struct cht_wc_extcon_data *ext, bool enable) cht_wc_extcon_sw_control() argument 389 cht_wc_extcon_find_role_sw(struct cht_wc_extcon_data *ext) cht_wc_extcon_find_role_sw() argument 407 struct cht_wc_extcon_data *ext = data; cht_wc_extcon_put_role_sw() local 413 cht_wc_extcon_get_role_sw_and_regulator(struct cht_wc_extcon_data *ext) cht_wc_extcon_get_role_sw_and_regulator() argument 448 struct cht_wc_extcon_data *ext = power_supply_get_drvdata(psy); cht_wc_extcon_psy_get_prop() local 487 cht_wc_extcon_register_psy(struct cht_wc_extcon_data *ext) cht_wc_extcon_register_psy() argument 500 struct cht_wc_extcon_data *ext; cht_wc_extcon_probe() local 622 struct cht_wc_extcon_data *ext = platform_get_drvdata(pdev); cht_wc_extcon_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/extcon/ |
H A D | extcon-intel-cht-wc.c | 108 static int cht_wc_extcon_get_id(struct cht_wc_extcon_data *ext, int pwrsrc_sts) in cht_wc_extcon_get_id() argument 126 static int cht_wc_extcon_get_charger(struct cht_wc_extcon_data *ext, in cht_wc_extcon_get_charger() argument 135 ret = regmap_read(ext->regmap, CHT_WC_USBSRC, &usbsrc); in cht_wc_extcon_get_charger() 137 dev_err(ext->dev, "Error reading usbsrc: %d\n", ret); in cht_wc_extcon_get_charger() 154 dev_warn(ext->dev, "Could not detect charger type\n"); in cht_wc_extcon_get_charger() 156 dev_warn(ext->dev, "Timeout detecting charger type\n"); in cht_wc_extcon_get_charger() 163 dev_warn(ext->dev, in cht_wc_extcon_get_charger() 182 static void cht_wc_extcon_set_phymux(struct cht_wc_extcon_data *ext, u8 state) in cht_wc_extcon_set_phymux() argument 186 ret = regmap_write(ext->regmap, CHT_WC_PHYCTRL, state); in cht_wc_extcon_set_phymux() 188 dev_err(ext in cht_wc_extcon_set_phymux() 191 cht_wc_extcon_set_5v_boost(struct cht_wc_extcon_data *ext, bool enable) cht_wc_extcon_set_5v_boost() argument 209 cht_wc_extcon_set_otgmode(struct cht_wc_extcon_data *ext, bool enable) cht_wc_extcon_set_otgmode() argument 221 cht_wc_extcon_enable_charging(struct cht_wc_extcon_data *ext, bool enable) cht_wc_extcon_enable_charging() argument 234 cht_wc_extcon_set_state(struct cht_wc_extcon_data *ext, unsigned int cable, bool state) cht_wc_extcon_set_state() argument 242 cht_wc_extcon_pwrsrc_event(struct cht_wc_extcon_data *ext) cht_wc_extcon_pwrsrc_event() argument 295 struct cht_wc_extcon_data *ext = data; cht_wc_extcon_isr() local 315 cht_wc_extcon_sw_control(struct cht_wc_extcon_data *ext, bool enable) cht_wc_extcon_sw_control() argument 339 struct cht_wc_extcon_data *ext; cht_wc_extcon_probe() local 433 struct cht_wc_extcon_data *ext = platform_get_drvdata(pdev); cht_wc_extcon_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | match.c | 11 nfp_flower_compile_meta_tci(struct nfp_flower_meta_tci *ext, in nfp_flower_compile_meta_tci() argument 17 memset(ext, 0, sizeof(struct nfp_flower_meta_tci)); in nfp_flower_compile_meta_tci() 21 ext->nfp_flow_key_layer = key_type; in nfp_flower_compile_meta_tci() 22 ext->mask_id = ~0; in nfp_flower_compile_meta_tci() 37 ext->tci = cpu_to_be16(tmp_tci); in nfp_flower_compile_meta_tci() 78 nfp_flower_compile_mac(struct nfp_flower_mac_mpls *ext, in nfp_flower_compile_mac() argument 82 memset(ext, 0, sizeof(struct nfp_flower_mac_mpls)); in nfp_flower_compile_mac() 90 ether_addr_copy(ext->mac_dst, &match.key->dst[0]); in nfp_flower_compile_mac() 91 ether_addr_copy(ext->mac_src, &match.key->src[0]); in nfp_flower_compile_mac() 116 ext in nfp_flower_compile_mac() 144 nfp_flower_compile_tport(struct nfp_flower_tp_ports *ext, struct nfp_flower_tp_ports *msk, struct flow_rule *rule) nfp_flower_compile_tport() argument 163 nfp_flower_compile_ip_ext(struct nfp_flower_ip_ext *ext, struct nfp_flower_ip_ext *msk, struct flow_rule *rule) nfp_flower_compile_ip_ext() argument 256 nfp_flower_compile_vlan(struct nfp_flower_vlan *ext, struct nfp_flower_vlan *msk, struct flow_rule *rule) nfp_flower_compile_vlan() argument 278 nfp_flower_compile_ipv4(struct nfp_flower_ipv4 *ext, struct nfp_flower_ipv4 *msk, struct flow_rule *rule) nfp_flower_compile_ipv4() argument 298 nfp_flower_compile_ipv6(struct nfp_flower_ipv6 *ext, struct nfp_flower_ipv6 *msk, struct flow_rule *rule) nfp_flower_compile_ipv6() argument 318 nfp_flower_compile_geneve_opt(void *ext, void *msk, struct flow_rule *rule) nfp_flower_compile_geneve_opt() argument 330 nfp_flower_compile_tun_ipv4_addrs(struct nfp_flower_tun_ipv4 *ext, struct nfp_flower_tun_ipv4 *msk, struct flow_rule *rule) nfp_flower_compile_tun_ipv4_addrs() argument 346 nfp_flower_compile_tun_ipv6_addrs(struct nfp_flower_tun_ipv6 *ext, struct nfp_flower_tun_ipv6 *msk, struct flow_rule *rule) nfp_flower_compile_tun_ipv6_addrs() argument 362 nfp_flower_compile_tun_ip_ext(struct nfp_flower_tun_ip_ext *ext, struct nfp_flower_tun_ip_ext *msk, struct flow_rule *rule) nfp_flower_compile_tun_ip_ext() argument 410 nfp_flower_compile_ipv4_gre_tun(struct nfp_flower_ipv4_gre_tun *ext, struct nfp_flower_ipv4_gre_tun *msk, struct flow_rule *rule) nfp_flower_compile_ipv4_gre_tun() argument 428 nfp_flower_compile_ipv4_udp_tun(struct nfp_flower_ipv4_udp_tun *ext, struct nfp_flower_ipv4_udp_tun *msk, struct flow_rule *rule) nfp_flower_compile_ipv4_udp_tun() argument 441 nfp_flower_compile_ipv6_udp_tun(struct nfp_flower_ipv6_udp_tun *ext, struct nfp_flower_ipv6_udp_tun *msk, struct flow_rule *rule) nfp_flower_compile_ipv6_udp_tun() argument 454 nfp_flower_compile_ipv6_gre_tun(struct nfp_flower_ipv6_gre_tun *ext, struct nfp_flower_ipv6_gre_tun *msk, struct flow_rule *rule) nfp_flower_compile_ipv6_gre_tun() argument 485 u8 *ext; nfp_flower_compile_flow_match() local [all...] |
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/fscrypt_key_v1_ext_test/ |
H A D | fscrypt_key_v1_ext_test.cpp | 26 using namespace testing::ext; 81 FscryptKeyV1Ext ext; in HWTEST_F() local 83 EXPECT_EQ(ext.GetMappedUserId(100, TYPE_EL2), 100); in HWTEST_F() 89 EXPECT_EQ(ext.GetMappedUserId(101, TYPE_EL1), 101); in HWTEST_F() 103 FscryptKeyV1Ext ext; in HWTEST_F() local 104 EXPECT_EQ(ext.GetMappedUserId(userId, TYPE_EL2), 0); in HWTEST_F() 105 EXPECT_EQ(ext.GetMappedUserId(userId, TYPE_EL3), 0); in HWTEST_F() 106 EXPECT_EQ(ext.GetMappedUserId(userId, TYPE_EL4), 0); in HWTEST_F() 107 EXPECT_EQ(ext.GetMappedUserId(userId, TYPE_EL5), 0); in HWTEST_F() 123 FscryptKeyV1Ext ext; in HWTEST_F() local 141 FscryptKeyV1Ext ext; HWTEST_F() local 161 FscryptKeyV1Ext ext; HWTEST_F() local 191 FscryptKeyV1Ext ext; HWTEST_F() local 216 FscryptKeyV1Ext ext; HWTEST_F() local 244 FscryptKeyV1Ext ext; HWTEST_F() local 270 FscryptKeyV1Ext ext; HWTEST_F() local 296 FscryptKeyV1Ext ext; HWTEST_F() local 323 FscryptKeyV1Ext ext; HWTEST_F() local 349 FscryptKeyV1Ext ext; HWTEST_F() local 375 FscryptKeyV1Ext ext; HWTEST_F() local 414 FscryptKeyV1Ext ext; HWTEST_F() local 443 FscryptKeyV1Ext ext; HWTEST_F() local 468 FscryptKeyV1Ext ext; HWTEST_F() local 486 FscryptKeyV1Ext ext; HWTEST_F() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | match.c | 11 nfp_flower_compile_meta(struct nfp_flower_meta_tci *ext, in nfp_flower_compile_meta() argument 15 ext->nfp_flow_key_layer = key_type; in nfp_flower_compile_meta() 16 ext->mask_id = ~0; in nfp_flower_compile_meta() 23 nfp_flower_compile_tci(struct nfp_flower_meta_tci *ext, in nfp_flower_compile_tci() argument 46 ext->tci |= cpu_to_be16((key_tci & msk_tci)); in nfp_flower_compile_tci() 52 nfp_flower_compile_meta_tci(struct nfp_flower_meta_tci *ext, in nfp_flower_compile_meta_tci() argument 56 memset(ext, 0, sizeof(struct nfp_flower_meta_tci)); in nfp_flower_compile_meta_tci() 59 nfp_flower_compile_meta(ext, msk, key_type); in nfp_flower_compile_meta_tci() 62 nfp_flower_compile_tci(ext, msk, rule); in nfp_flower_compile_meta_tci() 95 nfp_flower_compile_mac(struct nfp_flower_mac_mpls *ext, in nfp_flower_compile_mac() argument 119 nfp_flower_compile_mpls(struct nfp_flower_mac_mpls *ext, struct nfp_flower_mac_mpls *msk, struct flow_rule *rule, struct netlink_ext_ack *extack) nfp_flower_compile_mpls() argument 174 nfp_flower_compile_mac_mpls(struct nfp_flower_mac_mpls *ext, struct nfp_flower_mac_mpls *msk, struct flow_rule *rule, struct netlink_ext_ack *extack) nfp_flower_compile_mac_mpls() argument 188 nfp_flower_compile_tport(struct nfp_flower_tp_ports *ext, struct nfp_flower_tp_ports *msk, struct flow_rule *rule) nfp_flower_compile_tport() argument 209 nfp_flower_compile_ip_ext(struct nfp_flower_ip_ext *ext, struct nfp_flower_ip_ext *msk, struct flow_rule *rule) nfp_flower_compile_ip_ext() argument 285 nfp_flower_fill_vlan(struct flow_match_vlan *match, struct nfp_flower_vlan *ext, struct nfp_flower_vlan *msk, bool outer_vlan) nfp_flower_fill_vlan() argument 318 nfp_flower_compile_vlan(struct nfp_flower_vlan *ext, struct nfp_flower_vlan *msk, struct flow_rule *rule) nfp_flower_compile_vlan() argument 335 nfp_flower_compile_ipv4(struct nfp_flower_ipv4 *ext, struct nfp_flower_ipv4 *msk, struct flow_rule *rule) nfp_flower_compile_ipv4() argument 357 nfp_flower_compile_ipv6(struct nfp_flower_ipv6 *ext, struct nfp_flower_ipv6 *msk, struct flow_rule *rule) nfp_flower_compile_ipv6() argument 385 nfp_flower_compile_geneve_opt(u8 *ext, u8 *msk, struct flow_rule *rule) nfp_flower_compile_geneve_opt() argument 401 nfp_flower_compile_tun_ipv4_addrs(struct nfp_flower_tun_ipv4 *ext, struct nfp_flower_tun_ipv4 *msk, struct flow_rule *rule) nfp_flower_compile_tun_ipv4_addrs() argument 417 nfp_flower_compile_tun_ipv6_addrs(struct nfp_flower_tun_ipv6 *ext, struct nfp_flower_tun_ipv6 *msk, struct flow_rule *rule) nfp_flower_compile_tun_ipv6_addrs() argument 438 nfp_flower_compile_tun_ip_ext(struct nfp_flower_tun_ip_ext *ext, struct nfp_flower_tun_ip_ext *msk, struct flow_rule *rule) nfp_flower_compile_tun_ip_ext() argument 487 nfp_flower_compile_ipv4_gre_tun(struct nfp_flower_ipv4_gre_tun *ext, struct nfp_flower_ipv4_gre_tun *msk, struct flow_rule *rule) nfp_flower_compile_ipv4_gre_tun() argument 502 nfp_flower_compile_ipv4_udp_tun(struct nfp_flower_ipv4_udp_tun *ext, struct nfp_flower_ipv4_udp_tun *msk, struct flow_rule *rule) nfp_flower_compile_ipv4_udp_tun() argument 512 nfp_flower_compile_ipv6_udp_tun(struct nfp_flower_ipv6_udp_tun *ext, struct nfp_flower_ipv6_udp_tun *msk, struct flow_rule *rule) nfp_flower_compile_ipv6_udp_tun() argument 522 nfp_flower_compile_ipv6_gre_tun(struct nfp_flower_ipv6_gre_tun *ext, struct nfp_flower_ipv6_gre_tun *msk, struct flow_rule *rule) nfp_flower_compile_ipv6_gre_tun() argument 549 u8 *ext; nfp_flower_compile_flow_match() local [all...] |
/kernel/linux/linux-6.6/arch/riscv/include/asm/ |
H A D | hwcap.h | 88 #define riscv_isa_extension_mask(ext) BIT_MASK(RISCV_ISA_EXT_##ext) 91 #define riscv_isa_extension_available(isa_bitmap, ext) \ 92 __riscv_isa_extension_available(isa_bitmap, RISCV_ISA_EXT_##ext) 95 riscv_has_extension_likely(const unsigned long ext) in riscv_has_extension_likely() argument 97 compiletime_assert(ext < RISCV_ISA_EXT_MAX, in riscv_has_extension_likely() 98 "ext must be < RISCV_ISA_EXT_MAX"); in riscv_has_extension_likely() 102 ALTERNATIVE("j %l[l_no]", "nop", 0, %[ext], 1) in riscv_has_extension_likely() 104 : [ext] "i" (ext) in riscv_has_extension_likely() [all...] |
/kernel/linux/linux-6.6/include/net/netfilter/ |
H A D | nf_conntrack_extend.h | 45 static inline bool __nf_ct_ext_exist(const struct nf_ct_ext *ext, u8 id) in __nf_ct_ext_exist() argument 47 return !!ext->offset[id]; in __nf_ct_ext_exist() 52 return (ct->ext && __nf_ct_ext_exist(ct->ext, id)); in nf_ct_ext_exist() 55 void *__nf_ct_ext_find(const struct nf_ct_ext *ext, u8 id); 59 struct nf_ct_ext *ext = ct->ext; in nf_ct_ext_find() local 61 if (!ext || !__nf_ct_ext_exist(ext, id)) in nf_ct_ext_find() 64 if (unlikely(ext in nf_ct_ext_find() [all...] |
/foundation/multimedia/av_session/services/session/server/test/ |
H A D | avsession_callback_proxy_test.cpp | 68 static HWTEST_F(AVSessionCallbackProxyTest, OnAVCallAnswer001, testing::ext::TestSize.Level1) in HWTEST_F() 80 static HWTEST_F(AVSessionCallbackProxyTest, OnAVCallHangUp001, testing::ext::TestSize.Level1) in HWTEST_F() 92 static HWTEST_F(AVSessionCallbackProxyTest, OnAVCallToggleCallMute001, testing::ext::TestSize.Level1) in HWTEST_F() 104 static HWTEST_F(AVSessionCallbackProxyTest, OnPlay001, testing::ext::TestSize.Level1) in HWTEST_F() 116 static HWTEST_F(AVSessionCallbackProxyTest, OnPause001, testing::ext::TestSize.Level1) in HWTEST_F() 128 static HWTEST_F(AVSessionCallbackProxyTest, OnStop001, testing::ext::TestSize.Level1) in HWTEST_F() 140 static HWTEST_F(AVSessionCallbackProxyTest, OnPlayNext001, testing::ext::TestSize.Level1) in HWTEST_F() 152 static HWTEST_F(AVSessionCallbackProxyTest, OnPlayPrevious001, testing::ext::TestSize.Level1) in HWTEST_F() 164 static HWTEST_F(AVSessionCallbackProxyTest, OnFastForward001, testing::ext::TestSize.Level1) in HWTEST_F() 177 static HWTEST_F(AVSessionCallbackProxyTest, OnRewind001, testing::ext [all...] |
H A D | avsession_controller_proxy_test.cpp | 119 static HWTEST_F(AVSessionControllerProxyTest, GetAVCallState001, testing::ext::TestSize.Level1) in HWTEST_F() 133 static HWTEST_F(AVSessionControllerProxyTest, GetAVCallMetaData001, testing::ext::TestSize.Level1) in HWTEST_F() 147 static HWTEST_F(AVSessionControllerProxyTest, GetAVPlaybackState001, testing::ext::TestSize.Level1) in HWTEST_F() 161 static HWTEST_F(AVSessionControllerProxyTest, GetAVMetaData001, testing::ext::TestSize.Level1) in HWTEST_F() 175 static HWTEST_F(AVSessionControllerProxyTest, SendAVKeyEvent001, testing::ext::TestSize.Level1) in HWTEST_F() 189 static HWTEST_F(AVSessionControllerProxyTest, GetLaunchAbility001, testing::ext::TestSize.Level1) in HWTEST_F() 203 static HWTEST_F(AVSessionControllerProxyTest, GetValidCommands001, testing::ext::TestSize.Level1) in HWTEST_F() 217 static HWTEST_F(AVSessionControllerProxyTest, IsSessionActive001, testing::ext::TestSize.Level1) in HWTEST_F() 231 static HWTEST_F(AVSessionControllerProxyTest, IsSessionActive002, testing::ext::TestSize.Level1) in HWTEST_F() 245 static HWTEST_F(AVSessionControllerProxyTest, SendControlCommand001, testing::ext [all...] |
/foundation/CastEngine/castengine_wifi_display/tests/unittest/interaction/domain/ |
H A D | domain_unit_test.cpp | 35 using namespace testing::ext; 91 HWTEST_F(DomainUnitTest, DomainManager_Test_001, testing::ext::TestSize.Level1) in HWTEST_F() 98 HWTEST_F(DomainUnitTest, DomainManager_Test_002, testing::ext::TestSize.Level1) in HWTEST_F() 106 HWTEST_F(DomainUnitTest, DomainManager_Test_003, testing::ext::TestSize.Level1) in HWTEST_F() 114 HWTEST_F(DomainUnitTest, DomainManager_Test_004, testing::ext::TestSize.Level1) in HWTEST_F() 121 HWTEST_F(DomainUnitTest, DomainManager_Test_005, testing::ext::TestSize.Level1) in HWTEST_F() 130 HWTEST_F(DomainUnitTest, DomainManager_Test_006, testing::ext::TestSize.Level1) in HWTEST_F() 139 HWTEST_F(DomainUnitTest, DomainManager_Test_007, testing::ext::TestSize.Level1) in HWTEST_F() 148 HWTEST_F(DomainUnitTest, DomainManager_Test_008, testing::ext::TestSize.Level1) in HWTEST_F() 161 HWTEST_F(DomainUnitTest, DomainRpcClient_Test_009, testing::ext [all...] |
/foundation/CastEngine/castengine_wifi_display/tests/unittest/interaction/interprocess/ |
H A D | interprocess_unit_test.cpp | 38 using namespace testing::ext; 81 HWTEST_F(InterProcessUnitTest, ClientFactory_Test_001, testing::ext::TestSize.Level1) in HWTEST_F() 87 HWTEST_F(InterProcessUnitTest, ClientFactory_Test_002, testing::ext::TestSize.Level1) in HWTEST_F() 96 HWTEST_F(InterProcessUnitTest, InterIpcClientStub_Test_003, testing::ext::TestSize.Level1) in HWTEST_F() 102 HWTEST_F(InterProcessUnitTest, InterIpcClientStub_Test_004, testing::ext::TestSize.Level1) in HWTEST_F() 109 HWTEST_F(InterProcessUnitTest, InterIpcClientStub_Test_005, testing::ext::TestSize.Level1) in HWTEST_F() 124 HWTEST_F(InterProcessUnitTest, InterIpcClientStub_Test_006, testing::ext::TestSize.Level1) in HWTEST_F() 136 HWTEST_F(InterProcessUnitTest, InterIpcClient_Test_007, testing::ext::TestSize.Level1) in HWTEST_F() 142 HWTEST_F(InterProcessUnitTest, InterIpcClient_Test_008, testing::ext::TestSize.Level1) in HWTEST_F() 150 HWTEST_F(InterProcessUnitTest, InterIpcClient_Test_009, testing::ext [all...] |
/foundation/graphic/graphic_3d/lume/metaobject/test/src/api/ |
H A D | BitfieldPropertyTest.cpp | 21 #include <meta/ext/object.h> 42 using namespace testing::ext; 216 ExtTestFlags ext(ExtTestFlagBits::FLAG2); in HWTEST_F() 218 TestFlags res = base | ext; in HWTEST_F() 222 EXPECT_EQ(ext, sub); in HWTEST_F() 236 ExtTestFlags ext(ExtTestFlagBits::FLAG2); in HWTEST_F() 238 EXPECT_THAT(base | ext, ExactBitsSet(TestFlagBits::FLAG1 | (ExtTestFlagBits::FLAG2 << 16))); in HWTEST_F() 250 ExtTestFlags ext(ExtTestFlagBits::FLAG2); in HWTEST_F() 251 TestFlags res = base | ext; in HWTEST_F() 252 EXPECT_THAT(res & ext, ExactBitsSe in HWTEST_F() [all...] |
/foundation/distributedhardware/device_manager/test/commonunittest/ |
H A D | dm_radar_helper_test.cpp | 38 HWTEST_F(DmRadarHelperTest, ReportDiscoverRegCallback_001, testing::ext::TestSize.Level0) in HWTEST_F() 46 HWTEST_F(DmRadarHelperTest, ReportDiscoverRegCallback_002, testing::ext::TestSize.Level0) in HWTEST_F() 54 HWTEST_F(DmRadarHelperTest, ReportDiscoverResCallback_001, testing::ext::TestSize.Level0) in HWTEST_F() 62 HWTEST_F(DmRadarHelperTest, ReportDiscoverUserRes_001, testing::ext::TestSize.Level0) in HWTEST_F() 69 HWTEST_F(DmRadarHelperTest, ReportDiscoverUserRes_002, testing::ext::TestSize.Level0) in HWTEST_F() 76 HWTEST_F(DmRadarHelperTest, ReportAuthStart_001, testing::ext::TestSize.Level0) in HWTEST_F() 81 HWTEST_F(DmRadarHelperTest, ReportAuthOpenSession_001, testing::ext::TestSize.Level0) in HWTEST_F() 88 HWTEST_F(DmRadarHelperTest, ReportAuthOpenSession_002, testing::ext::TestSize.Level0) in HWTEST_F() 95 HWTEST_F(DmRadarHelperTest, ReportAuthSessionOpenCb_001, testing::ext::TestSize.Level0) in HWTEST_F() 102 HWTEST_F(DmRadarHelperTest, ReportAuthSendRequest_001, testing::ext in HWTEST_F() [all...] |
H A D | UTTest_dm_auth_manager_second.cpp | 57 HWTEST_F(DmAuthManagerTest, OnDataReceived_001, testing::ext::TestSize.Level0) in HWTEST_F() 66 HWTEST_F(DmAuthManagerTest, OnDataReceived_002, testing::ext::TestSize.Level0) in HWTEST_F() 76 HWTEST_F(DmAuthManagerTest, OnDataReceived_003, testing::ext::TestSize.Level0) in HWTEST_F() 84 HWTEST_F(DmAuthManagerTest, OnDataReceived_007, testing::ext::TestSize.Level0) in HWTEST_F() 96 HWTEST_F(DmAuthManagerTest, OnGroupCreated_001, testing::ext::TestSize.Level0) in HWTEST_F() 105 HWTEST_F(DmAuthManagerTest, OnGroupCreated_002, testing::ext::TestSize.Level0) in HWTEST_F() 114 HWTEST_F(DmAuthManagerTest, OnGroupCreated_003, testing::ext::TestSize.Level0) in HWTEST_F() 122 HWTEST_F(DmAuthManagerTest, OnGroupCreated_004, testing::ext::TestSize.Level0) in HWTEST_F() 131 HWTEST_F(DmAuthManagerTest, OnGroupCreated_005, testing::ext::TestSize.Level0) in HWTEST_F() 140 HWTEST_F(DmAuthManagerTest, OnMemberJoin_001, testing::ext [all...] |
H A D | UTTest_dm_discovery_filter.cpp | 43 HWTEST_F(DmDiscoveryFilterTest, ParseFilterJson_001, testing::ext::TestSize.Level0) in HWTEST_F() 57 HWTEST_F(DmDiscoveryFilterTest, ParseFilterJson_002, testing::ext::TestSize.Level0) in HWTEST_F() 72 HWTEST_F(DmDiscoveryFilterTest, ParseFilterJson_003, testing::ext::TestSize.Level0) in HWTEST_F() 88 HWTEST_F(DmDiscoveryFilterTest, ParseFilterJson_004, testing::ext::TestSize.Level0) in HWTEST_F() 105 HWTEST_F(DmDiscoveryFilterTest, ParseFilterJson_005, testing::ext::TestSize.Level0) in HWTEST_F() 122 HWTEST_F(DmDiscoveryFilterTest, ParseFilterJson_006, testing::ext::TestSize.Level0) in HWTEST_F() 140 HWTEST_F(DmDiscoveryFilterTest, ParseFilterJson_007, testing::ext::TestSize.Level0) in HWTEST_F() 158 HWTEST_F(DmDiscoveryFilterTest, ParseFilterJson_008, testing::ext::TestSize.Level0) in HWTEST_F() 179 HWTEST_F(DmDiscoveryFilterTest, ParseFilterJson_009, testing::ext::TestSize.Level0) in HWTEST_F() 201 HWTEST_F(DmDiscoveryFilterTest, ParseFilterJson_0010, testing::ext [all...] |
H A D | UTTest_discovery_filter.cpp | 36 HWTEST_F(DiscoveryFilterTest, ParseFilterJson_001, testing::ext::TestSize.Level0) in HWTEST_F() 44 HWTEST_F(DiscoveryFilterTest, ParseFilterJson_002, testing::ext::TestSize.Level0) in HWTEST_F() 53 HWTEST_F(DiscoveryFilterTest, ParseFilterJson_003, testing::ext::TestSize.Level0) in HWTEST_F() 63 HWTEST_F(DiscoveryFilterTest, ParseFilterJson_004, testing::ext::TestSize.Level0) in HWTEST_F() 74 HWTEST_F(DiscoveryFilterTest, ParseFilterJson_005, testing::ext::TestSize.Level0) in HWTEST_F() 85 HWTEST_F(DiscoveryFilterTest, ParseFilterJson_006, testing::ext::TestSize.Level0) in HWTEST_F() 97 HWTEST_F(DiscoveryFilterTest, ParseFilterJson_007, testing::ext::TestSize.Level0) in HWTEST_F() 109 HWTEST_F(DiscoveryFilterTest, ParseFilterJson_008, testing::ext::TestSize.Level0) in HWTEST_F() 124 HWTEST_F(DiscoveryFilterTest, ParseFilterJson_009, testing::ext::TestSize.Level0) in HWTEST_F() 140 HWTEST_F(DiscoveryFilterTest, ParseFilterJson_0010, testing::ext [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
H A D | i915_user_extensions.c | 16 int i915_user_extensions(struct i915_user_extension __user *ext, in i915_user_extensions() argument 23 while (ext) { in i915_user_extensions() 31 err = check_user_mbz(&ext->flags); in i915_user_extensions() 35 for (i = 0; i < ARRAY_SIZE(ext->rsvd); i++) { in i915_user_extensions() 36 err = check_user_mbz(&ext->rsvd[i]); in i915_user_extensions() 41 if (get_user(name, &ext->name)) in i915_user_extensions() 48 err = tbl[name](ext, data); in i915_user_extensions() 53 if (get_user(next, &ext->next_extension) || in i915_user_extensions() 54 overflows_type(next, ext)) in i915_user_extensions() 57 ext in i915_user_extensions() [all...] |
/foundation/communication/netstack/test/unittest/tls_test/core/ |
H A D | tls_certificate.test.cpp | 61 HWTEST_F(TLSCertificateTest, TLSCertificateTest001, testing::ext::TestSize.Level1) in HWTEST_F() 67 HWTEST_F(TLSCertificateTest, TLSCertificateTest002, testing::ext::TestSize.Level1) in HWTEST_F() 73 HWTEST_F(TLSCertificateTest, TLSCertificateTest003, testing::ext::TestSize.Level1) in HWTEST_F() 79 HWTEST_F(TLSCertificateTest, TLSCertificateTest004, testing::ext::TestSize.Level1) in HWTEST_F() 85 HWTEST_F(TLSCertificateTest, TLSCertificateTest005, testing::ext::TestSize.Level1) in HWTEST_F() 91 HWTEST_F(TLSCertificateTest, TLSCertificateTest006, testing::ext::TestSize.Level1) in HWTEST_F() 97 HWTEST_F(TLSCertificateTest, TLSCertificateTest007, testing::ext::TestSize.Level1) in HWTEST_F() 103 HWTEST_F(TLSCertificateTest, TLSCertificateTest008, testing::ext::TestSize.Level1) in HWTEST_F() 109 HWTEST_F(TLSCertificateTest, TLSCertificateTest009, testing::ext::TestSize.Level1) in HWTEST_F() 115 HWTEST_F(TLSCertificateTest, TLSCertificateTest010, testing::ext [all...] |
/foundation/communication/netstack/test/unittest/tlssocket/core/ |
H A D | tls_certificate.test.cpp | 61 HWTEST_F(TLSCertificateTest, TLSCertificateTest001, testing::ext::TestSize.Level1) in HWTEST_F() 67 HWTEST_F(TLSCertificateTest, TLSCertificateTest002, testing::ext::TestSize.Level1) in HWTEST_F() 73 HWTEST_F(TLSCertificateTest, TLSCertificateTest003, testing::ext::TestSize.Level1) in HWTEST_F() 79 HWTEST_F(TLSCertificateTest, TLSCertificateTest004, testing::ext::TestSize.Level1) in HWTEST_F() 85 HWTEST_F(TLSCertificateTest, TLSCertificateTest005, testing::ext::TestSize.Level1) in HWTEST_F() 91 HWTEST_F(TLSCertificateTest, TLSCertificateTest006, testing::ext::TestSize.Level1) in HWTEST_F() 97 HWTEST_F(TLSCertificateTest, TLSCertificateTest007, testing::ext::TestSize.Level1) in HWTEST_F() 103 HWTEST_F(TLSCertificateTest, TLSCertificateTest008, testing::ext::TestSize.Level1) in HWTEST_F() 109 HWTEST_F(TLSCertificateTest, TLSCertificateTest009, testing::ext::TestSize.Level1) in HWTEST_F() 115 HWTEST_F(TLSCertificateTest, TLSCertificateTest010, testing::ext [all...] |
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nft_set_hash.c | 31 struct nft_set_ext ext; member 51 return jhash(nft_set_ext_key(&he->ext), len, seed); in nft_rhash_obj() 60 if (memcmp(nft_set_ext_key(&he->ext), x->key, x->set->klen)) in nft_rhash_cmp() 62 if (nft_set_elem_is_dead(&he->ext)) in nft_rhash_cmp() 64 if (nft_set_elem_expired(&he->ext)) in nft_rhash_cmp() 66 if (!nft_set_elem_active(&he->ext, x->genmask)) in nft_rhash_cmp() 81 const u32 *key, const struct nft_set_ext **ext) in nft_rhash_lookup() 93 *ext = &he->ext; in nft_rhash_lookup() 122 const struct nft_set_ext **ext) in nft_rhash_update() 80 nft_rhash_lookup(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext) nft_rhash_lookup() argument 116 nft_rhash_update(struct nft_set *set, const u32 *key, void *(*new)(struct nft_set *, const struct nft_expr *, struct nft_regs *regs), const struct nft_expr *expr, struct nft_regs *regs, const struct nft_set_ext **ext) nft_rhash_update() argument 163 nft_rhash_insert(const struct net *net, const struct nft_set *set, const struct nft_set_elem *elem, struct nft_set_ext **ext) nft_rhash_insert() argument 296 nft_rhash_expr_needs_gc_run(const struct nft_set *set, struct nft_set_ext *ext) nft_rhash_expr_needs_gc_run() argument 480 struct nft_set_ext ext; global() member 484 nft_hash_lookup(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext) nft_hash_lookup() argument 523 nft_hash_lookup_fast(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext) nft_hash_lookup_fast() argument 546 nft_jhash(const struct nft_set *set, const struct nft_hash *priv, const struct nft_set_ext *ext) nft_jhash() argument 563 nft_hash_insert(const struct net *net, const struct nft_set *set, const struct nft_set_elem *elem, struct nft_set_ext **ext) nft_hash_insert() argument [all...] |
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nft_set_hash.c | 34 struct nft_set_ext ext; member 54 return jhash(nft_set_ext_key(&he->ext), len, seed); in nft_rhash_obj() 63 if (memcmp(nft_set_ext_key(&he->ext), x->key, x->set->klen)) in nft_rhash_cmp() 65 if (nft_set_elem_is_dead(&he->ext)) in nft_rhash_cmp() 67 if (nft_set_elem_expired(&he->ext)) in nft_rhash_cmp() 69 if (!nft_set_elem_active(&he->ext, x->genmask)) in nft_rhash_cmp() 83 const u32 *key, const struct nft_set_ext **ext) in nft_rhash_lookup() 95 *ext = &he->ext; in nft_rhash_lookup() 124 const struct nft_set_ext **ext) in nft_rhash_update() 82 nft_rhash_lookup(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext) nft_rhash_lookup() argument 118 nft_rhash_update(struct nft_set *set, const u32 *key, void *(*new)(struct nft_set *, const struct nft_expr *, struct nft_regs *regs), const struct nft_expr *expr, struct nft_regs *regs, const struct nft_set_ext **ext) nft_rhash_update() argument 165 nft_rhash_insert(const struct net *net, const struct nft_set *set, const struct nft_set_elem *elem, struct nft_set_ext **ext) nft_rhash_insert() argument 466 struct nft_set_ext ext; global() member 469 nft_hash_lookup(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext) nft_hash_lookup() argument 507 nft_hash_lookup_fast(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext) nft_hash_lookup_fast() argument 530 nft_jhash(const struct nft_set *set, const struct nft_hash *priv, const struct nft_set_ext *ext) nft_jhash() argument 547 nft_hash_insert(const struct net *net, const struct nft_set *set, const struct nft_set_elem *elem, struct nft_set_ext **ext) nft_hash_insert() argument [all...] |
/foundation/distributedhardware/distributed_input/interfaces/ipc/test/ipcunittest/ |
H A D | distributed_input_ipc_test.cpp | 22 using namespace testing::ext; 72 HWTEST_F(DistributedInputIpcTest, GetDInputSinkProxy01, testing::ext::TestSize.Level1) in HWTEST_F() 78 HWTEST_F(DistributedInputIpcTest, CheckSourceRegisterCallback01, testing::ext::TestSize.Level1) in HWTEST_F() 87 HWTEST_F(DistributedInputIpcTest, CheckSinkRegisterCallback01, testing::ext::TestSize.Level1) in HWTEST_F() 96 HWTEST_F(DistributedInputIpcTest, CheckSharingDhIdsCallback01, testing::ext::TestSize.Level1) in HWTEST_F() 105 HWTEST_F(DistributedInputIpcTest, CheckSinkScreenInfoCallback01, testing::ext::TestSize.Level1) in HWTEST_F() 114 HWTEST_F(DistributedInputIpcTest, IsNeedFilterOut01, testing::ext::TestSize.Level1) in HWTEST_F() 122 HWTEST_F(DistributedInputIpcTest, IsNeedFilterOut02, testing::ext::TestSize.Level1) in HWTEST_F() 130 HWTEST_F(DistributedInputIpcTest, IsNeedFilterOut03, testing::ext::TestSize.Level1) in HWTEST_F() 138 HWTEST_F(DistributedInputIpcTest, IsTouchEventNeedFilterOut01, testing::ext [all...] |
/foundation/distributedhardware/distributed_input/utils/test/unittest/ |
H A D | dinput_context_test.cpp | 23 using namespace testing::ext; 49 HWTEST_F(DInputContextTest, GetSourceWindId001, testing::ext::TestSize.Level0) in HWTEST_F() 57 HWTEST_F(DInputContextTest, RemoveSinkScreenInfo001, testing::ext::TestSize.Level0) in HWTEST_F() 64 HWTEST_F(DInputContextTest, UpdateSinkScreenInfo001, testing::ext::TestSize.Level0) in HWTEST_F() 72 HWTEST_F(DInputContextTest, UpdateSinkScreenInfo002, testing::ext::TestSize.Level0) in HWTEST_F() 81 HWTEST_F(DInputContextTest, GetSinkScreenInfo001, testing::ext::TestSize.Level0) in HWTEST_F() 89 HWTEST_F(DInputContextTest, GetSinkScreenInfo002, testing::ext::TestSize.Level0) in HWTEST_F() 100 HWTEST_F(DInputContextTest, RemoveSrcScreenInfo001, testing::ext::TestSize.Level0) in HWTEST_F() 107 HWTEST_F(DInputContextTest, UpdateSrcScreenInfo001, testing::ext::TestSize.Level0) in HWTEST_F() 115 HWTEST_F(DInputContextTest, UpdateSrcScreenInfo002, testing::ext [all...] |
/foundation/distributedhardware/device_manager/test/softbusunittest/ |
H A D | UTTest_softbus_listener.cpp | 62 HWTEST_F(SoftbusListenerTest, ConvertNodeBasicInfoToDmDevice_001, testing::ext::TestSize.Level0) in HWTEST_F() 78 HWTEST_F(SoftbusListenerTest, ConvertNodeBasicInfoToDmDevice_002, testing::ext::TestSize.Level0) in HWTEST_F() 95 HWTEST_F(SoftbusListenerTest, OnSoftbusDeviceOnline_001, testing::ext::TestSize.Level0) in HWTEST_F() 115 HWTEST_F(SoftbusListenerTest, ShiftLNNGear_001, testing::ext::TestSize.Level0) in HWTEST_F() 126 HWTEST_F(SoftbusListenerTest, ShiftLNNGear_002, testing::ext::TestSize.Level0) in HWTEST_F() 135 HWTEST_F(SoftbusListenerTest, ConvertScreenStatusToDmDevice_001, testing::ext::TestSize.Level0) in HWTEST_F() 160 HWTEST_F(SoftbusListenerTest, DeviceOnLine_001, testing::ext::TestSize.Level0) in HWTEST_F() 177 HWTEST_F(SoftbusListenerTest, OnSoftbusDeviceInfoChanged_001, testing::ext::TestSize.Level0) in HWTEST_F() 188 HWTEST_F(SoftbusListenerTest, OnSoftbusDeviceInfoChanged_002, testing::ext::TestSize.Level0) in HWTEST_F() 200 HWTEST_F(SoftbusListenerTest, OnSoftbusDeviceInfoChanged_003, testing::ext [all...] |
/foundation/distributedhardware/device_manager/test/unittest/ |
H A D | UTTest_ipc_cmd_parser_client.cpp | 127 HWTEST_F(IpcCmdParserClientTest, ReadResponseFunc_001, testing::ext::TestSize.Level0) in HWTEST_F() 133 HWTEST_F(IpcCmdParserClientTest, ReadResponseFunc_003, testing::ext::TestSize.Level0) in HWTEST_F() 139 HWTEST_F(IpcCmdParserClientTest, ReadResponseFunc_004, testing::ext::TestSize.Level0) in HWTEST_F() 145 HWTEST_F(IpcCmdParserClientTest, ReadResponseFunc_005, testing::ext::TestSize.Level0) in HWTEST_F() 151 HWTEST_F(IpcCmdParserClientTest, ReadResponseFunc_007, testing::ext::TestSize.Level0) in HWTEST_F() 157 HWTEST_F(IpcCmdParserClientTest, ReadResponseFunc_008, testing::ext::TestSize.Level0) in HWTEST_F() 163 HWTEST_F(IpcCmdParserClientTest, ReadResponseFunc_009, testing::ext::TestSize.Level0) in HWTEST_F() 169 HWTEST_F(IpcCmdParserClientTest, ReadResponseFunc_010, testing::ext::TestSize.Level0) in HWTEST_F() 175 HWTEST_F(IpcCmdParserClientTest, ReadResponseFunc_011, testing::ext::TestSize.Level0) in HWTEST_F() 181 HWTEST_F(IpcCmdParserClientTest, ReadResponseFunc_012, testing::ext [all...] |