/external/chromium/base/ |
process_util_unittest.cc | 83 // libraries closing the fds, child deadlocking). This is a simple 399 // This child process counts the number of open FDs, it then writes that 424 int fds[2]; local 425 if (pipe(fds) < 0) 429 fd_mapping_vec.push_back(std::pair<int, int>(fds[1], kChildPipe)); 433 int ret = HANDLE_EINTR(close(fds[1])); 439 HANDLE_EINTR(read(fds[0], &num_open_files, sizeof(num_open_files))); 444 ret = HANDLE_EINTR(close(fds[0])); 453 // open some dummy fds to make sure they don't propagate over to the 483 int fds[2] local [all...] |
/external/dbus/dbus/ |
dbus-mainloop.c | 524 DBusPollFD *fds; local 539 fds = NULL; 555 fds = dbus_new0 (DBusPollFD, loop->watch_count); 557 while (fds == NULL) 560 fds = dbus_new0 (DBusPollFD, loop->watch_count); 572 fds = stack_fds; 576 /* fill our array of fds and watches */ 613 fds[n_fds].fd = dbus_watch_get_socket (wcb->watch); 614 fds[n_fds].revents = 0; 615 fds[n_fds].events = 0 [all...] |
dbus-spawn.c | 532 DBusPollFD fds[2]; local 542 fds[i].fd = sitter->error_pipe_from_child; 543 fds[i].events = _DBUS_POLLIN; 544 fds[i].revents = 0; 550 fds[i].fd = sitter->socket_to_babysitter; 551 fds[i].events = _DBUS_POLLIN; 552 fds[i].revents = 0; 562 ret = _dbus_poll (fds, i, 0); 570 ret = _dbus_poll (fds, i, -1); 582 if (fds[i].fd == sitter->error_pipe_from_child [all...] |
dbus-message.c | 168 * Gets the unix fds to be sent over the network for this message. 173 * @param fds return location of unix fd array 177 const int **fds, 183 *fds = message->unix_fds; 186 *fds = NULL; 213 * Adds a counter to be incremented immediately with the size/unix fds 214 * of this message, and decremented by the size/unix fds of this 259 * Adds a counter to be incremented immediately with the size/unix fds 260 * of this message, and decremented by the size/unix fds of this 284 * Removes a counter tracking the size/unix fds of this message, an 2524 int *fds; local [all...] |
dbus-sysdeps-unix.c | 234 * Like _dbus_read_socket() but also tries to read unix fds from the 235 * socket. When there are more fds to read than space in the array 241 * @param fds array to place read file descriptors in 242 * @param n_fds on input space in fds array, on output how many fds actually got read 249 int *fds, 287 caller knows. Hence let's make space for the number of fds that 323 thing is that we might have completely lost a couple of fds 340 memcpy(fds, CMSG_DATA(cm), *n_fds * sizeof(int)); 347 _dbus_fd_set_close_on_exec(fds[i]) 2938 int fds[2]; local [all...] |
/external/emma/core/java12/com/vladium/jcd/cls/ |
ClassDef.java | 334 final FieldDescriptor [] fds = new FieldDescriptor [fields.size ()]; local 337 for (int f = 0, fLimit = fds.length; f < fLimit; ++ f) 344 fds [fcount ++] = new FieldDescriptor (field.getName (this), modifiers, field.getDescriptor (this)); 349 Arrays.sort (fds, 0, fcount); 352 final FieldDescriptor fd = fds [i];
|
/external/strace/ |
net.c | 1105 int *fds = (int *) CMSG_DATA (cmsg); local 1109 while ((char *) fds < ((char *) cmsg + cmsg_len)) { 1112 tprintf("%d", *fds++); 1452 int fds[2]; local 1459 if (umoven(tcp, tcp->u_arg[0], sizeof fds, (char *) fds) < 0) 1462 tprintf("[%u, %u]", fds[0], fds[1]); 1476 int fds[2]; local 1506 if (umoven(tcp, tcp->u_arg[3], sizeof fds, (char *) fds) < 0 [all...] |
/frameworks/base/core/java/android/content/ |
ContentProvider.java | 877 final ParcelFileDescriptor[] fds = ParcelFileDescriptor.createPipe(); local [all...] |
/system/core/adb/ |
commandline.c | 280 int *fds = (int*) x; local 281 fd = fds[0]; 282 fdi = fds[1]; 283 free(fds); 330 int *fds; local 339 fds = malloc(sizeof(int) * 2); 340 fds[0] = fd; 341 fds[1] = fdi; 346 adb_thread_create(&thr, stdin_read_thread, fds); [all...] |
/development/tools/emulator/opengl/tests/event_injector/ |
sockets.c | 1430 int fds[2]; local 1431 int ret = socketpair(AF_UNIX, SOCK_STREAM, 0, fds); 1434 socket_set_nonblock(fds[0]); 1435 socket_set_nonblock(fds[1]); 1436 *fd1 = fds[0]; 1437 *fd2 = fds[1]; [all...] |
/external/bluetooth/bluez/audio/ |
pcm_bluetooth.c | 171 struct pollfd fds[2]; local 177 fds[0] = data->server; 178 fds[1] = data->stream; 237 ret = poll(fds, 2, poll_timeout); 246 ret = (fds[0].revents) ? 0 : 1; 247 SNDERR("poll fd %d revents %d", ret, fds[ret].revents); 248 if (fds[ret].revents & (POLLERR | POLLHUP | POLLNVAL)) [all...] |
/external/dhcpcd/ |
client.c | 752 struct pollfd fds[4]; /* signal, link, raw, arp */ local 764 fds[nfds].fd = state->signal_fd; 765 fds[nfds].events = POLLIN; 769 fds[nfds].fd = iface->link_fd; 770 fds[nfds].events = POLLIN; 793 fds[nfds].fd = iface->raw_fd; 794 fds[nfds].events = POLLIN; 798 fds[nfds].fd = iface->arp_fd; 799 fds[nfds].events = POLLIN; 823 r = poll(fds, nfds, msecs) [all...] |
/external/grub/grub/ |
asmstub.c | 1016 fd_set fds; local 1021 FD_ZERO (&fds); 1022 FD_SET (serial_fd, &fds); 1027 if (select (serial_fd + 1, &fds, 0, 0, &to) > 0)
|
/external/qemu/ |
sockets.c | 1443 int fds[2] local [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
ZygoteInit.java | 606 ArrayList<FileDescriptor> fds = new ArrayList(); local 610 fds.add(sServerSocket.getFileDescriptor()); 635 fdArray = fds.toArray(fdArray); 646 fds.add(newPeer.getFileDesciptor()); 653 fds.remove(index); 742 * @param fds non-null; array of readable file descriptors 746 static native int selectReadable(FileDescriptor[] fds) throws IOException;
|
/frameworks/base/libs/binder/ |
Parcel.cpp | 436 // officially know we have fds. 795 int* fds = NULL; local 797 fds = new int[fd_count]; 800 err = val.flatten(buf, len, fds, fd_count); 802 err = this->writeDupFileDescriptor( fds[i] ); 806 delete [] fds; 1135 int* fds = NULL; local 1137 fds = new int[fd_count]; 1142 fds[i] = dup(this->readFileDescriptor()); 1143 if (fds[i] < 0) err = BAD_VALUE [all...] |
/external/bluetooth/glib/glib/ |
gmain.c | 241 GPollFD *fds, 2384 GPollFD *fds = NULL; local [all...] |
gtestutils.c | 1630 fd_set fds; local [all...] |
/external/openssl/apps/ |
speed.c | 2607 int *fds; local [all...] |
/external/valgrind/main/coregrind/m_syswrap/ |
syswrap-generic.c | 916 Int *fds = (Int *) VKI_CMSG_DATA(cm); local 923 // XXX: must we check the range on these fds with 925 ML_(record_fd_open_named)(tid, fds[i]); [all...] |
/hardware/qcom/media/mm-video/vidc/vdec/src/ |
omx_vdec.cpp | 809 int fds[2]; local [all...] |
/libcore/luni/src/main/native/ |
libcore_io_Posix.cpp | 868 int fds[2]; local [all...] |
/hardware/ti/omap4xxx/hwc/ |
hwc.c | 1772 struct pollfd fds[2]; local [all...] |
/external/emma/lib/ |
emma.jar | |
/prebuilt/linux-x86/swt/ |
swt.jar | |