Lines Matching refs:img_name
184 static std::string find_item_given_name(const std::string& img_name) { in find_item_given_name() argument
189 return std::string(dir) + "/" + img_name; in find_item_given_name()
195 return find_item_given_name(images[i].img_name); in find_item()
1598 std::string img_name; in ParseFlashCommand() local
1606 } else if (img_name.empty()) { in ParseFlashCommand()
1607 img_name = part; in ParseFlashCommand()
1619 if (img_name.empty()) { in ParseFlashCommand()
1620 img_name = partition + ".img"; in ParseFlashCommand()
1622 return std::make_unique<FlashTask>(slot, partition, img_name, apply_vbmeta, fp); in ParseFlashCommand()
1917 unique_fd fd = fp_->source->OpenFile(image->img_name); in AddFlashTasks()
1922 die("could not load '%s': %s", image->img_name.c_str(), strerror(errno)); in AddFlashTasks()
1924 tasks.emplace_back(std::make_unique<FlashTask>(slot, image->part_name, image->img_name, in AddFlashTasks()