Lines Matching refs:FileContents
593 class FileContents {
595 DISALLOW_COPY_AND_ASSIGN_ALLOW_MOVE(FileContents);
596 FileContents() = default;
600 FileContents(const zbi_bootfs_dirent_t& entry,
611 FileContents(const char* buffer, bool null_terminate) :
616 FileContents(FileContents&& other) {
620 FileContents& operator=(FileContents&& other) {
628 ~FileContents() {
637 static FileContents Map(const fbl::unique_fd& fd,
660 FileContents result;
782 FileContents file;
793 ManifestInputFileGenerator(FileContents file, std::string prefix,
828 auto file = FileContents::Map(fd, st, source.c_str());
837 FileContents file_;
891 auto file = FileContents::Map(std::move(fd), st,
1092 void OwnFile(FileContents file) {
1126 FileContents file, uint32_t type, bool compress) {
1163 static ItemPtr CreateFromItem(const FileContents& file,
1305 // The generator consumes the Item. The FileContents it generates
1307 // alive as long as any of those FileContents is alive.
1387 std::forward_list<FileContents> files_;
1636 value->file = FileContents(*dir_, item_->payload_data());
1651 bool ImportFile(const FileContents& file, const char* filename,
1953 new ManifestInputFileGenerator(FileContents(optarg, false),
1962 FileContents(optarg, input_type == ZBI_TYPE_CMDLINE),
1993 auto file = FileContents::Map(std::move(fd), st, optarg);