Home
last modified time | relevance | path

Searched refs:hProcess (Results 1 – 25 of 67) sorted by relevance

123

/external/mesa3d/src/gallium/auxiliary/util/
Ddbghelp.h133 …BOOL IMAGEAPI EnumDirTree(HANDLE hProcess,PSTR RootPath,PSTR InputPathName,PSTR OutputPathBuffer,P…
271 …typedef BOOL (WINAPI *PREAD_PROCESS_MEMORY_ROUTINE64)(HANDLE hProcess,DWORD64 qwBaseAddress,PVOID …
272 typedef PVOID (WINAPI *PFUNCTION_TABLE_ACCESS_ROUTINE64)(HANDLE hProcess,DWORD64 AddrBase);
273 typedef DWORD64 (WINAPI *PGET_MODULE_BASE_ROUTINE64)(HANDLE hProcess,DWORD64 Address);
274 …typedef DWORD64 (WINAPI *PTRANSLATE_ADDRESS_ROUTINE64)(HANDLE hProcess,HANDLE hThread,LPADDRESS64 …
276 …BOOL IMAGEAPI StackWalk64(DWORD MachineType,HANDLE hProcess,HANDLE hThread,LPSTACKFRAME64 StackFra…
285 …typedef BOOL (WINAPI *PREAD_PROCESS_MEMORY_ROUTINE)(HANDLE hProcess,DWORD lpBaseAddress,PVOID lpBu…
286 typedef PVOID (WINAPI *PFUNCTION_TABLE_ACCESS_ROUTINE)(HANDLE hProcess,DWORD AddrBase);
287 typedef DWORD (WINAPI *PGET_MODULE_BASE_ROUTINE)(HANDLE hProcess,DWORD Address);
288 …typedef DWORD (WINAPI *PTRANSLATE_ADDRESS_ROUTINE)(HANDLE hProcess,HANDLE hThread,LPADDRESS lpaddr…
[all …]
/external/mesa3d/src/util/
Du_debug_symbol.c127 (HANDLE hProcess, PSTR UserSearchPath, BOOL fInvadeProcess),
128 (hProcess, UserSearchPath, fInvadeProcess))
137 (HANDLE hProcess, DWORD64 Address, PDWORD64 Displacement, PSYMBOL_INFO Symbol),
138 (hProcess, Address, Displacement, Symbol))
142 (HANDLE hProcess, DWORD64 dwAddr, PDWORD pdwDisplacement, PIMAGEHLP_LINE64 Line),
143 (hProcess, dwAddr, pdwDisplacement, Line))
153 HANDLE hProcess = GetCurrentProcess(); in debug_symbol_name_dbghelp() local
171 if (j_SymInitialize(hProcess, NULL, TRUE)) { in debug_symbol_name_dbghelp()
178 !j_SymFromAddr(hProcess, dwAddr, &dwDisplacement, pSymbol)) { in debug_symbol_name_dbghelp()
206 if (!j_SymGetLineFromAddr64(hProcess, dwAddr, &dwLineDisplacement, &Line)) { in debug_symbol_name_dbghelp()
/external/angle/util/windows/third_party/StackWalker/src/
DStackWalker.cpp183 typedef BOOL(__stdcall* PREAD_PROCESS_MEMORY_ROUTINE64)(HANDLE hProcess,
188 typedef PVOID(__stdcall* PFUNCTION_TABLE_ACCESS_ROUTINE64)(HANDLE hProcess, DWORD64 AddrBase);
189 typedef DWORD64(__stdcall* PGET_MODULE_BASE_ROUTINE64)(HANDLE hProcess, DWORD64 Address);
190 typedef DWORD64(__stdcall* PTRANSLATE_ADDRESS_ROUTINE64)(HANDLE hProcess,
252 StackWalkerInternal(StackWalker* parent, HANDLE hProcess) in StackWalkerInternal() argument
257 m_hProcess = hProcess; in StackWalkerInternal()
462 typedef BOOL(__stdcall* tSC)(IN HANDLE hProcess);
466 typedef PVOID(__stdcall* tSFTA)(HANDLE hProcess, DWORD64 AddrBase);
470 typedef BOOL(__stdcall* tSGLFA)(IN HANDLE hProcess,
477 typedef DWORD64(__stdcall* tSGMB)(IN HANDLE hProcess, IN DWORD64 dwAddr);
[all …]
DStackWalker.h101 HANDLE hProcess = GetCurrentProcess());
102 StackWalker(DWORD dwProcessId, HANDLE hProcess);
106 HANDLE hProcess,
183 static BOOL __stdcall myReadProcMem(HANDLE hProcess,
/external/grpc-grpc/test/core/util/
Dsubprocess_windows.cc76 if (p->pi.hProcess) { in gpr_subprocess_destroy()
77 CloseHandle(p->pi.hProcess); in gpr_subprocess_destroy()
88 if (GetExitCodeProcess(p->pi.hProcess, &dwExitCode)) { in gpr_subprocess_join()
90 if (WaitForSingleObject(p->pi.hProcess, INFINITE) == WAIT_OBJECT_0) { in gpr_subprocess_join()
106 if (GetExitCodeProcess(p->pi.hProcess, &dwExitCode)) { in gpr_subprocess_join()
115 if (GetExitCodeProcess(p->pi.hProcess, &dwExitCode)) { in gpr_subprocess_interrupt()
/external/angle/util/windows/
Dtest_utils_win.cpp139 mProcessInfo.hProcess = INVALID_HANDLE_VALUE; in WindowsProcess()
245 if (::AssignProcessToJobObject(mJobHandle, mProcessInfo.hProcess) == FALSE) in WindowsProcess()
263 if (mProcessInfo.hProcess != INVALID_HANDLE_VALUE) in ~WindowsProcess()
265 ::CloseHandle(mProcessInfo.hProcess); in ~WindowsProcess()
291 DWORD result = ::WaitForSingleObject(mProcessInfo.hProcess, INFINITE); in finish()
312 DWORD result = ::WaitForSingleObject(mProcessInfo.hProcess, 0); in finished()
332 if (mProcessInfo.hProcess == INVALID_HANDLE_VALUE) in getExitCode()
336 if (::GetExitCodeProcess(mProcessInfo.hProcess, &exitCode) == FALSE) in getExitCode()
348 if (::DuplicateHandle(::GetCurrentProcess(), mProcessInfo.hProcess, ::GetCurrentProcess(), in kill()
356 mProcessInfo.hProcess = newHandle; in kill()
[all …]
/external/lzma/CPP/7zip/Bundles/SFXSetup/
DSfxSetup.cpp259 HANDLE hProcess = 0; in WinMain() local
289 execInfo.hProcess = 0; in WinMain()
298 hProcess = execInfo.hProcess; in WinMain()
356 hProcess = processInformation.hProcess; in WinMain()
358 if (hProcess != 0) in WinMain()
360 WaitForSingleObject(hProcess, INFINITE); in WinMain()
361 ::CloseHandle(hProcess); in WinMain()
/external/tensorflow/tensorflow/core/platform/windows/
Dsubprocess.cc113 CloseHandle(reinterpret_cast<PROCESS_INFORMATION*>(win_pi_)->hProcess); in ~SubProcess()
303 if (running && pi_.hProcess) { in WaitInternal()
304 DWORD wait_status = WaitForSingleObject(pi_.hProcess, INFINITE); in WaitInternal()
307 if (GetExitCodeProcess(pi_.hProcess, &process_exit_code)) { in WaitInternal()
321 (pi_.hProcess == in WaitInternal()
322 reinterpret_cast<PROCESS_INFORMATION*>(win_pi_)->hProcess)) { in WaitInternal()
324 CloseHandle(reinterpret_cast<PROCESS_INFORMATION*>(win_pi_)->hProcess); in WaitInternal()
326 reinterpret_cast<PROCESS_INFORMATION*>(win_pi_)->hProcess = nullptr; in WaitInternal()
340 if (running && pi_.hProcess) { in Kill()
341 ret = TerminateProcess(pi_.hProcess, 0); in Kill()
[all …]
/external/llvm-project/compiler-rt/test/profile/Windows/Inputs/
Dinstrprof-multiprocess.c41 WaitForSingleObject(pi->hProcess, INFINITE); in wait_child()
44 if (!GetExitCodeProcess(pi->hProcess, &exit_code)) { in wait_child()
50 CloseHandle(pi->hProcess); in wait_child()
/external/python/cpython2/PC/
Dw9xpopen.c103 if (WaitForSingleObject(pi.hProcess, INFINITE) != WAIT_FAILED) { in main()
104 GetExitCodeProcess(pi.hProcess, &exit_code); in main()
106 CloseHandle(pi.hProcess); in main()
/external/llvm-project/compiler-rt/test/asan/TestCases/
Dexitcode.cpp45 WaitForSingleObject(pi.hProcess, INFINITE); in spawn_child()
48 if (!GetExitCodeProcess(pi.hProcess, &exit_code)) { in spawn_child()
54 CloseHandle(pi.hProcess); in spawn_child()
/external/lzma/C/Util/SfxSetup/
DSfxSetup.c547 HANDLE hProcess = 0; in main() local
583 hProcess = ei.hProcess; in main()
600 hProcess = pi.hProcess; in main()
604 if (hProcess != 0) in main()
606 WaitForSingleObject(hProcess, INFINITE); in main()
607 if (!GetExitCodeProcess(hProcess, &exitCode)) in main()
609 CloseHandle(hProcess); in main()
/external/llvm-project/compiler-rt/test/asan/TestCases/Windows/
Ddll_control_c.cpp90 if (WaitForSingleObject(pi.hProcess, INFINITE) == WAIT_FAILED) { in run_parent()
98 if (!GetExitCodeProcess(pi.hProcess, &rc)) { in run_parent()
110 CloseHandle(pi.hProcess); in run_parent()
/external/compiler-rt/test/asan/TestCases/Windows/
Ddll_control_c.cc90 if (WaitForSingleObject(pi.hProcess, INFINITE) == WAIT_FAILED) { in run_parent()
98 if (!GetExitCodeProcess(pi.hProcess, &rc)) { in run_parent()
110 CloseHandle(pi.hProcess); in run_parent()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/
Dos.cpp225 if (ProcessValue && procInfo.hProcess) in ExecCmd()
281 bProcessEnded = (WaitForSingleObject(procInfo.hProcess, 50) == WAIT_OBJECT_0); in ExecCmd()
288 if (!GetExitCodeProcess(procInfo.hProcess, &exitVal)) in ExecCmd()
293 CloseHandle(procInfo.hProcess); in ExecCmd()
/external/flac/src/utils/flactimer/
Dmain.cpp146 WaitForSingleObject(pi.hProcess, INFINITE); in main()
155 if(!GetProcessTimes(pi.hProcess, &creation_time, &exit_time, &kernel_time, &user_time)) { in main()
170 CloseHandle(pi.hProcess); in main()
/external/skqp/tools/
DCrashHandler.cpp126 HANDLE hProcess = GetCurrentProcess(); in handler() local
127 SymInitialize(hProcess, 0, true); in handler()
170 SymGetSymFromAddr64(hProcess, frame.AddrPC.Offset, &offset, symbol); in handler()
/external/skia/tools/
DCrashHandler.cpp181 HANDLE hProcess = GetCurrentProcess(); in handler() local
182 SymInitialize(hProcess, 0, true); in handler()
231 SymGetSymFromAddr64(hProcess, frame.AddrPC.Offset, &offset, symbol); in handler()
/external/grpc-grpc/src/core/lib/security/credentials/alts/
Dcheck_gcp_environment_windows.cc94 WaitForSingleObject(pi.hProcess, INFINITE); in run_powershell()
95 CloseHandle(pi.hProcess); in run_powershell()
/external/llvm/lib/Support/Windows/
DSignals.inc111 typedef BOOL (__stdcall *PREAD_PROCESS_MEMORY_ROUTINE64)(HANDLE hProcess,
118 typedef DWORD64 (__stdcall *PGET_MODULE_BASE_ROUTINE64)(HANDLE hProcess,
121 typedef DWORD64 (__stdcall *PTRANSLATE_ADDRESS_ROUTINE64)(HANDLE hProcess,
148 typedef BOOL(WINAPI *fpSymGetModuleInfo64)(HANDLE hProcess, DWORD64 dwAddr,
220 HANDLE hProcess, HANDLE hThread,
235 while (fStackWalk64(NativeMachineType, hProcess, hThread, &StackFrame,
292 static void PrintStackTraceForThread(llvm::raw_ostream &OS, HANDLE hProcess,
297 fSymInitialize(hProcess, NULL, TRUE);
302 if (printStackTraceWithLLVMSymbolizer(OS, hProcess, hThread, StackFrame,
308 if (!fStackWalk64(NativeMachineType, hProcess, hThread, &StackFrame,
[all …]
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DSignals.inc112 typedef BOOL (__stdcall *PREAD_PROCESS_MEMORY_ROUTINE64)(HANDLE hProcess,
119 typedef DWORD64 (__stdcall *PGET_MODULE_BASE_ROUTINE64)(HANDLE hProcess,
122 typedef DWORD64 (__stdcall *PTRANSLATE_ADDRESS_ROUTINE64)(HANDLE hProcess,
149 typedef BOOL(WINAPI *fpSymGetModuleInfo64)(HANDLE hProcess, DWORD64 dwAddr,
221 HANDLE hProcess, HANDLE hThread,
236 while (fStackWalk64(NativeMachineType, hProcess, hThread, &StackFrame,
293 static void PrintStackTraceForThread(llvm::raw_ostream &OS, HANDLE hProcess,
299 fSymInitialize(hProcess, NULL, TRUE);
304 if (printStackTraceWithLLVMSymbolizer(OS, hProcess, hThread, StackFrame,
310 if (!fStackWalk64(NativeMachineType, hProcess, hThread, &StackFrame,
[all …]
/external/deqp/framework/delibs/deutil/
DdeProcess.c592 if (process->procInfo.hProcess) in deProcess_cleanupHandles()
593 CloseHandle(process->procInfo.hProcess); in deProcess_cleanupHandles()
601 process->procInfo.hProcess = DE_NULL; in deProcess_cleanupHandles()
738 BOOL result = GetExitCodeProcess(process->procInfo.hProcess, (LPDWORD)&exitCode); in deProcess_isRunning()
764 if (WaitForSingleObject(process->procInfo.hProcess, INFINITE) != WAIT_OBJECT_0) in deProcess_waitForFinish()
782 if (!TerminateProcess(process->procInfo.hProcess, kill ? -1 : 0)) in stopProcess()
/external/llvm/utils/KillTheDoctor/
DKillTheDoctor.cpp385 success = ::GetProcessTimes(ProcessInfo.hProcess, in main()
416 ::TerminateProcess(ProcessInfo.hProcess, -1); in main()
431 ::TerminateProcess(ProcessInfo.hProcess, -1); in main()
447 DebugEvent.u.CreateProcessInfo.hProcess; in main()
/external/llvm-project/llvm/utils/KillTheDoctor/
DKillTheDoctor.cpp384 success = ::GetProcessTimes(ProcessInfo.hProcess, in main()
415 ::TerminateProcess(ProcessInfo.hProcess, -1); in main()
430 ::TerminateProcess(ProcessInfo.hProcess, -1); in main()
446 DebugEvent.u.CreateProcessInfo.hProcess; in main()
/external/deqp/execserver/
DxsWin32TestProcess.cpp432 if (m_procInfo.hProcess) in cleanupHandles()
433 CloseHandle(m_procInfo.hProcess); in cleanupHandles()
573 BOOL result = GetExitCodeProcess(m_procInfo.hProcess, (LPDWORD)&exitCode); in isRunning()
596 if (WaitForSingleObject(m_procInfo.hProcess, INFINITE) != WAIT_OBJECT_0) in waitForFinish()
610 if (!TerminateProcess(m_procInfo.hProcess, kill ? -1 : 0)) in stopProcess()

123