Lines Matching defs:fd
90 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(last_command_file.c_str(), O_RDONLY))); in ParseLastCommandFile() local
190 static bool discard_blocks(int fd, off64_t offset, uint64_t size, bool force = false) { in discard_blocks()
208 static bool check_lseek(int fd, off64_t offset, int whence) { in check_lseek()
230 RangeSinkWriter(int fd, const RangeSet& tgt) in RangeSinkWriter()
477 static int ReadBlocks(const RangeSet& src, std::vector<uint8_t>* buffer, int fd) { in ReadBlocks()
497 static int WriteBlocks(const RangeSet& tgt, const std::vector<uint8_t>& buffer, int fd) { in WriteBlocks()
532 android::base::unique_fd fd; member
632 static void PrintHashForMissingStashedBlocks(const std::string& id, int fd) { in PrintHashForMissingStashedBlocks()
772 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(fn.c_str(), O_RDONLY))); in LoadStash() local
836 android::base::unique_fd fd( in WriteStash() local
2082 android::base::unique_fd fd(open(blockdev_filename->data.c_str(), O_RDWR)); in RangeSha1Fn() local
2146 android::base::unique_fd fd(open(arg_filename->data.c_str(), O_RDONLY)); in CheckFirstBlockFn() local