Home
last modified time | relevance | path

Searched refs:num_fds (Results 1 – 10 of 10) sorted by relevance

/external/linux-tools-perf/bench/
Dsched-messaging.c45 unsigned int num_fds; member
102 for (j = 0; j < ctx->num_fds; j++) { in sender()
206 unsigned int num_fds, in group() argument
212 + num_fds * sizeof(int)); in group()
217 for (i = 0; i < num_fds; i++) { in group()
228 ctx->num_packets = num_fds * loops; in group()
242 for (i = 0; i < num_fds; i++) { in group()
245 snd_ctx->num_fds = num_fds; in group()
247 pth[num_fds+i] = create_worker(snd_ctx, (void *)sender); in group()
252 for (i = 0; i < num_fds; i++) in group()
[all …]
/external/chromium_org/ipc/
Dipc_channel_nacl.cc264 const size_t num_fds = msg->file_descriptor_set()->size(); in ProcessOutgoingMessages() local
265 DCHECK(num_fds <= FileDescriptorSet::kMaxDescriptorsPerMessage); in ProcessOutgoingMessages()
271 NaClAbiNaClImcMsgHdr msgh = { &iov, 1, fds, num_fds }; in ProcessOutgoingMessages()
328 uint16 header_fds = msg->header()->num_fds; in WillDispatchInputMessage()
Dipc_channel_posix.cc404 const unsigned num_fds = msg->file_descriptor_set()->size(); in ProcessOutgoingMessages() local
406 DCHECK(num_fds <= FileDescriptorSet::kMaxDescriptorsPerMessage); in ProcessOutgoingMessages()
418 msgh.msg_controllen = CMSG_SPACE(sizeof(int) * num_fds); in ProcessOutgoingMessages()
422 cmsg->cmsg_len = CMSG_LEN(sizeof(int) * num_fds); in ProcessOutgoingMessages()
429 msg->header()->num_fds = static_cast<uint16>(num_fds); in ProcessOutgoingMessages()
850 uint16 header_fds = msg->header()->num_fds; in WillDispatchInputMessage()
Dipc_message.cc47 header()->num_fds = 0; in Message()
60 header()->num_fds = 0; in Message()
Dipc_message.h238 uint16 num_fds; // the number of descriptors included with this message member
/external/chromium/chrome/browser/
Dcrash_handler_host_linux.cc194 const unsigned num_fds = len / sizeof(int); in OnFileCanReadWithoutBlocking() local
195 if (num_fds != 2) { in OnFileCanReadWithoutBlocking()
199 << " num_fds:" << num_fds; in OnFileCanReadWithoutBlocking()
200 for (unsigned i = 0; i < num_fds; ++i) in OnFileCanReadWithoutBlocking()
/external/chromium_org/components/breakpad/browser/
Dcrash_handler_host_linux.cc232 const unsigned num_fds = len / sizeof(int); in OnFileCanReadWithoutBlocking() local
233 if (num_fds != 2) { in OnFileCanReadWithoutBlocking()
237 << " num_fds:" << num_fds; in OnFileCanReadWithoutBlocking()
238 for (unsigned i = 0; i < num_fds; ++i) in OnFileCanReadWithoutBlocking()
/external/chromium_org/components/nacl/loader/
Dnacl_ipc_adapter_unittest.cc99 EXPECT_EQ(0u, output_header->num_fds); in TEST_F()
124 header->num_fds = 0; in TEST_F()
242 header->num_fds = 0; in TEST_F()
Dnacl_ipc_adapter.h67 uint16 num_fds; member
Dnacl_ipc_adapter.cc585 header.num_fds = static_cast<int>(rewritten_msg->desc_count()); in SaveMessage()