Searched refs:command_line (Results 76 - 100 of 915) sorted by relevance

1234567891011>>

/external/chromium_org/net/spdy/fuzzing/
H A Dhpack_fuzz_mutator.cc5 #include "base/command_line.h"
33 const base::CommandLine& command_line = local
36 if (!command_line.HasSwitch(kFileToParse) ||
37 !command_line.HasSwitch(kFileToWrite) ||
38 !command_line.HasSwitch(kFlipsPerThousand)) {
45 string file_to_parse = command_line.GetSwitchValueASCII(kFileToParse);
46 string file_to_write = command_line.GetSwitchValueASCII(kFileToWrite);
49 CHECK(base::StringToInt(command_line.GetSwitchValueASCII(kFlipsPerThousand),
H A Dhpack_example_generator.cc6 #include "base/command_line.h"
35 const base::CommandLine& command_line = local
38 if (!command_line.HasSwitch(kFileToWrite) ||
39 !command_line.HasSwitch(kExampleCount)) {
45 string file_to_write = command_line.GetSwitchValueASCII(kFileToWrite);
48 base::StringToInt(command_line.GetSwitchValueASCII(kExampleCount),
/external/chromium_org/sync/tools/testserver/
H A Drun_sync_testserver.cc8 #include "base/command_line.h"
59 CommandLine* command_line = CommandLine::ForCurrentProcess(); local
61 if (command_line->HasSwitch(switch_name)) {
62 std::string port_str = command_line->GetSwitchValueASCII(switch_name);
77 CommandLine* command_line = CommandLine::ForCurrentProcess(); local
89 if (command_line->HasSwitch("help")) {
94 if (command_line->HasSwitch("sync-test")) {
98 if (command_line->HasSwitch("xmpp-test")) {
/external/chromium_org/net/test/spawned_test_server/
H A Dlocal_test_server.cc7 #include "base/command_line.h"
25 base::CommandLine* command_line) {
29 command_line->AppendArg(argument_name);
35 command_line->AppendArg(argument_name + "=" + base::IntToString(value));
43 command_line->AppendArg(argument_name + "=" + value);
197 base::CommandLine* command_line) const {
215 if (!AppendArgumentFromJSONValue(key, *(*list_it), command_line))
218 } else if (!AppendArgumentFromJSONValue(key, value, command_line)) {
228 command_line->AppendArg("--https");
232 command_line
23 AppendArgumentFromJSONValue(const std::string& key, const base::Value& value_node, base::CommandLine* command_line) argument
[all...]
/external/chromium_org/chrome/browser/extensions/
H A Dstartup_helper_browsertest.cc7 #include "base/command_line.h"
20 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
21 command_line->AppendSwitch(switches::kNoStartupWindow);
46 CommandLine command_line(CommandLine::NO_PROGRAM);
48 command_line.AppendSwitchPath(switches::kValidateCrx, path);
52 bool result = helper.ValidateCrx(command_line, &error);
/external/chromium_org/chrome/browser/net/
H A Dchrome_net_log.cc9 #include "base/command_line.h"
23 const CommandLine* command_line = CommandLine::ForCurrentProcess(); local
27 if (command_line->HasSwitch(switches::kNetLogLevel)) {
29 command_line->GetSwitchValueASCII(switches::kNetLogLevel);
38 if (command_line->HasSwitch(switches::kLogNetLog)) {
40 command_line->GetSwitchValuePath(switches::kLogNetLog);
/external/chromium_org/components/nacl/loader/
H A Dnacl_helper_win_64.cc5 #include "base/command_line.h"
52 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); local
54 command_line.GetSwitchValueASCII(switches::kProcessType);
60 content::SetupCRT(command_line);
62 if (command_line.HasSwitch(switches::kEnableLogging))
70 content::MainFunctionParams main_params(command_line);
/external/chromium_org/content/common/
H A Dsandbox_init_mac.cc7 #include "base/command_line.h"
34 const base::CommandLine& command_line = local
36 if (command_line.HasSwitch(switches::kNoSandbox))
40 command_line.GetSwitchValueASCII(switches::kProcessType);
50 command_line.GetSwitchValuePath(switches::kUtilityProcessAllowedDir);
52 if (command_line.HasSwitch(switches::kDisableGpuSandbox))
/external/chromium_org/mojo/shell/desktop/
H A Dmojo_main.cc7 #include "base/command_line.h"
23 const base::CommandLine& command_line = local
25 base::CommandLine::StringVector args = command_line.GetArgs();
63 const base::CommandLine& command_line = local
65 if (command_line.HasSwitch(switches::kOrigin)) {
67 GURL(command_line.GetSwitchValueASCII(switches::kOrigin)));
/external/e2fsprogs/ext2ed/
H A Dext2_com.c25 void type_ext2___super (char *command_line) argument
42 void type_ext2___cd (char *command_line) argument
55 ptr=parse_word (command_line,buffer);
73 void type_ext2___group (char *command_line) argument
87 ptr=parse_word (command_line,buffer);
H A Dmain.c198 char *ptr,command_line [80]; local
241 strcpy (command_line,ptr);
244 if (*command_line != 0)
245 add_history (command_line);
248 if (*command_line==0)
249 strcpy (command_line,last_command_line);
255 wprintw (command_win,command_line);
260 strcpy (last_command_line,command_line);
263 quit=dispatch (command_line);
299 char command_line [8 local
358 dispatch(char *command_line) argument
[all...]
/external/chromium_org/chrome/common/
H A Dcrash_keys_unittest.cc11 #include "base/command_line.h"
63 CommandLine command_line(CommandLine::NO_PROGRAM);
65 command_line.AppendSwitch(base::StringPrintf("--flag-%d", i));
66 crash_keys::SetSwitchesFromCommandLine(&command_line);
75 CommandLine command_line(CommandLine::NO_PROGRAM);
79 command_line.AppendSwitch(base::StringPrintf("--many-%d", i));
80 crash_keys::SetSwitchesFromCommandLine(&command_line);
90 CommandLine command_line(CommandLine::NO_PROGRAM);
92 command_line.AppendSwitch(base::StringPrintf("--fewer-%d", i));
93 crash_keys::SetSwitchesFromCommandLine(&command_line);
[all...]
H A Dprofiling.cc9 #include "base/command_line.h"
50 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); local
51 if (command_line.HasSwitch(switches::kProfilingFile))
52 profile_name = command_line.GetSwitchValueASCII(switches::kProfilingFile);
56 command_line.GetSwitchValueASCII(switches::kProcessType);
73 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); local
75 command_line.GetSwitchValueASCII(switches::kProfilingFlush);
128 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); local
130 command_line.GetSwitchValueASCII(switches::kProcessType);
158 if (command_line
168 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); local
[all...]
/external/chromium_org/chrome/app/
H A Dchrome_main_delegate.cc8 #include "base/command_line.h"
144 bool HasDeprecatedArguments(const std::wstring& command_line) { argument
146 std::wstring command_line_lower = command_line;
252 bool HandleVersionSwitches(const CommandLine& command_line) { argument
256 if (command_line.HasSwitch(switches::kProductVersion)) {
262 if (command_line.HasSwitch(switches::kVersion)) {
275 void HandleHelpSwitches(const CommandLine& command_line) { argument
276 if (command_line.HasSwitch(switches::kHelp) ||
277 command_line.HasSwitch(switches::kHelpShort)) {
278 base::FilePath binary(command_line
313 CommandLine* command_line = CommandLine::ForCurrentProcess(); local
391 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); local
542 InitMacCrashReporter( const base::CommandLine& command_line, const std::string& process_type) argument
639 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); local
895 const CommandLine* command_line = CommandLine::ForCurrentProcess(); local
[all...]
/external/chromium_org/chrome/browser/
H A Dchrome_security_exploit_browsertest.cc5 #include "base/command_line.h"
33 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
44 command_line->AppendSwitchASCII(
51 command_line->AppendSwitch(switches::kDisableWebSecurity);
H A Dchrome_switches_browsertest.cc5 #include "base/command_line.h"
19 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
25 command_line->AppendSwitchASCII(switches::kHostRules, host_rule);
28 command_line->AppendSwitch(switches::kNoProxyServer);
H A Dprocess_singleton_startup_lock.cc42 const CommandLine& command_line,
48 std::make_pair(command_line.argv(), current_directory));
51 return original_callback_.Run(command_line, current_directory);
41 NotificationCallbackImpl( const CommandLine& command_line, const base::FilePath& current_directory) argument
/external/chromium_org/chrome/browser/chromeos/login/
H A Dscreenshot_testing_mixin.cc26 void ScreenshotTestingMixin::SetUpCommandLine(base::CommandLine* command_line) { argument
28 command_line->AppendSwitch(switches::kEnablePixelOutputInTests);
29 command_line->AppendSwitch(switches::kUIEnableImplSidePainting);
/external/chromium_org/chrome/browser/domain_reliability/
H A Dservice_factory.cc7 #include "base/command_line.h"
25 CommandLine* command_line = CommandLine::ForCurrentProcess(); local
26 if (command_line->HasSwitch(switches::kDisableDomainReliability))
28 if (command_line->HasSwitch(switches::kEnableDomainReliability))
/external/chromium_org/chrome/browser/extensions/api/page_capture/
H A Dpage_capture_apitest.cc6 #include "base/command_line.h"
17 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
18 ExtensionApiTest::SetUpCommandLine(command_line);
19 command_line->AppendSwitchASCII(switches::kJavaScriptFlags, "--expose-gc");
/external/chromium_org/chrome/browser/sync/test/integration/
H A Dsingle_client_app_list_sync_test.cc6 #include "base/command_line.h"
36 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
37 SyncTest::SetUpCommandLine(command_line);
38 command_line->AppendSwitch(app_list::switches::kEnableSyncAppList);
H A Dsingle_client_supervised_user_settings_sync_test.cc5 #include "base/command_line.h"
25 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
26 SyncTest::SetUpCommandLine(command_line);
27 command_line->AppendSwitchASCII(switches::kSupervisedUserId, "asdf");
/external/chromium_org/chrome/browser/ui/app_list/
H A Dapp_list_service.cc7 #include "base/command_line.h"
33 base::Time GetOriginalProcessStartTime(const CommandLine& command_line) { argument
34 if (command_line.HasSwitch(switches::kOriginalProcessStartTime)) {
36 command_line.GetSwitchValueASCII(switches::kOriginalProcessStartTime);
51 StartupType GetStartupType(const CommandLine& command_line) { argument
54 if (command_line.HasSwitch(switches::kOriginalProcessStartTime)) {
55 return command_line.HasSwitch(switches::kFastStart) ?
100 const CommandLine& command_line,
102 base::Time start_time = GetOriginalProcessStartTime(command_line);
107 StartupType startup_type = GetStartupType(command_line);
99 RecordStartupInfo(AppListService* service, const CommandLine& command_line, Profile* launch_profile) argument
160 HandleLaunchCommandLine( const base::CommandLine& command_line, Profile* launch_profile) argument
[all...]
/external/chromium_org/components/autofill/core/common/
H A Dpassword_generation_util.cc7 #include "base/command_line.h"
51 CommandLine* command_line = CommandLine::ForCurrentProcess(); local
52 if (command_line->HasSwitch(switches::kDisablePasswordGeneration))
55 if (command_line->HasSwitch(switches::kEnablePasswordGeneration))
/external/chromium_org/content/browser/
H A Dplugin_data_remover_impl_browsertest.cc7 #include "base/command_line.h"
31 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
35 command_line->AppendSwitchPath(switches::kExtraPluginDir,
43 command_line->AppendSwitch("always-authorize-plugins");

Completed in 491 milliseconds

1234567891011>>