Home
last modified time | relevance | path

Searched refs:ProcessInfo (Results 1 – 7 of 7) sorted by relevance

/external/llvm/lib/Support/
DProgram.cpp26 static bool Execute(ProcessInfo &PI, StringRef Program, const char **args,
34 ProcessInfo PI; in ExecuteAndWait()
38 ProcessInfo Result = Wait( in ExecuteAndWait()
49 ProcessInfo sys::ExecuteNoWait(StringRef Program, const char **args, in ExecuteNoWait()
53 ProcessInfo PI; in ExecuteNoWait()
/external/llvm/include/llvm/Support/
DProgram.h35 struct ProcessInfo { struct
55 ProcessInfo(); argument
128 ProcessInfo
178 ProcessInfo Wait(
179 const ProcessInfo &PI, ///< The child process that should be waited on.
/external/llvm/unittests/Support/
DProgramTest.cpp223 ProcessInfo PI1 = ExecuteNoWait(Executable, argv, getEnviron(), nullptr, 0, in TEST_F()
226 ASSERT_NE(PI1.Pid, ProcessInfo::InvalidPid) << "Invalid process id"; in TEST_F()
234 ProcessInfo WaitResult = llvm::sys::Wait(PI1, 0, true, &Error); in TEST_F()
242 ProcessInfo PI2 = ExecuteNoWait(Executable, argv, getEnviron(), nullptr, 0, in TEST_F()
245 ASSERT_NE(PI2.Pid, ProcessInfo::InvalidPid) << "Invalid process id"; in TEST_F()
251 ProcessInfo WaitResult = llvm::sys::Wait(PI2, 0, false, &Error); in TEST_F()
305 ProcessInfo PI = ExecuteNoWait(Executable, argv, nullptr, nullptr, 0, in TEST()
307 ASSERT_EQ(PI.Pid, ProcessInfo::InvalidPid) in TEST()
/external/llvm/utils/KillTheDoctor/
DKillTheDoctor.cpp341 PROCESS_INFORMATION ProcessInfo; in main() local
344 std::memset(&ProcessInfo, 0, sizeof(ProcessInfo)); in main()
360 &ProcessInfo); in main()
385 success = ::GetProcessTimes(ProcessInfo.hProcess, in main()
416 ::TerminateProcess(ProcessInfo.hProcess, -1); in main()
431 ::TerminateProcess(ProcessInfo.hProcess, -1); in main()
456 if (DebugEvent.dwProcessId == ProcessInfo.dwProcessId) in main()
/external/swiftshader/third_party/LLVM/utils/KillTheDoctor/
DKillTheDoctor.cpp381 PROCESS_INFORMATION ProcessInfo; in main() local
384 std::memset(&ProcessInfo, 0, sizeof(ProcessInfo)); in main()
400 &ProcessInfo); in main()
425 success = ::GetProcessTimes(ProcessInfo.hProcess, in main()
456 ::TerminateProcess(ProcessInfo.hProcess, -1); in main()
470 ::TerminateProcess(ProcessInfo.hProcess, -1); in main()
495 if (DebugEvent.dwProcessId == ProcessInfo.dwProcessId) in main()
/external/llvm/lib/Support/Unix/
DProgram.inc69 ProcessInfo::ProcessInfo() : Pid(0), ReturnCode(0) {}
181 static bool Execute(ProcessInfo &PI, StringRef Program, const char **args,
324 ProcessInfo sys::Wait(const ProcessInfo &PI, unsigned SecondsToWait,
347 ProcessInfo WaitResult;
/external/llvm/lib/Support/Windows/
DProgram.inc34 ProcessInfo::ProcessInfo() : ProcessHandle(0), Pid(0), ReturnCode(0) {}
252 static bool Execute(ProcessInfo &PI, StringRef Program, const char **args,
417 ProcessInfo sys::Wait(const ProcessInfo &PI, unsigned SecondsToWait,
428 ProcessInfo WaitResult = PI;
445 return ProcessInfo();