• Home
  • Raw
  • Download

Lines Matching refs:cur_arg

436     const std::string& cur_arg = args[cur_idx];  in ParseCommandLine()  local
437 if (cur_arg == "--show-config") { in ParseCommandLine()
439 } else if (cur_arg == "--send-events") { in ParseCommandLine()
441 } else if (cur_arg == "--ppm") { in ParseCommandLine()
447 } else if (cur_arg == "--png") { in ParseCommandLine()
453 } else if (cur_arg == "--txt") { in ParseCommandLine()
460 } else if (cur_arg == "--skp") { in ParseCommandLine()
467 } else if (cur_arg.size() > 11 && in ParseCommandLine()
468 cur_arg.compare(0, 11, "--font-dir=") == 0) { in ParseCommandLine()
473 options->font_directory = cur_arg.substr(11); in ParseCommandLine()
475 } else if (cur_arg == "--emf") { in ParseCommandLine()
481 } else if (cur_arg == "--bmp") { in ParseCommandLine()
491 } else if (cur_arg.size() > 10 && in ParseCommandLine()
492 cur_arg.compare(0, 10, "--bin-dir=") == 0) { in ParseCommandLine()
497 options->bin_directory = cur_arg.substr(10); in ParseCommandLine()
501 } else if (cur_arg.size() > 8 && cur_arg.compare(0, 8, "--scale=") == 0) { in ParseCommandLine()
506 options->scale_factor_as_string = cur_arg.substr(8); in ParseCommandLine()
507 } else if (cur_arg.size() > 8 && cur_arg.compare(0, 8, "--pages=") == 0) { in ParseCommandLine()
513 const std::string pages_string = cur_arg.substr(8); in ParseCommandLine()
524 } else if (cur_arg == "--md5") { in ParseCommandLine()
526 } else if (cur_arg.size() >= 2 && cur_arg[0] == '-' && cur_arg[1] == '-') { in ParseCommandLine()
527 fprintf(stderr, "Unrecognized argument %s\n", cur_arg.c_str()); in ParseCommandLine()