Lines Matching refs:cmd
114 std::vector<std::string> cmd; in Check() local
115 cmd.push_back(kFsckPath); in Check()
116 cmd.push_back("-y"); in Check()
117 cmd.push_back(c_source); in Check()
120 return ForkExecvp(cmd, nullptr, sFsckContext); in Check()
152 std::vector<std::string> cmd; in Resize() local
153 cmd.push_back(kResizefsPath); in Resize()
154 cmd.push_back("-f"); in Resize()
155 cmd.push_back(source); in Resize()
156 cmd.push_back(StringPrintf("%lu", numSectors)); in Resize()
158 return ForkExecvp(cmd); in Resize()
162 std::vector<std::string> cmd; in Format() local
163 cmd.push_back(kMkfsPath); in Format()
165 cmd.push_back("-b"); in Format()
166 cmd.push_back("4096"); in Format()
168 cmd.push_back("-t"); in Format()
169 cmd.push_back("ext4"); in Format()
171 cmd.push_back("-M"); in Format()
172 cmd.push_back(target); in Format()
179 cmd.push_back("-I"); in Format()
180 cmd.push_back("512"); in Format()
194 cmd.push_back("-O"); in Format()
195 cmd.push_back(options); in Format()
198 cmd.push_back("-E"); in Format()
202 cmd.push_back(extopts); in Format()
205 cmd.push_back(source); in Format()
208 cmd.push_back(StringPrintf("%lu", numSectors * (4096 / 512))); in Format()
211 return ForkExecvp(cmd); in Format()