Home
last modified time | relevance | path

Searched refs:ProcessHandle (Results 1 – 25 of 48) sorted by relevance

12

/external/angle/util/
Dtest_utils.cpp63 ProcessHandle::ProcessHandle() : mProcess(nullptr) {} in ProcessHandle() function in angle::ProcessHandle
65 ProcessHandle::ProcessHandle(Process *process) : mProcess(process) {} in ProcessHandle() function in angle::ProcessHandle
67 ProcessHandle::ProcessHandle(const std::vector<const char *> &args, in ProcessHandle() function in angle::ProcessHandle
73 ProcessHandle::~ProcessHandle() in ~ProcessHandle()
78 ProcessHandle::ProcessHandle(ProcessHandle &&other) : mProcess(other.mProcess) in ProcessHandle() function in angle::ProcessHandle
83 ProcessHandle &ProcessHandle::operator=(ProcessHandle &&rhs) in operator =()
89 void ProcessHandle::reset() in reset()
Dtest_utils.h60 class ProcessHandle; variable
76 friend class ProcessHandle;
84 class ProcessHandle final : angle::NonCopyable
87 ProcessHandle();
88 ProcessHandle(Process *process);
89 ProcessHandle(const std::vector<const char *> &args, bool captureStdout, bool captureStderr);
90 ~ProcessHandle();
91 ProcessHandle(ProcessHandle &&other);
92 ProcessHandle &operator=(ProcessHandle &&rhs);
Dtest_utils_unittest.cpp154 ProcessHandle process(args, true, true); in TEST()
170 ProcessHandle process(LaunchProcess(args, true, true)); in TEST()
196 ProcessHandle process(args, true, true); in TEST()
/external/libchrome/base/process/
Dprocess_handle.h29 typedef HANDLE ProcessHandle; typedef
32 const ProcessHandle kNullProcessHandle = NULL;
35 typedef zx_handle_t ProcessHandle;
37 const ProcessHandle kNullProcessHandle = ZX_HANDLE_INVALID;
41 typedef pid_t ProcessHandle;
43 const ProcessHandle kNullProcessHandle = 0;
79 BASE_EXPORT ProcessHandle GetCurrentProcessHandle();
87 BASE_EXPORT ProcessId GetProcId(ProcessHandle process);
93 BASE_EXPORT ProcessId GetParentProcessId(ProcessHandle process);
98 BASE_EXPORT FilePath GetProcessExecutablePath(ProcessHandle process);
Dprocess_posix.cc29 bool WaitpidWithTimeout(base::ProcessHandle handle, in WaitpidWithTimeout()
95 bool WaitForSingleNonChildProcess(base::ProcessHandle handle, in WaitForSingleNonChildProcess()
181 bool WaitForExitWithTimeoutImpl(base::ProcessHandle handle, in WaitForExitWithTimeoutImpl()
184 const base::ProcessHandle our_pid = base::GetCurrentProcessHandle(); in WaitForExitWithTimeoutImpl()
190 const base::ProcessHandle parent_pid = base::GetParentProcessId(handle); in WaitForExitWithTimeoutImpl()
224 Process::Process(ProcessHandle handle) : process_(handle) { in Process()
260 Process Process::DeprecatedGetProcessFromHandle(ProcessHandle handle) { in DeprecatedGetProcessFromHandle()
281 ProcessHandle Process::Handle() const { in Handle()
Dprocess.h50 explicit Process(ProcessHandle handle = kNullProcessHandle);
80 static Process DeprecatedGetProcessFromHandle(ProcessHandle handle);
93 ProcessHandle Handle() const;
193 ProcessHandle process_;
Dprocess_metrics.h80 ProcessHandle process);
87 ProcessHandle process,
204 explicit ProcessMetrics(ProcessHandle process);
206 ProcessMetrics(ProcessHandle process, PortProvider* port_provider);
222 ProcessHandle process_;
247 mach_port_t TaskForPid(ProcessHandle process) const;
374 BASE_EXPORT int GetNumberOfThreads(ProcessHandle process);
Dkill.h82 BASE_EXPORT bool KillProcessGroup(ProcessHandle process_group_id);
92 BASE_EXPORT TerminationStatus GetTerminationStatus(ProcessHandle handle,
112 ProcessHandle handle, int* exit_code);
Dkill_posix.cc27 TerminationStatus GetTerminationStatusImpl(ProcessHandle handle, in GetTerminationStatusImpl()
80 bool KillProcessGroup(ProcessHandle process_group_id) { in KillProcessGroup()
88 TerminationStatus GetTerminationStatus(ProcessHandle handle, int* exit_code) { in GetTerminationStatus()
92 TerminationStatus GetKnownDeadTerminationStatus(ProcessHandle handle, in GetKnownDeadTerminationStatus()
Dprocess_handle_posix.cc15 ProcessHandle GetCurrentProcessHandle() { in GetCurrentProcessHandle()
19 ProcessId GetProcId(ProcessHandle process) { in GetProcId()
Dprocess_handle_linux.cc15 ProcessId GetParentProcessId(ProcessHandle process) { in GetParentProcessId()
29 FilePath GetProcessExecutablePath(ProcessHandle process) { in GetProcessExecutablePath()
/external/libchrome/mojo/core/
Dscoped_process_handle.h35 explicit ScopedProcessHandle(base::ProcessHandle handle);
42 static ScopedProcessHandle CloneFrom(base::ProcessHandle handle);
47 base::ProcessHandle get() const;
48 base::ProcessHandle release();
56 base::ProcessHandle handle_ = base::kNullProcessHandle;
Dscoped_process_handle.cc18 base::ProcessHandle GetCurrentProcessHandle() { in GetCurrentProcessHandle()
32 ScopedProcessHandle::ScopedProcessHandle(base::ProcessHandle handle) in ScopedProcessHandle()
42 ScopedProcessHandle ScopedProcessHandle::CloneFrom(base::ProcessHandle handle) { in CloneFrom()
67 base::ProcessHandle ScopedProcessHandle::get() const { in get()
75 base::ProcessHandle ScopedProcessHandle::release() { in release()
Dmach_port_relay.h32 virtual void OnProcessReady(base::ProcessHandle process) = 0;
62 base::ProcessHandle process);
67 base::ProcessHandle process);
77 void OnReceivedTaskPort(base::ProcessHandle process) override;
Dplatform_handle_in_transit.cc26 base::ProcessHandle from_process, in TransferHandle()
27 base::ProcessHandle to_process) { in TransferHandle()
134 base::ProcessHandle owning_process) { in TakeIncomingRemoteHandle()
Dmach_port_relay.cc98 base::ProcessHandle process) { in SendPortsToProcess()
155 base::ProcessHandle process) { in ExtractPort()
193 void MachPortRelay::OnReceivedTaskPort(base::ProcessHandle process) { in OnReceivedTaskPort()
Dnode_controller.h81 base::ProcessHandle target_process,
197 base::ProcessHandle process_handle) override;
218 base::ProcessHandle from_process,
Dbroker_host.h31 BrokerHost(base::ProcessHandle client_process,
Dnode_channel.h43 base::ProcessHandle process_handle) = 0;
64 base::ProcessHandle from_process,
Dplatform_handle_in_transit.h69 base::ProcessHandle owning_process);
/external/libchrome/mojo/public/cpp/system/
Dinvitation.h90 base::ProcessHandle target_process,
98 base::ProcessHandle target_process,
Dinvitation.cc19 void ProcessHandleToMojoProcessHandle(base::ProcessHandle target_process, in ProcessHandleToMojoProcessHandle()
57 base::ProcessHandle target_process, in SendInvitation()
153 base::ProcessHandle target_process, in Send()
164 base::ProcessHandle target_process, in Send()
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DProgram.inc34 ProcessInfo::ProcessInfo() : ProcessHandle(0), Pid(0), ReturnCode(0) {}
383 PI.ProcessHandle = pi.hProcess;
420 assert(PI.ProcessHandle &&
429 DWORD WaitStatus = WaitForSingleObject(PI.ProcessHandle, milliSecondsToWait);
432 if (!TerminateProcess(PI.ProcessHandle, 1)) {
438 CloseHandle(PI.ProcessHandle);
441 WaitForSingleObject(PI.ProcessHandle, INFINITE);
442 CloseHandle(PI.ProcessHandle);
451 BOOL rc = GetExitCodeProcess(PI.ProcessHandle, &status);
454 CloseHandle(PI.ProcessHandle);
/external/llvm/lib/Support/Windows/
DProgram.inc34 ProcessInfo::ProcessInfo() : ProcessHandle(0), Pid(0), ReturnCode(0) {}
383 PI.ProcessHandle = pi.hProcess;
420 assert(PI.ProcessHandle &&
429 DWORD WaitStatus = WaitForSingleObject(PI.ProcessHandle, milliSecondsToWait);
432 if (!TerminateProcess(PI.ProcessHandle, 1)) {
438 CloseHandle(PI.ProcessHandle);
441 WaitForSingleObject(PI.ProcessHandle, INFINITE);
442 CloseHandle(PI.ProcessHandle);
451 BOOL rc = GetExitCodeProcess(PI.ProcessHandle, &status);
454 CloseHandle(PI.ProcessHandle);
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DProgram.h42 HANDLE ProcessHandle;

12