Lines Matching defs:argv
103 main(int argc, char **argv)
105 std::string prog_name(argv[0]);
125 const std::string config_file(argv[arg_ptr]);
148 std::string option(argv[arg_ptr]);
155 config_manager->setParam(argv[arg_ptr], argv[arg_ptr + 1],
156 argv[arg_ptr + 2]);
163 tokenize(values, argv[arg_ptr + 2], ',');
164 config_manager->setParamVector(argv[arg_ptr],
165 argv[arg_ptr + 1], values);
170 if (argv[arg_ptr][0] == '-')
171 clearDebugFlag(argv[arg_ptr] + 1);
173 setDebugFlag(argv[arg_ptr]);
178 checkpoint_dir = argv[arg_ptr];
184 checkpoint_dir = argv[arg_ptr];
185 std::istringstream(argv[arg_ptr + 1]) >> pre_run_time;
192 from_cpu = argv[arg_ptr];
193 to_cpu = argv[arg_ptr + 1];
194 std::istringstream(argv[arg_ptr + 2]) >> pre_switch_time;