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

  /external/dbus/bus/
dir-watch-dnotify.c 41 static int num_fds = 0; variable
50 if (num_fds >= MAX_DIRS_TO_WATCH )
70 fds[num_fds++] = fd;
84 for (i = 0; i < num_fds; i++)
92 num_fds = 0;
dir-watch-kqueue.c 48 static int num_fds = 0; variable
167 for (j = 0; j < num_fds; j++)
183 for (j = 0; j < num_fds; j++)
240 num_fds = i;
  /external/libvncserver/examples/
1instance.c 52 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);
  /bionic/tests/
sys_select_test.cpp 95 int num_fds = select(max, &r, &w, &e, NULL); local
99 ASSERT_TRUE(num_fds == 2 || num_fds == 3) << "Num fds returned " << num_fds;
102 if (num_fds == 3) {
153 int num_fds = pselect(max, &r, &w, &e, NULL, &ss); local
154 ASSERT_TRUE(num_fds == 2 || num_fds == 3) << "Num fds returned " << num_fds;
157 if (num_fds == 3)
    [all...]
  /device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
mm_camera_thread.c 121 poll_cb->num_fds = 0;
122 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->pfds[0];
123 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI;
124 poll_cb->num_fds++;
129 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[0].fd;
130 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI;
131 poll_cb->num_fds++;
137 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[i].fd;
138 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI;
139 poll_cb->num_fds++
    [all...]
  /external/autotest/client/tests/hackbench/src/
hackbench.c 104 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+i] = create_worker(snd_ctx, (void *)(void *)sender)
318 unsigned int num_fds = 20; local
    [all...]
  /device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/
mm_camera_thread.c 222 poll_cb->num_fds = 0;
223 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->pfds[0];
224 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI;
225 poll_cb->num_fds++;
228 poll_cb->num_fds < MAX_STREAM_NUM_IN_BUNDLE) {
231 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[0].fd;
232 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI;
233 poll_cb->num_fds++;
236 poll_cb->num_fds <= MAX_STREAM_NUM_IN_BUNDLE) {
240 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[i].fd
    [all...]
  /device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/
mm_camera_thread.c 222 poll_cb->num_fds = 0;
223 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->pfds[0];
224 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI;
225 poll_cb->num_fds++;
228 poll_cb->num_fds < MAX_STREAM_NUM_IN_BUNDLE) {
231 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[0].fd;
232 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI;
233 poll_cb->num_fds++;
236 poll_cb->num_fds <= MAX_STREAM_NUM_IN_BUNDLE) {
240 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[i].fd
    [all...]
  /device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
mm_camera_thread.c 220 poll_cb->num_fds = 0;
221 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->pfds[0];
222 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI;
223 poll_cb->num_fds++;
226 poll_cb->num_fds < MAX_STREAM_NUM_IN_BUNDLE) {
229 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[0].fd;
230 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI;
231 poll_cb->num_fds++;
234 poll_cb->num_fds <= MAX_STREAM_NUM_IN_BUNDLE) {
238 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[i].fd
    [all...]
  /hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
mm_camera_thread.c 223 poll_cb->num_fds = 0;
224 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->pfds[0];
225 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI;
226 poll_cb->num_fds++;
229 poll_cb->num_fds < MAX_STREAM_NUM_IN_BUNDLE) {
232 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[0].fd;
233 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI;
234 poll_cb->num_fds++;
237 poll_cb->num_fds <= MAX_STREAM_NUM_IN_BUNDLE) {
241 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->poll_entries[i].fd
    [all...]
  /hardware/qcom/camera/QCamera2/stack/mm-camera-interface/inc/
mm_camera_sock.h 65 int num_fds);
mm_camera.h 176 uint8_t num_fds; member in struct:__anon32950
  /external/google-breakpad/src/client/linux/crash_generation/
crash_generation_server.cc 237 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)
  /device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/
mm_qcamera_socket.c 622 int num_fds = 0; local
641 num_fds = TUNESERVER_MAX(server_socket, prev_server_socket);
642 CDBG_HIGH("num_fds = %d\n", num_fds);
656 result = select(num_fds + 1, &tsfds, NULL, NULL, NULL);
676 num_fds = TUNESERVER_MAX(num_fds, client_socket);
767 num_fds = TUNESERVER_MAX(num_fds, prev_client_socket);
  /device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/
mm_qcamera_socket.c 622 int num_fds = 0; local
641 num_fds = TUNESERVER_MAX(server_socket, prev_server_socket);
642 CDBG_HIGH("num_fds = %d\n", num_fds);
656 result = select(num_fds + 1, &tsfds, NULL, NULL, NULL);
676 num_fds = TUNESERVER_MAX(num_fds, client_socket);
767 num_fds = TUNESERVER_MAX(num_fds, prev_client_socket);
  /device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
mm_qcamera_socket.c 621 int num_fds = 0; local
640 num_fds = TUNESERVER_MAX(server_socket, prev_server_socket);
641 CDBG_HIGH("num_fds = %d\n", num_fds);
655 result = select(num_fds + 1, &tsfds, NULL, NULL, NULL);
675 num_fds = TUNESERVER_MAX(num_fds, client_socket);
766 num_fds = TUNESERVER_MAX(num_fds, prev_client_socket);
  /hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
mm_qcamera_socket.c 627 int num_fds = 0; local
646 num_fds = TUNESERVER_MAX(server_socket, prev_server_socket);
647 LOGH("num_fds = %d\n", num_fds);
661 result = select(num_fds + 1, &tsfds, NULL, NULL, NULL);
686 num_fds = TUNESERVER_MAX(num_fds, client_socket);
781 num_fds = TUNESERVER_MAX(num_fds, prev_client_socket);
  /device/generic/goldfish/qemud/
qemud.c 336 int num_fds; member in struct:__anon2848
347 l->num_fds = 0;
360 l->num_fds = 0;
373 LoopHook* end = hook + l->num_fds;
395 for (n = 0; n < l->num_fds; n++) {
414 if (l->num_fds >= l->max_fds)
417 hook = l->hooks + l->num_fds;
432 l->num_fds += 1;
512 count = epoll_wait( l->epoll_fd, l->events, l->num_fds, -1 );
533 * and 'events' array, as well as l->num_fds, so be careful *
    [all...]
  /hardware/invensense/6515/libsensors_iio/software/simple_apps/gesture_test/
inv_gesture_test.c 601 void parse_events(struct pollfd pfd[], int num_fds)
605 for (i = 0; i < num_fds; i++) {
  /device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/inc/
mm_camera.h 164 uint8_t num_fds; member in struct:__anon3968
  /device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/inc/
mm_camera.h 164 uint8_t num_fds; member in struct:__anon4879
  /device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/inc/
mm_camera.h 156 uint8_t num_fds; member in struct:__anon6023
  /device/moto/shamu/camera/QCamera/stack/mm-camera-interface/inc/
mm_camera.h 160 uint8_t num_fds; member in struct:__anon5623

Completed in 3992 milliseconds