HomeSort by relevance Sort by last modified time
    Searched refs:n_fds (Results 1 - 12 of 12) sorted by null

  /external/dbus/dbus/
dbus-socket-set-poll.c 38 int n_fds; member in struct:__anon10216
85 ret->n_fds = 0;
125 for (i = 0; i < self->n_fds; i++)
135 self, self->n_fds, self->n_reserved, self->n_allocated,
146 fd, self, self->n_fds, self->n_reserved, self->n_allocated);
147 _dbus_assert (self->n_reserved >= self->n_fds);
154 self->fds[self->n_fds].fd = fd;
155 self->fds[self->n_fds].events = watch_flags_to_poll_events (flags);
156 self->n_fds++;
170 for (i = 0; i < self->n_fds; i++
    [all...]
dbus-server-socket.h 33 int n_fds,
dbus-server-socket.c 53 int n_fds; /**< Number of active file handles */ member in struct:DBusServerSocket
68 for (i = 0 ; i < socket_server->n_fds ; i++)
173 for (i = 0 ; i < socket_server->n_fds ; i++)
231 for (i = 0 ; i < socket_server->n_fds ; i++)
273 * @param n_fds number of file descriptors
281 int n_fds,
295 socket_server->fds = dbus_new (int, n_fds);
299 socket_server->watch = dbus_new0 (DBusWatch *, n_fds);
303 for (i = 0 ; i < n_fds ; i++)
315 socket_server->n_fds++
    [all...]
dbus-message-internal.h 55 unsigned *n_fds);
81 unsigned n_fds);
dbus-sysdeps.h 150 int *n_fds);
156 int n_fds);
165 int n_fds);
307 int n_fds,
dbus-sysdeps-unix.c 262 * @param n_fds on input space in fds array, on output how many fds actually got read
270 int *n_fds) {
277 *n_fds = 0;
287 _dbus_assert (*n_fds >= 0);
309 m.msg_controllen = CMSG_SPACE(*n_fds * sizeof(int));
357 _dbus_assert(cm->cmsg_len <= CMSG_LEN(*n_fds * sizeof(int)));
358 *n_fds = (cm->cmsg_len - CMSG_LEN(0)) / sizeof(int);
360 memcpy(fds, CMSG_DATA(cm), *n_fds * sizeof(int));
366 for (i = 0; i < *n_fds; i++)
373 *n_fds = 0
    [all...]
dbus-transport-socket.c 787 int *fds, n_fds; local
789 if (!_dbus_message_loader_get_unix_fds(transport->loader, &fds, &n_fds))
800 fds, &n_fds);
802 if (bytes_read >= 0 && n_fds > 0)
803 _dbus_verbose("Read %i unix fds\n", n_fds);
805 _dbus_message_loader_return_unix_fds(transport->loader, fds, bytes_read < 0 ? 0 : n_fds);
    [all...]
dbus-sysdeps-win.c 917 * @param n_fds number of descriptors in the array
923 int n_fds,
942 if (n_fds > DBUS_STACK_WSAEVENTS)
943 pEvents = calloc(sizeof(WSAEVENT), n_fds);
951 for (i = 0; i < n_fds; i++)
975 for (i = 0; i < n_fds; i++)
995 ready = WSAWaitForMultipleEvents (n_fds, pEvents, FALSE, timeout_milliseconds, FALSE);
1009 else if (ready >= WSA_WAIT_EVENT_0 && ready < (int)(WSA_WAIT_EVENT_0 + n_fds))
1014 for (i = 0; i < n_fds; i++)
1058 for(i = 0; i < n_fds; i++
    [all...]
dbus-message.c 224 * @param n_fds return number of entries in array
228 unsigned *n_fds)
234 *n_fds = message->n_unix_fds;
237 *n_fds = 0;
594 close_unix_fds(int *fds, unsigned *n_fds)
599 if (*n_fds <= 0)
604 for (i = 0; i < *n_fds; i++)
613 *n_fds = 0;
    [all...]
dbus-mainloop.c 678 _dbus_verbose (" polling on %d descriptors timeout %ld\n", n_fds, timeout);
  /frameworks/base/services/core/jni/
com_android_server_AlarmManagerService.cpp 62 AlarmImpl(int *fds, size_t n_fds);
71 size_t n_fds; member in class:android::AlarmImpl
100 AlarmImpl::AlarmImpl(int *fds_, size_t n_fds) : fds(new int[n_fds]),
101 n_fds(n_fds)
103 memcpy(fds, fds_, n_fds * sizeof(fds[0]));
108 for (size_t i = 0; i < n_fds; i++) {
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jar 

Completed in 402 milliseconds