Searched refs:command_line (Results 101 - 125 of 915) sorted by last modified time

1234567891011>>

/external/chromium_org/remoting/host/
H A Ddesktop_process_main.cc10 #include "base/command_line.h"
26 const base::CommandLine* command_line = local
29 command_line->GetSwitchValueASCII(kDaemonPipeSwitchName);
H A Dhost_main.cc13 #include "base/command_line.h"
98 base::CommandLine command_line(base::CommandLine::NO_PROGRAM);
102 command_line.AppendSwitchNative(i->first, i->second);
106 command_line.AppendArgNative(*i);
114 command_line.GetCommandLineString();
192 const base::CommandLine* command_line = local
194 if (command_line->HasSwitch(kHelpSwitchName) ||
195 command_line->HasSwitch(kQuestionSwitchName)) {
196 Usage(command_line->GetProgram());
200 if (command_line
[all...]
H A Dusage_stats_consent_mac.cc9 #include "base/command_line.h"
24 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); local
25 if (command_line->HasSwitch(kHostConfigSwitchName)) {
27 command_line->GetSwitchValuePath(kHostConfigSwitchName);
/external/chromium_org/remoting/host/setup/
H A Ddaemon_controller_delegate_linux.cc12 #include "base/command_line.h"
92 base::CommandLine command_line(script_path);
94 command_line.AppendArg(args[i]);
110 if (!base::LaunchProcess(command_line, options, &process_handle)) {
112 << command_line.GetCommandLineString();
119 << command_line.GetCommandLineString();
144 base::CommandLine command_line(script_path);
145 command_line.AppendArg("--get-status");
150 base::GetAppOutputWithExitCode(command_line, &status, &exit_code);
159 LOG(ERROR) << "Failed to run \"" << command_line
[all...]
H A Ddaemon_installer_win.cc296 base::string16 command_line = base::WideToUTF16( local
303 if (!base::LaunchProcess(command_line, options, &process_)) {
H A Dme2me_native_messaging_host.cc12 #include "base/command_line.h"
625 base::CommandLine command_line(base::CommandLine::NO_PROGRAM);
626 command_line.AppendSwitch(kElevatingSwitchName);
627 command_line.AppendSwitchASCII(kInputSwitchName, input_pipe_name);
628 command_line.AppendSwitchASCII(kOutputSwitchName, output_pipe_name);
633 command_line.AppendSwitchNative(i->first, i->second);
637 command_line.AppendArgNative(*i);
643 command_line.GetCommandLineString();
H A Dme2me_native_messaging_host_main.cc8 #include "base/command_line.h"
104 const base::CommandLine* command_line = local
107 if (command_line->HasSwitch(kParentWindowSwitchName)) {
109 command_line->GetSwitchValueASCII(kParentWindowSwitchName);
125 if (command_line->HasSwitch(kElevatingSwitchName)) {
131 DCHECK(command_line->HasSwitch(kInputSwitchName));
132 DCHECK(command_line->HasSwitch(kOutputSwitchName));
136 command_line->GetSwitchValueNative(kInputSwitchName);
139 command_line->GetSwitchValueNative(kOutputSwitchName);
H A Dstart_host.cc10 #include "base/command_line.h"
104 const base::CommandLine* command_line = local
107 std::string host_name = command_line->GetSwitchValueASCII("name");
108 std::string host_pin = command_line->GetSwitchValueASCII("pin");
109 std::string auth_code = command_line->GetSwitchValueASCII("code");
110 std::string redirect_url = command_line->GetSwitchValueASCII("redirect-url");
/external/chromium_org/remoting/host/win/
H A Dhost_service.cc17 #include "base/command_line.h"
68 bool HostService::InitWithCommandLine(const base::CommandLine* command_line) { argument
69 base::CommandLine::StringVector args = command_line->GetArgs();
77 command_line->HasSwitch(kConsoleSwitchName)) {
H A Dhost_service.h34 bool InitWithCommandLine(const base::CommandLine* command_line);
H A Dlaunch_process_with_token.cc291 const base::CommandLine::StringType& command_line,
305 LPWSTR command_line; member in struct:__anon10487::CreateProcessRequest
323 (application_name.size() + command_line.size() + desktop.size() + 3);
346 request->command_line = reinterpret_cast<LPWSTR>(buffer_offset);
347 std::copy(command_line.begin(),
348 command_line.end(),
350 buffer_offset += (command_line.size() + 1) * sizeof(wchar_t);
374 const base::CommandLine::StringType& command_line,
384 if (!SendCreateProcessRequest(pipe.Get(), application_name, command_line,
451 const base::CommandLine::StringType& command_line,
288 SendCreateProcessRequest( HANDLE pipe, const base::FilePath::StringType& application_name, const base::CommandLine::StringType& command_line, DWORD creation_flags, const base::char16* desktop_name) argument
371 CreateRemoteSessionProcess( uint32 session_id, const base::FilePath::StringType& application_name, const base::CommandLine::StringType& command_line, DWORD creation_flags, const base::char16* desktop_name, PROCESS_INFORMATION* process_information_out) argument
450 LaunchProcessWithToken(const base::FilePath& binary, const base::CommandLine::StringType& command_line, HANDLE user_token, SECURITY_ATTRIBUTES* process_attributes, SECURITY_ATTRIBUTES* thread_attributes, bool inherit_handles, DWORD creation_flags, const base::char16* desktop_name, ScopedHandle* process_out, ScopedHandle* thread_out) argument
[all...]
H A Dlaunch_process_with_token.h11 #include "base/command_line.h"
35 const base::CommandLine::StringType& command_line,
H A Dunprivileged_process_delegate.cc13 #include "base/command_line.h"
293 base::CommandLine command_line(target_command_->argv());
294 command_line.AppendSwitchASCII(kDaemonPipeSwitchName, pipe_handle);
307 if (!LaunchProcessWithToken(command_line.GetProgram(),
308 command_line.GetCommandLineString(),
H A Dwts_session_process_delegate.cc11 #include "base/command_line.h"
351 base::CommandLine command_line(target_command_->argv());
368 command_line.SetProgram(helper_binary);
369 command_line.AppendSwitchPath(kElevateSwitchName,
389 command_line.AppendSwitchNative(kDaemonPipeSwitchName,
395 if (!LaunchProcessWithToken(command_line.GetProgram(),
396 command_line.GetCommandLineString(),
/external/chromium_org/remoting/tools/
H A Dbreakpad_tester_win.cc9 #include "base/command_line.h"
43 const base::CommandLine* command_line = local
45 if (command_line->HasSwitch(kHelpSwitchName) ||
46 command_line->HasSwitch(kQuestionSwitchName)) {
51 base::CommandLine::StringVector args = command_line->GetArgs();
H A Drun_webapp_unittest.py79 command_line = ""
87 command_line = BuildCommandLine(args.chrome_path, args.module, args.coverage)
88 os.system(command_line)
/external/chromium_org/sandbox/win/sandbox_poc/
H A Dmain_ui_window.cc41 wchar_t* command_line,
45 DCHECK(command_line);
49 spawn_target_ = command_line;
39 CreateMainWindowAndLoop( HINSTANCE instance, wchar_t* command_line, int show_command, sandbox::BrokerServices* broker) argument
H A Dmain_ui_window.h52 // as a result. Arguments 'instance', 'command_line' and 'show_cmd' can be
57 wchar_t* command_line,
H A Dsandbox.cc17 bool ParseCommandLine(wchar_t * command_line, argument
33 arg_list = CommandLineToArgvW(command_line, &arg_count);
50 int APIENTRY _tWinMain(HINSTANCE instance, HINSTANCE, wchar_t* command_line, argument
52 UNREFERENCED_PARAMETER(command_line);
/external/chromium_org/sandbox/win/src/
H A Dbroker_services.cc316 const wchar_t* command_line,
463 DWORD win_result = target->Create(exe_path, command_line, inherit_handles,
315 SpawnTarget(const wchar_t* exe_path, const wchar_t* command_line, TargetPolicy* policy, PROCESS_INFORMATION* target_info) argument
H A Dbroker_services.h51 const wchar_t* command_line,
H A Dinterceptors_64.cc175 LPCWSTR application_name, LPWSTR command_line,
182 return TargetCreateProcessW(orig_fn, application_name, command_line,
190 LPCSTR application_name, LPSTR command_line,
197 return TargetCreateProcessA(orig_fn, application_name, command_line,
174 TargetCreateProcessW64( LPCWSTR application_name, LPWSTR command_line, LPSECURITY_ATTRIBUTES process_attributes, LPSECURITY_ATTRIBUTES thread_attributes, BOOL inherit_handles, DWORD flags, LPVOID environment, LPCWSTR current_directory, LPSTARTUPINFOW startup_info, LPPROCESS_INFORMATION process_information) argument
189 TargetCreateProcessA64( LPCSTR application_name, LPSTR command_line, LPSECURITY_ATTRIBUTES process_attributes, LPSECURITY_ATTRIBUTES thread_attributes, BOOL inherit_handles, DWORD flags, LPVOID environment, LPCSTR current_directory, LPSTARTUPINFOA startup_info, LPPROCESS_INFORMATION process_information) argument
H A Dinterceptors_64.h111 LPCWSTR application_name, LPWSTR command_line,
119 LPCSTR application_name, LPSTR command_line,
H A Dprocess_thread_interception.cc263 LPCWSTR application_name, LPWSTR command_line,
270 if (orig_CreateProcessW(application_name, command_line, process_attributes,
306 command_line, cur_dir, proc_info, &answer);
322 LPCSTR application_name, LPSTR command_line,
329 if (orig_CreateProcessA(application_name, command_line, process_attributes,
354 if (command_line) {
355 cmd_unicode = AnsiToUnicode(command_line);
262 TargetCreateProcessW(CreateProcessWFunction orig_CreateProcessW, LPCWSTR application_name, LPWSTR command_line, LPSECURITY_ATTRIBUTES process_attributes, LPSECURITY_ATTRIBUTES thread_attributes, BOOL inherit_handles, DWORD flags, LPVOID environment, LPCWSTR current_directory, LPSTARTUPINFOW startup_info, LPPROCESS_INFORMATION process_information) argument
321 TargetCreateProcessA(CreateProcessAFunction orig_CreateProcessA, LPCSTR application_name, LPSTR command_line, LPSECURITY_ATTRIBUTES process_attributes, LPSECURITY_ATTRIBUTES thread_attributes, BOOL inherit_handles, DWORD flags, LPVOID environment, LPCSTR current_directory, LPSTARTUPINFOA startup_info, LPPROCESS_INFORMATION process_information) argument
H A Dprocess_thread_interception.h74 LPWSTR command_line, LPSECURITY_ATTRIBUTES process_attributes,
81 LPSTR command_line, LPSECURITY_ATTRIBUTES process_attributes,

Completed in 1641 milliseconds

1234567891011>>