/third_party/ltp/testcases/kernel/syscalls/pipe/ |
D | pipe04.c | 82 int acnt = 0, bcnt = 0; in main() local 133 while ((acnt < 100) && (bcnt < 100)) { in main() 145 bcnt++; in main()
|
/third_party/iptables/iptables/ |
D | iptables-xml.c | 167 xmlAttrI("byte-count", (unsigned long long) ctr->bcnt); in openChain() 492 do_rule(char *pcnt, char *bcnt, int argc, char *argv[], int argvattr[], in do_rule() argument 516 if (bcnt) in do_rule() 517 xmlAttrS("byte-count", bcnt); in do_rule() 649 char *bcnt = NULL; in iptables_xml_main() local 653 tokenize_rule_counters(&parsestart, &pcnt, &bcnt, line); in iptables_xml_main() 672 do_rule(pcnt, bcnt, cur_rule.argc, cur_rule.argv, in iptables_xml_main()
|
D | iptables-restore.c | 318 char *bcnt = NULL; in ip46tables_restore_main() local 325 tokenize_rule_counters(&parsestart, &pcnt, &bcnt, line); in ip46tables_restore_main() 326 if (counters && pcnt && bcnt) { in ip46tables_restore_main() 329 add_argv(&av_store, bcnt, 0); in ip46tables_restore_main()
|
D | ip6tables.c | 311 xtables_print_num(counters.bcnt, (format|FMT_NOTABLE)); in print_header() 400 xtables_print_num(fw->counters.bcnt, format); in print_firewall() 887 …printf("[%llu:%llu] ", (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt); in print_rule6() 927 …rintf(" -c %llu %llu", (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt); in print_rule6() 998 printf(" -c %llu %llu", (unsigned long long)count.pcnt, (unsigned long long)count.bcnt); in list_rules() 1079 const char *pcnt = NULL, *bcnt = NULL; in do_command6() local 1401 bcnt = strchr(pcnt + 1, ','); in do_command6() 1402 if (bcnt) in do_command6() 1403 bcnt++; in do_command6() 1404 if (!bcnt && xs_has_arg(argc, argv)) in do_command6() [all …]
|
D | iptables.c | 301 xtables_print_num(counters.bcnt, (format|FMT_NOTABLE)); in print_header() 392 xtables_print_num(fw->counters.bcnt, format); in print_firewall() 893 …printf("[%llu:%llu] ", (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt); in print_rule4() 923 …rintf(" -c %llu %llu", (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt); in print_rule4() 994 printf(" -c %llu %llu", (unsigned long long)count.pcnt, (unsigned long long)count.bcnt); in list_rules() 1074 const char *pcnt = NULL, *bcnt = NULL; in do_command4() local 1393 bcnt = strchr(pcnt + 1, ','); in do_command4() 1394 if (bcnt) in do_command4() 1395 bcnt++; in do_command4() 1396 if (!bcnt && xs_has_arg(argc, argv)) in do_command4() [all …]
|
D | xtables-restore.c | 207 char *bcnt = NULL; in xtables_restore_parse_line() local 214 tokenize_rule_counters(&parsestart, &pcnt, &bcnt, line); in xtables_restore_parse_line() 215 if (counters && pcnt && bcnt) { in xtables_restore_parse_line() 218 add_argv(&state->av_store, bcnt, 0); in xtables_restore_parse_line()
|
D | xshared.c | 376 (unsigned long long *)&ctr->bcnt); in parse_counters() 391 char *ptr, *buffer = *bufferp, *pcnt, *bcnt; in tokenize_rule_counters() local 406 bcnt = strtok(NULL, "]"); in tokenize_rule_counters() 407 if (!bcnt) in tokenize_rule_counters() 411 *bcntp = bcnt; in tokenize_rule_counters()
|
D | xtables.c | 815 args->bcnt = strchr(args->pcnt + 1, ','); in do_parse() 816 if (args->bcnt) in do_parse() 817 args->bcnt++; in do_parse() 818 if (!args->bcnt && xs_has_arg(argc, argv)) in do_parse() 819 args->bcnt = argv[optind++]; in do_parse() 820 if (!args->bcnt) in do_parse() 830 if (sscanf(args->bcnt, "%llu", &args->bcnt_cnt) != 1) in do_parse()
|
D | xtables-arp.c | 473 const char *pcnt = NULL, *bcnt = NULL; in do_commandarp() local 778 bcnt = argv[optind++]; in do_commandarp() 789 if (sscanf(bcnt, "%llu", &cs.arp.counters.bcnt) != 1) in do_commandarp()
|
D | xshared.h | 187 bool tokenize_rule_counters(char **bufferp, char **pcnt, char **bcnt, int line);
|
D | xtables-eb.c | 443 cs->counters.bcnt = strtoull(argv[optind] + 1, &buffer, 10); in parse_change_counters_rule() 446 cs->counters.bcnt = strtoull(argv[optind] + 1, &buffer, 10); in parse_change_counters_rule() 448 cs->counters.bcnt = strtoull(argv[optind], &buffer, 10); in parse_change_counters_rule() 1021 cs.counters.bcnt = strtoull(argv[optind], &buffer, 10); in do_commandeb()
|
D | nft-shared.c | 505 counters->bcnt = nftnl_expr_get_u64(e, NFTNL_EXPR_CTR_BYTES); in nft_parse_counter() 726 xtables_print_num(counters->bcnt, (format|FMT_NOTABLE)); in print_header() 769 xtables_print_num(cs->counters.bcnt, format); in print_rule_details() 872 (unsigned long long)cs->counters.bcnt); in save_matches_and_target()
|
D | nft-arp.c | 222 if (add_counters(r, fw->counters.pcnt, fw->counters.bcnt) < 0) in nft_arp_add() 393 xtables_print_num(counters->bcnt, (format|FMT_NOTABLE)); in nft_arp_print_header() 589 xtables_print_num(cs.counters.bcnt, format | FMT_NOTABLE); in nft_arp_print_rule()
|
D | iptables-save.c | 110 (unsigned long long)count.bcnt); in do_output()
|
D | nft-ipv6.c | 79 if (add_counters(r, cs->counters.pcnt, cs->counters.bcnt) < 0) in nft_ipv6_add() 308 cs->fw6.counters.bcnt = args->bcnt_cnt; in nft_ipv6_post_parse()
|
D | nft-bridge.c | 160 if (add_counters(r, cs->counters.pcnt, cs->counters.bcnt) < 0) in nft_bridge_add() 648 (uint64_t)cs->counters.bcnt); in nft_bridge_save_rule() 652 (uint64_t)cs->counters.bcnt); in nft_bridge_save_rule()
|
D | nft-ipv4.c | 90 if (add_counters(r, cs->counters.pcnt, cs->counters.bcnt) < 0) in nft_ipv4_add() 360 cs->counters.bcnt = args->bcnt_cnt; in nft_ipv4_post_parse()
|
D | nft-shared.h | 198 const char *pcnt, *bcnt; member
|
D | xtables-eb-translate.c | 431 cs.counters.bcnt = strtoull(argv[optind], &buffer, 10); in do_commandeb_xlate()
|
/third_party/iptables/include/linux/netfilter/ |
D | x_tables.h | 106 #define SET_COUNTER(c,b,p) do { (c).bcnt = (b); (c).pcnt = (p); } while(0) 107 #define ADD_COUNTER(c,b,p) do { (c).bcnt += (b); (c).pcnt += (p); } while(0) 110 __u64 pcnt, bcnt; /* Packet and byte counters */ member
|
/third_party/mesa3d/src/amd/compiler/tests/ |
D | test_optimizer.cpp | 398 BEGIN_TEST(optimize.bcnt) 404 Temp bcnt; variable 408 bcnt = bld.vop3(aco_opcode::v_bcnt_u32_b32, bld.def(v1), Operand(inputs[0]), Operand::zero()); 409 writeout(0, bld.vadd32(bld.def(v1), bcnt, Operand(inputs[0]))); 413 bcnt = bld.vop3(aco_opcode::v_bcnt_u32_b32, bld.def(v1), Operand(inputs[0]), Operand::zero()); 414 writeout(1, bld.vadd32(bld.def(v1), bcnt, Operand(inputs[1]))); 418 bcnt = bld.vop3(aco_opcode::v_bcnt_u32_b32, bld.def(v1), Operand(inputs[0]), Operand::zero()); 419 writeout(2, bld.vadd32(bld.def(v1), bcnt, Operand::c32(42u))); 425 bcnt = bld.vop3(aco_opcode::v_bcnt_u32_b32, bld.def(v1), Operand(inputs[1]), Operand::zero()); 426 writeout(3, bld.vadd32(bld.def(v1), bcnt, Operand(inputs[0]))); [all …]
|
/third_party/iowow/src/fs/tests/ |
D | iwfs_test2.c | 298 #define bcnt 4096 in test_fsm_uniform_alloc_impl() macro 299 ASLOT aslots[bcnt]; in test_fsm_uniform_alloc_impl() 309 for (int i = 0; i < bcnt; ++i) { in test_fsm_uniform_alloc_impl() 376 for (; i < bcnt; ++i) { in test_fsm_uniform_alloc_impl()
|
/third_party/mesa3d/src/gallium/drivers/r600/sb/ |
D | sb_valtable.cpp | 375 unsigned bcnt = blocks.size(); in delete_all() local 377 for (unsigned b = 0; b < bcnt; ++b) { in delete_all()
|
/third_party/iptables/libiptc/ |
D | libip6tc.c | 179 (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt); in dump_entry()
|
D | libip4tc.c | 145 (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt); in dump_entry()
|