Home
last modified time | relevance | path

Searched refs:cmsg_len (Results 1 – 8 of 8) sorted by relevance

/system/core/base/
Dcmsg.cpp35 size_t cmsg_len = CMSG_LEN(sizeof(int) * fds.size()); in SendFileDescriptorVector() local
57 cmsg->cmsg_len = cmsg_len; in SendFileDescriptorVector()
139 if (cmsg->cmsg_len % sizeof(int) != 0) { in ReceiveFileDescriptorVector()
140 LOG(FATAL) << "cmsg_len(" << cmsg->cmsg_len << ") not aligned to sizeof(int)"; in ReceiveFileDescriptorVector()
141 } else if (cmsg->cmsg_len <= CMSG_LEN(0)) { in ReceiveFileDescriptorVector()
142 LOG(FATAL) << "cmsg_len(" << cmsg->cmsg_len << ") not long enough to hold any data"; in ReceiveFileDescriptorVector()
146 size_t cmsg_fdcount = static_cast<size_t>(cmsg->cmsg_len - CMSG_LEN(0)) / sizeof(int); in ReceiveFileDescriptorVector()
/system/core/libmemunreachable/
DLeakPipe.cpp41 cmsg->cmsg_len = CMSG_LEN(sizeof(int)); in SendFd()
/system/netd/client/
DFwmarkClient.cpp111 cmsgh->cmsg_len = CMSG_LEN(sizeof(fd)); in send()
/system/bt/btif/src/
Dbtif_sock_util.cc110 cmsg->cmsg_len = CMSG_LEN(sizeof send_fd); in sock_send_fd()
/system/core/libmeminfo/libdmabufinfo/
Ddmabufinfo_test.cpp110 cmsg->cmsg_len = CMSG_LEN(sizeof(fd)); in run()
138 cmsg->cmsg_len = CMSG_LEN(sizeof(fd)); in sendfd()
/system/core/libion/
Dion_test.c152 cmsg->cmsg_len = CMSG_LEN(sizeof(int)); in ion_share_test()
/system/bt/osi/src/
Dsocket.cc177 header->cmsg_len = CMSG_LEN(sizeof(int)); in socket_write_and_transfer_fd()
/system/netd/server/
DFwmarkServer.cpp136 cmsgh->cmsg_len == CMSG_LEN(sizeof(*socketFd))) { in processClient()