Home
last modified time | relevance | path

Searched refs:CommandLine (Results 1 – 25 of 350) sorted by relevance

12345678910>>...14

/external/chromium/base/
Dcommand_line.cc23 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 …]
Dcommand_line.h28 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 …]
Dcommand_line_unittest.cc25 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/
DCompilationDatabaseTest.cpp108 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/
Dcommand_line_pref_store_unittest.cc21 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/
Dprofiling.cc20 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()
Dlogging_chrome.h14 class CommandLine; variable
36 void InitChromeLogging(const CommandLine& command_line,
41 FilePath GetSessionLogFile(const CommandLine& command_line);
44 void RedirectChromeLogging(const CommandLine& command_line);
Dswitch_utils_unittest.cc15 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/
Dabout_flags_unittest.cc170 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 …]
Dbrowser_main_win.h11 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);
Dbackground_mode_manager_unittest.cc23 command_line_.reset(new CommandLine(CommandLine::NO_PROGRAM)); in SetUp()
25 scoped_ptr<CommandLine> command_line_;
30 TestBackgroundModeManager(Profile* profile, CommandLine* cl) in TestBackgroundModeManager()
Dshell_integration.cc27 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/
Dextension_webnavigation_apitest.cc16 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()
Dextension_proxy_apitest.cc73 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 …]
Dextension_content_settings_apitest.cc13 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/
Dcommand_line.js36 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/
Dbrowser_init.h18 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,
Dbrowser_init_browsertest.cc94 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/
Dfirst_run_gtk.cc26 const CommandLine& cmdline = *CommandLine::ForCurrentProcess(); in ImportBookmarks()
27 CommandLine import_cmd(cmdline.GetProgram()); in ImportBookmarks()
40 import_cmd.CommandLine::AppendSwitchPath(switches::kImportFromFile, in ImportBookmarks()
Dupgrade_util.h9 class CommandLine; variable
13 void SetNewCommandLine(CommandLine* new_command_line);
21 bool RelaunchChromeBrowser(const CommandLine& command_line);
/external/clang/include/clang/Tooling/
DCompilationDatabase.h45 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/
DCompilationDatabase.cpp110 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/
Ddump_cache.cc74 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/
Dlogin_utils.cc158 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/
Dextension_manifests_unittest.cc352 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 …]

12345678910>>...14