Lines Matching refs:image_path
108 uint32_t attributes, const std::string& image_path);
161 uint32_t attributes, const std::string& image_path) { in AddPartition() argument
162 if (!image_path.empty() && was_empty_) { in AddPartition()
179 if (!image_path.empty()) { in AddPartition()
180 raw_image_fd.reset(open(image_path.c_str(), O_RDONLY | O_CLOEXEC)); in AddPartition()
182 std::cerr << "open failed: " << image_path << ": " << strerror(errno) << "\n"; in AddPartition()
185 if (!MaybeUnsparse(image_path, raw_image_fd, &temp_image)) { in AddPartition()
192 std::cerr << "lseek failed: " << image_path << ": " << strerror(errno) << "\n"; in AddPartition()
452 std::string image_path; in main() local
455 image_path = argv[optind++]; in main()
474 if (!super.AddPartition(partition_name, group_name, attributes, image_path)) { in main()