/external/chromium_org/base/test/ |
D | test_process_killer_win.cc | 46 base::win::ScopedHandle process_handle(::OpenProcess( in GetCommandLineForProcess() local 50 if (!process_handle) { in GetCommandLineForProcess() 57 if (process_handle) { in GetCommandLineForProcess() 67 if ((qip_func(process_handle.Get(), in GetCommandLineForProcess() 83 if (!::ReadProcessMemory(process_handle.Get(), in GetCommandLineForProcess() 100 if (!::ReadProcessMemory(process_handle.Get(), in GetCommandLineForProcess() 113 if (!::ReadProcessMemory(process_handle.Get(), in GetCommandLineForProcess()
|
/external/chromium_org/base/process/ |
D | launch_win.cc | 108 win::ScopedHandle* process_handle) { in LaunchProcess() argument 211 process_info.process_handle())) { in LaunchProcess() 213 KillProcess(process_info.process_handle(), kProcessKilledExitCode, true); in LaunchProcess() 221 WaitForSingleObject(process_info.process_handle(), INFINITE); in LaunchProcess() 224 if (process_handle) in LaunchProcess() 225 process_handle->Set(process_info.TakeProcessHandle()); in LaunchProcess() 232 ProcessHandle* process_handle) { in LaunchProcess() argument 233 if (!process_handle) in LaunchProcess() 238 *process_handle = process.Take(); in LaunchProcess() 323 WaitForSingleObject(proc_info.process_handle(), INFINITE); in GetAppOutput()
|
D | launch.h | 146 ProcessHandle* process_handle); 161 win::ScopedHandle* process_handle); 170 ProcessHandle* process_handle);
|
D | kill.h | 152 BASE_EXPORT void EnsureProcessTerminated(ProcessHandle process_handle); 157 BASE_EXPORT void EnsureProcessGetsReaped(ProcessHandle process_handle);
|
/external/chromium_org/sandbox/win/src/ |
D | target_process.cc | 90 ::WaitForSingleObject(sandbox_process_info_.process_handle(), 50); in ~TargetProcess() 91 if (!::GetExitCodeProcess(sandbox_process_info_.process_handle(), in ~TargetProcess() 155 if (!::AssignProcessToJobObject(job_, process_info.process_handle())) { in Create() 157 ::TerminateProcess(process_info.process_handle(), 0); in Create() 171 ::TerminateProcess(process_info.process_handle(), 0); in Create() 181 ::TerminateProcess(process_info.process_handle(), 0); in Create() 197 ::TerminateProcess(process_info.process_handle(), 0); in Create() 232 if (!::WriteProcessMemory(sandbox_process_info_.process_handle(), in TransferVariable() 265 sandbox_process_info_.process_handle(), in Init() 308 new SharedMemIPCServer(sandbox_process_info_.process_handle(), in Init() [all …]
|
D | policy_target_test.cc | 254 EXPECT_EQ(WAIT_TIMEOUT, ::WaitForSingleObject(target.process_handle(), 2000)); in TEST() 263 EXPECT_TRUE(::TerminateProcess(target.process_handle(), 0)); in TEST() 265 ::WaitForSingleObject(target.process_handle(), INFINITE); in TEST() 317 EXPECT_EQ(WAIT_TIMEOUT, ::WaitForSingleObject(target.process_handle(), 2000)); in TEST() 334 EXPECT_TRUE(::TerminateProcess(target.process_handle(), 0)); in TEST() 336 ::WaitForSingleObject(target.process_handle(), INFINITE); in TEST()
|
/external/chromium_org/chrome/browser/extensions/api/messaging/ |
D | native_process_launcher.cc | 84 base::ProcessHandle process_handle, 89 base::ProcessHandle process_handle, 204 base::ProcessHandle process_handle; in DoLaunchOnThreadPool() local 208 command_line, &process_handle, &read_file, &write_file)) { in DoLaunchOnThreadPool() 209 PostResult(callback, process_handle, read_file, write_file); in DoLaunchOnThreadPool() 218 base::ProcessHandle process_handle, in CallCallbackOnIOThread() argument 230 callback.Run(result, process_handle, read_file, write_file); in CallCallbackOnIOThread() 246 base::ProcessHandle process_handle, in PostResult() argument 252 callback, RESULT_SUCCESS, process_handle, read_file, in PostResult()
|
D | native_process_launcher.h | 37 base::ProcessHandle process_handle, 67 base::ProcessHandle* process_handle,
|
/external/chromium_org/win8/delegate_execute/ |
D | chrome_util.cc | 106 base::win::ScopedHandle process_handle; in UpdateChromeIfNeeded() local 119 &process_handle)) { in UpdateChromeIfNeeded() 142 process_handle.Set(reinterpret_cast<base::ProcessHandle>(handle)); in UpdateChromeIfNeeded() 148 if (process_handle.IsValid()) { in UpdateChromeIfNeeded() 151 if (!base::WaitForExitCode(process_handle.Take(), &exit_code)) { in UpdateChromeIfNeeded()
|
/external/chromium_org/chrome_frame/test/ |
D | mock_ie_event_sink_test.h | 213 MOCK_METHOD1(OnObjectSignaled, void (HANDLE process_handle)); // NOLINT 225 void WatchProcess(HANDLE process_handle) { in WatchProcess() argument 226 process_handles_.push_back(process_handle); in WatchProcess() 227 object_watcher_.StartWatching(process_handle, this); in WatchProcess() 236 HANDLE process_handle = ::OpenProcess(SYNCHRONIZE, FALSE, pid); in WatchProcessForHwnd() local 237 EXPECT_TRUE(process_handle); in WatchProcessForHwnd() 238 if (process_handle != NULL) { in WatchProcessForHwnd() 239 WatchProcess(process_handle); in WatchProcessForHwnd()
|
/external/chromium_org/base/win/ |
D | scoped_process_information_unittest.cc | 36 PROCESS_INFORMATION* process_handle); 48 const std::string& main_id, PROCESS_INFORMATION* process_handle) { in DoCreateProcess() argument 57 &startup_info, process_handle)); in DoCreateProcess() 72 EXPECT_EQ(kProcessHandle, process_info.process_handle()); in TEST_F() 83 EXPECT_EQ(NULL, process_info.process_handle()); in TEST_F() 164 EXPECT_EQ(kProcessHandle, process_info.process_handle()); in TEST_F()
|
/external/chromium_org/chrome/test/perf/ |
D | perf_test.cc | 55 base::ProcessHandle process_handle; in IOPerfInfoToString() local 56 if (!base::OpenProcessHandle(*it, &process_handle)) { in IOPerfInfoToString() 65 ChromeTestProcessMetrics::CreateProcessMetrics(process_handle)); in IOPerfInfoToString() 113 base::CloseProcessHandle(process_handle); in IOPerfInfoToString() 271 base::ProcessHandle process_handle; in MemoryUsageInfoToString() local 272 if (!base::OpenProcessHandle(*it, &process_handle)) { in MemoryUsageInfoToString() 281 ChromeTestProcessMetrics::CreateProcessMetrics(process_handle)); in MemoryUsageInfoToString() 314 base::CloseProcessHandle(process_handle); in MemoryUsageInfoToString()
|
/external/chromium_org/chrome/test/mini_installer/ |
D | chrome_helper.py | 24 process_handle = ctypes.windll.kernel32.OpenProcess( 27 if not process_handle: 30 process_path = win32process.GetModuleFileNameEx(process_handle, 0)
|
/external/chromium_org/chrome/browser/ |
D | process_info_snapshot_mac_unittest.cc | 115 base::ProcessHandle process_handle; in TEST_F() local 118 ASSERT_TRUE(base::LaunchProcess(argv, options, &process_handle)); in TEST_F() 127 pid_list.push_back(process_handle); in TEST_F() 132 ASSERT_TRUE(snapshot.GetProcInfo(process_handle, &proc_info)); in TEST_F() 138 ASSERT_TRUE(base::KillProcess(process_handle, 0, true)); in TEST_F()
|
D | memory_details_win.cc | 93 base::win::ScopedHandle process_handle(::OpenProcess( in CollectProcessData() local 95 if (!process_handle.Get()) in CollectProcessData() 100 (base::win::OSInfo::GetWOW64StatusForProcess(process_handle) == in CollectProcessData() 117 metrics.reset(base::ProcessMetrics::CreateProcessMetrics(process_handle)); in CollectProcessData() 136 } else if (GetModuleFileNameEx(process_handle, NULL, name, in CollectProcessData()
|
/external/chromium/chrome/browser/ |
D | process_info_snapshot_mac_unittest.cc | 113 base::ProcessHandle process_handle; in TEST_F() local 114 ASSERT_TRUE(base::LaunchApp(argv, fds_to_remap, false, &process_handle)); in TEST_F() 123 pid_list.push_back(process_handle); in TEST_F() 128 ASSERT_TRUE(snapshot.GetProcInfo(process_handle, &proc_info)); in TEST_F() 134 ASSERT_TRUE(base::KillProcess(process_handle, 0, true)); in TEST_F()
|
D | memory_details_win.cc | 91 base::win::ScopedHandle process_handle(::OpenProcess( in CollectProcessData() local 93 if (!process_handle.Get()) in CollectProcessData() 98 (base::win::OSInfo::GetWOW64StatusForProcess(process_handle) == in CollectProcessData() 115 metrics.reset(base::ProcessMetrics::CreateProcessMetrics(process_handle)); in CollectProcessData() 134 } else if (GetModuleFileNameEx(process_handle, NULL, name, in CollectProcessData()
|
/external/chromium/base/ |
D | process_util_win.cc | 222 ProcessHandle* process_handle) { in LaunchAppImpl() argument 241 if (process_handle) { in LaunchAppImpl() 242 *process_handle = process_info.hProcess; in LaunchAppImpl() 250 bool wait, bool start_hidden, ProcessHandle* process_handle) { in LaunchApp() argument 251 return LaunchAppImpl(cmdline, wait, start_hidden, false, process_handle); in LaunchApp() 256 ProcessHandle* process_handle) { in LaunchAppWithHandleInheritance() argument 257 return LaunchAppImpl(cmdline, wait, start_hidden, true, process_handle); in LaunchAppWithHandleInheritance() 261 bool start_hidden, ProcessHandle* process_handle) { in LaunchAppAsUser() argument 262 return LaunchAppAsUser(token, cmdline, start_hidden, process_handle, in LaunchAppAsUser() 267 bool start_hidden, ProcessHandle* process_handle, in LaunchAppAsUser() argument [all …]
|
D | process_util.h | 223 ProcessHandle* process_handle); 229 ProcessHandle* process_handle); 244 ProcessHandle* process_handle); 251 bool start_hidden, ProcessHandle* process_handle, 269 bool wait, ProcessHandle* process_handle); 277 bool wait, ProcessHandle* process_handle); 285 bool wait, ProcessHandle* process_handle); 301 ProcessHandle* process_handle);
|
D | process_util_posix.cc | 507 ProcessHandle* process_handle, in LaunchAppImpl() argument 623 if (process_handle) in LaunchAppImpl() 624 *process_handle = pid; in LaunchAppImpl() 635 ProcessHandle* process_handle) { in LaunchApp() argument 637 wait, process_handle, false); in LaunchApp() 645 ProcessHandle* process_handle) { in LaunchAppInNewProcessGroup() argument 647 process_handle, true); in LaunchAppInNewProcessGroup() 652 bool wait, ProcessHandle* process_handle) { in LaunchApp() argument 654 return LaunchApp(argv, no_env, fds_to_remap, wait, process_handle); in LaunchApp() 659 ProcessHandle* process_handle) { in LaunchApp() argument [all …]
|
/external/chromium_org/content/browser/renderer_host/media/ |
D | audio_input_sync_writer.cc | 65 base::ProcessHandle process_handle, in PrepareForeignSocketHandle() argument 68 process_handle, foreign_handle, in PrepareForeignSocketHandle() 76 base::ProcessHandle process_handle, in PrepareForeignSocketHandle() argument
|
D | audio_sync_reader.cc | 110 base::ProcessHandle process_handle, in PrepareForeignSocketHandle() argument 113 process_handle, foreign_handle, in PrepareForeignSocketHandle() 119 base::ProcessHandle process_handle, in PrepareForeignSocketHandle() argument
|
/external/chromium_org/chrome_frame/ |
D | test_utils.cc | 91 base::win::ScopedHandle process_handle; in DoRegistration() local 109 &process_handle)) { in DoRegistration() 115 process_handle.Get(), &exit_code, in DoRegistration() 119 base::KillProcess(process_handle.Get(), 0, false); in DoRegistration()
|
/external/chromium_org/rlz/win/lib/ |
D | registry_util.cc | 62 base::ProcessHandle process_handle = base::GetCurrentProcessHandle(); in HasUserKeyAccess() local 65 if (!base::GetProcessIntegrityLevel(process_handle, &level)) { in HasUserKeyAccess()
|
/external/chromium_org/chrome/browser/performance_monitor/ |
D | process_metrics_history.cc | 37 void ProcessMetricsHistory::Initialize(base::ProcessHandle process_handle, in Initialize() argument 41 process_handle_ = process_handle; in Initialize()
|