Lines Matching refs:target
40 auto target = Partition::Parse(target_emmc, &err); in CheckMode() local
41 if (!target) { in CheckMode()
45 return CheckPartition(target) ? 0 : 1; in CheckMode()
50 auto target = Partition::Parse(target_emmc, &err); in FlashMode() local
51 if (!target) { in FlashMode()
55 return FlashPartition(target, source_file) ? 0 : 1; in FlashMode()
61 auto target = Partition::Parse(target_emmc, &err); in PatchMode() local
62 if (!target) { in PatchMode()
90 return PatchPartition(target, source, patch, bonus.get()) ? 0 : 1; in PatchMode()
127 std::string target; in applypatch_modes() local
159 target = optarg; in applypatch_modes()
179 return FlashMode(target, source); in applypatch_modes()
182 return PatchMode(target, source, patch, bonus); in applypatch_modes()