Home
last modified time | relevance | path

Searched refs:icp (Results 1 – 25 of 36) sorted by relevance

12

/external/iputils/
Dping.c103 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 …]
Dclockdiff.c137 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 …]
Drdisc.c543 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 …]
Dtraceroute6.c828 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/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/PGOProfile/
Dindirect_call_promotion.ll1 ; 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:
Dicp_vararg.ll20 ; ICALL-PROM: br label %if.end.icp
24 ; ICALL-PROM: br label %if.end.icp
26 ; ICALL-PROM:if.end.icp:
Dicp_covariant_call_return.ll31 ; ICALL-PROM: br label %if.end.icp
34 ; ICALL-PROM: br label %if.end.icp
35 ; ICALL-PROM:if.end.icp:
Dthinlto_indirect_call_promotion.ll10 ; 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…
Dicp_covariant_invoke_return.ll43 ; ICALL-PROM: br label %if.end.icp
47 ; ICALL-PROM:if.end.icp:
53 …]+]] = phi %struct.Base* [ %call2, %if.false.orig_indirect ], [ [[DIRCALL_RET_CAST]], %if.end.icp ]
Dicp_invoke.ll1 ; RUN: opt < %s -icp-lto -pgo-icall-prom -S | FileCheck %s --check-prefix=ICP
2 ; RUN: opt < %s -icp-lto -passes=pgo-icall-prom -S | FileCheck %s --check-prefix=ICP
Dicp_sample.ll1 ; RUN: opt -pgo-icall-prom -icp-samplepgo -S < %s | FileCheck %s
Dindirect_call_promotion_vla.ll22 ; CHECK: br label %if.end.icp
/external/llvm/test/Transforms/PGOProfile/
Dindirect_call_promotion.ll3 …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:
Dicp_vararg.ll21 ; ICALL-PROM: br label %if.end.icp
25 ; ICALL-PROM: br label %if.end.icp
27 ; ICALL-PROM:if.end.icp:
Dicp_invoke.ll1 ; 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…
Dicp_covariant_call_return.ll32 ; ICALL-PROM: br label %if.end.icp
35 ; ICALL-PROM: br label %if.end.icp
36 ; ICALL-PROM:if.end.icp:
Dicp_covariant_invoke_return.ll41 ; ICALL-PROM: to label %if.end.icp unwind label %lpad
45 ; ICALL-PROM:if.end.icp:
52 …]+]] = phi %struct.Base* [ %call2, %if.false.orig_indirect ], [ [[DIRCALL_RET_CAST]], %if.end.icp ]
/external/libpcap/
Dgencode.h380 #define isMarked(icp, p) ((p)->mark == (icp)->cur_mark) argument
381 #define unMarkAll(icp) (icp)->cur_mark += 1 argument
382 #define Mark(icp, p) ((p)->mark = (icp)->cur_mark) argument
/external/swiftshader/third_party/llvm-7.0/llvm/test/LTO/Resolution/X86/
Dload-sample-prof-icp.ll7 ; 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/clang/test/SemaCXX/
Dcstyle-cast.cpp196 int const *icp = (int const*)(ipppc); in constness() local
197 (void)(int*)(icp); // const_cast appended in constness()
Dreinterpret-cast.cpp60 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()
Dfunctional-cast.cpp265 int const *icp = icp_t(ipppc); in constness() local
267 (void)intp(icp); // const_cast appended in constness()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowContextImpl.java123 public boolean releaseProvider(IContentProvider icp) { in getContentResolver()
133 public boolean releaseUnstableProvider(IContentProvider icp) { in getContentResolver()
138 public void unstableProviderDied(IContentProvider icp) {} in getContentResolver()
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.conv/
Dp2.cpp36 const int *icp = ctcv; in test_cvqual_conv() local
/external/tcpdump/
Dprint-icmp6.c626 const struct icmp6_hdr *icp, u_int len) in icmp6_cksum() argument
628 return nextproto6_cksum(ndo, ip6, (const uint8_t *)(const void *)icp, len, len, in icmp6_cksum()
1409 const struct icmp6_hdr *icp = (const struct icmp6_hdr *) bp; in mldv2_report_print() local
1419 ND_TCHECK(icp->icmp6_data16[1]); in mldv2_report_print()
1420 ngroups = EXTRACT_16BITS(&icp->icmp6_data16[1]); in mldv2_report_print()
1467 const struct icmp6_hdr *icp = (const struct icmp6_hdr *) bp; in mldv2_query_print() local
1478 ND_TCHECK(icp->icmp6_data16[0]); in mldv2_query_print()
1479 mrc = EXTRACT_16BITS(&icp->icmp6_data16[0]); in mldv2_query_print()

12