Searched refs:num_fds (Results 1 - 9 of 9) sorted by relevance

/external/ltp/testcases/kernel/sched/cfs-scheduler/
H A Dhackbench.c76 unsigned int num_fds; member in struct:sender_context
139 for (j = 0; j < ctx->num_fds; j++) {
239 unsigned int num_fds, int ready_out, int wakefd)
242 struct sender_context *snd_ctx = malloc(sizeof(struct sender_context) + num_fds * sizeof(int));
248 for (i = 0; i < num_fds; i++) {
255 rev_ctx_tab[gr_num * num_fds + i] = ctx;
260 ctx->num_packets = num_fds * loops;
274 for (i = 0; i < num_fds; i++) {
277 snd_ctx->num_fds = num_fds;
238 group(pthread_t * pth, unsigned int num_fds, int ready_out, int wakefd) argument
297 unsigned int num_fds = 20; local
[all...]
/external/libvncserver/examples/
H A D1instance.c52 int num_fds; local
59 num_fds=select(str->fd+1,&fdset,NULL,NULL,&tv);
60 if(num_fds) {
67 num_fds--;
75 return(num_fds);
81 int num_fds; local
83 if((num_fds=get_next_message(buffer,1024,str,usecs)) && buffer[0])
86 return(num_fds);
/external/autotest/client/tests/hackbench/src/
H A Dhackbench.c104 unsigned int num_fds; member in struct:sender_context
167 for (j = 0; j < ctx->num_fds; j++) {
264 unsigned int num_fds,
270 +num_fds*sizeof(int));
272 for (i = 0; i < num_fds; i++) {
283 ctx->num_packets = num_fds*loops;
297 for (i = 0; i < num_fds; i++) {
300 snd_ctx->num_fds = num_fds;
302 pth[num_fds
263 group(pthread_t *pth, unsigned int num_fds, int ready_out, int wakefd) argument
318 unsigned int num_fds = 20; local
[all...]
/external/google-breakpad/src/client/linux/crash_generation/
H A Dcrash_generation_server.cc237 const unsigned num_fds = len / sizeof(int); local
238 if (num_fds > 1 || num_fds == 0) {
241 for (unsigned i = 0; i < num_fds; ++i)
/external/libmojo/mojo/edk/system/
H A Dchannel_posix.cc431 size_t num_fds = payload_size / sizeof(int); variable
432 if (num_fds == 0 || payload_size % sizeof(int) != 0)
436 if (!CloseHandles(fds, num_fds))
448 // Closes handles referenced by |fds|. Returns false if |num_fds| is 0, or if
450 bool CloseHandles(const int* fds, size_t num_fds) { argument
452 if (!num_fds)
467 for (; i < num_fds && it != handles_to_close_->end(); i++, ++it) {
473 if (i != num_fds)
/external/libchrome/base/test/
H A Dmultiprocess_test_android.cc53 uint32_t num_fds = 0; member in struct:base::__anon10037::StartProcessRequest
266 CHECK_EQ(request->num_fds, fds.size());
267 for (size_t i = 0; i < request->num_fds; i++) {
324 request.num_fds = options.fds_to_remap->size();
/external/libmojo/ipc/
H A Dipc_message.cc59 header()->num_fds = 0;
75 header()->num_fds = 0;
H A Dipc_message.h283 uint16_t num_fds; // the number of descriptors included with this message member in struct:IPC::Message::Header
/external/libmojo/mojo/edk/embedder/
H A Dplatform_channel_utils_posix.cc184 size_t num_fds = payload_length / sizeof(int); local
186 for (size_t i = 0; i < num_fds; i++) {

Completed in 732 milliseconds