Home
last modified time | relevance | path

Searched refs:ProcessInfo (Results 1 – 24 of 24) 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/swiftshader/third_party/llvm-subzero/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/swiftshader/third_party/llvm-subzero/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/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DProgram.cpp26 static bool Execute(ProcessInfo &PI, StringRef Program,
37 ProcessInfo PI; in ExecuteAndWait()
41 ProcessInfo Result = Wait( in ExecuteAndWait()
52 ProcessInfo sys::ExecuteNoWait(StringRef Program, ArrayRef<StringRef> Args, in ExecuteNoWait()
58 ProcessInfo PI; in ExecuteNoWait()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DProgram.h44 struct ProcessInfo { struct
53 ProcessInfo(); argument
127 ProcessInfo ExecuteNoWait(StringRef Program, ArrayRef<StringRef> Args,
185 ProcessInfo Wait(
186 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/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DProgramTest.cpp211 ProcessInfo PI1 = ExecuteNoWait(Executable, argv, getEnviron(), {}, 0, &Error, in TEST_F()
214 ASSERT_NE(PI1.Pid, ProcessInfo::InvalidPid) << "Invalid process id"; in TEST_F()
222 ProcessInfo WaitResult = llvm::sys::Wait(PI1, 0, true, &Error); in TEST_F()
230 ProcessInfo PI2 = ExecuteNoWait(Executable, argv, getEnviron(), {}, 0, &Error, in TEST_F()
233 ASSERT_NE(PI2.Pid, ProcessInfo::InvalidPid) << "Invalid process id"; in TEST_F()
239 ProcessInfo WaitResult = llvm::sys::Wait(PI2, 0, false, &Error); in TEST_F()
290 ProcessInfo PI = ExecuteNoWait(Executable, argv, llvm::None, {}, 0, &Error, in TEST()
292 ASSERT_EQ(PI.Pid, ProcessInfo::InvalidPid) in TEST()
/external/chromium-trace/catapult/systrace/atrace_helper/jni/
Dprocfs_utils.cc57 std::unique_ptr<ProcessInfo> ReadProcessInfo(int pid) { in ReadProcessInfo()
58 ProcessInfo* process = new ProcessInfo(); in ReadProcessInfo()
69 return std::unique_ptr<ProcessInfo>(process); in ReadProcessInfo()
72 void ReadProcessThreads(ProcessInfo* process) { in ReadProcessThreads()
Dprocfs_utils.h20 std::unique_ptr<ProcessInfo> ReadProcessInfo(int pid);
21 void ReadProcessThreads(ProcessInfo* process);
Datrace_process_dump.cc86 const ProcessInfo* process = processes_[pid].get(); in TakeGlobalSnapshot()
115 ProcessInfo* process = processes_[pid].get(); in UpdatePersistentProcessInfo()
125 bool AtraceProcessDump::ShouldTakeFullDump(const ProcessInfo* process) { in ShouldTakeFullDump()
209 const ProcessInfo* process = it->second.get(); in SerializePersistentProcessInfo()
Datrace_process_dump.h55 using ProcessMap = std::map<int, std::unique_ptr<ProcessInfo>>;
61 bool ShouldTakeFullDump(const ProcessInfo* process);
Dprocess_info.h17 struct ProcessInfo { struct
/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-7.0/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/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Windows/
DProgram.inc35 ProcessInfo::ProcessInfo() : Pid(0), Process(0), ReturnCode(0) {}
152 static bool Execute(ProcessInfo &PI, StringRef Program,
374 ProcessInfo sys::Wait(const ProcessInfo &PI, unsigned SecondsToWait,
385 ProcessInfo WaitResult = PI;
402 return ProcessInfo();
/external/swiftshader/third_party/llvm-subzero/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/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/swiftshader/third_party/llvm-subzero/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();
/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();
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Unix/
DProgram.inc67 ProcessInfo::ProcessInfo() : Pid(0), ReturnCode(0) {}
177 static bool Execute(ProcessInfo &PI, StringRef Program,
332 ProcessInfo sys::Wait(const ProcessInfo &PI, unsigned SecondsToWait,
355 ProcessInfo WaitResult;
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils.py230 ProcessInfo = collections.namedtuple('ProcessInfo', PS_COLUMNS) variable
2495 processes.append(ProcessInfo(**row))
Ddevice_utils_test.py38 return device_utils.ProcessInfo(name=name, pid=pid, ppid=ppid)