Lines Matching refs:fbl
8 zx_status_t SparseReader::Create(fbl::unique_fd fd, fbl::unique_ptr<SparseReader>* out) {
9 fbl::AllocChecker ac;
10 fbl::unique_ptr<SparseReader> reader(new (&ac) SparseReader(fbl::move(fd)));
20 *out = fbl::move(reader);
24 SparseReader::SparseReader(fbl::unique_fd fd) : compressed_(false), fd_(fbl::move(fd)) {}
43 fbl::AllocChecker ac;
76 fbl::unique_ptr<uint8_t[]> inbufptr(new (&ac) uint8_t[src_sz]);
124 fbl::AllocChecker ac;
203 size_t cp = fbl::min(length - total_size, static_cast<size_t>(out_buf_.size));
254 zx_status_t SparseReader::WriteDecompressed(fbl::unique_fd outfd) {
303 fbl::unique_fd infd, outfd, testfd;
318 fbl::unique_ptr<SparseReader> reader;
319 if ((status = SparseReader::Create(fbl::move(infd), &reader))) {
323 return reader->WriteDecompressed(fbl::move(outfd));