/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.conv/ |
p2.cpp | 36 const int *icp = ctcv; local
|
/external/clang/test/SemaCXX/ |
reinterpret-cast.cpp | 60 int const *icp = reinterpret_cast<int const*>(ipppc); local 62 (void)reinterpret_cast<int*>(icp); // expected-error {{reinterpret_cast from 'const int *' to 'int *' casts away qualifiers}}
|
cstyle-cast.cpp | 196 int const *icp = (int const*)(ipppc); local 197 (void)(int*)(icp); // const_cast appended
|
functional-cast.cpp | 264 int const *icp = icp_t(ipppc); local 266 (void)intp(icp); // const_cast appended
|
/external/iputils/ |
clockdiff.c | 137 struct icmphdr *icp = (struct icmphdr *) packet; local 226 icp = (struct icmphdr *)(packet + (ip->ihl << 2)); 227 if( icp->type == ICMP_TIMESTAMPREPLY && 228 icp->un.echo.id == id && icp->un.echo.sequence >= seqno0 && 229 icp->un.echo.sequence <= seqno) { 230 if (acked < icp->un.echo.sequence) 231 acked = icp->un.echo.sequence; 235 sendtime = ntohl(*(__u32*)(icp+1)); 245 histime = ntohl(((__u32*)(icp+1))[1]) 314 struct icmphdr *icp = (struct icmphdr *) packet; local [all...] |
ping.c | 103 static void pr_icmph(__u8 type, __u8 code, __u32 info, struct icmphdr *icp); 720 struct icmphdr *icp; local 724 icp = (struct icmphdr *)outpack; 725 icp->type = ICMP_ECHO; 726 icp->code = 0; 727 icp->checksum = 0; 728 icp->un.echo.sequence = htons(ntransmitted+1); 729 icp->un.echo.id = ident; /* ID */ 737 memcpy(icp+1, &tmp_tv, sizeof(tmp_tv)); 739 memset(icp+1, 0, sizeof(struct timeval)) 778 struct icmphdr *icp = (struct icmphdr *)_icp; local 787 struct icmphdr *icp; local [all...] |
traceroute6.c | 828 struct icmp6_hdr *icp; local 831 icp = (struct icmp6_hdr *) buf; 833 type = icp->icmp6_type; 834 code = icp->icmp6_code; 843 hip = (struct ip6_hdr *) (icp + 1); 873 p = (unsigned char *) (icp + 1); 880 icp->icmp6_code);
|
rdisc.c | 543 struct icmphdr *icp = (struct icmphdr *) ALLIGN(outpack); local 550 icp->type = ICMP_ROUTER_SOLICITATION; 551 icp->code = 0; 552 icp->checksum = 0; 553 icp->un.gateway = 0; /* Reserved */ 557 icp->checksum = in_cksum( (u_short *)icp, packetlen ); 723 struct icmphdr *icp; local 736 icp = (struct icmphdr *)ALLIGN(buf + hlen); 738 switch (icp->type) [all...] |
/external/dhcpcd/ |
ipv6rs.c | 274 struct icmp6_hdr *icp; local 332 icp = (struct icmp6_hdr *)rcvhdr.msg_iov[0].iov_base; 333 if (icp->icmp6_type != ND_ROUTER_ADVERT || 334 icp->icmp6_code != 0) 364 memcmp(rap->data, (unsigned char *)icp, rap->data_len) != 0)) 386 memcpy(rap->data, icp, len); 391 nd_ra = (struct nd_router_advert *)icp; 396 p = ((uint8_t *)icp) + sizeof(struct nd_router_advert);
|