Home
last modified time | relevance | path

Searched refs:process_info (Results 1 – 25 of 27) sorted by relevance

12

/external/lldb/source/Host/freebsd/
DHost.cpp187 ProcessInstanceInfo &process_info) in GetFreeBSDProcessArgs() argument
189 if (process_info.ProcessIDIsValid()) { in GetFreeBSDProcessArgs()
190 int mib[4] = { CTL_KERN, KERN_PROC, KERN_PROC_ARGS, (int)process_info.GetProcessID() }; in GetFreeBSDProcessArgs()
203 process_info.GetExecutableFile().SetFile(cstr, false); in GetFreeBSDProcessArgs()
206 NameMatches (process_info.GetExecutableFile().GetFilename().GetCString(), in GetFreeBSDProcessArgs()
211 Args &proc_args = process_info.GetArguments(); in GetFreeBSDProcessArgs()
236 GetFreeBSDProcessCPUType (ProcessInstanceInfo &process_info) in GetFreeBSDProcessCPUType() argument
238 if (process_info.ProcessIDIsValid()) { in GetFreeBSDProcessCPUType()
239 process_info.GetArchitecture() = Host::GetArchitecture (Host::eSystemDefaultArchitecture); in GetFreeBSDProcessCPUType()
242 process_info.GetArchitecture().Clear(); in GetFreeBSDProcessCPUType()
[all …]
/external/lldb/source/Host/linux/
DHost.cpp52 static bool GetProcessAndStatInfo (lldb::pid_t pid, ProcessInstanceInfo &process_info, ProcessStatI…
158 GetLinuxProcessUserAndGroup (lldb::pid_t pid, ProcessInstanceInfo &process_info, lldb::pid_t &trace… in GetLinuxProcessUserAndGroup() argument
198 process_info.SetUserID (rUid); in GetLinuxProcessUserAndGroup()
199 process_info.SetEffectiveUserID (eUid); in GetLinuxProcessUserAndGroup()
200 process_info.SetGroupID (rGid); in GetLinuxProcessUserAndGroup()
201 process_info.SetEffectiveGroupID (eGid); in GetLinuxProcessUserAndGroup()
270 ProcessInstanceInfo process_info; in FindProcesses() local
272 if (!GetProcessAndStatInfo (pid, process_info, stat_info, tracerpid)) in FindProcesses()
284 if (!all_users && (our_uid != 0) && (process_info.GetUserID() != our_uid)) in FindProcesses()
287 if (match_info.Matches (process_info)) in FindProcesses()
[all …]
/external/google-breakpad/src/tools/windows/dump_syms/
Ddump_syms_unittest.cc123 PROCESS_INFORMATION process_info = {}; in RunCommand() local
131 &startup_info, &process_info)); in RunCommand()
143 ::WaitForSingleObject(process_info.hProcess, INFINITE); in RunCommand()
146 ASSERT_TRUE(::CloseHandle(process_info.hThread)); in RunCommand()
147 ASSERT_TRUE(::CloseHandle(process_info.hProcess)); in RunCommand()
/external/lldb/source/Host/macosx/
DHost.mm1069 ProcessInstanceInfo &process_info)
1071 if (process_info.ProcessIDIsValid())
1074 int name_len = ::proc_name(process_info.GetProcessID(), process_name, MAXCOMLEN * 2);
1082 process_info.GetExecutableFile().SetFile (process_name, false);
1086 process_info.GetExecutableFile().Clear();
1092 GetMacOSXProcessCPUType (ProcessInstanceInfo &process_info)
1094 if (process_info.ProcessIDIsValid())
1102 mib[mib_len] = process_info.GetProcessID();
1125 process_info.GetArchitecture ().SetArchitecture (eArchTypeMachO, cpu, sub);
1129 process_info.GetArchitecture().Clear();
[all …]
/external/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteCommunicationClient.cpp1720 …::DecodeProcessInfoResponse (StringExtractorGDBRemote &response, ProcessInstanceInfo &process_info) in DecodeProcessInfoResponse() argument
1732process_info.SetProcessID (Args::StringToUInt32 (value.c_str(), LLDB_INVALID_PROCESS_ID, 0)); in DecodeProcessInfoResponse()
1736process_info.SetParentProcessID (Args::StringToUInt32 (value.c_str(), LLDB_INVALID_PROCESS_ID, 0)); in DecodeProcessInfoResponse()
1740 process_info.SetUserID (Args::StringToUInt32 (value.c_str(), UINT32_MAX, 0)); in DecodeProcessInfoResponse()
1744process_info.SetEffectiveUserID (Args::StringToUInt32 (value.c_str(), UINT32_MAX, 0)); in DecodeProcessInfoResponse()
1748 process_info.SetGroupID (Args::StringToUInt32 (value.c_str(), UINT32_MAX, 0)); in DecodeProcessInfoResponse()
1752process_info.SetEffectiveGroupID (Args::StringToUInt32 (value.c_str(), UINT32_MAX, 0)); in DecodeProcessInfoResponse()
1760 process_info.GetArchitecture ().SetTriple (value.c_str()); in DecodeProcessInfoResponse()
1770 process_info.GetExecutableFile().SetFile (value.c_str(), false); in DecodeProcessInfoResponse()
1774 if (process_info.GetProcessID() != LLDB_INVALID_PROCESS_ID) in DecodeProcessInfoResponse()
[all …]
DGDBRemoteCommunicationClient.h264 lldb_private::ProcessInstanceInfo &process_info);
422 lldb_private::ProcessInstanceInfo &process_info);
DProcessGDBRemote.h283 …artDebugserverProcess (const char *debugserver_url, const lldb_private::ProcessInfo &process_info);
/external/protobuf/src/google/protobuf/compiler/
Dsubprocess.cc119 PROCESS_INFORMATION process_info; in Start() local
130 &process_info)) { in Start()
131 child_handle_ = process_info.hProcess; in Start()
132 CloseHandleOrDie(process_info.hThread); in Start()
/external/lldb/source/Plugins/Platform/Linux/
DPlatformLinux.cpp320 PlatformLinux::GetProcessInfo (lldb::pid_t pid, ProcessInstanceInfo &process_info) in GetProcessInfo() argument
325 success = Platform::GetProcessInfo (pid, process_info); in GetProcessInfo()
330 success = m_remote_platform_sp->GetProcessInfo (pid, process_info); in GetProcessInfo()
/external/google-breakpad/src/testing/gtest/src/
Dgtest-port.cc115 procfs_info process_info; in GetThreadCount() local
117 devctl(fd, DCMD_PROC_INFO, &process_info, sizeof(process_info), NULL); in GetThreadCount()
120 return static_cast<size_t>(process_info.num_threads); in GetThreadCount()
Dgtest-death-test.cc756 PROCESS_INFORMATION process_info; in AssumeRole() local
767 &process_info) != FALSE); in AssumeRole()
768 child_handle_.Reset(process_info.hProcess); in AssumeRole()
769 ::CloseHandle(process_info.hThread); in AssumeRole()
/external/gtest/src/
Dgtest-port.cc116 procfs_info process_info; in GetThreadCount() local
118 devctl(fd, DCMD_PROC_INFO, &process_info, sizeof(process_info), NULL); in GetThreadCount()
121 return static_cast<size_t>(process_info.num_threads); in GetThreadCount()
Dgtest-death-test.cc754 PROCESS_INFORMATION process_info; in AssumeRole() local
765 &process_info) != FALSE); in AssumeRole()
766 child_handle_.Reset(process_info.hProcess); in AssumeRole()
767 ::CloseHandle(process_info.hThread); in AssumeRole()
/external/lldb/source/Plugins/Platform/FreeBSD/
DPlatformFreeBSD.cpp428 PlatformFreeBSD::GetProcessInfo (lldb::pid_t pid, ProcessInstanceInfo &process_info) in GetProcessInfo() argument
433 success = Platform::GetProcessInfo (pid, process_info); in GetProcessInfo()
437 success = m_remote_platform_sp->GetProcessInfo (pid, process_info); in GetProcessInfo()
/external/lldb/source/Plugins/Platform/gdb-server/
DPlatformRemoteGDBServer.cpp291 PlatformRemoteGDBServer::GetProcessInfo (lldb::pid_t pid, ProcessInstanceInfo &process_info) in GetProcessInfo() argument
293 return m_gdb_client.GetProcessInfo (pid, process_info); in GetProcessInfo()
/external/protobuf/gtest/src/
Dgtest-death-test.cc670 PROCESS_INFORMATION process_info; in AssumeRole() local
681 &process_info) != FALSE); in AssumeRole()
682 child_handle_.Reset(process_info.hProcess); in AssumeRole()
683 ::CloseHandle(process_info.hThread); in AssumeRole()
/external/llvm/utils/unittest/googletest/src/
Dgtest-death-test.cc720 PROCESS_INFORMATION process_info; in AssumeRole() local
731 &process_info) != FALSE); in AssumeRole()
732 child_handle_.Reset(process_info.hProcess); in AssumeRole()
733 ::CloseHandle(process_info.hThread); in AssumeRole()
/external/mesa3d/src/gtest/src/
Dgtest-death-test.cc718 PROCESS_INFORMATION process_info; in AssumeRole() local
729 &process_info) != FALSE); in AssumeRole()
730 child_handle_.Reset(process_info.hProcess); in AssumeRole()
731 ::CloseHandle(process_info.hThread); in AssumeRole()
/external/lldb/source/Plugins/Process/POSIX/
DProcessPOSIX.cpp137 ProcessInstanceInfo process_info; in DoAttachToProcessWithID() local
138 platform_sp->GetProcessInfo (pid, process_info); in DoAttachToProcessWithID()
143 error = platform_sp->ResolveExecutable(process_info.GetExecutableFile(), in DoAttachToProcessWithID()
/external/lldb/source/Plugins/Platform/MacOSX/
DPlatformDarwin.cpp556 PlatformDarwin::GetProcessInfo (lldb::pid_t pid, ProcessInstanceInfo &process_info) in GetProcessInfo() argument
561 sucess = Platform::GetProcessInfo (pid, process_info); in GetProcessInfo()
566 sucess = m_remote_platform_sp->GetProcessInfo (pid, process_info); in GetProcessInfo()
DPlatformRemoteiOS.cpp778 PlatformRemoteiOS::GetProcessInfo (lldb::pid_t pid, ProcessInstanceInfo &process_info) in GetProcessInfo() argument
781 process_info.Clear(); in GetProcessInfo()
/external/lldb/source/Target/
DPlatform.cpp614 Platform::GetProcessInfo (lldb::pid_t pid, ProcessInstanceInfo &process_info) in GetProcessInfo() argument
619 return Host::GetProcessInfo (pid, process_info); in GetProcessInfo()
/external/lldb/source/Host/common/
DHost.cpp1288 Host::GetProcessInfo (lldb::pid_t pid, ProcessInstanceInfo &process_info) in GetProcessInfo() argument
1290 process_info.Clear(); in GetProcessInfo()
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-all.cc7248 PROCESS_INFORMATION process_info; in AssumeRole() local
7259 &process_info) != FALSE); in AssumeRole()
7260 child_handle_.Reset(process_info.hProcess); in AssumeRole()
7261 ::CloseHandle(process_info.hThread); in AssumeRole()
8323 procfs_info process_info; in GetThreadCount() local
8325 devctl(fd, DCMD_PROC_INFO, &process_info, sizeof(process_info), NULL); in GetThreadCount()
8328 return static_cast<size_t>(process_info.num_threads); in GetThreadCount()
/external/protobuf/gtest/fused-src/gtest/
Dgtest-all.cc6709 PROCESS_INFORMATION process_info; in AssumeRole() local
6720 &process_info) != FALSE); in AssumeRole()
6721 child_handle_.Reset(process_info.hProcess); in AssumeRole()
6722 ::CloseHandle(process_info.hThread); in AssumeRole()

12