Home
last modified time | relevance | path

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

/external/libchrome/base/process/
Dprocess_handle.h25 typedef HANDLE ProcessHandle; typedef
28 const ProcessHandle kNullProcessHandle = NULL;
32 typedef pid_t ProcessHandle;
34 const ProcessHandle kNullProcessHandle = 0;
61 BASE_EXPORT ProcessHandle GetCurrentProcessHandle();
69 BASE_EXPORT ProcessId GetProcId(ProcessHandle process);
72 BASE_EXPORT ProcessId GetParentProcessId(ProcessHandle process);
76 BASE_EXPORT FilePath GetProcessExecutablePath(ProcessHandle process);
Dprocess_metrics.h108 static ProcessMetrics* CreateProcessMetrics(ProcessHandle process);
114 static ProcessMetrics* CreateProcessMetrics(ProcessHandle process,
188 explicit ProcessMetrics(ProcessHandle process);
190 ProcessMetrics(ProcessHandle process, PortProvider* port_provider);
205 ProcessHandle process_;
223 mach_port_t TaskForPid(ProcessHandle process) const;
321 BASE_EXPORT int GetNumberOfThreads(ProcessHandle process);
Dprocess.h37 explicit Process(ProcessHandle handle = kNullProcessHandle);
67 static Process DeprecatedGetProcessFromHandle(ProcessHandle handle);
77 ProcessHandle Handle() const;
137 ProcessHandle process_;
Dprocess_posix.cc26 bool WaitpidWithTimeout(base::ProcessHandle handle, in WaitpidWithTimeout()
92 static bool WaitForSingleNonChildProcess(base::ProcessHandle handle, in WaitForSingleNonChildProcess()
181 bool WaitForExitWithTimeoutImpl(base::ProcessHandle handle, in WaitForExitWithTimeoutImpl()
184 base::ProcessHandle parent_pid = base::GetParentProcessId(handle); in WaitForExitWithTimeoutImpl()
185 base::ProcessHandle our_pid = base::GetCurrentProcessHandle(); in WaitForExitWithTimeoutImpl()
217 Process::Process(ProcessHandle handle) : process_(handle) { in Process()
255 Process Process::DeprecatedGetProcessFromHandle(ProcessHandle handle) { in DeprecatedGetProcessFromHandle()
271 ProcessHandle Process::Handle() const { in Handle()
Dport_provider_mac.h35 virtual void OnReceivedTaskPort(ProcessHandle process) = 0;
40 virtual mach_port_t TaskForPid(ProcessHandle process) const = 0;
48 void NotifyObservers(ProcessHandle process);
Dkill.h57 BASE_EXPORT bool KillProcessGroup(ProcessHandle process_group_id);
68 BASE_EXPORT TerminationStatus GetTerminationStatus(ProcessHandle handle,
88 ProcessHandle handle, int* exit_code);
Dkill_posix.cc27 TerminationStatus GetTerminationStatusImpl(ProcessHandle handle, in GetTerminationStatusImpl()
79 bool KillProcessGroup(ProcessHandle process_group_id) { in KillProcessGroup()
87 TerminationStatus GetTerminationStatus(ProcessHandle handle, int* exit_code) { in GetTerminationStatus()
91 TerminationStatus GetKnownDeadTerminationStatus(ProcessHandle handle, in GetKnownDeadTerminationStatus()
Dprocess_handle_posix.cc15 ProcessHandle GetCurrentProcessHandle() { in GetCurrentProcessHandle()
19 ProcessId GetProcId(ProcessHandle process) { in GetProcId()
Dprocess_handle_linux.cc12 ProcessId GetParentProcessId(ProcessHandle process) { in GetParentProcessId()
20 FilePath GetProcessExecutablePath(ProcessHandle process) { in GetProcessExecutablePath()
Dprocess_handle_mac.cc16 ProcessId GetParentProcessId(ProcessHandle process) { in GetParentProcessId()
29 FilePath GetProcessExecutablePath(ProcessHandle process) { in GetProcessExecutablePath()
Dprocess_metrics_mac.cc95 ProcessHandle process, in CreateProcessMetrics()
334 ProcessMetrics::ProcessMetrics(ProcessHandle process, in ProcessMetrics()
343 mach_port_t ProcessMetrics::TaskForPid(ProcessHandle /* process */) const { in TaskForPid()
Dport_provider_mac.cc22 void PortProvider::NotifyObservers(ProcessHandle process) { in NotifyObservers()
Dprocess_metrics_unittest.cc305 ProcessHandle handle = GetCurrentProcessHandle(); in TEST_F()
422 const ProcessHandle current = GetCurrentProcessHandle(); in TEST()
Dprocess_metrics_linux.cc165 ProcessMetrics* ProcessMetrics::CreateProcessMetrics(ProcessHandle process) { in CreateProcessMetrics()
313 ProcessMetrics::ProcessMetrics(ProcessHandle process) in ProcessMetrics()
473 int GetNumberOfThreads(ProcessHandle process) { in GetNumberOfThreads()
/external/libchrome/base/memory/
Dshared_memory.h91 ProcessHandle process);
230 bool ShareReadOnlyToProcess(ProcessHandle process, in ShareReadOnlyToProcess()
241 bool GiveReadOnlyToProcess(ProcessHandle process, in GiveReadOnlyToProcess()
252 bool ShareToProcess(ProcessHandle process, in ShareToProcess()
263 bool GiveToProcess(ProcessHandle process, in GiveToProcess()
279 bool ShareToProcessCommon(ProcessHandle process,
/external/libchrome/sandbox/win/src/
Dnt_internals.h226 IN HANDLE ProcessHandle,
237 IN HANDLE ProcessHandle,
273 OUT PHANDLE ProcessHandle,
336 IN HANDLE ProcessHandle,
343 HANDLE ProcessHandle,
362 IN HANDLE ProcessHandle,
367 IN HANDLE ProcessHandle,
438 IN HANDLE ProcessHandle,
446 IN HANDLE ProcessHandle,
463 IN HANDLE ProcessHandle,
[all …]
/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/llvm/include/llvm/Support/
DProgram.h42 HANDLE ProcessHandle;
/external/lzma/CPP/Windows/
DMemoryLock.cpp15 typedef BOOL (WINAPI * Func_OpenProcessToken)(HANDLE ProcessHandle, DWORD DesiredAccess, PHANDLE To…
/external/libchrome/base/
Dsync_socket.h61 bool PrepareTransitDescriptor(ProcessHandle peer_process_handle,
Dsync_socket_posix.cc109 ProcessHandle /* peer_process_handle */, in PrepareTransitDescriptor() argument
/external/llvm/utils/KillTheDoctor/
DKillTheDoctor.cpp161 struct ProcessHandle : CommonHandle {}; struct
168 typedef ScopedHandle<ProcessHandle> ProcessScopedHandle;
/external/mesa3d/src/gallium/auxiliary/util/
Ddbghelp.h1219 HANDLE ProcessHandle; member