Home
last modified time | relevance | path

Searched refs:command_line (Results 1 – 25 of 963) sorted by relevance

12345678910>>...39

/external/e2fsprogs/ext2ed/
Dext2ed.h258 extern void help (char *command_line);
259 extern void set (char *command_line);
260 extern void set_device (char *command_line);
261 extern void set_offset (char *command_line);
262 extern void set_type (char *command_line);
263 extern void show (char *command_line);
264 extern void pgup (char *command_line);
265 extern void pgdn (char *command_line);
266 extern void redraw (char *command_line);
267 extern void remember (char *command_line);
[all …]
Dmain.c198 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 …]
/external/chromium_org/content/child/
Druntime_features.cc49 const CommandLine& command_line) { in SetRuntimeFeaturesDefaultsAndUpdateFromArgs() argument
52 if (command_line.HasSwitch(switches::kEnableExperimentalWebPlatformFeatures)) in SetRuntimeFeaturesDefaultsAndUpdateFromArgs()
57 if (command_line.HasSwitch(switches::kDisableDatabases)) in SetRuntimeFeaturesDefaultsAndUpdateFromArgs()
60 if (command_line.HasSwitch(switches::kDisableApplicationCache)) in SetRuntimeFeaturesDefaultsAndUpdateFromArgs()
63 if (command_line.HasSwitch(switches::kDisableDesktopNotifications)) in SetRuntimeFeaturesDefaultsAndUpdateFromArgs()
66 if (command_line.HasSwitch(switches::kDisableNavigatorContentUtils)) in SetRuntimeFeaturesDefaultsAndUpdateFromArgs()
69 if (command_line.HasSwitch(switches::kDisableLocalStorage)) in SetRuntimeFeaturesDefaultsAndUpdateFromArgs()
72 if (command_line.HasSwitch(switches::kDisableSessionStorage)) in SetRuntimeFeaturesDefaultsAndUpdateFromArgs()
75 if (command_line.HasSwitch(switches::kDisableGeolocation)) in SetRuntimeFeaturesDefaultsAndUpdateFromArgs()
78 if (command_line.HasSwitch(switches::kDisableWebKitMediaSource)) in SetRuntimeFeaturesDefaultsAndUpdateFromArgs()
[all …]
/external/chromium_org/chrome/browser/
Dabout_flags_unittest.cc214 CommandLine command_line(CommandLine::NO_PROGRAM); in TEST_F() local
215 command_line.AppendSwitch("foo"); in TEST_F()
217 EXPECT_TRUE(command_line.HasSwitch("foo")); in TEST_F()
218 EXPECT_FALSE(command_line.HasSwitch(kSwitch1)); in TEST_F()
220 ConvertFlagsToSwitches(&flags_storage_, &command_line, kAddSentinels); in TEST_F()
222 EXPECT_TRUE(command_line.HasSwitch("foo")); in TEST_F()
223 EXPECT_TRUE(command_line.HasSwitch(kSwitch1)); in TEST_F()
224 EXPECT_TRUE(command_line.HasSwitch(switches::kFlagSwitchesBegin)); in TEST_F()
225 EXPECT_TRUE(command_line.HasSwitch(switches::kFlagSwitchesEnd)); in TEST_F()
239 CommandLine command_line(CommandLine::NO_PROGRAM); in TEST_F() local
[all …]
/external/chromium_org/chrome/browser/media/
Dchrome_webrtc_audio_quality_browsertest.cc99 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { in SetUpCommandLine() argument
102 EXPECT_FALSE(command_line->HasSwitch( in SetUpCommandLine()
104 EXPECT_FALSE(command_line->HasSwitch( in SetUpCommandLine()
173 CommandLine command_line(CommandLine::NO_PROGRAM); in StartRecording() local
199 command_line.SetProgram( in StartRecording()
201 command_line.AppendArg("/FILE"); in StartRecording()
202 command_line.AppendArgPath(output_file); in StartRecording()
203 command_line.AppendArg("/DURATION"); in StartRecording()
204 command_line.AppendArg(duration_in_hms); in StartRecording()
207 command_line.SetProgram(base::FilePath("arecord")); in StartRecording()
[all …]
Dchrome_webrtc_apprtc_browsertest.cc52 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { in SetUpCommandLine() argument
53 EXPECT_FALSE(command_line->HasSwitch(switches::kUseFakeUIForMediaStream)); in SetUpCommandLine()
56 command_line->AppendSwitch(switches::kUseGpuInTests); in SetUpCommandLine()
87 CommandLine command_line(CommandLine::NO_PROGRAM); in LaunchApprtcInstanceOnLocalhost() local
88 EXPECT_TRUE(GetPythonCommand(&command_line)); in LaunchApprtcInstanceOnLocalhost()
90 command_line.AppendArgPath(appengine_dev_appserver); in LaunchApprtcInstanceOnLocalhost()
91 command_line.AppendArgPath(apprtc_dir); in LaunchApprtcInstanceOnLocalhost()
92 command_line.AppendArg("--port=9999"); in LaunchApprtcInstanceOnLocalhost()
93 command_line.AppendArg("--admin_port=9998"); in LaunchApprtcInstanceOnLocalhost()
94 command_line.AppendArg("--skip_sdk_update_check"); in LaunchApprtcInstanceOnLocalhost()
[all …]
/external/chromium/chrome/browser/
Dabout_flags_unittest.cc170 CommandLine command_line(CommandLine::NO_PROGRAM); in TEST_F() local
171 command_line.AppendSwitch("foo"); in TEST_F()
173 EXPECT_TRUE(command_line.HasSwitch("foo")); in TEST_F()
174 EXPECT_FALSE(command_line.HasSwitch(kSwitch1)); in TEST_F()
176 ConvertFlagsToSwitches(&prefs_, &command_line); in TEST_F()
178 EXPECT_TRUE(command_line.HasSwitch("foo")); in TEST_F()
179 EXPECT_TRUE(command_line.HasSwitch(kSwitch1)); in TEST_F()
202 CommandLine command_line(CommandLine::NO_PROGRAM); in TEST_F() local
203 command_line.AppendSwitch("foo"); in TEST_F()
204 ConvertFlagsToSwitches(&prefs_, &command_line); in TEST_F()
[all …]
/external/chromium_org/chrome/test/base/
Dtest_launcher_utils.cc22 void PrepareBrowserCommandLineForTests(CommandLine* command_line) { in PrepareBrowserCommandLineForTests() argument
24 command_line->AppendSwitch(switches::kDisableWebResources); in PrepareBrowserCommandLineForTests()
28 command_line->AppendSwitch(switches::kDisablePreconnect); in PrepareBrowserCommandLineForTests()
31 command_line->AppendSwitch(switches::kNoFirstRun); in PrepareBrowserCommandLineForTests()
35 command_line->AppendSwitch(switches::kNoDefaultBrowserCheck); in PrepareBrowserCommandLineForTests()
39 if (!command_line->HasSwitch(switches::kEnableLogging)) in PrepareBrowserCommandLineForTests()
40 command_line->AppendSwitchASCII(switches::kEnableLogging, "stderr"); in PrepareBrowserCommandLineForTests()
41 if (!command_line->HasSwitch(switches::kLoggingLevel)) in PrepareBrowserCommandLineForTests()
42 command_line->AppendSwitchASCII(switches::kLoggingLevel, "0"); // info in PrepareBrowserCommandLineForTests()
45 command_line->AppendSwitch(switches::kSbDisableAutoUpdate); in PrepareBrowserCommandLineForTests()
[all …]
/external/chromium_org/content/browser/gpu/
Dcompositor_util.cc33 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); in GetGpuFeatureInfo() local
41 command_line.HasSwitch(switches::kDisableAccelerated2dCanvas) || in GetGpuFeatureInfo()
52 command_line.HasSwitch(switches::kDisableAcceleratedCompositing), in GetGpuFeatureInfo()
63 command_line.HasSwitch(switches::kDisableAcceleratedLayers), in GetGpuFeatureInfo()
72 command_line.HasSwitch(cc::switches::kDisableThreadedAnimation) || in GetGpuFeatureInfo()
73 command_line.HasSwitch(switches::kDisableAcceleratedCompositing) || in GetGpuFeatureInfo()
74 command_line.HasSwitch(switches::kDisableAcceleratedLayers), in GetGpuFeatureInfo()
81 command_line.HasSwitch(switches::kDisableExperimentalWebGL), in GetGpuFeatureInfo()
88 command_line.HasSwitch(switches::kDisableGLMultisampling), in GetGpuFeatureInfo()
96 command_line.HasSwitch(switches::kDisableFlash3d), in GetGpuFeatureInfo()
[all …]
Dgpu_data_manager_impl_private.cc116 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); in UpdateStats() local
159 command_line.HasSwitch(switches::kDisableAccelerated2dCanvas), in UpdateStats()
160 command_line.HasSwitch(switches::kDisableAcceleratedCompositing), in UpdateStats()
161 command_line.HasSwitch(switches::kDisableExperimentalWebGL), in UpdateStats()
162 command_line.HasSwitch(switches::kDisableImageTransportSurface) in UpdateStats()
241 CommandLine* command_line) { in ApplyAndroidWorkarounds() argument
270 !command_line->HasSwitch(switches::kDefaultTileWidth) && in ApplyAndroidWorkarounds()
271 !command_line->HasSwitch(switches::kDefaultTileHeight)) { in ApplyAndroidWorkarounds()
274 command_line->AppendSwitchASCII( in ApplyAndroidWorkarounds()
276 command_line->AppendSwitchASCII( in ApplyAndroidWorkarounds()
[all …]
/external/chromium_org/net/tools/dump_cache/
Ddump_cache.cc80 int LaunchSlave(CommandLine command_line, in LaunchSlave() argument
83 bool do_upgrade = command_line.HasSwitch(kUpgrade); in LaunchSlave()
84 bool do_convert_to_text = command_line.HasSwitch(kDumpToFiles); in LaunchSlave()
89 command_line.SetProgram(program); in LaunchSlave()
93 command_line.AppendSwitch(kSlave); in LaunchSlave()
95 command_line.AppendSwitchNative(kPipe, pipe_number); in LaunchSlave()
96 if (!base::LaunchProcess(command_line, base::LaunchOptions(), NULL)) { in LaunchSlave()
98 command_line.GetProgram().value().c_str()); in LaunchSlave()
115 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); in main() local
116 base::FilePath input_path = command_line.GetSwitchValuePath(kInputPath); in main()
[all …]
/external/chromium_org/chrome/browser/ui/startup/
Dstartup_browser_creator.cc269 const CommandLine& command_line, in LaunchBrowser() argument
282 if (IncognitoModePrefs::ShouldLaunchIncognito(command_line, in LaunchBrowser()
285 } else if (command_line.HasSwitch(switches::kIncognito)) { in LaunchBrowser()
294 const bool silent_launch = command_line.HasSwitch(switches::kSilentLaunch); in LaunchBrowser()
297 StartupBrowserCreatorImpl lwp(cur_dir, command_line, this, is_first_run); in LaunchBrowser()
299 GetURLsFromCommandLine(command_line, cur_dir, profile); in LaunchBrowser()
352 const CommandLine& command_line, in GetSessionStartupPref() argument
381 if ((command_line.HasSwitch(switches::kRestoreLastSession) || in GetSessionStartupPref()
387 IncognitoModePrefs::ShouldLaunchIncognito(command_line, prefs)) { in GetSessionStartupPref()
404 const CommandLine& command_line, in GetURLsFromCommandLine() argument
[all …]
/external/chromium_org/chrome_frame/
Dchrome_launcher_utils.cc27 bool CreateChromeLauncherCommandLine(scoped_ptr<CommandLine>* command_line) { in CreateChromeLauncherCommandLine() argument
28 DCHECK(command_line); in CreateChromeLauncherCommandLine()
38 command_line->reset(new CommandLine(chrome_launcher)); in CreateChromeLauncherCommandLine()
58 scoped_ptr<CommandLine>* command_line) { in CreateUpdateCommandLine() argument
59 DCHECK(command_line); in CreateUpdateCommandLine()
62 if (CreateChromeLauncherCommandLine(command_line)) { in CreateUpdateCommandLine()
63 (*command_line)->AppendArg(kUpdateCommandFlag); in CreateUpdateCommandLine()
64 (*command_line)->AppendArg(WideToASCII(update_command)); in CreateUpdateCommandLine()
71 bool CreateLaunchCommandLine(scoped_ptr<CommandLine>* command_line) { in CreateLaunchCommandLine() argument
72 DCHECK(command_line); in CreateLaunchCommandLine()
[all …]
Dchrome_launcher.cc121 bool IsValidCommandLine(const wchar_t* command_line) { in IsValidCommandLine() argument
122 if (command_line == NULL) { in IsValidCommandLine()
128 args = CommandLineToArgvW(command_line, &num_args); in IsValidCommandLine()
146 void AppendAdditionalLaunchParameters(std::wstring* command_line) { in AppendAdditionalLaunchParameters() argument
161 const size_t kMaxChars = 0x7FFF - command_line->size(); in AppendAdditionalLaunchParameters()
184 *command_line += L' '; in AppendAdditionalLaunchParameters()
185 *command_line += value; in AppendAdditionalLaunchParameters()
195 bool SanitizeAndLaunchChrome(const wchar_t* command_line) { in SanitizeAndLaunchChrome() argument
197 if (IsValidCommandLine(command_line)) { in SanitizeAndLaunchChrome()
200 const wchar_t* args = PathGetArgs(command_line); in SanitizeAndLaunchChrome()
[all …]
/external/chromium/chrome/common/
Dprofiling.cc20 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); in GetProfileName() local
21 if (command_line.HasSwitch(switches::kProfilingFile)) in GetProfileName()
22 profile_name = command_line.GetSwitchValueASCII(switches::kProfilingFile); in GetProfileName()
26 command_line.GetSwitchValueASCII(switches::kProcessType); in GetProfileName()
43 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); in FlushProfilingData() local
45 command_line.GetSwitchValueASCII(switches::kProfilingFlush); in FlushProfilingData()
62 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); in ProcessStarted() local
64 command_line.GetSwitchValueASCII(switches::kProcessType); in ProcessStarted()
66 if (command_line.HasSwitch(switches::kProfilingAtStart)) { in ProcessStarted()
68 command_line.GetSwitchValueASCII(switches::kProfilingAtStart); in ProcessStarted()
[all …]
/external/chromium_org/content/shell/app/
Dshell_main_delegate.cc123 CommandLine& command_line = *CommandLine::ForCurrentProcess(); in BasicStartupComplete() local
124 if (command_line.HasSwitch(switches::kCheckLayoutTestSysDeps)) { in BasicStartupComplete()
132 if (command_line.HasSwitch(switches::kDumpRenderTree)) { in BasicStartupComplete()
135 command_line.AppendSwitch(switches::kProcessPerTab); in BasicStartupComplete()
136 command_line.AppendSwitch(switches::kEnableLogging); in BasicStartupComplete()
137 command_line.AppendSwitch(switches::kAllowFileAccessFromFiles); in BasicStartupComplete()
140 command_line.AppendSwitchASCII( in BasicStartupComplete()
143 command_line.AppendSwitch(switches::kSkipGpuDataLoading); in BasicStartupComplete()
144 command_line.AppendSwitchASCII(switches::kTouchEvents, in BasicStartupComplete()
146 command_line.AppendSwitch(switches::kEnableGestureTapHighlight); in BasicStartupComplete()
[all …]
/external/chromium_org/chrome/app/
Dchrome_main_delegate.cc141 bool HasDeprecatedArguments(const std::wstring& command_line) { in HasDeprecatedArguments() argument
143 std::wstring command_line_lower = command_line; in HasDeprecatedArguments()
221 void EnableHeapProfiler(const CommandLine& command_line) { in EnableHeapProfiler() argument
223 if (command_line.HasSwitch(switches::kMemoryProfiling)) in EnableHeapProfiler()
258 bool HandleVersionSwitches(const CommandLine& command_line) { in HandleVersionSwitches() argument
262 if (command_line.HasSwitch(switches::kProductVersion)) { in HandleVersionSwitches()
268 if (command_line.HasSwitch(switches::kVersion)) { in HandleVersionSwitches()
281 void HandleHelpSwitches(const CommandLine& command_line) { in HandleHelpSwitches() argument
282 if (command_line.HasSwitch(switches::kHelp) || in HandleHelpSwitches()
283 command_line.HasSwitch(switches::kHelpShort)) { in HandleHelpSwitches()
[all …]
/external/chromium_org/cc/base/
Dswitches.cc155 const CommandLine* command_line = CommandLine::ForCurrentProcess(); in IsLCDTextEnabled() local
156 if (command_line->HasSwitch(switches::kDisableLCDText)) in IsLCDTextEnabled()
158 else if (command_line->HasSwitch(switches::kEnableLCDText)) in IsLCDTextEnabled()
170 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); in CheckImplSidePaintingStatus() local
172 if (command_line.HasSwitch(switches::kDisableImplSidePainting)) in CheckImplSidePaintingStatus()
174 else if (command_line.HasSwitch(switches::kEnableImplSidePainting)) in CheckImplSidePaintingStatus()
185 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); in CheckGPURasterizationStatus() local
186 return command_line.HasSwitch(switches::kEnableGPURasterization); in CheckGPURasterizationStatus()
202 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); in IsMapImageEnabled() local
204 if (command_line.HasSwitch(switches::kDisableMapImage)) in IsMapImageEnabled()
[all …]
/external/chromium/chrome/browser/tab_contents/
Drender_view_host_delegate_helper.cc254 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); in GetWebkitPrefs() local
256 !command_line.HasSwitch(switches::kDisableDevTools); in GetWebkitPrefs()
258 !command_line.HasSwitch(switches::kDisableJavaScript) && in GetWebkitPrefs()
261 !command_line.HasSwitch(switches::kDisableWebSecurity) && in GetWebkitPrefs()
264 !command_line.HasSwitch(switches::kDisablePlugins) && in GetWebkitPrefs()
267 !command_line.HasSwitch(switches::kDisableJava) && in GetWebkitPrefs()
272 command_line.HasSwitch(switches::kEnableFastback); in GetWebkitPrefs()
274 !command_line.HasSwitch(switches::kDisableRemoteFonts); in GetWebkitPrefs()
276 !command_line.HasSwitch(switches::kDisableXSSAuditor); in GetWebkitPrefs()
278 !command_line.HasSwitch(switches::kDisableApplicationCache); in GetWebkitPrefs()
[all …]
/external/chromium_org/win8/test/
Dtest_registrar.cc36 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/base/debug/
Ddebug_on_start_win.cc22 bool DebugOnStart::FindArgument(wchar_t* command_line, const char* argument_c) { in FindArgument() argument
28 int command_line_len = lstrlen(command_line); in FindArgument()
30 wchar_t first_char = command_line[0]; in FindArgument()
31 wchar_t last_char = command_line[argument_len+1]; in FindArgument()
35 command_line[argument_len+1] = 0; in FindArgument()
37 if (lstrcmpi(command_line+1, argument) == 0) { in FindArgument()
39 command_line[argument_len+1] = last_char; in FindArgument()
43 command_line[argument_len+1] = last_char; in FindArgument()
46 ++command_line; in FindArgument()
/external/chromium_org/base/debug/
Ddebug_on_start_win.cc22 bool DebugOnStart::FindArgument(wchar_t* command_line, const char* argument_c) { in FindArgument() argument
28 int command_line_len = lstrlen(command_line); in FindArgument()
30 wchar_t first_char = command_line[0]; in FindArgument()
31 wchar_t last_char = command_line[argument_len+1]; in FindArgument()
35 command_line[argument_len+1] = 0; in FindArgument()
37 if (lstrcmpi(command_line+1, argument) == 0) { in FindArgument()
39 command_line[argument_len+1] = last_char; in FindArgument()
43 command_line[argument_len+1] = last_char; in FindArgument()
46 ++command_line; in FindArgument()
/external/chromium/net/tools/dump_cache/
Ddump_cache.cc74 int LaunchSlave(const CommandLine& command_line, in LaunchSlave() argument
77 std::wstring hacked_command_line = command_line.command_line_string(); in LaunchSlave()
82 bool do_upgrade = command_line.HasSwitch(kUpgrade); in LaunchSlave()
83 bool do_convert_to_text = command_line.HasSwitch(kDumpToFiles); in LaunchSlave()
117 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); in main() local
118 std::wstring input_path = command_line.GetSwitchValueNative(kInputPath); in main()
126 std::wstring output_path = command_line.GetSwitchValueNative(kOutputPath); in main()
131 if (command_line.HasSwitch(kUpgrade)) in main()
133 if (command_line.HasSwitch(kDumpToFiles)) in main()
147 if (command_line.HasSwitch(kSlave)) { in main()
[all …]
/external/chromium_org/net/tools/testserver/
Drun_testserver.cc29 CommandLine* command_line = 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/host/
Dhost_main.cc97 CommandLine command_line(CommandLine::NO_PROGRAM); in RunElevated() local
101 command_line.AppendSwitchNative(i->first, i->second); in RunElevated()
105 command_line.AppendArgNative(*i); in RunElevated()
111 CommandLine::StringType parameters = command_line.GetCommandLineString(); in RunElevated()
191 const CommandLine* command_line = CommandLine::ForCurrentProcess(); in HostMain() local
192 if (command_line->HasSwitch(kHelpSwitchName) || in HostMain()
193 command_line->HasSwitch(kQuestionSwitchName)) { in HostMain()
194 Usage(command_line->GetProgram()); in HostMain()
198 if (command_line->HasSwitch(kVersionSwitchName)) { in HostMain()
204 if (command_line->HasSwitch(kElevateSwitchName)) { in HostMain()
[all …]

12345678910>>...39