Lines Matching refs:Item
93 class Item;
94 using ItemPtr = std::unique_ptr<Item>;
941 class Item {
943 // Only the static methods below can create an Item.
944 Item() = delete;
946 DISALLOW_COPY_AND_ASSIGN_ALLOW_MOVE(Item);
1073 // have pointers into buffers owned by this Item, so this Item must be
1087 // The buffer will be released when this Item is destroyed. This item
1096 // Consume another Item while keeping its owned buffers and files alive.
1184 static ItemPtr CreateFromCompressed(const Item& compressed) {
1305 // The generator consumes the Item. The FileContents it generates
1306 // point into the Item's storage, so the generator must be kept
1318 WriteZBI(writer, name, (Item*const[]){this});
1359 // The OutputStream stores pointers into Item buffers in its write
1424 Item(const zbi_header_t& header, bool compress) :
1434 return ItemPtr(new Item(header, compress));
1550 static int Create(Item* item, BootFSDirectoryIterator* it) {
1647 constexpr decltype(Item::kItemTypes_) Item::kItemTypes_;
1674 auto item = Item::CreateFromItem(file, pos);
1805 Item::PrintTypeUsage(stderr);
1872 if (Item::ParseTypeName(optarg, &input_type)) {
1961 Item::CreateFromFile(
2011 items.push_back(Item::CreateFromFile(std::move(file),
2054 bootfs_input.push_back(Item::ReadBootFS(std::move(old)));
2087 items.push_back(Item::CreateFromBuffer(ZBI_TYPE_CMDLINE,
2098 Item::CreateBootFS(&opener, bootfs_input, [&](const char* name) {
2166 auto generator = Item::ReadBootFS(std::move(item));
2180 Item::WriteZBI(&writer, "boot.zbi", items);