/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_sock.c | 155 *((int *)CMSG_DATA(cmsghp)) = sendfd; 156 LOGD("cmsg data=%d", *((int *) CMSG_DATA(cmsghp))); 218 fds_ptr = (int*) CMSG_DATA(cmsghp); 283 rcvd_fd = *((int *) CMSG_DATA(cmsghp));
|
/external/strace/tests/ |
inet-cmsg.c | 42 printf("IP_PKTINFO, cmsg_data={ipi_ifindex=%s" 51 const unsigned int *ttl = (const unsigned int *) CMSG_DATA(c); 53 printf("IP_TTL, cmsg_data=[%u]", *ttl); 59 const uint8_t *tos = (const uint8_t *) CMSG_DATA(c); 61 printf("IP_TOS, cmsg_data=[%#x]", *tos); 67 const unsigned char *opts = (const unsigned char *) CMSG_DATA(c); 72 printf(", cmsg_data=["); 85 (const struct sockaddr_in *) CMSG_DATA(c); 87 printf("IP_ORIGDSTADDR, cmsg_data={sa_family=AF_INET, sin_port=htons(%u)"
|
msg_control.c | 74 printf(", cmsg_data=["); 75 int *fdp = (int *) CMSG_DATA(cmsg); 116 memcpy(CMSG_DATA(cmsg), src, src_len - CMSG_LEN(0)); 168 memcpy(CMSG_DATA(cmsg[0]), src[0], cmsg_len[0] - CMSG_LEN(0)); 180 memcpy(CMSG_DATA(cmsg[1]), src[1], src1_len - CMSG_LEN(0)); 215 int *fdp = (int *) CMSG_DATA(cmsg); 242 struct timeval *tv = (struct timeval *) CMSG_DATA(cmsg); 253 ", cmsg_data={tv_sec=%lld, tv_usec=%llu}}]" 272 ", cmsg_level=SOL_SOCKET, cmsg_type=SCM_TIMESTAMP, cmsg_data=?}]" 287 struct timespec *ts = (struct timespec *) CMSG_DATA(cmsg) [all...] |
scm_rights.c | 81 memcpy(CMSG_DATA(cmsg), fds, sizeof(fds));
|
/external/strace/tests-m32/ |
inet-cmsg.c | 42 printf("IP_PKTINFO, cmsg_data={ipi_ifindex=%s" 51 const unsigned int *ttl = (const unsigned int *) CMSG_DATA(c); 53 printf("IP_TTL, cmsg_data=[%u]", *ttl); 59 const uint8_t *tos = (const uint8_t *) CMSG_DATA(c); 61 printf("IP_TOS, cmsg_data=[%#x]", *tos); 67 const unsigned char *opts = (const unsigned char *) CMSG_DATA(c); 72 printf(", cmsg_data=["); 85 (const struct sockaddr_in *) CMSG_DATA(c); 87 printf("IP_ORIGDSTADDR, cmsg_data={sa_family=AF_INET, sin_port=htons(%u)"
|
msg_control.c | 74 printf(", cmsg_data=["); 75 int *fdp = (int *) CMSG_DATA(cmsg); 116 memcpy(CMSG_DATA(cmsg), src, src_len - CMSG_LEN(0)); 168 memcpy(CMSG_DATA(cmsg[0]), src[0], cmsg_len[0] - CMSG_LEN(0)); 180 memcpy(CMSG_DATA(cmsg[1]), src[1], src1_len - CMSG_LEN(0)); 215 int *fdp = (int *) CMSG_DATA(cmsg); 242 struct timeval *tv = (struct timeval *) CMSG_DATA(cmsg); 253 ", cmsg_data={tv_sec=%lld, tv_usec=%llu}}]" 272 ", cmsg_level=SOL_SOCKET, cmsg_type=SCM_TIMESTAMP, cmsg_data=?}]" 287 struct timespec *ts = (struct timespec *) CMSG_DATA(cmsg) [all...] |
scm_rights.c | 81 memcpy(CMSG_DATA(cmsg), fds, sizeof(fds));
|
/external/strace/tests-mx32/ |
inet-cmsg.c | 42 printf("IP_PKTINFO, cmsg_data={ipi_ifindex=%s" 51 const unsigned int *ttl = (const unsigned int *) CMSG_DATA(c); 53 printf("IP_TTL, cmsg_data=[%u]", *ttl); 59 const uint8_t *tos = (const uint8_t *) CMSG_DATA(c); 61 printf("IP_TOS, cmsg_data=[%#x]", *tos); 67 const unsigned char *opts = (const unsigned char *) CMSG_DATA(c); 72 printf(", cmsg_data=["); 85 (const struct sockaddr_in *) CMSG_DATA(c); 87 printf("IP_ORIGDSTADDR, cmsg_data={sa_family=AF_INET, sin_port=htons(%u)"
|
msg_control.c | 74 printf(", cmsg_data=["); 75 int *fdp = (int *) CMSG_DATA(cmsg); 116 memcpy(CMSG_DATA(cmsg), src, src_len - CMSG_LEN(0)); 168 memcpy(CMSG_DATA(cmsg[0]), src[0], cmsg_len[0] - CMSG_LEN(0)); 180 memcpy(CMSG_DATA(cmsg[1]), src[1], src1_len - CMSG_LEN(0)); 215 int *fdp = (int *) CMSG_DATA(cmsg); 242 struct timeval *tv = (struct timeval *) CMSG_DATA(cmsg); 253 ", cmsg_data={tv_sec=%lld, tv_usec=%llu}}]" 272 ", cmsg_level=SOL_SOCKET, cmsg_type=SCM_TIMESTAMP, cmsg_data=?}]" 287 struct timespec *ts = (struct timespec *) CMSG_DATA(cmsg) [all...] |
scm_rights.c | 81 memcpy(CMSG_DATA(cmsg), fds, sizeof(fds));
|
/external/compiler-rt/test/msan/Linux/ |
cmsghdr.cc | 62 memcpy(CMSG_DATA(cmsg), myfds, kNumFds * sizeof(int)); 82 memcpy(CMSG_DATA(cmsg), &cred, sizeof(struct ucred));
|
/external/ltp/utils/sctp/lib/ |
sendmsg.c | 59 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); 102 memcpy(CMSG_DATA(cmsg), sinfo, sizeof(struct sctp_sndrcvinfo));
|
recvmsg.c | 98 memcpy(sinfo, CMSG_DATA(cmsg), sizeof(struct sctp_sndrcvinfo));
|
/external/google-breakpad/src/client/linux/crash_generation/ |
crash_generation_client.cc | 72 int* p = reinterpret_cast<int*>(CMSG_DATA(hdr));
|
crash_generation_server.cc | 235 (((uint8_t*)CMSG_DATA(hdr)) - (uint8_t*)hdr); 242 close(reinterpret_cast<int*>(CMSG_DATA(hdr))[i]); 245 signal_fd = reinterpret_cast<int*>(CMSG_DATA(hdr))[0]; 249 reinterpret_cast<struct ucred*>(CMSG_DATA(hdr));
|
/bionic/tests/headers/posix/ |
sys_socket_h.c | 74 #if !defined(CMSG_DATA) 75 #error CMSG_DATA
|
/external/openssh/ |
monitor_fdpass.c | 80 *(int *)CMSG_DATA(cmsg) = fd; 180 fd = (*(int *)CMSG_DATA(cmsg));
|
/external/iproute2/include/ |
bpf_scm.h | 60 return (int *)CMSG_DATA(cmsg);
|
/external/libchrome/base/posix/ |
unix_domain_socket.cc | 91 memcpy(CMSG_DATA(cmsg), &fds[0], sizeof(int) * fds.size()); 175 wire_fds = reinterpret_cast<int*>(CMSG_DATA(cmsg)); 185 pid = reinterpret_cast<struct ucred*>(CMSG_DATA(cmsg))->pid;
|
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/ |
timestamping.c | 182 (struct timeval *)CMSG_DATA(cmsg); 190 (struct timespec *)CMSG_DATA(cmsg); 198 (struct timespec *)CMSG_DATA(cmsg); 221 (struct sock_extended_err *)CMSG_DATA(cmsg); 241 (struct in_pktinfo *)CMSG_DATA(cmsg);
|
txtimestamp.c | 193 tss = (void *) CMSG_DATA(cm); 198 serr = (void *) CMSG_DATA(cm); 208 struct in_pktinfo *info = (void *) CMSG_DATA(cm); 213 struct in6_pktinfo *info6 = (void *) CMSG_DATA(cm);
|
/external/mdnsresponder/mDNSPosix/ |
mDNSUNP.c | 592 tmp = (struct in_pktinfo *) CMSG_DATA(cmptr); 607 sin->sin_addr = *(struct in_addr*)CMSG_DATA(cmptr); 616 struct sockaddr_dl *sdl = (struct sockaddr_dl *) CMSG_DATA(cmptr); 636 *ttl = *(u_char*)CMSG_DATA(cmptr); 641 *ttl = *(int*)CMSG_DATA(cmptr); 650 struct in6_pktinfo *ip6_info = (struct in6_pktinfo*)CMSG_DATA(cmptr); 668 *ttl = *(int*)CMSG_DATA(cmptr);
|
/external/dnsmasq/src/ |
forward.c | 63 struct in_pktinfo* pkt = (struct in_pktinfo*) CMSG_DATA(cmptr); 70 struct in_addr* a = (struct in_addr*) CMSG_DATA(cmptr); 79 struct in6_pktinfo* pkt = (struct in6_pktinfo*) CMSG_DATA(cmptr); 562 ((struct in_pktinfo*) CMSG_DATA(cmptr))->ipi_spec_dst; 563 if_index = ((struct in_pktinfo*) CMSG_DATA(cmptr))->ipi_ifindex; 569 dst_addr_4 = dst_addr.addr.addr4 = *((struct in_addr*) CMSG_DATA(cmptr)); 571 if_index = ((struct sockaddr_dl*) CMSG_DATA(cmptr))->sdl_index; 579 dst_addr.addr.addr6 = ((struct in6_pktinfo*) CMSG_DATA(cmptr))->ipi6_addr; 580 if_index = ((struct in6_pktinfo*) CMSG_DATA(cmptr))->ipi6_ifindex; [all...] |
/external/iputils/ |
tracepath6.c | 177 e = (struct sock_extended_err *)CMSG_DATA(cmsg); 183 memcpy(&rethops, CMSG_DATA(cmsg), sizeof(rethops)); 192 e = (struct sock_extended_err *)CMSG_DATA(cmsg); 195 rethops = *(__u8*)CMSG_DATA(cmsg);
|
/external/wayland/src/ |
wayland-os.c | 112 data = CMSG_DATA(cmsg);
|