Searched refs:unzip_fd (Results 1 – 1 of 1) sorted by relevance
417 unique_fd unzip_fd; in OpenSourceImage() local427 unzip_fd.reset(tmp.release()); in OpenSourceImage()435 if (ExtractEntryToFile(source_tf_zip_.get(), &entry, unzip_fd.get())) { in OpenSourceImage()439 if (lseek(unzip_fd.get(), 0, SEEK_SET) < 0) { in OpenSourceImage()444 unzip_fd.reset(openat(source_tf_fd_.get(), local_path.c_str(), O_RDONLY)); in OpenSourceImage()445 if (unzip_fd < 0) { in OpenSourceImage()455 sparse_file_import(unzip_fd.get(), false, false), &sparse_file_destroy); in OpenSourceImage()468 source_image_ = std::move(unzip_fd); in OpenSourceImage()