Lines Matching defs:fd
67 static inline int32_t read_int32(borrowed_fd fd) { in read_int32()
72 static inline int32_t skip_int(borrowed_fd fd) { in skip_int()
76 static inline void append_int(borrowed_fd fd, std::vector<char>* bytes) { in append_int()
83 static inline bool append_bytes_with_size(borrowed_fd fd, std::vector<char>* bytes, in append_bytes_with_size()
104 static inline int32_t skip_bytes_with_size(borrowed_fd fd) { in skip_bytes_with_size()
113 std::pair<std::vector<char>, int32_t> read_id_sig_headers(borrowed_fd fd) { in read_id_sig_headers()
127 std::pair<off64_t, ssize_t> skip_id_sig_headers(borrowed_fd fd) { in skip_id_sig_headers()
137 static T valueAt(borrowed_fd fd, off64_t offset) { in valueAt()
165 static off64_t CentralDirOffset(borrowed_fd fd, Size fileSize) { in CentralDirOffset()
200 static off64_t SignerBlockOffset(borrowed_fd fd, Size fileSize) { in SignerBlockOffset()
257 [[maybe_unused]] static ZipArchiveHandle openZipArchiveFd(borrowed_fd fd) { in openZipArchiveFd()
299 borrowed_fd fd, Size fileSize) { in openZipArchive()
319 static std::vector<int32_t> InstallationPriorityBlocks(borrowed_fd fd, Size fileSize) { in InstallationPriorityBlocks()
373 std::vector<int32_t> PriorityBlocksForFile(const std::string& filepath, borrowed_fd fd, in PriorityBlocksForFile()