Home
last modified time | relevance | path

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

/external/chromium/base/
Dcommand_line.cc33 CommandLine* CommandLine::current_process_commandline_ = NULL;
59 CommandLine::CommandLine(ArgumentsOnly args_only) { in CommandLine() function in CommandLine
62 void CommandLine::ParseFromString(const std::wstring& command_line) { in ParseFromString()
104 CommandLine::CommandLine(const FilePath& program) { in CommandLine() function in CommandLine
112 CommandLine::CommandLine(ArgumentsOnly args_only) { in CommandLine() function in CommandLine
117 void CommandLine::InitFromArgv(int argc, const char* const* argv) { in InitFromArgv()
123 void CommandLine::InitFromArgv(const std::vector<std::string>& argv) { in InitFromArgv()
149 CommandLine::CommandLine(const FilePath& program) { in CommandLine() function in CommandLine
156 bool CommandLine::IsSwitch(const StringType& parameter_string, in IsSwitch()
192 void CommandLine::Init(int argc, const char* const* argv) { in Init()
[all …]
Dcommand_line.h33 class CommandLine {
37 explicit CommandLine(ArgumentsOnly args_only);
43 static CommandLine FromString(const std::wstring& command_line) { in FromString()
44 CommandLine cmd; in FromString()
53 CommandLine(int argc, const char* const* argv) { in CommandLine() function
56 explicit CommandLine(const std::vector<std::string>& argv) { in CommandLine() function
63 explicit CommandLine(const FilePath& program);
91 static CommandLine* ForCurrentProcess() { in ForCurrentProcess()
179 void AppendArguments(const CommandLine& other,
189 CommandLine() {} in CommandLine() function
[all …]
Dprocess_util_unittest.cc174 CommandLine cmd_line(python_runtime); in TEST_F()
183 CommandLine other_cmd_line(python_runtime); in TEST_F()
299 EXPECT_TRUE(GetAppOutput(CommandLine(FilePath("true")), &output)); in TEST_F()
302 EXPECT_FALSE(GetAppOutput(CommandLine(FilePath("false")), &output)); in TEST_F()
308 EXPECT_TRUE(GetAppOutput(CommandLine(argv), &output)); in TEST_F()
325 EXPECT_TRUE(GetAppOutputRestricted(CommandLine(argv), &output, 100)); in TEST_F()
331 EXPECT_FALSE(GetAppOutputRestricted(CommandLine(argv), in TEST_F()
338 EXPECT_TRUE(GetAppOutputRestricted(CommandLine(argv), &output, 10)); in TEST_F()
343 EXPECT_TRUE(GetAppOutputRestricted(CommandLine(argv), &output, 5)); in TEST_F()
348 EXPECT_TRUE(GetAppOutputRestricted(CommandLine(argv), &output, 15)); in TEST_F()
[all …]
Dcommand_line_unittest.cc15 CommandLine cl = CommandLine::FromString( in TEST()
31 CommandLine cl(arraysize(argv), argv); in TEST()
89 CommandLine cl = CommandLine::FromString(L""); in TEST()
93 CommandLine cl(0, NULL); in TEST()
109 CommandLine cl(FilePath(FILE_PATH_LITERAL("Program"))); in TEST()
Dmultiprocess_test.h87 CommandLine MakeCmdLine(const std::wstring& procname, bool debug_on_start) { in MakeCmdLine()
88 CommandLine cl(*CommandLine::ForCurrentProcess()); in MakeCmdLine()
Dprocess_util.h196 bool LaunchApp(const CommandLine& cl,
204 bool GetAppOutput(const CommandLine& cl, std::string* output);
210 bool GetAppOutputRestricted(const CommandLine& cl,
Dprocess_util_posix.cc463 bool LaunchApp(const CommandLine& cl, in LaunchApp()
628 static bool GetAppOutputInternal(const CommandLine& cl, char* const envp[], in GetAppOutputInternal()
722 bool GetAppOutput(const CommandLine& cl, std::string* output) { in GetAppOutput()
730 bool GetAppOutputRestricted(const CommandLine& cl, in GetAppOutputRestricted()
Dprocess_util_win.cc205 bool LaunchApp(const CommandLine& cl, in LaunchApp()
226 bool GetAppOutput(const CommandLine& cl, std::string* output) { in GetAppOutput()
Dlinux_util.cc215 base::GetAppOutput(CommandLine(argv), &output); in GetLinuxDistro()
Dlogging.cc260 CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableDCHECK); in InitLogging()
/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()
114 CommandLine::Init(argc, argv); in main()
116 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); in main()
/external/chromium/net/tools/fetch/
Dfetch_server.cc34 CommandLine::Init(0, NULL); in main()
35 const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess(); in main()
Dfetch_client.cc121 CommandLine::Init(argc, argv); in main()
122 const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess(); in main()
/external/chromium/base/test/
Dtest_suite.h56 CommandLine::Init(argc, argv); in TestSuite()
67 CommandLine::Reset(); in ~TestSuite()
116 CommandLine::ForCurrentProcess()->GetSwitchValue(kRunClientProcess); in Run()
203 !CommandLine::ForCurrentProcess()->HasSwitch("show-error-dialogs")) { in Initialize()
Dperf_test_suite.h27 CommandLine::ForCurrentProcess()->GetSwitchValue("log-file"); in Initialize()
/external/chromium/net/tools/hresolv/
Dhresolv.cc322 bool ParseCommandLine(CommandLine* command_line, CommandLineOptions* options) { in ParseCommandLine()
419 CommandLine::Init(argc, argv); in main()
420 CommandLine* command_line = CommandLine::ForCurrentProcess(); in main()
453 CommandLine::Reset(); in main()
/external/libvpx/build/make/
Dgen_msvs_proj.sh153 CommandLine="$(eval echo \$asm_${cfg}_cmdline)"\
383 CommandLine="call obj_int_extract.bat \$(ConfigurationName)"
541 CommandLine="call obj_int_extract.bat \$(ConfigurationName)"
/external/srec/shared/
DAndroid.mk11 src/CommandLine.c \
/external/chromium/net/disk_cache/
Dstress_cache.cc42 CommandLine cmdline(exe); in RunSlave()
/external/chromium/net/tools/tld_cleanup/
Dtld_cleanup.cc264 CommandLine::Init(argc, argv); in main()
/external/chromium/net/tools/crash_cache/
Dcrash_cache.cc43 CommandLine cmdline(exe); in RunSlave()
/external/tagsoup/src/org/ccil/cowan/tagsoup/
DCommandLine.java31 public class CommandLine { class