/external/toybox/toys/other/ |
losetup.c | 64 int lfd = -1, ffd = ffd; local 67 // Open file (ffd) and loop device (lfd) 69 if (file) ffd = xopen(file, TT.openflags); 112 if (ioctl(lfd, LOOP_SET_FD, ffd)) perror_exit("%s=%s", device, file); 130 if (file) close(ffd);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Typeface_Delegate.java | 94 FontFamily_Delegate ffd = mFontFamilies[i]; local 95 if (ffd != null && ffd.isValid()) { 96 Font font = ffd.getFont(weight, isItalic); 98 FontVariant ffdVariant = ffd.getVariant(); 114 if (variant == ffd.getVariant()) {
|
/bootable/recovery/ |
fuse_sideload.c | 74 int ffd; // file descriptor for the fuse socket member in struct:fuse_data 112 res = writev(fd->ffd, vec, 2); 361 if (writev(fd->ffd, vec, vec_used) < 0) { 424 fd.ffd = open("/dev/fuse", O_RDWR); 425 if (fd.ffd < 0) { 435 fd.ffd, fd.uid, fd.gid, block_size); 445 ssize_t len = TEMP_FAILURE_RETRY(read(fd.ffd, request_buffer, sizeof(request_buffer))); 509 TEMP_FAILURE_RETRY(write(fd.ffd, &outhdr, sizeof(outhdr))); 521 if (fd.ffd) close(fd.ffd); [all...] |
/hardware/libhardware/tests/hwc/ |
cnativewindow.c | 53 int ffd; member in struct:CNativeBuffer 131 static int cnw_dequeue_buffer1(aWindow *base, aBuffer **buf, int *ffd) { 141 *ffd = cnb->ffd; 143 cnb->ffd = -1; 144 LOG("<< dequeue buffer %p %d\n", *buf, *ffd); 154 static void set_layer(hwc_layer_1_t *dl, aBuffer *buf, int ffd) { 176 dl->acquireFenceFd = ffd; 180 static void hwc_post(CNativeWindow *win, aBuffer *buf, int ffd) { 195 set_layer(&dl[0], buf, ffd); 264 int ffd = -1; local [all...] |