Lines Matching defs:fd
95 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(last_command_file.c_str(), O_RDONLY))); in ParseLastCommandFile() local
195 static bool discard_blocks(int fd, off64_t offset, uint64_t size, bool force = false) { in discard_blocks()
213 static bool check_lseek(int fd, off64_t offset, int whence) { in check_lseek()
235 RangeSinkWriter(int fd, const RangeSet& tgt) in RangeSinkWriter()
482 static int ReadBlocks(const RangeSet& src, std::vector<uint8_t>* buffer, int fd) { in ReadBlocks()
502 static int WriteBlocks(const RangeSet& tgt, const std::vector<uint8_t>& buffer, int fd) { in WriteBlocks()
537 android::base::unique_fd fd; member
637 static void PrintHashForMissingStashedBlocks(const std::string& id, int fd) { in PrintHashForMissingStashedBlocks()
777 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(fn.c_str(), O_RDONLY))); in LoadStash() local
841 android::base::unique_fd fd( in WriteStash() local
2098 android::base::unique_fd fd(open(block_device_path.c_str(), O_RDWR)); in RangeSha1Fn() local
2169 android::base::unique_fd fd(open(block_device_path.c_str(), O_RDONLY)); in CheckFirstBlockFn() local