/external/chromium/base/ |
D | command_line.cc | 23 CommandLine* CommandLine::current_process_commandline_ = NULL; 26 typedef CommandLine::StringType::value_type CharType; 93 bool IsSwitch(const CommandLine::StringType& parameter_string, in IsSwitch() 95 CommandLine::StringType* switch_value) { in IsSwitch() 100 CommandLine::StringType prefix(kSwitchPrefixes[i]); in IsSwitch() 107 CommandLine::StringType switch_native; in IsSwitch() 108 if (equals_position == CommandLine::StringType::npos) { in IsSwitch() 130 CommandLine::CommandLine(NoProgram no_program) { in CommandLine() function in CommandLine 137 CommandLine::CommandLine(const FilePath& program) { in CommandLine() function in CommandLine 150 CommandLine::CommandLine(int argc, const char* const* argv) { in CommandLine() function in CommandLine [all …]
|
D | command_line.h | 28 class BASE_API CommandLine { 43 explicit CommandLine(NoProgram no_program); 46 explicit CommandLine(const FilePath& program); 49 CommandLine(int argc, const char* const* argv); 50 explicit CommandLine(const StringVector& argv); 53 ~CommandLine(); 70 static CommandLine* ForCurrentProcess(); 73 static CommandLine FromString(const std::wstring& command_line); 119 void AppendSwitches(const CommandLine& other); 123 void CopySwitchesFrom(const CommandLine& source, const char* const switches[], [all …]
|
D | command_line_unittest.cc | 25 CommandLine cl = CommandLine::FromString( in TEST() 42 CommandLine cl(arraysize(argv), argv); in TEST() 80 const std::vector<CommandLine::StringType>& args = cl.args(); in TEST() 83 std::vector<CommandLine::StringType>::const_iterator iter = args.begin(); in TEST() 107 CommandLine cl = CommandLine::FromString(L""); in TEST() 111 CommandLine cl(0, NULL); in TEST() 129 CommandLine cl(FilePath(FILE_PATH_LITERAL("Program"))); in TEST() 162 CommandLine cl1(FilePath(FILE_PATH_LITERAL("Program"))); in TEST() 166 CommandLine cl2(CommandLine::NO_PROGRAM); in TEST() 171 CommandLine c1(FilePath(FILE_PATH_LITERAL("Program1"))); in TEST() [all …]
|
/external/clang/unittests/Tooling/ |
D | CompilationDatabaseTest.cpp | 108 ASSERT_EQ(1u, Commands[0].CommandLine.size()); in TEST() 109 EXPECT_EQ(Command1, Commands[0].CommandLine[0]) << ErrorMessage; in TEST() 111 ASSERT_EQ(1u, Commands[1].CommandLine.size()); in TEST() 112 EXPECT_EQ(Command2, Commands[1].CommandLine[0]) << ErrorMessage; in TEST() 209 EXPECT_TRUE(NotFound.CommandLine.empty()) << ErrorMessage; in TEST() 225 ASSERT_EQ(4u, FoundCommand.CommandLine.size()) << ErrorMessage; in TEST() 227 FoundCommand.CommandLine[0]) << ErrorMessage; in TEST() 228 EXPECT_EQ("and", FoundCommand.CommandLine[1]) << ErrorMessage; in TEST() 229 EXPECT_EQ("some", FoundCommand.CommandLine[2]) << ErrorMessage; in TEST() 230 EXPECT_EQ("arguments", FoundCommand.CommandLine[3]) << ErrorMessage; in TEST() [all …]
|
/external/chromium/chrome/browser/prefs/ |
D | command_line_pref_store_unittest.cc | 21 explicit TestCommandLinePrefStore(CommandLine* cl) in TestCommandLinePrefStore() 46 CommandLine cl(CommandLine::NO_PROGRAM); in TEST() 60 CommandLine cl(CommandLine::NO_PROGRAM); in TEST() 70 CommandLine cl(CommandLine::NO_PROGRAM); in TEST() 82 CommandLine cl(CommandLine::NO_PROGRAM); in TEST() 112 CommandLine cl(CommandLine::NO_PROGRAM); in TEST() 132 CommandLine cl2(CommandLine::NO_PROGRAM); in TEST() 143 CommandLine cl1(CommandLine::NO_PROGRAM); in TEST() 150 CommandLine cl2(CommandLine::NO_PROGRAM); in TEST() 156 CommandLine cl3(CommandLine::NO_PROGRAM); in TEST()
|
/external/chromium/chrome/common/ |
D | profiling.cc | 20 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); in GetProfileName() 43 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); in FlushProfilingData() 62 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); in ProcessStarted() 76 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); in Start() 107 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); in MainMessageLoopStarted()
|
D | logging_chrome.h | 14 class CommandLine; variable 36 void InitChromeLogging(const CommandLine& command_line, 41 FilePath GetSessionLogFile(const CommandLine& command_line); 44 void RedirectChromeLogging(const CommandLine& command_line);
|
D | switch_utils_unittest.cc | 15 CommandLine cmd_line = CommandLine::FromString( in TEST() 35 CommandLine cmd_line(arraysize(argv), argv); in TEST() 38 std::map<std::string, CommandLine::StringType> switches = in TEST()
|
/external/chromium/chrome/browser/ |
D | about_flags_unittest.cc | 170 CommandLine command_line(CommandLine::NO_PROGRAM); in TEST_F() 183 std::map<std::string, CommandLine::StringType> switch_list; in TEST_F() 184 switch_list[kSwitch1] = CommandLine::StringType(); in TEST_F() 185 switch_list[switches::kFlagSwitchesBegin] = CommandLine::StringType(); in TEST_F() 186 switch_list[switches::kFlagSwitchesEnd] = CommandLine::StringType(); in TEST_F() 187 switch_list["foo"] = CommandLine::StringType(); in TEST_F() 202 CommandLine command_line(CommandLine::NO_PROGRAM); in TEST_F() 217 CommandLine command_line(CommandLine::NO_PROGRAM); in TEST_F() 239 CommandLine command_line(CommandLine::NO_PROGRAM); in TEST_F() 289 CommandLine command_line(CommandLine::NO_PROGRAM); in TEST_F() [all …]
|
D | browser_main_win.h | 11 class CommandLine; variable 22 void PrepareRestartOnCrashEnviroment(const CommandLine& parsed_command_line); 26 bool RegisterApplicationRestart(const CommandLine& parsed_command_line); 32 int HandleIconsCommands(const CommandLine& parsed_command_line);
|
D | background_mode_manager_unittest.cc | 23 command_line_.reset(new CommandLine(CommandLine::NO_PROGRAM)); in SetUp() 25 scoped_ptr<CommandLine> command_line_; 30 TestBackgroundModeManager(Profile* profile, CommandLine* cl) in TestBackgroundModeManager()
|
D | shell_integration.cc | 27 CommandLine ShellIntegration::CommandLineArgsForLauncher( in CommandLineArgsForLauncher() 30 const CommandLine& cmd_line = *CommandLine::ForCurrentProcess(); in CommandLineArgsForLauncher() 31 CommandLine new_cmd_line(CommandLine::NO_PROGRAM); in CommandLineArgsForLauncher()
|
/external/chromium/chrome/browser/extensions/ |
D | extension_webnavigation_apitest.cc | 16 CommandLine::ForCurrentProcess()->AppendSwitch( in IN_PROC_BROWSER_TEST_F() 25 CommandLine::ForCurrentProcess()->AppendSwitch( in IN_PROC_BROWSER_TEST_F() 34 CommandLine::ForCurrentProcess()->AppendSwitch( in IN_PROC_BROWSER_TEST_F() 43 CommandLine::ForCurrentProcess()->AppendSwitch( in IN_PROC_BROWSER_TEST_F() 52 CommandLine::ForCurrentProcess()->AppendSwitch( in IN_PROC_BROWSER_TEST_F() 61 CommandLine::ForCurrentProcess()->AppendSwitch( in IN_PROC_BROWSER_TEST_F() 70 CommandLine::ForCurrentProcess()->AppendSwitch( in IN_PROC_BROWSER_TEST_F() 79 CommandLine::ForCurrentProcess()->AppendSwitch( in IN_PROC_BROWSER_TEST_F() 88 CommandLine::ForCurrentProcess()->AppendSwitch( in IN_PROC_BROWSER_TEST_F()
|
D | extension_proxy_apitest.cc | 73 CommandLine::ForCurrentProcess()->AppendSwitch( in IN_PROC_BROWSER_TEST_F() 87 CommandLine::ForCurrentProcess()->AppendSwitch( in IN_PROC_BROWSER_TEST_F() 101 CommandLine::ForCurrentProcess()->AppendSwitch( in IN_PROC_BROWSER_TEST_F() 115 CommandLine::ForCurrentProcess()->AppendSwitch( in IN_PROC_BROWSER_TEST_F() 132 CommandLine::ForCurrentProcess()->AppendSwitch( in IN_PROC_BROWSER_TEST_F() 149 CommandLine::ForCurrentProcess()->AppendSwitch( in IN_PROC_BROWSER_TEST_F() 163 CommandLine::ForCurrentProcess()->AppendSwitch( in IN_PROC_BROWSER_TEST_F() 195 CommandLine::ForCurrentProcess()->AppendSwitch( in IN_PROC_BROWSER_TEST_F() 221 CommandLine::ForCurrentProcess()->AppendSwitch( in IN_PROC_BROWSER_TEST_F() 253 CommandLine::ForCurrentProcess()->AppendSwitch( in IN_PROC_BROWSER_TEST_F() [all …]
|
D | extension_content_settings_apitest.cc | 13 CommandLine::ForCurrentProcess()->AppendSwitch( in IN_PROC_BROWSER_TEST_F() 31 CommandLine::ForCurrentProcess()->AppendSwitch( in IN_PROC_BROWSER_TEST_F() 58 CommandLine::ForCurrentProcess()->AppendSwitch( in IN_PROC_BROWSER_TEST_F() 65 CommandLine::ForCurrentProcess()->AppendSwitch( in IN_PROC_BROWSER_TEST_F() 81 CommandLine::ForCurrentProcess()->AppendSwitch( in IN_PROC_BROWSER_TEST_F()
|
/external/chromium/chrome/browser/resources/shared/js/cr/ |
D | command_line.js | 36 function CommandLine(commandLineString) { class 44 CommandLine.prototype.toString = function() { class 57 CommandLine.prototype.parseOptions_ = function(ary) { 83 commandLine = new CommandLine(chrome.commandLineString); 90 CommandLine: CommandLine,
|
/external/chromium/chrome/browser/ui/ |
D | browser_init.h | 18 class CommandLine; variable 36 bool Start(const CommandLine& cmd_line, const FilePath& cur_dir, in Start() 48 static bool ProcessCommandLine(const CommandLine& cmd_line, in ProcessCommandLine() 67 bool LaunchBrowser(const CommandLine& command_line, Profile* profile, 101 LaunchWithProfile(const FilePath& cur_dir, const CommandLine& command_line); 102 LaunchWithProfile(const FilePath& cur_dir, const CommandLine& command_line, 202 const CommandLine& command_line_; 212 const CommandLine& command_line, 216 static bool ProcessCmdLineImpl(const CommandLine& command_line,
|
D | browser_init_browsertest.cc | 94 CommandLine dummy(CommandLine::NO_PROGRAM); in IN_PROC_BROWSER_TEST_F() 112 CommandLine command_line(CommandLine::NO_PROGRAM); in IN_PROC_BROWSER_TEST_F() 141 CommandLine command_line(CommandLine::NO_PROGRAM); in IN_PROC_BROWSER_TEST_F() 171 CommandLine command_line(CommandLine::NO_PROGRAM); in IN_PROC_BROWSER_TEST_F() 200 CommandLine command_line(CommandLine::NO_PROGRAM); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium/chrome/browser/first_run/ |
D | first_run_gtk.cc | 26 const CommandLine& cmdline = *CommandLine::ForCurrentProcess(); in ImportBookmarks() 27 CommandLine import_cmd(cmdline.GetProgram()); in ImportBookmarks() 40 import_cmd.CommandLine::AppendSwitchPath(switches::kImportFromFile, in ImportBookmarks()
|
D | upgrade_util.h | 9 class CommandLine; variable 13 void SetNewCommandLine(CommandLine* new_command_line); 21 bool RelaunchChromeBrowser(const CommandLine& command_line);
|
/external/clang/include/clang/Tooling/ |
D | CompilationDatabase.h | 45 CompileCommand(Twine Directory, ArrayRef<std::string> CommandLine) in CompileCommand() 46 : Directory(Directory.str()), CommandLine(CommandLine) {} in CompileCommand() 52 std::vector<std::string> CommandLine; member 172 FixedCompilationDatabase(Twine Directory, ArrayRef<std::string> CommandLine);
|
/external/clang/lib/Tooling/ |
D | CompilationDatabase.cpp | 110 std::vector<std::string> CommandLine(DoubleDash + 1, Argv + Argc); in loadFromCommandLine() local 112 return new FixedCompilationDatabase(Directory, CommandLine); in loadFromCommandLine() 116 FixedCompilationDatabase(Twine Directory, ArrayRef<std::string> CommandLine) { in FixedCompilationDatabase() argument 119 CommandLine.begin(), CommandLine.end()); in FixedCompilationDatabase() 126 Result[0].CommandLine.push_back(FilePath); in getCompileCommands()
|
/external/chromium/net/tools/dump_cache/ |
D | dump_cache.cc | 74 int LaunchSlave(const CommandLine& command_line, in LaunchSlave() 93 CommandLine new_command_line = CommandLine::FromString(hacked_command_line); in LaunchSlave() 115 CommandLine::Init(argc, argv); in main() 117 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); in main()
|
/external/chromium/chrome/browser/chromeos/login/ |
D | login_utils.cc | 158 const CommandLine& base_command_line, 159 CommandLine *command_line); 227 logging::RedirectChromeLogging(*(CommandLine::ForCurrentProcess())); in PrepareProfile() 403 const CommandLine& browser_command_line = *CommandLine::ForCurrentProcess(); in CompleteOffTheRecordLogin() 404 CommandLine command_line(browser_command_line.GetProgram()); in CompleteOffTheRecordLogin() 416 const CommandLine& base_command_line, in GetOffTheRecordCommandLine() 417 CommandLine* command_line) { in GetOffTheRecordCommandLine() 519 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kParallelAuth)) in CreateAuthenticator() 584 CommandLine::ForCurrentProcess()->InitFromArgv( in DoBrowserLaunch() 585 CommandLine::ForCurrentProcess()->argv()); in DoBrowserLaunch() [all …]
|
/external/chromium/chrome/common/extensions/ |
D | extension_manifests_unittest.cc | 352 CommandLine old_command_line = *CommandLine::ForCurrentProcess(); in TEST_F() 353 CommandLine::ForCurrentProcess()->AppendSwitch( in TEST_F() 356 *CommandLine::ForCurrentProcess() = old_command_line; in TEST_F() 365 CommandLine old_command_line = *CommandLine::ForCurrentProcess(); in TEST_F() 366 CommandLine::ForCurrentProcess()->AppendSwitch( in TEST_F() 375 *CommandLine::ForCurrentProcess() = old_command_line; in TEST_F() 382 CommandLine old_command_line = *CommandLine::ForCurrentProcess(); in TEST_F() 383 CommandLine::ForCurrentProcess()->AppendSwitch( in TEST_F() 409 *CommandLine::ForCurrentProcess() = old_command_line; in TEST_F() 569 CommandLine old_command_line = *CommandLine::ForCurrentProcess(); in TEST_F() [all …]
|