/external/chromium_org/net/spdy/fuzzing/ |
H A D | hpack_fuzz_mutator.cc | 5 #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 D | hpack_example_generator.cc | 6 #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 D | run_sync_testserver.cc | 8 #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 D | local_test_server.cc | 7 #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 D | startup_helper_browsertest.cc | 7 #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 D | chrome_net_log.cc | 9 #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 D | nacl_helper_win_64.cc | 5 #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 D | sandbox_init_mac.cc | 7 #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 D | mojo_main.cc | 7 #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 D | ext2_com.c | 25 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 D | main.c | 198 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 D | crash_keys_unittest.cc | 11 #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 D | profiling.cc | 9 #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 D | chrome_main_delegate.cc | 8 #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 D | chrome_security_exploit_browsertest.cc | 5 #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 D | chrome_switches_browsertest.cc | 5 #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 D | process_singleton_startup_lock.cc | 42 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 D | screenshot_testing_mixin.cc | 26 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 D | service_factory.cc | 7 #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 D | page_capture_apitest.cc | 6 #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 D | single_client_app_list_sync_test.cc | 6 #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 D | single_client_supervised_user_settings_sync_test.cc | 5 #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 D | app_list_service.cc | 7 #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 D | password_generation_util.cc | 7 #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 D | plugin_data_remover_impl_browsertest.cc | 7 #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");
|