Lines Matching refs:args
34 std::vector<char*> ToCStringArray(std::vector<std::string>* args) { in ToCStringArray() argument
36 ret.reserve(args->size() + 1); in ToCStringArray()
37 for (auto& arg : *args) { in ToCStringArray()
46 android::base::Result<void> Exec(std::vector<std::string>* args, in Exec() argument
50 return ErrnoError() << "Unable to execute `" << Join(*args, " ") in Exec()
56 auto c_args = ToCStringArray(args); in Exec()
60 PLOG(FATAL) << "Unable to execute `" << Join(*args, " ") in Exec()
66 return ErrnoError() << "Unable to execute `" << Join(*args, " ") in Exec()
69 return Error() << "Unable to execute `" << Join(*args, " ") in Exec()
72 return Error() << "Unable to execute `" << Join(*args, " ") in Exec()
82 std::vector<std::string> args{"cpio", "-i", "-F", archive_path.data()}; in CpioExtract() local
85 auto res = Exec(&args, extracted_ramdisk->path); in CpioExtract()