/external/e2fsprogs/ext2ed/ |
D | ext2ed.h | 254 extern void help (char *command_line); 255 extern void set (char *command_line); 256 extern void set_device (char *command_line); 257 extern void set_offset (char *command_line); 258 extern void set_type (char *command_line); 259 extern void show (char *command_line); 260 extern void pgup (char *command_line); 261 extern void pgdn (char *command_line); 262 extern void redraw (char *command_line); 263 extern void remember (char *command_line); [all …]
|
D | main.c | 198 char *ptr,command_line [80]; in parser() local 241 strcpy (command_line,ptr); in parser() 244 if (*command_line != 0) in parser() 245 add_history (command_line); in parser() 248 if (*command_line==0) in parser() 249 strcpy (command_line,last_command_line); in parser() 255 wprintw (command_win,command_line); in parser() 260 strcpy (last_command_line,command_line); in parser() 263 quit=dispatch (command_line); in parser() 299 char command_line [80]; in parser() local [all …]
|
D | group_com.c | 21 void type_ext2_group_desc___next (char *command_line) in type_ext2_group_desc___next() argument 27 ptr=parse_word (command_line,buffer); in type_ext2_group_desc___next() 37 void type_ext2_group_desc___prev (char *command_line) in type_ext2_group_desc___prev() argument 43 ptr=parse_word (command_line,buffer); in type_ext2_group_desc___prev() 53 void type_ext2_group_desc___entry (char *command_line) in type_ext2_group_desc___entry() argument 59 ptr=parse_word (command_line,buffer); in type_ext2_group_desc___entry() 79 void type_ext2_group_desc___gocopy (char *command_line) in type_ext2_group_desc___gocopy() argument 85 ptr=parse_word (command_line,buffer); in type_ext2_group_desc___gocopy() 107 void type_ext2_group_desc___show (char *command_line) in type_ext2_group_desc___show() argument 115 show (command_line); in type_ext2_group_desc___show() [all …]
|
/external/chromium_org/chrome/browser/media/ |
D | chrome_webrtc_audio_quality_browsertest.cc | 112 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { in SetUpCommandLine() argument 115 EXPECT_FALSE(command_line->HasSwitch( in SetUpCommandLine() 117 EXPECT_FALSE(command_line->HasSwitch( in SetUpCommandLine() 153 CommandLine command_line(CommandLine::NO_PROGRAM); in StartRecording() local 179 command_line.SetProgram( in StartRecording() 181 command_line.AppendArg("/FILE"); in StartRecording() 182 command_line.AppendArgPath(output_file); in StartRecording() 183 command_line.AppendArg("/DURATION"); in StartRecording() 184 command_line.AppendArg(duration_in_hms); in StartRecording() 186 command_line.SetProgram(base::FilePath("rec")); in StartRecording() [all …]
|
D | chrome_webrtc_apprtc_browsertest.cc | 51 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { in SetUpCommandLine() argument 52 EXPECT_FALSE(command_line->HasSwitch(switches::kUseFakeUIForMediaStream)); in SetUpCommandLine() 55 command_line->AppendSwitch(switches::kUseGpuInTests); in SetUpCommandLine() 90 CommandLine command_line(CommandLine::NO_PROGRAM); in LaunchApprtcInstanceOnLocalhost() local 91 EXPECT_TRUE(GetPythonCommand(&command_line)); in LaunchApprtcInstanceOnLocalhost() 93 command_line.AppendArgPath(appengine_dev_appserver); in LaunchApprtcInstanceOnLocalhost() 94 command_line.AppendArgPath(apprtc_dir); in LaunchApprtcInstanceOnLocalhost() 95 command_line.AppendArg("--port=9999"); in LaunchApprtcInstanceOnLocalhost() 96 command_line.AppendArg("--admin_port=9998"); in LaunchApprtcInstanceOnLocalhost() 97 command_line.AppendArg("--skip_sdk_update_check"); in LaunchApprtcInstanceOnLocalhost() [all …]
|
/external/chromium_org/content/child/ |
D | runtime_features.cc | 83 const base::CommandLine& command_line) { in SetRuntimeFeaturesDefaultsAndUpdateFromArgs() argument 84 if (command_line.HasSwitch(switches::kEnableExperimentalWebPlatformFeatures)) in SetRuntimeFeaturesDefaultsAndUpdateFromArgs() 89 if (command_line.HasSwitch(switches::kDisableDatabases)) in SetRuntimeFeaturesDefaultsAndUpdateFromArgs() 92 if (command_line.HasSwitch(switches::kDisableApplicationCache)) in SetRuntimeFeaturesDefaultsAndUpdateFromArgs() 95 if (command_line.HasSwitch(switches::kDisableDesktopNotifications)) in SetRuntimeFeaturesDefaultsAndUpdateFromArgs() 98 if (command_line.HasSwitch(switches::kDisableLocalStorage)) in SetRuntimeFeaturesDefaultsAndUpdateFromArgs() 101 if (command_line.HasSwitch(switches::kDisableSessionStorage)) in SetRuntimeFeaturesDefaultsAndUpdateFromArgs() 104 if (command_line.HasSwitch(switches::kDisableMediaSource)) in SetRuntimeFeaturesDefaultsAndUpdateFromArgs() 107 if (command_line.HasSwitch(switches::kDisableSharedWorkers)) in SetRuntimeFeaturesDefaultsAndUpdateFromArgs() 111 if (command_line.HasSwitch(switches::kDisableWebRTC)) in SetRuntimeFeaturesDefaultsAndUpdateFromArgs() [all …]
|
/external/chromium_org/chrome/test/base/ |
D | test_launcher_utils.cc | 23 void PrepareBrowserCommandLineForTests(CommandLine* command_line) { in PrepareBrowserCommandLineForTests() argument 25 command_line->AppendSwitch(switches::kDisableWebResources); in PrepareBrowserCommandLineForTests() 29 command_line->AppendSwitch(switches::kDisablePreconnect); in PrepareBrowserCommandLineForTests() 32 command_line->AppendSwitch(switches::kNoFirstRun); in PrepareBrowserCommandLineForTests() 36 command_line->AppendSwitch(switches::kNoDefaultBrowserCheck); in PrepareBrowserCommandLineForTests() 40 if (!command_line->HasSwitch(switches::kEnableLogging)) in PrepareBrowserCommandLineForTests() 41 command_line->AppendSwitchASCII(switches::kEnableLogging, "stderr"); in PrepareBrowserCommandLineForTests() 42 if (!command_line->HasSwitch(switches::kLoggingLevel)) in PrepareBrowserCommandLineForTests() 43 command_line->AppendSwitchASCII(switches::kLoggingLevel, "0"); // info in PrepareBrowserCommandLineForTests() 46 command_line->AppendSwitch(switches::kSbDisableAutoUpdate); in PrepareBrowserCommandLineForTests() [all …]
|
/external/chromium_org/tools/gn/bin/ |
D | gyp_flag_compare.py | 24 def FindAndRemoveArgWithValue(command_line, argname): argument 30 if argname not in command_line: 32 location = command_line.index(argname) 33 value = command_line[location + 1] 34 command_line[location:location + 2] = [] 38 def MergeSpacedArgs(command_line, argname): argument 42 while i < len(command_line): 43 arg = command_line[i] 45 result.append(arg + ' ' + command_line[i + 1]) 53 def NormalizeSymbolArguments(command_line): argument [all …]
|
/external/chromium_org/chrome/test/ppapi/ |
D | ppapi_test.cc | 42 void AddPrivateSwitches(base::CommandLine* command_line) { in AddPrivateSwitches() argument 44 command_line->AppendSwitch(switches::kUnlimitedStorage); in AddPrivateSwitches() 45 command_line->AppendSwitchASCII(switches::kAllowNaClFileHandleAPI, in AddPrivateSwitches() 134 void PPAPITestBase::SetUpCommandLine(base::CommandLine* command_line) { in SetUpCommandLine() argument 136 command_line->AppendSwitch(switches::kEnableFileCookies); in SetUpCommandLine() 140 command_line->AppendSwitch(switches::kEnablePepperTesting); in SetUpCommandLine() 143 command_line->AppendSwitch(switches::kDisableSmoothScrolling); in SetUpCommandLine() 285 void PPAPITest::SetUpCommandLine(base::CommandLine* command_line) { in SetUpCommandLine() argument 286 PPAPITestBase::SetUpCommandLine(command_line); in SetUpCommandLine() 304 command_line->AppendSwitchNative(switches::kRegisterPepperPlugins, in SetUpCommandLine() [all …]
|
/external/chromium_org/chrome/browser/ |
D | about_flags_unittest.cc | 389 CommandLine command_line(CommandLine::NO_PROGRAM); in TEST_F() local 390 command_line.AppendSwitch("foo"); in TEST_F() 392 EXPECT_TRUE(command_line.HasSwitch("foo")); in TEST_F() 393 EXPECT_FALSE(command_line.HasSwitch(kSwitch1)); in TEST_F() 395 ConvertFlagsToSwitches(&flags_storage_, &command_line, kAddSentinels); in TEST_F() 397 EXPECT_TRUE(command_line.HasSwitch("foo")); in TEST_F() 398 EXPECT_TRUE(command_line.HasSwitch(kSwitch1)); in TEST_F() 399 EXPECT_TRUE(command_line.HasSwitch(switches::kFlagSwitchesBegin)); in TEST_F() 400 EXPECT_TRUE(command_line.HasSwitch(switches::kFlagSwitchesEnd)); in TEST_F() 424 CommandLine command_line(CommandLine::NO_PROGRAM); in TEST_F() local [all …]
|
D | io_thread.cc | 170 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); in CreateGlobalHostResolver() local 175 if (command_line.HasSwitch(switches::kHostResolverParallelism)) { in CreateGlobalHostResolver() 177 command_line.GetSwitchValueASCII(switches::kHostResolverParallelism); in CreateGlobalHostResolver() 189 if (command_line.HasSwitch(switches::kHostResolverRetryAttempts)) { in CreateGlobalHostResolver() 191 command_line.GetSwitchValueASCII(switches::kHostResolverRetryAttempts); in CreateGlobalHostResolver() 212 if (command_line.HasSwitch(switches::kEnableIPv6)) { in CreateGlobalHostResolver() 216 } else if (command_line.HasSwitch(switches::kDisableIPv6)) { in CreateGlobalHostResolver() 223 if (!command_line.HasSwitch(switches::kHostResolverRules)) in CreateGlobalHostResolver() 229 command_line.GetSwitchValueASCII(switches::kHostResolverRules)); in CreateGlobalHostResolver() 293 int GetSwitchValueAsInt(const CommandLine& command_line, in GetSwitchValueAsInt() argument [all …]
|
/external/chromium_org/content/browser/gpu/ |
D | compositor_util.cc | 45 const base::CommandLine& command_line = in GetGpuFeatureInfo() local 54 command_line.HasSwitch(switches::kDisableAccelerated2dCanvas) || in GetGpuFeatureInfo() 64 command_line.HasSwitch(switches::kDisableGpuCompositing), in GetGpuFeatureInfo() 73 command_line.HasSwitch(switches::kDisableExperimentalWebGL), in GetGpuFeatureInfo() 80 command_line.HasSwitch(switches::kDisableFlash3d), in GetGpuFeatureInfo() 88 command_line.HasSwitch(switches::kDisableFlashStage3d), in GetGpuFeatureInfo() 98 command_line.HasSwitch(switches::kDisableFlashStage3d), in GetGpuFeatureInfo() 107 command_line.HasSwitch(switches::kDisableAcceleratedVideoDecode), in GetGpuFeatureInfo() 117 command_line.HasSwitch(switches::kDisableWebRtcHWEncoding), in GetGpuFeatureInfo() 127 command_line.HasSwitch(switches::kDisablePanelFitting), in GetGpuFeatureInfo() [all …]
|
/external/chromium_org/chrome/browser/ui/startup/ |
D | startup_browser_creator.cc | 271 const CommandLine& command_line, in LaunchBrowser() argument 284 if (IncognitoModePrefs::ShouldLaunchIncognito(command_line, in LaunchBrowser() 287 } else if (command_line.HasSwitch(switches::kIncognito)) { in LaunchBrowser() 296 const bool silent_launch = command_line.HasSwitch(switches::kSilentLaunch); in LaunchBrowser() 299 StartupBrowserCreatorImpl lwp(cur_dir, command_line, this, is_first_run); in LaunchBrowser() 301 GetURLsFromCommandLine(command_line, cur_dir, profile); in LaunchBrowser() 352 const CommandLine& command_line, in GetSessionStartupPref() argument 382 if ((command_line.HasSwitch(switches::kRestoreLastSession) || in GetSessionStartupPref() 388 IncognitoModePrefs::ShouldLaunchIncognito(command_line, prefs)) { in GetSessionStartupPref() 405 const CommandLine& command_line, in GetURLsFromCommandLine() argument [all …]
|
/external/chromium_org/content/shell/app/ |
D | shell_main_delegate.cc | 126 CommandLine& command_line = *CommandLine::ForCurrentProcess(); in BasicStartupComplete() local 127 if (command_line.HasSwitch(switches::kCheckLayoutTestSysDeps)) { in BasicStartupComplete() 138 if (command_line.HasSwitch(switches::kDumpRenderTree)) { in BasicStartupComplete() 141 command_line.AppendSwitch(switches::kProcessPerTab); in BasicStartupComplete() 142 command_line.AppendSwitch(switches::kEnableLogging); in BasicStartupComplete() 143 command_line.AppendSwitch(switches::kAllowFileAccessFromFiles); in BasicStartupComplete() 144 command_line.AppendSwitchASCII(switches::kUseGL, in BasicStartupComplete() 146 command_line.AppendSwitch(switches::kSkipGpuDataLoading); in BasicStartupComplete() 147 command_line.AppendSwitchASCII(switches::kTouchEvents, in BasicStartupComplete() 149 command_line.AppendSwitchASCII(switches::kForceDeviceScaleFactor, "1.0"); in BasicStartupComplete() [all …]
|
/external/chromium_org/chrome/app/ |
D | chrome_main_delegate.cc | 144 bool HasDeprecatedArguments(const std::wstring& command_line) { in HasDeprecatedArguments() argument 146 std::wstring command_line_lower = command_line; in HasDeprecatedArguments() 252 bool HandleVersionSwitches(const CommandLine& command_line) { in HandleVersionSwitches() argument 256 if (command_line.HasSwitch(switches::kProductVersion)) { in HandleVersionSwitches() 262 if (command_line.HasSwitch(switches::kVersion)) { in HandleVersionSwitches() 275 void HandleHelpSwitches(const CommandLine& command_line) { in HandleHelpSwitches() argument 276 if (command_line.HasSwitch(switches::kHelp) || in HandleHelpSwitches() 277 command_line.HasSwitch(switches::kHelpShort)) { in HandleHelpSwitches() 278 base::FilePath binary(command_line.argv()[0]); in HandleHelpSwitches() 313 CommandLine* command_line = CommandLine::ForCurrentProcess(); in InitializeUserDataDir() local [all …]
|
/external/chromium_org/chrome/common/ |
D | crash_keys_unittest.cc | 63 CommandLine command_line(CommandLine::NO_PROGRAM); in TEST_F() local 65 command_line.AppendSwitch(base::StringPrintf("--flag-%d", i)); in TEST_F() 66 crash_keys::SetSwitchesFromCommandLine(&command_line); in TEST_F() 75 CommandLine command_line(CommandLine::NO_PROGRAM); in TEST_F() local 79 command_line.AppendSwitch(base::StringPrintf("--many-%d", i)); in TEST_F() 80 crash_keys::SetSwitchesFromCommandLine(&command_line); in TEST_F() 90 CommandLine command_line(CommandLine::NO_PROGRAM); in TEST_F() local 92 command_line.AppendSwitch(base::StringPrintf("--fewer-%d", i)); in TEST_F() 93 crash_keys::SetSwitchesFromCommandLine(&command_line); in TEST_F() 167 CommandLine command_line(CommandLine::NO_PROGRAM); in TEST_F() local [all …]
|
/external/chromium_org/chrome/browser/chromeos/login/ |
D | login_browsertest.cc | 35 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { in SetUpCommandLine() argument 36 command_line->AppendSwitchASCII( in SetUpCommandLine() 38 command_line->AppendSwitchASCII(chromeos::switches::kLoginProfile, in SetUpCommandLine() 45 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { in SetUpCommandLine() argument 46 command_line->AppendSwitch(chromeos::switches::kGuestSession); in SetUpCommandLine() 47 command_line->AppendSwitch(::switches::kIncognito); in SetUpCommandLine() 48 command_line->AppendSwitchASCII(chromeos::switches::kLoginProfile, in SetUpCommandLine() 50 command_line->AppendSwitchASCII(chromeos::switches::kLoginUser, in SetUpCommandLine() 57 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { in SetUpCommandLine() argument 58 command_line->AppendSwitch(chromeos::switches::kLoginManager); in SetUpCommandLine() [all …]
|
/external/chromium_org/win8/test/ |
D | test_registrar.cc | 36 CommandLine& command_line = *CommandLine::ForCurrentProcess(); in InitializeCommandLineDefaultValues() local 38 if (!command_line.HasSwitch(win8::test::kTestAppUserModelId)) in InitializeCommandLineDefaultValues() 39 command_line.AppendSwitchNative(win8::test::kTestAppUserModelId, in InitializeCommandLineDefaultValues() 42 if (!command_line.HasSwitch(win8::test::kTestExeName)) in InitializeCommandLineDefaultValues() 43 command_line.AppendSwitchNative(win8::test::kTestExeName, in InitializeCommandLineDefaultValues() 46 if (!command_line.HasSwitch(win8::test::kTestExePath)) { in InitializeCommandLineDefaultValues() 51 command_line.AppendSwitchNative(win8::test::kTestExePath, in InitializeCommandLineDefaultValues() 55 if (!command_line.HasSwitch(win8::test::kTestProgId)) in InitializeCommandLineDefaultValues() 56 command_line.AppendSwitchNative(win8::test::kTestProgId, in InitializeCommandLineDefaultValues() 83 CommandLine& command_line = *CommandLine::ForCurrentProcess(); in AddCommonRGSReplacements() local [all …]
|
/external/chromium_org/net/tools/testserver/ |
D | run_testserver.cc | 29 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); in main() local 41 if (command_line->GetSwitches().empty() || in main() 42 command_line->HasSwitch("help")) { in main() 48 if (command_line->HasSwitch("http")) { in main() 50 } else if (command_line->HasSwitch("https")) { in main() 52 } else if (command_line->HasSwitch("ws")) { in main() 54 } else if (command_line->HasSwitch("wss")) { in main() 56 } else if (command_line->HasSwitch("ftp")) { in main() 61 if (command_line->HasSwitch("ssl-cert")) in main() 68 if (command_line->HasSwitch("ssl-cert")) { in main() [all …]
|
/external/chromium_org/remoting/base/ |
D | service_urls.cc | 36 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); in ServiceUrls() local 37 CHECK(command_line); in ServiceUrls() 38 if (command_line->HasSwitch(kDirectoryBaseUrlSwitch)) { in ServiceUrls() 39 directory_base_url_ = command_line->GetSwitchValueASCII( in ServiceUrls() 42 if (command_line->HasSwitch(kXmppServerAddressSwitch)) { in ServiceUrls() 43 xmpp_server_address_ = command_line->GetSwitchValueASCII( in ServiceUrls() 46 if (command_line->HasSwitch(kXmppServerDisableTlsSwitch)) { in ServiceUrls() 49 if (command_line->HasSwitch(kDirectoryBotJidSwitch)) { in ServiceUrls() 50 directory_bot_jid_ = command_line->GetSwitchValueASCII( in ServiceUrls()
|
/external/chromium_org/content/gpu/ |
D | gpu_main.cc | 72 const CommandLine& command_line); 73 bool WarmUpSandbox(const CommandLine& command_line); 111 const CommandLine& command_line = parameters.command_line; in GpuMain() local 112 if (command_line.HasSwitch(switches::kGpuStartupDialog)) { in GpuMain() 131 if (command_line.HasSwitch(switches::kSupportsDualGpus)) { in GpuMain() 132 std::string types = command_line.GetSwitchValueASCII( in GpuMain() 158 if (command_line.HasSwitch(switches::kUseGL) && in GpuMain() 159 command_line.GetSwitchValueASCII(switches::kUseGL) == in GpuMain() 187 !command_line.HasSwitch(switches::kDisableGpuWatchdog) && in GpuMain() 218 GetGpuInfoFromCommandLine(gpu_info, command_line); in GpuMain() [all …]
|
/external/chromium_org/chrome/browser/invalidation/ |
D | profile_invalidation_provider_factory_browsertest.cc | 55 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE; 71 CommandLine* command_line) { in SetUpCommandLine() argument 72 command_line->AppendSwitch(chromeos::switches::kLoginManager); in SetUpCommandLine() 73 command_line->AppendSwitchASCII(chromeos::switches::kLoginProfile, "user"); in SetUpCommandLine() 91 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE; 106 CommandLine* command_line) { in SetUpCommandLine() argument 107 command_line->AppendSwitch(chromeos::switches::kGuestSession); in SetUpCommandLine() 108 command_line->AppendSwitch(::switches::kIncognito); in SetUpCommandLine() 109 command_line->AppendSwitchASCII(chromeos::switches::kLoginProfile, "user"); in SetUpCommandLine() 110 command_line->AppendSwitchASCII(chromeos::switches::kLoginUser, in SetUpCommandLine()
|
/external/chromium_org/remoting/host/ |
D | host_main.cc | 98 base::CommandLine command_line(base::CommandLine::NO_PROGRAM); in RunElevated() local 102 command_line.AppendSwitchNative(i->first, i->second); in RunElevated() 106 command_line.AppendArgNative(*i); in RunElevated() 114 command_line.GetCommandLineString(); in RunElevated() 192 const base::CommandLine* command_line = in HostMain() local 194 if (command_line->HasSwitch(kHelpSwitchName) || in HostMain() 195 command_line->HasSwitch(kQuestionSwitchName)) { in HostMain() 196 Usage(command_line->GetProgram()); in HostMain() 200 if (command_line->HasSwitch(kVersionSwitchName)) { in HostMain() 206 if (command_line->HasSwitch(kElevateSwitchName)) { in HostMain() [all …]
|
/external/chromium_org/components/signin/core/common/ |
D | profile_management_switches.cc | 170 void EnableNewAvatarMenuForTesting(base::CommandLine* command_line) { in EnableNewAvatarMenuForTesting() argument 171 command_line->AppendSwitch(switches::kEnableNewAvatarMenu); in EnableNewAvatarMenuForTesting() 172 DCHECK(!command_line->HasSwitch(switches::kDisableNewAvatarMenu)); in EnableNewAvatarMenuForTesting() 175 void DisableNewAvatarMenuForTesting(base::CommandLine* command_line) { in DisableNewAvatarMenuForTesting() argument 176 command_line->AppendSwitch(switches::kDisableNewAvatarMenu); in DisableNewAvatarMenuForTesting() 177 DCHECK(!command_line->HasSwitch(switches::kEnableNewAvatarMenu)); in DisableNewAvatarMenuForTesting() 180 void EnableNewProfileManagementForTesting(base::CommandLine* command_line) { in EnableNewProfileManagementForTesting() argument 181 command_line->AppendSwitch(switches::kEnableNewProfileManagement); in EnableNewProfileManagementForTesting() 182 DCHECK(!command_line->HasSwitch(switches::kDisableNewProfileManagement)); in EnableNewProfileManagementForTesting() 185 void EnableAccountConsistencyForTesting(base::CommandLine* command_line) { in EnableAccountConsistencyForTesting() argument [all …]
|
/external/chromium_org/google_apis/ |
D | google_api_keys.cc | 80 CommandLine* command_line = CommandLine::ForCurrentProcess(); in APIKeyCache() local 87 command_line); in APIKeyCache() 95 command_line); in APIKeyCache() 102 command_line); in APIKeyCache() 116 command_line); in APIKeyCache() 123 command_line); in APIKeyCache() 131 command_line); in APIKeyCache() 138 command_line); in APIKeyCache() 146 command_line); in APIKeyCache() 153 command_line); in APIKeyCache() [all …]
|