/external/iptables/iptables/ |
D | nft-ipv4.c | 36 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() 49 cs->fw.ip.proto, op); in nft_ipv4_add() 52 if (cs->fw.ip.src.s_addr != 0) { in nft_ipv4_add() [all …]
|
D | nft-arp.c | 143 struct arpt_entry *fw = &cs->fw; in nft_arp_add() local 147 if (fw->arp.iniface[0] != '\0') { in nft_arp_add() 148 op = nft_invflags2cmp(fw->arp.invflags, ARPT_INV_VIA_IN); in nft_arp_add() 149 add_iniface(r, fw->arp.iniface, op); in nft_arp_add() 152 if (fw->arp.outiface[0] != '\0') { in nft_arp_add() 153 op = nft_invflags2cmp(fw->arp.invflags, ARPT_INV_VIA_OUT); in nft_arp_add() 154 add_outiface(r, fw->arp.outiface, op); in nft_arp_add() 157 if (fw->arp.arhrd != 0) { in nft_arp_add() 158 op = nft_invflags2cmp(fw->arp.invflags, ARPT_INV_ARPHRD); in nft_arp_add() 161 add_cmp_u16(r, fw->arp.arhrd, op); in nft_arp_add() [all …]
|
D | nft-bridge.c | 158 struct ebt_entry *fw = &cs->fw; in nft_bridge_add() local 162 if (fw->in[0] != '\0') { in nft_bridge_add() 163 op = nft_invflags2cmp(fw->invflags, EBT_IIN); in nft_bridge_add() 164 add_iniface(r, fw->in, op); in nft_bridge_add() 167 if (fw->out[0] != '\0') { in nft_bridge_add() 168 op = nft_invflags2cmp(fw->invflags, EBT_IOUT); in nft_bridge_add() 169 add_outiface(r, fw->out, op); in nft_bridge_add() 172 if (fw->logical_in[0] != '\0') { in nft_bridge_add() 173 op = nft_invflags2cmp(fw->invflags, EBT_ILOGICALIN); in nft_bridge_add() 174 add_logical_iniface(r, fw->logical_in, op); in nft_bridge_add() [all …]
|
D | iptables.c | 525 print_firewall(const struct ipt_entry *fw, in print_firewall() argument 542 t = ipt_get_target((struct ipt_entry *)fw); in print_firewall() 543 flags = fw->ip.flags; in print_firewall() 549 xtables_print_num(fw->counters.pcnt, format); in print_firewall() 550 xtables_print_num(fw->counters.bcnt, format); in print_firewall() 556 fputc(fw->ip.invflags & XT_INV_PROTO ? '!' : ' ', stdout); in print_firewall() 558 const char *pname = proto_to_name(fw->ip.proto, format&FMT_NUMERIC); in print_firewall() 562 printf(FMT("%-5hu", "%hu "), fw->ip.proto); in print_firewall() 568 fputc(fw->ip.invflags & IPT_INV_FRAG ? '!' : '-', stdout); in print_firewall() 576 if (fw->ip.invflags & IPT_INV_VIA_IN) { in print_firewall() [all …]
|
D | xtables-arp.c | 827 static struct xtables_target *command_jump(struct arpt_entry *fw, in command_jump() argument 878 cs->fw.arp.src.s_addr = saddrs[i].s_addr; in append_entry() 880 cs->fw.arp.tgt.s_addr = daddrs[j].s_addr; in append_entry() 903 cs->fw.arp.src.s_addr = saddr->s_addr; in replace_entry() 904 cs->fw.arp.tgt.s_addr = daddr->s_addr; in replace_entry() 923 cs->fw.arp.src.s_addr = saddrs[i].s_addr; in delete_entry() 925 cs->fw.arp.tgt.s_addr = daddrs[j].s_addr; in delete_entry() 1093 set_option(&options, OPT_S_IP, &cs.fw.arp.invflags, in do_commandarp() 1100 set_option(&options, OPT_D_IP, &cs.fw.arp.invflags, in do_commandarp() 1107 set_option(&options, OPT_S_MAC, &cs.fw.arp.invflags, in do_commandarp() [all …]
|
D | ip6tables.c | 541 print_firewall(const struct ip6t_entry *fw, in print_firewall() argument 557 t = ip6t_get_target((struct ip6t_entry *)fw); in print_firewall() 563 xtables_print_num(fw->counters.pcnt, format); in print_firewall() 564 xtables_print_num(fw->counters.bcnt, format); in print_firewall() 570 fputc(fw->ipv6.invflags & XT_INV_PROTO ? '!' : ' ', stdout); in print_firewall() 572 const char *pname = proto_to_name(fw->ipv6.proto, format&FMT_NUMERIC); in print_firewall() 576 printf(FMT("%-5hu", "%hu "), fw->ipv6.proto); in print_firewall() 590 if (fw->ipv6.invflags & IP6T_INV_VIA_IN) { in print_firewall() 596 if (fw->ipv6.iniface[0] != '\0') { in print_firewall() 597 strcat(iface, fw->ipv6.iniface); in print_firewall() [all …]
|
D | xtables-eb.c | 991 cs.fw.invflags |= EBT_IIN; in do_commandeb() 998 xtables_parse_interface(optarg, cs.fw.in, cs.fw.in_mask); in do_commandeb() 1006 cs.fw.invflags |= EBT_ILOGICALIN; in do_commandeb() 1010 strcpy(cs.fw.logical_in, optarg); in do_commandeb() 1011 if (parse_iface(cs.fw.logical_in, "--logical-in")) in do_commandeb() 1020 cs.fw.invflags |= EBT_IOUT; in do_commandeb() 1025 xtables_parse_interface(optarg, cs.fw.out, cs.fw.out_mask); in do_commandeb() 1033 cs.fw.invflags |= EBT_ILOGICALOUT; in do_commandeb() 1037 strcpy(cs.fw.logical_out, optarg); in do_commandeb() 1038 if (parse_iface(cs.fw.logical_out, "--logical-out")) in do_commandeb() [all …]
|
/external/fdlibm/ |
D | k_rem_pio2.c | 171 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/cldr/tools/java/org/unicode/cldr/icu/ |
D | CheckIBMCoverage.java | 153 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/skia/infra/bots/ |
D | zip_utils_test.py | 24 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/ |
D | zip_utils_test.py | 24 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/autotest/server/hosts/ |
D | cros_firmware_unittest.py | 81 fw = cros_firmware._get_firmware_version(RW_VERSION_OUTPUT) 82 self.assertEqual(fw, 'Google_Lumpy.2.112.0') 86 fw = cros_firmware._get_firmware_version(VERSION_OUTPUT) 87 self.assertEqual(fw, 'Google_Lumpy.2.111.0') 91 fw = cros_firmware._get_firmware_version(NO_VERSION_OUTPUT) 92 self.assertIsNone(fw) 100 fw = cros_firmware._get_available_firmware(host, 'lumpy') 101 self.assertIsNone(fw) 109 fw = cros_firmware._get_available_firmware(host, 'lumpy') 110 self.assertEqual(fw, 'Google_Lumpy.2.112.0') [all …]
|
/external/ltp/testcases/kernel/firmware/fw_load_user/ |
D | fw_load.c | 58 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/autotest/client/site_tests/firmware_TouchMTB/tests/ |
D | firmware_summary_unittest.py | 57 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/autotest/client/site_tests/firmware_TouchMTB/ |
D | firmware_log.py | 427 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 …]
|
D | firmware_summary.py | 175 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/webrtc/webrtc/base/ |
D | winfirewall_unittest.cc | 20 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/ltp/testcases/kernel/firmware/fw_load_kernel/ |
D | ltp_fw_load.c | 41 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()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.discrete/ |
D | ctor_func.pass.cpp | 22 double fw(double x) in fw() function 31 D d(0, 0, 1, fw); in main() 38 D d(1, 0, 1, fw); in main() 45 D d(2, 0.5, 1.5, fw); in main() 53 D d(4, 0, 2, fw); in main()
|
D | param_ctor_func.pass.cpp | 22 double fw(double x) in fw() function 32 P pa(0, 0, 1, fw); in main() 40 P pa(1, 0, 1, fw); in main() 48 P pa(2, 0.5, 1.5, fw); in main() 57 P pa(4, 0, 2, fw); in main()
|
/external/v8/src/base/ |
D | ieee754.cc | 527 double z, fw, f[20], fq[20], q[20]; in __kernel_rem_pio2() local 548 for (j = 0, fw = 0.0; j <= jx; j++) fw += x[j] * f[jx + i - j]; in __kernel_rem_pio2() 549 q[i] = fw; in __kernel_rem_pio2() 556 fw = static_cast<double>(static_cast<int32_t>(twon24 * z)); in __kernel_rem_pio2() 557 iq[i] = static_cast<int32_t>(z - two24 * fw); in __kernel_rem_pio2() 558 z = q[j - 1] + fw; in __kernel_rem_pio2() 619 for (j = 0, fw = 0.0; j <= jx; j++) fw += x[j] * f[jx + i - j]; in __kernel_rem_pio2() 620 q[i] = fw; in __kernel_rem_pio2() 638 fw = static_cast<double>(static_cast<int32_t>(twon24 * z)); in __kernel_rem_pio2() 639 iq[jz] = z - two24 * fw; in __kernel_rem_pio2() [all …]
|
/external/skia/infra/bots/assets/ |
D | asset_utils_test.py | 40 fw = test_utils.FileWriter(target_dir) 41 fw.mkdir('mydir') 42 fw.mkdir('anotherdir', 0666) 43 fw.mkdir('dir3', 0600) 44 fw.mkdir('subdir') 45 fw.write('a.txt', 0777) 46 fw.write('b.txt', 0751) 47 fw.write('c.txt', 0640) 48 fw.write(os.path.join('subdir', 'd.txt'), 0640)
|
/external/skqp/infra/bots/assets/ |
D | asset_utils_test.py | 40 fw = test_utils.FileWriter(target_dir) 41 fw.mkdir('mydir') 42 fw.mkdir('anotherdir', 0666) 43 fw.mkdir('dir3', 0600) 44 fw.mkdir('subdir') 45 fw.write('a.txt', 0777) 46 fw.write('b.txt', 0751) 47 fw.write('c.txt', 0640) 48 fw.write(os.path.join('subdir', 'd.txt'), 0640)
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/univariate/ |
D | BrentOptimizer.java | 112 double fw = fx; in localMin() local 128 q = (x - v) * (fx - fw); in localMin() 199 fv = fw; in localMin() 201 fw = fx; in localMin() 210 if (fu <= fw || w == x) { in localMin() 212 fv = fw; in localMin() 214 fw = fu; in localMin()
|
/external/iproute2/examples/diffserv/ |
D | Edge32-cb-chains | 55 $TC filter add dev $INDEV parent ffff: protocol ip prio 1 handle 1 fw \ 58 $TC filter add dev $INDEV parent ffff: protocol ip prio 2 handle 1 fw \ 65 $TC filter add dev $INDEV parent ffff: protocol ip prio 3 handle 1 fw \ 68 $TC filter add dev $INDEV parent ffff: protocol ip prio 4 handle 1 fw \ 75 $TC filter add dev $INDEV parent ffff: protocol ip prio 5 handle 1 fw \ 78 $TC filter add dev $INDEV parent ffff: protocol ip prio 6 handle 1 fw \ 85 $TC filter add dev $INDEV parent ffff: protocol ip prio 7 handle 2 fw \
|