/external/syslinux/com32/modules/ |
D | cptime.c | 108 void print_cp_result_tick(size_t bcnt, clock_t et, TPS_T tps, int offs) in print_cp_result_tick() argument 112 dr = max(bcnt, (bcnt * tps)) / max((clock_t)1, (et + offs)); in print_cp_result_tick() 116 void print_cp_result_long(char *fn, size_t bcnt, clock_t bc, clock_t ec, size_t bufsz, char do_verb… in print_cp_result_long() argument 122 printf(" %zu B in %d ticks from '%s'\n", bcnt, (int)(ec - bc), fn); in print_cp_result_long() 124 print_cp_result_tick(bcnt, (ec - bc), tps, 0); in print_cp_result_long() 125 print_cp_result_tick(bcnt, (ec - bc), tps, 1); in print_cp_result_long() 126 print_cp_result_tick(bcnt, (ec - bc), tps, -1); in print_cp_result_long() 129 void print_cp_result_simple(char *fn, size_t bcnt, clock_t bc, clock_t ec, size_t bufsz, char do_ve… in print_cp_result_simple() argument 132 printf(" %zuB %dt %zux '%s'\n", bcnt, (int)(ec - bc), bufsz, fn); in print_cp_result_simple() 135 size_t time_copy_bufsz(size_t bufsz, size_t bcnt, off_t maxlen) in time_copy_bufsz() argument [all …]
|
/external/iptables/iptables/ |
D | iptables-restore.c | 88 unsigned long long pcnt, bcnt; in parse_counters() local 91 ret = sscanf(string, "[%llu:%llu]", &pcnt, &bcnt); in parse_counters() 93 ctr->bcnt = bcnt; in parse_counters() 415 char *bcnt = NULL; in iptables_restore_main() local 435 bcnt = strtok(NULL, "]"); in iptables_restore_main() 436 if (!bcnt) in iptables_restore_main() 452 if (counters && pcnt && bcnt) { in iptables_restore_main() 455 add_argv((char *) bcnt); in iptables_restore_main()
|
D | ip6tables-restore.c | 90 unsigned long long pcnt, bcnt; in parse_counters() local 93 ret = sscanf(string, "[%llu:%llu]", &pcnt, &bcnt); in parse_counters() 95 ctr->bcnt = bcnt; in parse_counters() 416 char *bcnt = NULL; in ip6tables_restore_main() local 436 bcnt = strtok(NULL, "]"); in ip6tables_restore_main() 437 if (!bcnt) in ip6tables_restore_main() 453 if (counters && pcnt && bcnt) { in ip6tables_restore_main() 456 add_argv((char *) bcnt); in ip6tables_restore_main()
|
D | xtables-restore.c | 65 unsigned long long pcnt, bcnt; in parse_counters() local 68 ret = sscanf(string, "[%llu:%llu]", &pcnt, &bcnt); in parse_counters() 70 ctr->bcnt = bcnt; in parse_counters() 355 char *bcnt = NULL; in xtables_restore_parse() local 375 bcnt = strtok(NULL, "]"); in xtables_restore_parse() 376 if (!bcnt) in xtables_restore_parse() 392 if (counters && pcnt && bcnt) { in xtables_restore_parse() 395 add_argv((char *) bcnt); in xtables_restore_parse()
|
D | iptables-xml.c | 61 __u64 *pcnt, *bcnt; in parse_counters() local 65 bcnt = &ctr->bcnt; in parse_counters() 69 (unsigned long long *)bcnt) == 2); in parse_counters() 249 xmlAttrI("byte-count", (unsigned long long) ctr->bcnt); in openChain() 578 do_rule(char *pcnt, char *bcnt, int argc, char *argv[], int argvattr[]) in do_rule() argument 600 if (bcnt) in do_rule() 601 xmlAttrS("byte-count", bcnt); in do_rule() 738 char *bcnt = NULL; in iptables_xml_main() local 764 bcnt = strtok(NULL, "]"); in iptables_xml_main() 765 if (!bcnt) in iptables_xml_main() [all …]
|
D | ip6tables.c | 478 xtables_print_num(counters.bcnt, (format|FMT_NOTABLE)); in print_header() 564 xtables_print_num(fw->counters.bcnt, format); in print_firewall() 1093 …printf("[%llu:%llu] ", (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt); in print_rule6() 1133 …rintf(" -c %llu %llu", (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt); in print_rule6() 1197 printf(" -c %llu %llu", (unsigned long long)count.pcnt, (unsigned long long)count.bcnt); in list_rules() 1350 const char *pcnt = NULL, *bcnt = NULL; in do_command6() local 1668 bcnt = strchr(pcnt + 1, ','); in do_command6() 1669 if (bcnt) in do_command6() 1670 bcnt++; in do_command6() 1671 if (!bcnt && xs_has_arg(argc, argv)) in do_command6() [all …]
|
D | iptables.c | 462 xtables_print_num(counters.bcnt, (format|FMT_NOTABLE)); in print_header() 550 xtables_print_num(fw->counters.bcnt, format); in print_firewall() 1092 …printf("[%llu:%llu] ", (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt); in print_rule4() 1123 …rintf(" -c %llu %llu", (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt); in print_rule4() 1187 printf(" -c %llu %llu", (unsigned long long)count.pcnt, (unsigned long long)count.bcnt); in list_rules() 1344 const char *pcnt = NULL, *bcnt = NULL; in do_command4() local 1659 bcnt = strchr(pcnt + 1, ','); in do_command4() 1660 if (bcnt) in do_command4() 1661 bcnt++; in do_command4() 1662 if (!bcnt && xs_has_arg(argc, argv)) in do_command4() [all …]
|
D | xtables.c | 1032 args->bcnt = strchr(args->pcnt + 1, ','); in do_parse() 1033 if (args->bcnt) in do_parse() 1034 args->bcnt++; in do_parse() 1035 if (!args->bcnt && xs_has_arg(argc, argv)) in do_parse() 1036 args->bcnt = argv[optind++]; in do_parse() 1037 if (!args->bcnt) in do_parse() 1047 if (sscanf(args->bcnt, "%llu", &args->bcnt_cnt) != 1) in do_parse()
|
D | nft-shared.c | 451 counters->bcnt = nftnl_expr_get_u64(e, NFTNL_EXPR_CTR_BYTES); in nft_parse_counter() 573 xtables_print_num(counters->bcnt, (format|FMT_NOTABLE)); in print_header() 616 xtables_print_num(cs->counters.bcnt, format); in print_firewall_details() 725 void save_counters(uint64_t pcnt, uint64_t bcnt) in save_counters() argument 728 (unsigned long long)bcnt); in save_counters()
|
D | nft-shared.h | 162 void save_counters(uint64_t pcnt, uint64_t bcnt); 200 const char *pcnt, *bcnt; member
|
D | nft-ipv6.c | 81 if (add_counters(r, cs->counters.pcnt, cs->counters.bcnt) < 0) in nft_ipv6_add() 339 cs->fw6.counters.bcnt = args->bcnt_cnt; in nft_ipv6_post_parse() 386 save_counters(cs->counters.pcnt, cs->counters.bcnt); in nft_ipv6_save_counters()
|
D | ip6tables-save.c | 91 printf("[%llu:%llu]\n", (unsigned long long)count.pcnt, (unsigned long long)count.bcnt); in do_output()
|
D | iptables-save.c | 89 printf("[%llu:%llu]\n", (unsigned long long)count.pcnt, (unsigned long long)count.bcnt); in do_output()
|
D | nft-ipv4.c | 93 if (add_counters(r, cs->counters.pcnt, cs->counters.bcnt) < 0) in nft_ipv4_add() 393 cs->counters.bcnt = args->bcnt_cnt; in nft_ipv4_post_parse() 438 save_counters(cs->counters.pcnt, cs->counters.bcnt); in nft_ipv4_save_counters()
|
D | xtables-eb.c | 570 cs->counters.bcnt = strtoull(argv[optind] + 1, &buffer, 10); in parse_change_counters_rule() 575 cs->counters.bcnt = strtoull(argv[optind] + 1, &buffer, 10); in parse_change_counters_rule() 577 cs->counters.bcnt = strtoull(argv[optind], &buffer, 10); in parse_change_counters_rule() 1078 cs.counters.bcnt = strtoull(argv[optind], &buffer, 10); in do_commandeb()
|
D | nft-arp.c | 217 if (add_counters(r, fw->counters.pcnt, fw->counters.bcnt) < 0) in nft_arp_add() 430 xtables_print_num(counters->bcnt, (format|FMT_NOTABLE)); in nft_arp_print_header() 604 xtables_print_num(cs.fw.counters.bcnt, format); in nft_arp_print_firewall()
|
D | xtables-arp.c | 945 const char *pcnt = NULL, *bcnt = NULL; in do_commandarp() local 1281 bcnt = argv[optind++]; in do_commandarp() 1292 if (sscanf(bcnt, "%llu", &cs.fw.counters.bcnt) != 1) in do_commandarp()
|
D | nft-bridge.c | 217 if (add_counters(r, cs->counters.pcnt, cs->counters.bcnt) < 0) in nft_bridge_add() 541 (uint64_t)cs.counters.pcnt, (uint64_t)cs.counters.bcnt); in nft_bridge_print_firewall()
|
/external/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()
|
/external/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
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
D | x_tables.h | 107 #define SET_COUNTER(c,b,p) do { (c).bcnt = (b); (c).pcnt = (p); } while(0) 108 #define ADD_COUNTER(c,b,p) do { (c).bcnt += (b); (c).pcnt += (p); } while(0) 111 __u64 pcnt, bcnt; /* Packet and byte counters */ member
|
/external/iproute2/include/uapi/linux/netfilter/ |
D | x_tables.h | 107 #define SET_COUNTER(c,b,p) do { (c).bcnt = (b); (c).pcnt = (p); } while(0) 108 #define ADD_COUNTER(c,b,p) do { (c).bcnt += (b); (c).pcnt += (p); } while(0) 111 __u64 pcnt, bcnt; /* Packet and byte counters */ member
|
/external/kernel-headers/original/uapi/linux/netfilter_bridge/ |
D | ebtables.h | 40 __u64 bcnt; member
|
/external/mesa3d/src/gallium/drivers/r600/sb/ |
D | sb_valtable.cpp | 336 unsigned bcnt = blocks.size(); in delete_all() local 338 for (unsigned b = 0; b < bcnt; ++b) { in delete_all()
|
/external/iptables/libiptc/ |
D | libip6tc.c | 179 (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt); in dump_entry()
|