/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/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/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/syslinux/gpxe/src/drivers/net/ |
D | bnx2.c | 1353 load_cpu_fw(struct bnx2 *bp, struct cpu_reg *cpu_reg, struct fw_info *fw) in load_cpu_fw() argument 1365 offset = cpu_reg->spad_base + (fw->text_addr - cpu_reg->mips_view_base); in load_cpu_fw() 1366 if (fw->text) { in load_cpu_fw() 1369 for (j = 0; j < (fw->text_len / 4); j++, offset += 4) { in load_cpu_fw() 1370 REG_WR_IND(bp, offset, fw->text[j]); in load_cpu_fw() 1375 offset = cpu_reg->spad_base + (fw->data_addr - cpu_reg->mips_view_base); in load_cpu_fw() 1376 if (fw->data) { in load_cpu_fw() 1379 for (j = 0; j < (fw->data_len / 4); j++, offset += 4) { in load_cpu_fw() 1380 REG_WR_IND(bp, offset, fw->data[j]); in load_cpu_fw() 1385 offset = cpu_reg->spad_base + (fw->sbss_addr - cpu_reg->mips_view_base); in load_cpu_fw() [all …]
|
D | mtnic.c | 156 rx_desc_ptr->data.mem_type = priv->mtnic->fw.mem_type_snoop_be; in mtnic_alloc_iobuf() 245 ((u32) priv->mtnic->fw.tx_offset[priv->port]) << 8); in mtnic_alloc_ring() 249 priv->mtnic->fw.txcq_db_offset); in mtnic_alloc_ring() 251 priv->mtnic->fw.txcq_db_offset, PAGE_SIZE); in mtnic_alloc_ring() 332 int cq_offset = priv->mtnic->fw.cq_offset; in mtnic_alloc_resources() 402 mtnic->fw.eq_db_offset, sizeof(u32)); in mtnic_alloc_eq() 603 mtnic->fw.ifc_rev = be16_to_cpu(cmd->ifc_rev); in mtnic_QUERY_FW() 606 mtnic->fw.err_buf.offset = be64_to_cpu(cmd->err_buf_start); in mtnic_QUERY_FW() 607 mtnic->fw.err_buf.size = be32_to_cpu(cmd->err_buf_size); in mtnic_QUERY_FW() 609 DBG("Error buf offset is %llx\n", mtnic->fw.err_buf.offset); in mtnic_QUERY_FW() [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/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/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/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/pdfium/third_party/libopenjpeg20/ |
D | dwt.c | 739 OPJ_FLOAT32* restrict fw = (OPJ_FLOAT32*) w; in opj_v4dwt_decode_step1() local 742 OPJ_FLOAT32 tmp1 = fw[i*8 ]; in opj_v4dwt_decode_step1() 743 OPJ_FLOAT32 tmp2 = fw[i*8 + 1]; in opj_v4dwt_decode_step1() 744 OPJ_FLOAT32 tmp3 = fw[i*8 + 2]; in opj_v4dwt_decode_step1() 745 OPJ_FLOAT32 tmp4 = fw[i*8 + 3]; in opj_v4dwt_decode_step1() 746 fw[i*8 ] = tmp1 * c; in opj_v4dwt_decode_step1() 747 fw[i*8 + 1] = tmp2 * c; in opj_v4dwt_decode_step1() 748 fw[i*8 + 2] = tmp3 * c; in opj_v4dwt_decode_step1() 749 fw[i*8 + 3] = tmp4 * c; in opj_v4dwt_decode_step1() 756 OPJ_FLOAT32* restrict fw = (OPJ_FLOAT32*) w; in opj_v4dwt_decode_step2() local [all …]
|
/external/v8/src/base/ |
D | ieee754.cc | 526 double z, fw, f[20], fq[20], q[20]; in __kernel_rem_pio2() local 547 for (j = 0, fw = 0.0; j <= jx; j++) fw += x[j] * f[jx + i - j]; in __kernel_rem_pio2() 548 q[i] = fw; in __kernel_rem_pio2() 555 fw = static_cast<double>(static_cast<int32_t>(twon24 * z)); in __kernel_rem_pio2() 556 iq[i] = static_cast<int32_t>(z - two24 * fw); in __kernel_rem_pio2() 557 z = q[j - 1] + fw; in __kernel_rem_pio2() 618 for (j = 0, fw = 0.0; j <= jx; j++) fw += x[j] * f[jx + i - j]; in __kernel_rem_pio2() 619 q[i] = fw; in __kernel_rem_pio2() 637 fw = static_cast<double>(static_cast<int32_t>(twon24 * z)); in __kernel_rem_pio2() 638 iq[jz] = z - two24 * fw; in __kernel_rem_pio2() [all …]
|
/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 \
|
/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/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/mesa3d/src/gallium/drivers/svga/ |
D | svga_state_framebuffer.c | 366 float fw = viewport->scale[0] * 2.0f; in emit_viewport() local 381 fw, in emit_viewport() 403 if (fw < 0) { in emit_viewport() 405 prescale.translate[0] += -fw; in emit_viewport() 406 fw = -fw; in emit_viewport() 427 prescale.scale[0] *= fw / (fw + fx); in emit_viewport() 428 fw += fx; in emit_viewport() 444 if (fx + fw > fb_width) { in emit_viewport() 445 prescale.scale[0] *= fw / (fb_width - fx); in emit_viewport() 446 prescale.translate[0] -= fx * (fw / (fb_width - fx)); in emit_viewport() [all …]
|