Lines Matching defs:source
2 * Copyright (C) 2009 The Android Open Source Project
67 auto source = Partition::Parse(source_emmc, &err);
68 if (!source) {
69 LOG(ERROR) << "Failed to parse source \"" << source_emmc << "\": " << err;
90 return PatchPartition(target, source, patch, bonus.get()) ? 0 : 1;
99 " applypatch --flash <source-file>\n"
105 " --source EMMC:<source-file>:<source-size>:<source-sha1>\n\n"
119 { "source", required_argument, nullptr, 0 },
126 std::string source;
149 source = optarg;
156 } else if (option == "source") {
157 source = optarg;
179 return FlashMode(target, source);
182 return PatchMode(target, source, patch, bonus);