Home
last modified time | relevance | path

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

12

/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/angle/src/tests/test_utils/runner/
DTestSuite.h109 struct ProcessInfo : angle::NonCopyable struct
111 ProcessInfo();
112 ~ProcessInfo();
113 ProcessInfo(ProcessInfo &&other);
114 ProcessInfo &operator=(ProcessInfo &&rhs); argument
163 bool finishProcess(ProcessInfo *processInfo);
200 std::vector<ProcessInfo> mCurrentProcesses;
DTestSuite.cpp1025 ProcessInfo::ProcessInfo() = default;
1027 ProcessInfo &ProcessInfo::operator=(ProcessInfo &&rhs) in operator =()
1038 ProcessInfo::~ProcessInfo() = default;
1040 ProcessInfo::ProcessInfo(ProcessInfo &&other) in ProcessInfo() function in angle::ProcessInfo
1362 ProcessInfo processInfo; in launchChildTestProcess()
1472 bool TestSuite::finishProcess(ProcessInfo *processInfo) in finishProcess()
1692 ProcessInfo &processInfo = *processIter; in run()
1734 const ProcessInfo &processInfo = mCurrentProcesses[0]; in run()
/external/llvm-project/lldb/source/Utility/
DProcessInfo.cpp24 ProcessInfo::ProcessInfo() in ProcessInfo() function in ProcessInfo
28 ProcessInfo::ProcessInfo(const char *name, const ArchSpec &arch, in ProcessInfo() function in ProcessInfo
33 void ProcessInfo::Clear() { in Clear()
43 const char *ProcessInfo::GetName() const { in GetName()
47 llvm::StringRef ProcessInfo::GetNameAsStringRef() const { in GetNameAsStringRef()
51 void ProcessInfo::Dump(Stream &s, Platform *platform) const { in Dump()
63 void ProcessInfo::SetExecutableFile(const FileSpec &exe_file, in SetExecutableFile()
78 llvm::StringRef ProcessInfo::GetArg0() const { return m_arg0; } in GetArg0()
80 void ProcessInfo::SetArg0(llvm::StringRef arg) { m_arg0 = std::string(arg); } in SetArg0()
82 void ProcessInfo::SetArguments(char const **argv, in SetArguments()
[all …]
/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-10.0/llvm/lib/Support/
DProgram.cpp25 static bool Execute(ProcessInfo &PI, StringRef Program,
36 ProcessInfo PI; in ExecuteAndWait()
40 ProcessInfo Result = Wait( in ExecuteAndWait()
51 ProcessInfo sys::ExecuteNoWait(StringRef Program, ArrayRef<StringRef> Args, in ExecuteNoWait()
57 ProcessInfo PI; in ExecuteNoWait()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DProgram.h43 struct ProcessInfo { struct
52 ProcessInfo(); argument
126 ProcessInfo ExecuteNoWait(StringRef Program, ArrayRef<StringRef> Args,
184 ProcessInfo Wait(
185 const ProcessInfo &PI, ///< The child process that should be waited on.
/external/llvm-project/llvm/lib/Support/
DProgram.cpp26 static bool Execute(ProcessInfo &PI, StringRef Program,
38 ProcessInfo PI; in ExecuteAndWait()
42 ProcessInfo Result = in ExecuteAndWait()
54 ProcessInfo sys::ExecuteNoWait(StringRef Program, ArrayRef<StringRef> Args, in ExecuteNoWait()
60 ProcessInfo PI; in ExecuteNoWait()
/external/llvm-project/llvm/include/llvm/Support/
DProgram.h44 struct ProcessInfo { struct
53 ProcessInfo(); argument
138 ProcessInfo ExecuteNoWait(StringRef Program, ArrayRef<StringRef> Args,
196 ProcessInfo Wait(
197 const ProcessInfo &PI, ///< The child process that should be waited on.
/external/llvm-project/lldb/include/lldb/Utility/
DProcessInfo.h30 class ProcessInfo {
32 ProcessInfo();
34 ProcessInfo(const char *name, const ArchSpec &arch, lldb::pid_t pid);
108 class ProcessInstanceInfo : public ProcessInfo {
111 : ProcessInfo(), m_euid(UINT32_MAX), m_egid(UINT32_MAX), in ProcessInstanceInfo()
115 : ProcessInfo(name, arch, pid), m_euid(UINT32_MAX), m_egid(UINT32_MAX), in ProcessInstanceInfo()
119 ProcessInfo::Clear(); in Clear()
/external/llvm-project/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()
401 ProcessInfo PI2 = ExecuteNoWait(Executable, argv, getEnviron(), {}, 0, &Error, in TEST_F()
405 ASSERT_NE(PI2.Pid, ProcessInfo::InvalidPid) << "Invalid process id"; in TEST_F()
[all …]
/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/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.h55 using ProcessMap = std::map<int, std::unique_ptr<ProcessInfo>>;
61 bool ShouldTakeFullDump(const 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()
/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/llvm-project/llvm/utils/KillTheDoctor/
DKillTheDoctor.cpp340 PROCESS_INFORMATION ProcessInfo; in main() local
343 std::memset(&ProcessInfo, 0, sizeof(ProcessInfo)); in main()
359 &ProcessInfo); in main()
384 success = ::GetProcessTimes(ProcessInfo.hProcess, in main()
415 ::TerminateProcess(ProcessInfo.hProcess, -1); in main()
430 ::TerminateProcess(ProcessInfo.hProcess, -1); in main()
455 if (DebugEvent.dwProcessId == ProcessInfo.dwProcessId) in main()
/external/llvm-project/lldb/source/Host/linux/
DHost.cpp55 static bool GetStatusInfo(::pid_t Pid, ProcessInstanceInfo &ProcessInfo, in GetStatusInfo() argument
76 ProcessInfo.SetGroupID(RGid); in GetStatusInfo()
77 ProcessInfo.SetEffectiveGroupID(EGid); in GetStatusInfo()
86 ProcessInfo.SetUserID(RUid); in GetStatusInfo()
87 ProcessInfo.SetEffectiveUserID(EUid); in GetStatusInfo()
91 ProcessInfo.SetParentProcessID(PPid); in GetStatusInfo()
/external/llvm-project/lldb/unittests/tools/lldb-server/tests/
DMessageObjects.h30 class ProcessInfo : public Parser<ProcessInfo> {
32 static llvm::Expected<ProcessInfo> create(llvm::StringRef response);
37 ProcessInfo() = default;
DMessageObjects.cpp20 Expected<ProcessInfo> ProcessInfo::create(StringRef response) { in create()
21 ProcessInfo process_info; in create()
54 lldb::pid_t ProcessInfo::GetPid() const { return m_pid; } in GetPid()
56 support::endianness ProcessInfo::GetEndian() const { return m_endian; } in GetEndian()
DTestClient.h60 const ProcessInfo &GetProcessInfo();
95 llvm::Optional<ProcessInfo> m_process_info;
/external/perfetto/docs/analysis/
Dmetrics.md116 …processes.proto` in our workspace, create a basic proto message called ProcessInfo with those thre…
119 message ProcessInfo {
130 repeated ProcessInfo process_info = 1;
159 message ProcessInfo {
166 repeated ProcessInfo process_info = 1;
231 ProcessInfo(
245 a function call to the ProcessInfo function; in fact this is no coincidence.
254 ProcessInfo proto.
262 ProcessInfo protos.
303 ProcessInfo(

12