Home
last modified time | relevance | path

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

12

/netbsd/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dsimple_exec_w32.c74 HANDLE hProcess; in wait_for_process_timed() local
79 hProcess = OpenProcess(SYNCHRONIZE, FALSE, pid); in wait_for_process_timed()
81 if (hProcess == NULL) { in wait_for_process_timed()
88 wrv = WaitForSingleObject(hProcess, dtimeout); in wait_for_process_timed()
94 GetExitCodeProcess(hProcess, &prv); in wait_for_process_timed()
107 if (TerminateProcess(hProcess, 128 + 9)) { in wait_for_process_timed()
135 CloseHandle(hProcess); in wait_for_process_timed()
243 pi.hProcess = NULL; in pipe_execv()
320 if (pi.hProcess) CloseHandle(pi.hProcess); in pipe_execv()
/netbsd/external/gpl2/gmake/dist/w32/subproc/
H A Dsub_proc.c565 pproc->pid = (int)procInfo.hProcess; in process_begin()
1195 HANDLE hProcess; in process_easy() local
1238 hProcess = process_init_fd(hIn, hOut, hErr); in process_easy()
1240 if (process_begin(hProcess, argv, envp, argv[0], NULL)) { in process_easy()
1243 if (!((sub_process*) hProcess)->last_err) in process_easy()
1244 ((sub_process*) hProcess)->last_err = -1; in process_easy()
1245 ((sub_process*) hProcess)->exit_code = process_last_err(hProcess); in process_easy()
1253 process_register(hProcess); in process_easy()
1255 return hProcess; in process_easy()
/netbsd/external/bsd/unbound/dist/winrc/
H A Dwin_svc.c246 ret = WaitForSingleObject(pinfo->hProcess, 100); in waitforubanchor()
256 if(!GetExitCodeProcess(pinfo->hProcess, &ret)) { in waitforubanchor()
288 CloseHandle(pinfo.hProcess); in call_root_update()
527 DWORD ret = WaitForSingleObject(pinfo->hProcess, INFINITE); in waitforit()
532 if(!GetExitCodeProcess(pinfo->hProcess, &ret)) { in waitforit()
564 CloseHandle(pinfo.hProcess); in win_do_cron()
/netbsd/external/apache2/llvm/dist/llvm/lib/Support/Windows/
H A DSignals.inc109 typedef BOOL (__stdcall *PREAD_PROCESS_MEMORY_ROUTINE64)(HANDLE hProcess,
116 typedef DWORD64 (__stdcall *PGET_MODULE_BASE_ROUTINE64)(HANDLE hProcess,
119 typedef DWORD64 (__stdcall *PTRANSLATE_ADDRESS_ROUTINE64)(HANDLE hProcess,
146 typedef BOOL(WINAPI *fpSymGetModuleInfo64)(HANDLE hProcess, DWORD64 dwAddr,
239 while (fStackWalk64(NativeMachineType, hProcess, hThread, &StackFrame,
301 fSymInitialize(hProcess, NULL, TRUE);
306 if (printStackTraceWithLLVMSymbolizer(OS, hProcess, hThread, StackFrame,
312 if (!fStackWalk64(NativeMachineType, hProcess, hThread, &StackFrame,
343 if (!fSymGetModuleBase64(hProcess, PC)) {
356 if (!fSymGetSymFromAddr64(hProcess, PC, &dwDisp, symbol)) {
[all …]
H A DProgram.inc308 PI.Process = pi.hProcess;
325 if (AssignProcessToJobObject(hJob, pi.hProcess))
332 TerminateProcess(pi.hProcess, 1);
333 WaitForSingleObject(pi.hProcess, INFINITE);
340 ::SetProcessAffinityMask(pi.hProcess,
/netbsd/external/apache2/llvm/dist/llvm/utils/KillTheDoctor/
H A 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()
/netbsd/external/bsd/libarchive/dist/libarchive/
H A Dfilter_fork_windows.c150 WaitForInputIdle(childInfo.hProcess, INFINITE); in __archive_create_child()
151 CloseHandle(childInfo.hProcess); in __archive_create_child()
/netbsd/external/bsd/ntp/dist/sntp/libevent/test/
H A Dtinytest.c162 WaitForSingleObject(info.hProcess, INFINITE); in testcase_run_forked_()
163 GetExitCodeProcess(info.hProcess, &exitcode); in testcase_run_forked_()
164 CloseHandle(info.hProcess); in testcase_run_forked_()
/netbsd/external/bsd/libevent/dist/test/
H A Dtinytest.c234 ret = WaitForSingleObject(info.hProcess, in testcase_run_forked_()
238 GetExitCodeProcess(info.hProcess, &ret); in testcase_run_forked_()
244 CloseHandle(info.hProcess); in testcase_run_forked_()
/netbsd/external/gpl2/gmake/dist/
H A Dfunction.c1439 HANDLE hProcess; in windows32_openpipe() local
1471 hProcess = process_init_fd(hIn, hChildOutWr, hErr); in windows32_openpipe()
1473 if (!hProcess) in windows32_openpipe()
1479 if (!process_begin(hProcess, command_argv, envp, command_argv[0], NULL)) { in windows32_openpipe()
1481 process_register(hProcess); in windows32_openpipe()
1484 *pid_p = (int) hProcess; in windows32_openpipe()
1493 process_cleanup(hProcess); in windows32_openpipe()
/netbsd/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dexpand_path.c163 HANDLE hProcess = GetCurrentProcess(); in _expand_userid() local
166 if (!OpenProcessToken(hProcess, TOKEN_QUERY, &hToken)) in _expand_userid()
/netbsd/external/mit/libuv/dist/test/
H A Drunner-win.c162 p->process = pi.hProcess; in process_start()
/netbsd/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_symbolizer_win.cc268 CloseHandle(pi.hProcess); in StartSymbolizerSubprocess()
/netbsd/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_symbolizer_win.cc270 CloseHandle(pi.hProcess); in StartSymbolizerSubprocess()
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_symbolizer_win.cc268 CloseHandle(pi.hProcess); in StartSymbolizerSubprocess()
/netbsd/external/bsd/pcc/dist/pcc/cc/cc/
H A Dcc.c1423 WaitForSingleObject(pi.hProcess, INFINITE); in strlist_exec()
1424 GetExitCodeProcess(pi.hProcess, &exitCode); in strlist_exec()
1425 CloseHandle(pi.hProcess); in strlist_exec()
/netbsd/external/mit/libuv/dist/src/win/
H A Dprocess.c1120 process->process_handle = info.hProcess; in uv_spawn()
1128 if (!AssignProcessToJobObject(uv_global_job_handle_, info.hProcess)) { in uv_spawn()
/netbsd/external/gpl3/gdb/dist/gdbserver/
H A Dwin32-low.cc765 do_initial_child_stuff (pi.hProcess, pi.dwProcessId, 0); in create_inferior()
1499 current_process_handle = current_event.u.CreateProcessInfo.hProcess; in get_child_debug_event()
/netbsd/external/gpl3/gdb.old/dist/gdbserver/
H A Dwin32-low.cc765 do_initial_child_stuff (pi.hProcess, pi.dwProcessId, 0); in create_inferior()
1499 current_process_handle = current_event.u.CreateProcessInfo.hProcess; in get_child_debug_event()
/netbsd/external/gpl3/gdb/dist/libiberty/
H A Dpex-win32.c652 return (pid_t) pi->hProcess; in win32_spawn()
/netbsd/external/gpl3/binutils.old/dist/libiberty/
H A Dpex-win32.c652 return (pid_t) pi->hProcess; in win32_spawn()
/netbsd/external/gpl3/binutils/dist/libiberty/
H A Dpex-win32.c652 return (pid_t) pi->hProcess; in win32_spawn()
/netbsd/external/gpl3/gcc.old/dist/libiberty/
H A Dpex-win32.c652 return (pid_t) pi->hProcess; in win32_spawn()
/netbsd/external/gpl3/gdb.old/dist/libiberty/
H A Dpex-win32.c652 return (pid_t) pi->hProcess; in win32_spawn()
/netbsd/external/gpl3/gcc/dist/libiberty/
H A Dpex-win32.c652 return (pid_t) pi->hProcess; in win32_spawn()

12