Lines Matching refs:items

336     void Summary(const char* verbed, const char* items, bool verbose) {
339 fprintf(stderr, "no %s\n", items);
342 fprintf(stderr, "no matching %s\n", items);
346 verbed, names_matched(), names_checked(), items);
986 Extracted items use the file names shown below:\n\
1088 // and items earlier on the list can hold pointers into the buffer.
1351 const ItemList& items) {
1358 for (const auto& item : items) {
1361 // the items alive past then.
1385 // The payload_ items might point into these buffers. They're just
1652 ItemList* items) {
1676 items->push_back(std::move(item));
1684 const char* IncompleteImage(const ItemList& items, const uint32_t image_arch) {
1685 if (!ZBI_IS_KERNEL_BOOTITEM(items.front()->type())) {
1689 if (items.front()->type() != image_arch &&
1695 std::count_if(items.begin(), items.end(),
1703 return "multiple BOOTFS items";
1716 {"extract-items", no_argument, nullptr, 'X'},
1738 --extract-items, -X extract items as pseudo-files (see below)\n\
1747 file and the `--output` FILE, to append more items.\n\
1753 --type=TYPE, -T TYPE input files are TYPE items (see below)\n\
1781 The BOOTFS image contains all files from BOOTFS items in ZBI input files,\n\
1794 With `--extract-items` or `-X`, instead of BOOTFS files the names are\n\
1795 synthesized as shown below, numbered in the order items appear in the input\n\
1825 ItemList items;
1842 if (!items.empty()) {
1859 if (!items.empty()) {
1960 items.push_back(
1996 if (ImportFile(file, optarg, &items)) {
1998 // the file buffer, so it lives until all earlier items are
2000 items.back()->OwnFile(std::move(file));
2011 items.push_back(Item::CreateFromFile(std::move(file),
2032 // Don't merge incoming items when only listing or extracting.
2039 // If there are multiple BOOTFS input items, or any BOOTFS items when
2045 std::count_if(items.begin(), items.end(), is_bootfs)) > 1));
2048 for (auto& item : items) {
2061 // Merge multiple CMDLINE input items with spaces in between.
2063 for (auto& item : items) {
2078 // since it might have owned files used by other items.
2087 items.push_back(Item::CreateFromBuffer(ZBI_TYPE_CMDLINE,
2093 items.erase(std::remove(items.begin(), items.end(), nullptr), items.end());
2097 items.push_back(
2103 if (items.empty()) {
2108 items.back()->TakeOwned(std::move(keepalive));
2115 items.begin(), items.end(),
2128 const char* incomplete = IncompleteImage(items, complete_arch);
2140 const char* incomplete = IncompleteImage(items, complete_arch);
2151 for (auto& item : items) {
2180 Item::WriteZBI(&writer, "boot.zbi", items);
2184 extract_items ? "boot items" : "BOOTFS files",