/third_party/ltp/testcases/kernel/syscalls/ioctl/ |
D | ioctl07.c | 24 int cnt, pcnt; in verify_ioctl() local 27 SAFE_FILE_SCANF("/proc/sys/kernel/random/entropy_avail", "%d", &pcnt); in verify_ioctl() 28 tst_res(TINFO, "entropy value from ioctl: %d, proc: %d", cnt, pcnt); in verify_ioctl() 30 if (abs(pcnt - cnt) <= fuzz) in verify_ioctl()
|
/third_party/json/test/thirdparty/imapdl/ |
D | filterbr.py | 38 pcnt = 0 64 pcnt = 1 69 pcnt += 1 71 pcnt -= 1 72 if not pcnt:
|
/third_party/flutter/skia/third_party/externals/freetype/src/otvalid/ |
D | otvmath.c | 278 FT_UInt pcnt, table_size; in otv_GlyphAssembly_validate() local 290 pcnt = FT_NEXT_USHORT( p ); in otv_GlyphAssembly_validate() 292 OTV_LIMIT_CHECK( 8 * pcnt ); in otv_GlyphAssembly_validate() 293 table_size = 6 + 8 * pcnt; in otv_GlyphAssembly_validate() 299 for ( i = 0; i < pcnt; i++ ) in otv_GlyphAssembly_validate()
|
/third_party/skia/third_party/externals/freetype/src/otvalid/ |
D | otvmath.c | 278 FT_UInt pcnt, table_size; in otv_GlyphAssembly_validate() local 290 pcnt = FT_NEXT_USHORT( p ); in otv_GlyphAssembly_validate() 292 OTV_LIMIT_CHECK( 8 * pcnt ); in otv_GlyphAssembly_validate() 293 table_size = 6 + 8 * pcnt; in otv_GlyphAssembly_validate() 299 for ( i = 0; i < pcnt; i++ ) in otv_GlyphAssembly_validate()
|
/third_party/freetype/src/otvalid/ |
D | otvmath.c | 278 FT_UInt pcnt, table_size; in otv_GlyphAssembly_validate() local 290 pcnt = FT_NEXT_USHORT( p ); in otv_GlyphAssembly_validate() 292 OTV_LIMIT_CHECK( 8 * pcnt ); in otv_GlyphAssembly_validate() 293 table_size = 6 + 8 * pcnt; in otv_GlyphAssembly_validate() 299 for ( i = 0; i < pcnt; i++ ) in otv_GlyphAssembly_validate()
|
/third_party/iptables/iptables/ |
D | iptables-xml.c | 166 xmlAttrI("packet-count", (unsigned long long) ctr->pcnt); in openChain() 492 do_rule(char *pcnt, char *bcnt, int argc, char *argv[], int argvattr[], in do_rule() argument 514 if (pcnt) in do_rule() 515 xmlAttrS("packet-count", pcnt); in do_rule() 648 char *pcnt = 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 | 317 char *pcnt = 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() 328 add_argv(&av_store, pcnt, 0); in ip46tables_restore_main()
|
D | xtables-restore.c | 206 char *pcnt = 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() 217 add_argv(&state->av_store, pcnt, 0); in xtables_restore_parse_line()
|
D | ip6tables.c | 309 xtables_print_num(counters.pcnt, (format|FMT_NOTABLE)); in print_header() 399 xtables_print_num(fw->counters.pcnt, format); in print_firewall() 887 …printf("[%llu:%llu] ", (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt); in print_rule6() 927 …printf(" -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 1400 pcnt = optarg; in do_command6() 1401 bcnt = strchr(pcnt + 1, ','); in do_command6() 1411 if (sscanf(pcnt, "%llu", &cnt) != 1) in do_command6() 1415 cs.fw6.counters.pcnt = cnt; in do_command6()
|
D | iptables.c | 299 xtables_print_num(counters.pcnt, (format|FMT_NOTABLE)); in print_header() 391 xtables_print_num(fw->counters.pcnt, format); in print_firewall() 893 …printf("[%llu:%llu] ", (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt); in print_rule4() 923 …printf(" -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 1392 pcnt = optarg; in do_command4() 1393 bcnt = strchr(pcnt + 1, ','); in do_command4() 1403 if (sscanf(pcnt, "%llu", &cnt) != 1) in do_command4() 1407 cs.fw.counters.pcnt = cnt; in do_command4()
|
D | xshared.c | 375 (unsigned long long *)&ctr->pcnt, in parse_counters() 391 char *ptr, *buffer = *bufferp, *pcnt, *bcnt; in tokenize_rule_counters() local 402 pcnt = strtok(buffer+1, ":"); in tokenize_rule_counters() 403 if (!pcnt) in tokenize_rule_counters() 410 *pcntp = pcnt; in tokenize_rule_counters()
|
D | xtables-arp.c | 473 const char *pcnt = NULL, *bcnt = NULL; in do_commandarp() local 776 pcnt = optarg; in do_commandarp() 784 if (sscanf(pcnt, "%llu", &cs.arp.counters.pcnt) != 1) in do_commandarp()
|
D | xshared.h | 187 bool tokenize_rule_counters(char **bufferp, char **pcnt, char **bcnt, int line);
|
D | xtables-eb.c | 431 cs->counters.pcnt = strtoull(argv[optind] + 1, &buffer, 10); in parse_change_counters_rule() 434 cs->counters.pcnt = strtoull(argv[optind] + 1, &buffer, 10); in parse_change_counters_rule() 436 cs->counters.pcnt = strtoull(argv[optind], &buffer, 10); in parse_change_counters_rule() 1016 cs.counters.pcnt = strtoull(optarg, &buffer, 10); in do_commandeb()
|
D | nft-shared.c | 504 counters->pcnt = nftnl_expr_get_u64(e, NFTNL_EXPR_CTR_PACKETS); in nft_parse_counter() 724 xtables_print_num(counters->pcnt, (format|FMT_NOTABLE)); in print_header() 768 xtables_print_num(cs->counters.pcnt, format); in print_rule_details() 871 (unsigned long long)cs->counters.pcnt, 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() 391 xtables_print_num(counters->pcnt, (format|FMT_NOTABLE)); in nft_arp_print_header() 587 xtables_print_num(cs.counters.pcnt, format | FMT_NOTABLE); in nft_arp_print_rule()
|
D | iptables-save.c | 109 (unsigned long long)count.pcnt, in do_output()
|
D | nft-ipv6.c | 79 if (add_counters(r, cs->counters.pcnt, cs->counters.bcnt) < 0) in nft_ipv6_add() 307 cs->fw6.counters.pcnt = args->pcnt_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() 647 (uint64_t)cs->counters.pcnt, in nft_bridge_save_rule() 651 (uint64_t)cs->counters.pcnt, 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() 359 cs->counters.pcnt = args->pcnt_cnt; in nft_ipv4_post_parse()
|
D | xtables.c | 814 args->pcnt = optarg; in do_parse() 815 args->bcnt = strchr(args->pcnt + 1, ','); in do_parse() 825 if (sscanf(args->pcnt, "%llu", &args->pcnt_cnt) != 1) in do_parse()
|
D | nft-shared.h | 198 const char *pcnt, *bcnt; member
|
/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/libnl/lib/route/cls/ |
D | u32.c | 280 struct tc_u32_pcnt *pcnt = u->cu_pcnt->d_data; in print_selector() local 281 nl_dump(p, " successful %" PRIu64, pcnt->kcnts[i]); in print_selector()
|
/third_party/iptables/libiptc/ |
D | libip6tc.c | 179 (unsigned long long)e->counters.pcnt, (unsigned long long)e->counters.bcnt); in dump_entry()
|