Lines Matching refs:command_line
126 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); in ScheduleCommand() local
127 const auto& args = command_line->GetArgs(); in ScheduleCommand()
128 if (command_line->HasSwitch("help") || command_line->HasSwitch("h") || in ScheduleCommand()
135 command_line->GetSwitchValueASCII("label"), in ScheduleCommand()
136 command_line->GetSwitchValueASCII("user")); in ScheduleCommand()
138 std::string usage_str = command_line->GetSwitchValueASCII("usage"); in ScheduleCommand()
149 command_line->GetSwitchValueASCII("label"), in ScheduleCommand()
150 command_line->GetSwitchValueASCII("user"), usage); in ScheduleCommand()
153 command_line->GetSwitchValueASCII("label"), in ScheduleCommand()
154 command_line->GetSwitchValueASCII("user")); in ScheduleCommand()
162 if (!command_line->HasSwitch("input")) { in ScheduleCommand()
166 base::FilePath filename(command_line->GetSwitchValueASCII("input")); in ScheduleCommand()
174 if (!command_line->HasSwitch("input") || in ScheduleCommand()
175 !command_line->HasSwitch("output")) { in ScheduleCommand()
179 base::FilePath filename(command_line->GetSwitchValueASCII("input")); in ScheduleCommand()
187 if (!command_line->HasSwitch("input") || in ScheduleCommand()
188 !command_line->HasSwitch("output")) { in ScheduleCommand()
192 base::FilePath filename(command_line->GetSwitchValueASCII("input")); in ScheduleCommand()
198 command_line->GetSwitchValueASCII("label"), in ScheduleCommand()
199 command_line->GetSwitchValueASCII("user"), input); in ScheduleCommand()
201 if (!command_line->HasSwitch("input")) { in ScheduleCommand()
205 base::FilePath filename(command_line->GetSwitchValueASCII("input")); in ScheduleCommand()
211 command_line->GetSwitchValueASCII("label"), in ScheduleCommand()
212 command_line->GetSwitchValueASCII("user"), input); in ScheduleCommand()
214 if (!command_line->HasSwitch("input")) { in ScheduleCommand()
218 base::FilePath filename(command_line->GetSwitchValueASCII("input")); in ScheduleCommand()
224 command_line->GetSwitchValueASCII("label"), in ScheduleCommand()
225 command_line->GetSwitchValueASCII("user"), input); in ScheduleCommand()
227 if (!command_line->HasSwitch("input") || in ScheduleCommand()
228 !command_line->HasSwitch("signature")) { in ScheduleCommand()
232 base::FilePath filename(command_line->GetSwitchValueASCII("input")); in ScheduleCommand()
238 base::FilePath filename2(command_line->GetSwitchValueASCII("signature")); in ScheduleCommand()
245 command_line->GetSwitchValueASCII("label"), in ScheduleCommand()
246 command_line->GetSwitchValueASCII("user"), input, signature); in ScheduleCommand()
249 command_line->GetSwitchValueASCII("label"), in ScheduleCommand()
250 command_line->GetSwitchValueASCII("user")); in ScheduleCommand()