/external/iputils/ |
D | ping.c | 103 static void pr_icmph(__u8 type, __u8 code, __u32 info, struct icmphdr *icp); 720 struct icmphdr *icp; in send_probe() local 724 icp = (struct icmphdr *)outpack; in send_probe() 725 icp->type = ICMP_ECHO; in send_probe() 726 icp->code = 0; in send_probe() 727 icp->checksum = 0; in send_probe() 728 icp->un.echo.sequence = htons(ntransmitted+1); in send_probe() 729 icp->un.echo.id = ident; /* ID */ in send_probe() 737 memcpy(icp+1, &tmp_tv, sizeof(tmp_tv)); in send_probe() 739 memset(icp+1, 0, sizeof(struct timeval)); in send_probe() [all …]
|
D | clockdiff.c | 137 struct icmphdr *icp = (struct icmphdr *) packet; in measure() local 226 icp = (struct icmphdr *)(packet + (ip->ihl << 2)); in measure() 227 if( icp->type == ICMP_TIMESTAMPREPLY && in measure() 228 icp->un.echo.id == id && icp->un.echo.sequence >= seqno0 && in measure() 229 icp->un.echo.sequence <= seqno) { in measure() 230 if (acked < icp->un.echo.sequence) in measure() 231 acked = icp->un.echo.sequence; in measure() 235 sendtime = ntohl(*(__u32*)(icp+1)); in measure() 245 histime = ntohl(((__u32*)(icp+1))[1]); in measure() 314 struct icmphdr *icp = (struct icmphdr *) packet; in measure_opt() local [all …]
|
D | rdisc.c | 543 struct icmphdr *icp = (struct icmphdr *) ALLIGN(outpack); in solicitor() local 550 icp->type = ICMP_ROUTER_SOLICITATION; in solicitor() 551 icp->code = 0; in solicitor() 552 icp->checksum = 0; in solicitor() 553 icp->un.gateway = 0; /* Reserved */ in solicitor() 557 icp->checksum = in_cksum( (u_short *)icp, packetlen ); in solicitor() 723 struct icmphdr *icp; in pr_pack() local 736 icp = (struct icmphdr *)ALLIGN(buf + hlen); in pr_pack() 738 switch (icp->type) { in pr_pack() 741 struct icmp_ra *rap = (struct icmp_ra *)ALLIGN(icp); in pr_pack() [all …]
|
D | traceroute6.c | 828 struct icmp6_hdr *icp; in packet_ok() local 831 icp = (struct icmp6_hdr *) buf; in packet_ok() 833 type = icp->icmp6_type; in packet_ok() 834 code = icp->icmp6_code; in packet_ok() 843 hip = (struct ip6_hdr *) (icp + 1); in packet_ok() 873 p = (unsigned char *) (icp + 1); in packet_ok() 880 icp->icmp6_code); in packet_ok()
|
/external/llvm-project/llvm/test/Transforms/PGOProfile/ |
D | indirect_call_promotion.ll | 1 ; RUN: opt < %s -pgo-icall-prom -S -icp-total-percent-threshold=50 | FileCheck %s --check-prefix=IC… 2 ; RUN: opt < %s -pgo-icall-prom -S -icp-samplepgo -icp-total-percent-threshold=50 | FileCheck %s --… 3 ; RUN: opt < %s -passes=pgo-icall-prom -S -icp-total-percent-threshold=50 | FileCheck %s --check-pr… 4 …all-prom -S -pass-remarks=pgo-icall-prom -icp-remaining-percent-threshold=0 -icp-total-percent-thr… 5 …all-prom -S -pass-remarks=pgo-icall-prom -icp-remaining-percent-threshold=0 -icp-total-percent-thr… 6 …ll-prom -S -pass-remarks=pgo-icall-prom -icp-remaining-percent-threshold=0 -icp-total-percent-thre… 51 ; ICALL-PROM: br label %if.end.icp 56 ; ICALL-PROM: if.end.icp:
|
D | icp_vararg.ll | 20 ; ICALL-PROM: br label %if.end.icp 24 ; ICALL-PROM: br label %if.end.icp 26 ; ICALL-PROM:if.end.icp:
|
D | icp_covariant_call_return.ll | 33 ; ICALL-PROM: br label %if.end.icp 36 ; ICALL-PROM: br label %if.end.icp 37 ; ICALL-PROM:if.end.icp:
|
D | indirect_call_promotion_byval.ll | 1 ; RUN: opt < %s -pgo-icall-prom -S -icp-total-percent-threshold=10 | FileCheck %s 2 ; RUN: opt < %s -passes=pgo-icall-prom -S -icp-total-percent-threshold=10 | FileCheck %s
|
D | thinlto_indirect_call_promotion.ll | 10 ; RUN: opt %t4.bc -icp-lto -pgo-icall-prom -S | FileCheck %s --check-prefix=ICALL-PROM 11 ; RUN: opt %t4.bc -icp-lto -pgo-icall-prom -S -pass-remarks=pgo-icall-prom 2>&1 | FileCheck %s --ch…
|
/external/llvm/test/Transforms/PGOProfile/ |
D | indirect_call_promotion.ll | 3 …s -pgo-icall-prom -S -pass-remarks=pgo-icall-prom -icp-count-threshold=0 -icp-percent-threshold=0 … 4 …es=pgo-icall-prom -S -pass-remarks=pgo-icall-prom -icp-count-threshold=0 -icp-percent-threshold=0 … 43 ; ICALL-PROM: br label %if.end.icp 48 ; ICALL-PROM: if.end.icp:
|
D | icp_vararg.ll | 21 ; ICALL-PROM: br label %if.end.icp 25 ; ICALL-PROM: br label %if.end.icp 27 ; ICALL-PROM:if.end.icp:
|
D | icp_invoke.ll | 1 ; RUN: opt < %s -icp-lto -pgo-icall-prom -S -icp-count-threshold=0 | FileCheck %s --check-prefix=ICP 2 ; RUN: opt < %s -icp-lto -passes=pgo-icall-prom -S -icp-count-threshold=0 | FileCheck %s --check-pr…
|
D | icp_covariant_call_return.ll | 32 ; ICALL-PROM: br label %if.end.icp 35 ; ICALL-PROM: br label %if.end.icp 36 ; ICALL-PROM:if.end.icp:
|
/external/libpcap/ |
D | gencode.h | 374 #define isMarked(icp, p) ((p)->mark == (icp)->cur_mark) argument 375 #define unMarkAll(icp) (icp)->cur_mark += 1 argument 376 #define Mark(icp, p) ((p)->mark = (icp)->cur_mark) argument
|
/external/llvm-project/llvm/test/Transforms/Util/ |
D | call-promotion-utils-ptrcast.ll | 1 ; RUN: opt -S -pgo-icall-prom -icp-total-percent-threshold=0 -icp-max-prom=4 < %s 2>&1 | FileCheck …
|
/external/avb/ |
D | aftltool_test.py | 502 for icp in inclusion_proofs: 503 leaf_id = icp[0] - 1 505 root_hash = aftltool.root_from_icp(leaf_id, icp[1], icp[2], leaf_hash) 506 self.assertEqual(root_hash, roots[icp[1] -1]) 1355 icp = aftl.request_inclusion_proof( 1358 self.assertEqual(icp.leaf_index, 1360 self.assertEqual(icp.proof_hash_count, 1362 self.assertEqual(icp.log_url, self.aftl_host) 1364 icp.log_root_descriptor.root_hash, binascii.unhexlify( 1367 self.assertEqual(icp.annotation_leaf.annotation.version_incremental, [all …]
|
/external/llvm-project/clang/test/CodeGen/Inputs/ |
D | pgo-sample-thinlto-summary.prof | 3 icp:100:100
|
/external/clang/test/SemaCXX/ |
D | cstyle-cast.cpp | 196 int const *icp = (int const*)(ipppc); in constness() local 197 (void)(int*)(icp); // const_cast appended in constness()
|
D | reinterpret-cast.cpp | 60 int const *icp = reinterpret_cast<int const*>(ipppc); in constness() local 62 …(void)reinterpret_cast<int*>(icp); // expected-error {{reinterpret_cast from 'const int *' to 'int… in constness()
|
/external/llvm-project/clang/test/SemaCXX/ |
D | cstyle-cast.cpp | 201 int const *icp = (int const*)(ipppc); in constness() local 202 (void)(int*)(icp); // const_cast appended in constness()
|
D | reinterpret-cast.cpp | 60 int const *icp = reinterpret_cast<int const*>(ipppc); in constness() local 62 …(void)reinterpret_cast<int*>(icp); // expected-error {{reinterpret_cast from 'const int *' to 'int… in constness()
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.conv/ |
D | p2.cpp | 36 const int *icp = ctcv; in test_cvqual_conv() local
|
/external/llvm-project/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.conv/ |
D | p2.cpp | 36 const int *icp = ctcv; in test_cvqual_conv() local
|
/external/llvm-project/llvm/test/LTO/Resolution/X86/ |
D | load-sample-prof-icp.ll | 7 ; RUN: -lto-sample-profile-file=%S/Inputs/load-sample-prof-icp.prof 11 ; RUN: -lto-sample-profile-file=%S/Inputs/load-sample-prof-icp.prof
|
/external/llvm-project/clang/test/CodeGen/ |
D | pgo-sample-thinlto-summary.c | 44 void icp(void (*p)()) { in icp() function
|