Home
last modified time | relevance | path

Searched refs:fw (Results 1 – 25 of 370) sorted by relevance

12345678910>>...15

/external/iptables/iptables/
Dnft-ipv4.c36 if (cs->fw.ip.iniface[0] != '\0') { in nft_ipv4_add()
37 op = nft_invflags2cmp(cs->fw.ip.invflags, IPT_INV_VIA_IN); in nft_ipv4_add()
38 add_iniface(r, cs->fw.ip.iniface, op); in nft_ipv4_add()
41 if (cs->fw.ip.outiface[0] != '\0') { in nft_ipv4_add()
42 op = nft_invflags2cmp(cs->fw.ip.invflags, IPT_INV_VIA_OUT); in nft_ipv4_add()
43 add_outiface(r, cs->fw.ip.outiface, op); in nft_ipv4_add()
46 if (cs->fw.ip.proto != 0) { in nft_ipv4_add()
47 op = nft_invflags2cmp(cs->fw.ip.invflags, XT_INV_PROTO); in nft_ipv4_add()
48 add_l4proto(r, cs->fw.ip.proto, op); in nft_ipv4_add()
51 if (cs->fw.ip.src.s_addr || cs->fw.ip.smsk.s_addr || cs->fw.ip.invflags & IPT_INV_SRCIP) { in nft_ipv4_add()
[all …]
Dnft-arp.c132 struct arpt_entry *fw = &cs->arp; in nft_arp_add() local
136 if (fw->arp.iniface[0] != '\0') { in nft_arp_add()
137 op = nft_invflags2cmp(fw->arp.invflags, ARPT_INV_VIA_IN); in nft_arp_add()
138 add_iniface(r, fw->arp.iniface, op); in nft_arp_add()
141 if (fw->arp.outiface[0] != '\0') { in nft_arp_add()
142 op = nft_invflags2cmp(fw->arp.invflags, ARPT_INV_VIA_OUT); in nft_arp_add()
143 add_outiface(r, fw->arp.outiface, op); in nft_arp_add()
146 if (fw->arp.arhrd != 0 || in nft_arp_add()
147 fw->arp.invflags & ARPT_INV_ARPHRD) { in nft_arp_add()
148 op = nft_invflags2cmp(fw->arp.invflags, ARPT_INV_ARPHRD); in nft_arp_add()
[all …]
Diptables.c448 print_firewall(const struct ipt_entry *fw, in print_firewall() argument
464 t = ipt_get_target((struct ipt_entry *)fw); in print_firewall()
465 flags = fw->ip.flags; in print_firewall()
471 xtables_print_num(fw->counters.pcnt, format); in print_firewall()
472 xtables_print_num(fw->counters.bcnt, format); in print_firewall()
478 fputc(fw->ip.invflags & XT_INV_PROTO ? '!' : ' ', stdout); in print_firewall()
480 const char *pname = proto_to_name(fw->ip.proto, format&FMT_NUMERIC); in print_firewall()
484 printf(FMT("%-5hu", "%hu "), fw->ip.proto); in print_firewall()
490 fputc(fw->ip.invflags & IPT_INV_FRAG ? '!' : '-', stdout); in print_firewall()
495 print_ifaces(fw->ip.iniface, fw->ip.outiface, fw->ip.invflags, format); in print_firewall()
[all …]
Dnft-bridge.c137 struct ebt_entry *fw = &cs->eb; in nft_bridge_add() local
140 if (fw->in[0] != '\0') { in nft_bridge_add()
141 op = nft_invflags2cmp(fw->invflags, EBT_IIN); in nft_bridge_add()
142 add_iniface(r, fw->in, op); in nft_bridge_add()
145 if (fw->out[0] != '\0') { in nft_bridge_add()
146 op = nft_invflags2cmp(fw->invflags, EBT_IOUT); in nft_bridge_add()
147 add_outiface(r, fw->out, op); in nft_bridge_add()
150 if (fw->logical_in[0] != '\0') { in nft_bridge_add()
151 op = nft_invflags2cmp(fw->invflags, EBT_ILOGICALIN); in nft_bridge_add()
152 add_logical_iniface(r, fw->logical_in, op); in nft_bridge_add()
[all …]
Dip6tables.c457 print_firewall(const struct ip6t_entry *fw, in print_firewall() argument
472 t = ip6t_get_target((struct ip6t_entry *)fw); in print_firewall()
478 xtables_print_num(fw->counters.pcnt, format); in print_firewall()
479 xtables_print_num(fw->counters.bcnt, format); in print_firewall()
485 fputc(fw->ipv6.invflags & XT_INV_PROTO ? '!' : ' ', stdout); in print_firewall()
487 const char *pname = proto_to_name(fw->ipv6.proto, format&FMT_NUMERIC); in print_firewall()
491 printf(FMT("%-5hu", "%hu "), fw->ipv6.proto); in print_firewall()
502 print_ifaces(fw->ipv6.iniface, fw->ipv6.outiface, in print_firewall()
503 fw->ipv6.invflags, format); in print_firewall()
505 print_ipv6_addresses(fw, format); in print_firewall()
[all …]
/external/fdlibm/
Dk_rem_pio2.c171 double z,fw,f[20],fq[20],q[20]; local
188 for(j=0,fw=0.0;j<=jx;j++) fw += x[j]*f[jx+i-j]; q[i] = fw;
195 fw = (double)((int)(twon24* z));
196 iq[i] = (int)(z-two24*fw);
197 z = q[j-1]+fw;
247 for(j=0,fw=0.0;j<=jx;j++) fw += x[j]*f[jx+i-j];
248 q[i] = fw;
262 fw = (double)((int)(twon24*z));
263 iq[jz] = (int)(z-two24*fw);
265 iq[jz] = (int) fw;
[all …]
/external/skia/infra/bots/
Dzip_utils_test.py24 fw = test_utils.FileWriter(os.path.join(os.getcwd(), 'input'))
26 fw.mkdir('mydir')
27 fw.mkdir('anotherdir', 0666)
28 fw.mkdir('dir3', 0600)
29 fw.mkdir('subdir')
30 fw.write('a.txt', 0777)
31 fw.write('b.txt', 0751)
32 fw.write('c.txt', 0640)
33 fw.write(os.path.join('subdir', 'd.txt'), 0640)
45 fw = test_utils.FileWriter(os.path.join(os.getcwd(), 'input'))
[all …]
/external/skqp/infra/bots/
Dzip_utils_test.py24 fw = test_utils.FileWriter(os.path.join(os.getcwd(), 'input'))
26 fw.mkdir('mydir')
27 fw.mkdir('anotherdir', 0666)
28 fw.mkdir('dir3', 0600)
29 fw.mkdir('subdir')
30 fw.write('a.txt', 0777)
31 fw.write('b.txt', 0751)
32 fw.write('c.txt', 0640)
33 fw.write(os.path.join('subdir', 'd.txt'), 0640)
45 fw = test_utils.FileWriter(os.path.join(os.getcwd(), 'input'))
[all …]
/external/cldr/tools/java/org/unicode/cldr/icu/
DCheckIBMCoverage.java153 FileWriter fw = new FileWriter(destDir + File.separator + "IBMCoverage.html"); in processMap() local
154 fw.write("<html>\n"); in processMap()
155 fw.write("\t<body>\n"); in processMap()
157 fw.write("\t\t<table border=\"1\">\n"); in processMap()
158 fw.write("\t\t\t<tr>\n"); in processMap()
159 fw.write("\t\t\t\t<th>Locale</td>\n"); in processMap()
160 fw.write("\t\t\t\t<th>Group</td>\n"); in processMap()
161 fw.write("\t\t\t\t<th>Minimum Coverage(POSIX)</td>\n"); in processMap()
162 fw.write("\t\t\t\t<th>Minimum Coverage(BASIC)</td>\n"); in processMap()
163 fw.write("\t\t\t\t<th>Minimum Coverage(ICU)</td>\n"); in processMap()
[all …]
/external/autotest/server/hosts/
Dcros_firmware_unittest.py70 fw = cros_firmware._get_available_firmware(host, 'lumpy')
71 self.assertIsNone(fw)
79 fw = cros_firmware._get_available_firmware(host, 'kukui')
80 self.assertEqual(fw, 'Google_Kukui.12573.13.0')
88 fw = cros_firmware._get_available_firmware(host, 'kukui')
89 self.assertIsNone(fw)
98 fw = cros_firmware._get_available_firmware(host, 'kukui')
99 self.assertEqual(fw, 'Google_Kukui.12573.13.0')
101 fw = cros_firmware._get_available_firmware(host, 'kodama')
102 self.assertEqual(fw, 'Google_Kodama.12573.15.0')
[all …]
/external/ltp/testcases/kernel/firmware/fw_load_user/
Dfw_load.c58 static struct fw_file_info fw[FW_FILES]; variable
145 SAFE_ASPRINTF(cleanup, &fw[fw_num].file, "/n%d_%s", fw_num, fw_name); in setup()
146 fw[fw_num].fake = 1; in setup()
161 fail = (result & (1 << i)) == 0 && !fw[i].fake; in test_run()
162 offset = (fw[i].dir) ? strlen(fw[i].dir) : 0; in test_run()
165 (fw[i].fake) ? "can't" : "can", in test_run()
166 fw[i].file + offset); in test_run()
178 if (fw[i].remove_file && remove(fw[i].file) == -1) in cleanup()
179 tst_resm(TWARN, "Can't remove: %s", fw[i].file); in cleanup()
180 free(fw[i].file); in cleanup()
[all …]
/external/arm-trusted-firmware/make_helpers/tbbr/
Dtbbr_tools.mk66 $(eval $(call TOOL_ADD_PAYLOAD,${BUILD_PLAT}/tb_fw.crt,--tb-fw-cert))
71 $(if ${SCP_BL2_KEY},$(eval $(call CERT_ADD_CMD_OPT,${SCP_BL2_KEY},--scp-fw-key)))
72 $(eval $(call TOOL_ADD_PAYLOAD,${BUILD_PLAT}/scp_fw_content.crt,--scp-fw-cert))
73 $(eval $(call TOOL_ADD_PAYLOAD,${BUILD_PLAT}/scp_fw_key.crt,--scp-fw-key-cert))
79 $(if ${BL31_KEY},$(eval $(call CERT_ADD_CMD_OPT,${BL31_KEY},--soc-fw-key)))
80 $(eval $(call TOOL_ADD_PAYLOAD,${BUILD_PLAT}/soc_fw_content.crt,--soc-fw-cert))
81 $(eval $(call TOOL_ADD_PAYLOAD,${BUILD_PLAT}/soc_fw_key.crt,--soc-fw-key-cert))
87 $(if ${BL32_KEY},$(eval $(call CERT_ADD_CMD_OPT,${BL32_KEY},--tos-fw-key)))
88 $(eval $(call TOOL_ADD_PAYLOAD,${BUILD_PLAT}/tos_fw_content.crt,--tos-fw-cert))
89 $(eval $(call TOOL_ADD_PAYLOAD,${BUILD_PLAT}/tos_fw_key.crt,--tos-fw-key-cert))
[all …]
/external/autotest/client/site_tests/firmware_TouchMTB/tests/
Dfirmware_summary_unittest.py57 def _get_score(self, fw=None, gesture=None, validator=None): argument
59 result= self.slog.get_result(fw=fw, gesture=gesture,
78 for fw, fw_expected_scores in expected_scores.items():
80 actual_score = self._get_score(fw=fw,
204 for fw, fw_expected_scores in expected_scores.items():
206 actual_score = self._get_score(fw=fw, validator=validator)
233 for fw, fw_stats_values in expected_stats_values.items():
235 result = self.slog.get_result(fw=fw, validators=validator)
246 for fw, expected_value in expected_weighted_averages.items():
247 actual_value = final_weighted_average[fw]
/external/u-boot/drivers/remoteproc/
Dk3_system_controller.c89 void k3_sysctrler_load_msg_setup(struct k3_sysctrler_load_msg *fw, in k3_sysctrler_load_msg_setup() argument
93 fw->hdr.cmd_id = K3_MSG_R5_TO_M3_M3FW; in k3_sysctrler_load_msg_setup()
94 fw->hdr.host_id = priv->desc->host_id; in k3_sysctrler_load_msg_setup()
95 fw->hdr.seq_nr = priv->seq_nr++; in k3_sysctrler_load_msg_setup()
96 fw->hdr.flags = 0x0; in k3_sysctrler_load_msg_setup()
97 fw->buffer_address = addr; in k3_sysctrler_load_msg_setup()
98 fw->buffer_size = size; in k3_sysctrler_load_msg_setup()
103 struct k3_sysctrler_load_msg *fw; in k3_sysctrler_load_response() local
105 fw = (struct k3_sysctrler_load_msg *)buf; in k3_sysctrler_load_response()
108 if (fw->hdr.cmd_id != K3_MSG_M3_TO_R5_CERT_RESULT) { in k3_sysctrler_load_response()
[all …]
/external/webrtc/webrtc/base/
Dwinfirewall_unittest.cc20 WinFirewall fw; in TEST() local
24 EXPECT_FALSE(fw.QueryAuthorized("bogus.exe", &authorized)); in TEST()
25 EXPECT_TRUE(fw.Initialize(&hr)); in TEST()
28 EXPECT_TRUE(fw.QueryAuthorized("bogus.exe", &authorized)); in TEST()
34 fw.Shutdown(); in TEST()
35 EXPECT_FALSE(fw.QueryAuthorized("bogus.exe", &authorized)); in TEST()
/external/u-boot/board/amlogic/w400/
DREADME.khadas-vim368 > cp $UBOOTDIR/fip/g12b/ddr3_1d.fw fip/
69 > cp $UBOOTDIR/fip/g12b/ddr4_1d.fw fip/
70 > cp $UBOOTDIR/fip/g12b/ddr4_2d.fw fip/
71 > cp $UBOOTDIR/fip/g12b/diag_lpddr4.fw fip/
72 > cp $UBOOTDIR/fip/g12b/lpddr3_1d.fw fip/
73 > cp $UBOOTDIR/fip/g12b/lpddr4_1d.fw fip/
74 > cp $UBOOTDIR/fip/g12b/lpddr4_2d.fw fip/
75 > cp $UBOOTDIR/fip/g12b/piei.fw fip/
76 > cp $UBOOTDIR/fip/g12b/aml_ddr.fw fip/
117 --ddrfw1 fip/ddr4_1d.fw \
[all …]
DREADME.w40068 > cp $FIPDIR/g12b/ddr3_1d.fw fip/
69 > cp $FIPDIR/g12b/ddr4_1d.fw fip/
70 > cp $FIPDIR/g12b/ddr4_2d.fw fip/
71 > cp $FIPDIR/g12b/diag_lpddr4.fw fip/
72 > cp $FIPDIR/g12b/lpddr4_1d.fw fip/
73 > cp $FIPDIR/g12b/lpddr4_2d.fw fip/
74 > cp $FIPDIR/g12b/piei.fw fip/
75 > cp $FIPDIR/g12b/aml_ddr.fw fip/
116 --ddrfw1 fip/ddr4_1d.fw \
117 --ddrfw2 fip/ddr4_2d.fw \
[all …]
DREADME.odroid-n268 > cp $UBOOTDIR/fip/g12b/ddr3_1d.fw fip/
69 > cp $UBOOTDIR/fip/g12b/ddr4_1d.fw fip/
70 > cp $UBOOTDIR/fip/g12b/ddr4_2d.fw fip/
71 > cp $UBOOTDIR/fip/g12b/diag_lpddr4.fw fip/
72 > cp $UBOOTDIR/fip/g12b/lpddr4_1d.fw fip/
73 > cp $UBOOTDIR/fip/g12b/lpddr4_2d.fw fip/
74 > cp $UBOOTDIR/fip/g12b/piei.fw fip/
75 > cp $UBOOTDIR/fip/g12b/aml_ddr.fw fip/
116 --ddrfw1 fip/ddr4_1d.fw \
117 --ddrfw2 fip/ddr4_2d.fw \
[all …]
/external/autotest/client/site_tests/firmware_TouchMTB/
Dfirmware_log.py427 def __init__(self, test_version, fw=None, round_name=None): argument
429 self._fw = fw
555 for fw, validators in self.fw_validators.items():
556 self.ext_validator_weights[fw] = \
591 for fw in self.fws:
592 self.fw_validators[fw] = sorted(list(self.fw_validators[fw]))
600 fw, round_name, glogs = log_data
603 fw, round_name, self.test_version, glogs = log_data
609 fw = '%s_%d' % (fw, round_no)
610 self.fws.add(fw)
[all …]
Dfirmware_summary.py175 for fw in self.slog.fws:
176 result = self.slog.get_result(fw=fw, gesture=gesture,
268 for fw in fws:
269 result = self.slog.get_result(fw=fw, gesture=gesture,
274 fw_stats_values[metric_name][fw] = \
281 for fw in fws:
282 value = fw_values_dict.get(fw, '')
316 for fw in self.slog.fws:
317 print '\n', fw
319 result = self.slog.get_result(fw=fw, validators=validator)
[all …]
/external/arm-trusted-firmware/docs/plat/
Dwarp7.rst94 --tb-fw=build/warp7/debug/bl2.bin \
95 --tb-fw-cert fiptool_images/trusted-boot-fw.key-crt\
96 --tos-fw fiptool_images/tee-header_v2.bin \
97 --tos-fw-cert fiptool_images/tee-header_v2.bin.crt \
98 --tos-fw-key-cert fiptool_images/tee-header_v2.bin.key-crt \
99 --tos-fw-extra1 fiptool_images/tee-pager_v2.bin \
100 --tos-fw-extra2 fiptool_images/tee-pageable_v2.bin \
101 --nt-fw fiptool_images/u-boot.bin \
102 --nt-fw-cert fiptool_images/u-boot.bin.crt \
103 --nt-fw-key-cert fiptool_images/u-boot.bin.key-crt \
[all …]
/external/u-boot/board/amlogic/u200/
DREADME68 > cp $FIPDIR/g12a/ddr3_1d.fw fip/
69 > cp $FIPDIR/g12a/ddr4_1d.fw fip/
70 > cp $FIPDIR/g12a/ddr4_2d.fw fip/
71 > cp $FIPDIR/g12a/diag_lpddr4.fw fip/
72 > cp $FIPDIR/g12a/lpddr4_1d.fw fip/
73 > cp $FIPDIR/g12a/lpddr4_2d.fw fip/
74 > cp $FIPDIR/g12a/piei.fw fip/
115 --ddrfw1 fip/ddr4_1d.fw \
116 --ddrfw2 fip/ddr4_2d.fw \
117 --ddrfw3 fip/ddr3_1d.fw \
[all …]
/external/u-boot/board/amlogic/sei610/
DREADME59 > cp $FIPDIR/g12a/ddr3_1d.fw fip/
60 > cp $FIPDIR/g12a/ddr4_1d.fw fip/
61 > cp $FIPDIR/g12a/ddr4_2d.fw fip/
62 > cp $FIPDIR/g12a/diag_lpddr4.fw fip/
63 > cp $FIPDIR/g12a/lpddr4_1d.fw fip/
64 > cp $FIPDIR/g12a/lpddr4_2d.fw fip/
65 > cp $FIPDIR/g12a/piei.fw fip/
106 --ddrfw1 fip/ddr4_1d.fw \
107 --ddrfw2 fip/ddr4_2d.fw \
108 --ddrfw3 fip/ddr3_1d.fw \
[all …]
/external/u-boot/board/amlogic/sei510/
DREADME63 > cp $FIPDIR/g12a/ddr3_1d.fw fip/
64 > cp $FIPDIR/g12a/ddr4_1d.fw fip/
65 > cp $FIPDIR/g12a/ddr4_2d.fw fip/
66 > cp $FIPDIR/g12a/diag_lpddr4.fw fip/
67 > cp $FIPDIR/g12a/lpddr4_1d.fw fip/
68 > cp $FIPDIR/g12a/lpddr4_2d.fw fip/
69 > cp $FIPDIR/g12a/piei.fw fip/
110 --ddrfw1 fip/ddr4_1d.fw \
111 --ddrfw2 fip/ddr4_2d.fw \
112 --ddrfw3 fip/ddr3_1d.fw \
[all …]
/external/ltp/testcases/kernel/firmware/fw_load_kernel/
Dltp_fw_load.c41 static int fw; variable
75 if (data[i] != (u8)fw) { in fw_read()
119 for (fw = 0; fw < fw_num; ++fw) { in sys_fwnum()
121 snprintf(name, max_name, "n%d_%s", fw, fw_name); in sys_fwnum()
123 test_result |= (err == 0) << fw; in sys_fwnum()

12345678910>>...15