Home
last modified time | relevance | path

Searched refs:close (Results 1 – 22 of 22) sorted by relevance

/bootable/recovery/minadbd/
Dfuse_adb_provider_test.cpp70 close(sockets[0]); in TEST()
71 close(sockets[1]); in TEST()
81 ASSERT_EQ(0, close(sockets[1])); in TEST()
87 close(sockets[0]); in TEST()
Dfuse_adb_provider.cpp58 vtab.close = close_adb; in run_adb_fuse()
/bootable/recovery/minui/
Devents.cpp77 close(fd); in ev_init()
83 close(fd); in ev_init()
91 close(fd); in ev_init()
108 close(g_epoll_fd); in ev_init()
142 close(ev_fdinfo[--ev_count].fd); in ev_exit()
146 close(g_epoll_fd); in ev_exit()
Dgraphics_fbdev.cpp92 close(fd); in fbdev_init()
98 close(fd); in fbdev_init()
126 close(fd); in fbdev_init()
205 close(fb_fd); in fbdev_exit()
Dgraphics_adf.cpp70 close(surf->fd); in adf_surface_init()
130 close(pdata->intf_fd); in adf_device_init()
205 close(fence_fd); in adf_flip()
221 close(surf->fd); in adf_surface_destroy()
232 close(pdata->intf_fd); in adf_exit()
Dgraphics_drm.cpp372 close(drm_fd); in drm_init()
378 close(drm_fd); in drm_init()
388 close(drm_fd); in drm_init()
403 close(drm_fd); in drm_init()
413 close(drm_fd); in drm_init()
433 close(drm_fd); in drm_init()
463 close(drm_fd); in drm_exit()
/bootable/recovery/uncrypt/
Duncrypt.cpp315 close(fd); in produce_block_map()
321 close(wfd); in produce_block_map()
350 close(fd); in wipe_misc()
353 close(fd); in wipe_misc()
446 close(status_fd); in main()
456 close(status_fd); in main()
461 close(status_fd); in main()
/bootable/recovery/
Dfuse_sideload.h36 void (*close)(void* cookie); member
Dinstall.cpp68 close(fd); in try_update_binary()
137 close(pipefd[0]); in try_update_binary()
142 close(pipefd[1]); in try_update_binary()
Dfuse_sdcard_provider.c60 close(fd->fd); in close_file()
92 vtab.close = close_file; in run_sdcard_fuse()
Dadb_install.cpp48 if (close(fd) < 0) { in set_usb_driver()
Dfuse_sideload.c514 fd.vtab->close(fd.cookie); in run_fuse_sideload()
521 if (fd.ffd) close(fd.ffd); in run_fuse_sideload()
Droots.cpp225 close(fd); in format_volume()
Dui.cpp255 if (close(fd) < 0) { in IsUsbConnected()
/bootable/recovery/tools/ota/
Dcheck-lost+found.c68 if (fd >= 0 && close(fd) == 0) { in main()
82 close(fd); in main()
Dconvert-to-bmp.py77 f.close()
/bootable/recovery/minzip/
DSysUtil.c191 close(fd); in sysMapFile()
195 close(fd); in sysMapFile()
DZip.c997 if (close(fd) != 0) { in mzExtractRecursive()
/bootable/recovery/applypatch/
Dapplypatch.c324 close(fd); in SaveFileContents()
331 if (close(fd) != 0) { in SaveFileContents()
446 if (close(fd) != 0) { in WriteToPartition()
467 close(dc); in WriteToPartition()
518 if (close(fd) != 0) { in WriteToPartition()
982 if (close(output) != 0) { in GenerateTarget()
/bootable/recovery/mtdutils/
Dmtdutils.c112 close(fd); in mtd_scan_partitions()
248 close(fd); in mtd_partition_info()
363 close(ctx->fd); in mtd_read_close()
556 if (close(ctx->fd)) r = -1; in mtd_write_close()
/bootable/recovery/updater/
Dblockimg.c620 close(fd); in LoadStash()
713 close(fd); in WriteStash()
717 close(dfd); in WriteStash()
1754 close(params.fd); in PerformBlockImageUpdate()
1937 close(fd); in RangeSha1Fn()
Dinstall.c1529 close(fd); in WipeBlockDeviceFn()