Searched refs:num_fds (Results 1 – 9 of 9) sorted by relevance
/external/ltp/testcases/kernel/sched/cfs-scheduler/ |
D | hackbench.c | 76 unsigned int num_fds; member 139 for (j = 0; j < ctx->num_fds; j++) { in sender() 239 unsigned int num_fds, int ready_out, int wakefd) in group() argument 242 struct sender_context *snd_ctx = malloc(sizeof(struct sender_context) + num_fds * sizeof(int)); in group() 248 for (i = 0; i < num_fds; i++) { in group() 255 rev_ctx_tab[gr_num * num_fds + i] = ctx; in group() 260 ctx->num_packets = num_fds * loops; in group() 274 for (i = 0; i < num_fds; i++) { in group() 277 snd_ctx->num_fds = num_fds; in group() 279 pth[num_fds + i] = in group() [all …]
|
/external/autotest/client/tests/hackbench/src/ |
D | hackbench.c | 104 unsigned int num_fds; member 167 for (j = 0; j < ctx->num_fds; j++) { in sender() 264 unsigned int num_fds, in group() argument 270 +num_fds*sizeof(int)); in group() 272 for (i = 0; i < num_fds; i++) { in group() 283 ctx->num_packets = num_fds*loops; in group() 297 for (i = 0; i < num_fds; i++) { in group() 300 snd_ctx->num_fds = num_fds; in group() 302 pth[num_fds+i] = create_worker(snd_ctx, (void *)(void *)sender); in group() 307 for (i = 0; i < num_fds; i++) in group() [all …]
|
/external/libvncserver/examples/ |
D | 1instance.c | 52 int num_fds; in get_next_message() local 59 num_fds=select(str->fd+1,&fdset,NULL,NULL,&tv); in get_next_message() 60 if(num_fds) { in get_next_message() 67 num_fds--; in get_next_message() 75 return(num_fds); in get_next_message() 81 int num_fds; in dispatch_event() local 83 if((num_fds=get_next_message(buffer,1024,str,usecs)) && buffer[0]) in dispatch_event() 86 return(num_fds); in dispatch_event()
|
/external/libmojo/mojo/edk/system/ |
D | channel_posix.cc | 431 size_t num_fds = payload_size / sizeof(int); in OnControlMessage() local 432 if (num_fds == 0 || payload_size % sizeof(int) != 0) in OnControlMessage() 436 if (!CloseHandles(fds, num_fds)) in OnControlMessage() 450 bool CloseHandles(const int* fds, size_t num_fds) { in CloseHandles() argument 452 if (!num_fds) in CloseHandles() 467 for (; i < num_fds && it != handles_to_close_->end(); i++, ++it) { in CloseHandles() 473 if (i != num_fds) in CloseHandles()
|
/external/google-breakpad/src/client/linux/crash_generation/ |
D | crash_generation_server.cc | 237 const unsigned num_fds = len / sizeof(int); in ClientEvent() local 238 if (num_fds > 1 || num_fds == 0) { in ClientEvent() 241 for (unsigned i = 0; i < num_fds; ++i) in ClientEvent()
|
/external/libchrome/base/test/ |
D | multiprocess_test_android.cc | 53 uint32_t num_fds = 0; member 266 CHECK_EQ(request->num_fds, fds.size()); in StartProcessInHelper() 267 for (size_t i = 0; i < request->num_fds; i++) { in StartProcessInHelper() 324 request.num_fds = options.fds_to_remap->size(); in StartChildTestHelper()
|
/external/libmojo/mojo/edk/embedder/ |
D | platform_channel_utils_posix.cc | 184 size_t num_fds = payload_length / sizeof(int); in PlatformChannelRecvmsg() local 186 for (size_t i = 0; i < num_fds; i++) { in PlatformChannelRecvmsg()
|
/external/libmojo/ipc/ |
D | ipc_message.cc | 59 header()->num_fds = 0; in Message() 75 header()->num_fds = 0; in Message()
|
D | ipc_message.h | 283 uint16_t num_fds; // the number of descriptors included with this message member
|