Home
last modified time | relevance | path

Searched refs:process_info (Results 1 – 25 of 45) 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/libchrome/sandbox/linux/services/
Dscoped_process.cc65 siginfo_t process_info; in ~ScopedProcess() local
68 waitid(P_PID, child_process_id_, &process_info, WEXITED))); in ~ScopedProcess()
81 siginfo_t process_info; in WaitForExit() local
84 waitid(P_PID, child_process_id_, &process_info, WEXITED | WNOWAIT)); in WaitForExit()
87 if (process_info.si_code == CLD_EXITED) { in WaitForExit()
89 } else if (process_info.si_code == CLD_KILLED || in WaitForExit()
90 process_info.si_code == CLD_DUMPED) { in WaitForExit()
94 << process_info.si_code; in WaitForExit()
96 return process_info.si_status; in WaitForExit()
Dyama_unittests.cc51 siginfo_t process_info; in CanPtrace() local
52 int wait_ret = HANDLE_EINTR(waitid(P_PID, pid, &process_info, WSTOPPED)); in CanPtrace()
/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/autotest/scheduler/
Ddrone_manager.py397 def _add_process(self, drone, process_info): argument
398 process = Process(drone.hostname, int(process_info['pid']),
399 int(process_info['ppid']))
403 def _add_autoserv_process(self, drone, process_info): argument
404 assert process_info['comm'] == 'autoserv'
406 if process_info['pgid'] != process_info['pid']:
408 self._add_process(drone, process_info)
524 for process_info in results['all_processes']:
525 if process_info['comm'] == 'autoserv':
526 self._add_autoserv_process(drone, process_info)
[all …]
Dsite_drone_utility.py10 def check_parse(process_info): argument
11 return process_info['comm'] == 'site_parse'
Ddrone_manager_unittest.py109 for index, process_info in enumerate(processes_info_list):
110 if len(process_info) == 2:
111 active_processes, max_processes = process_info
114 active_processes, max_processes, support_ssp = process_info
/external/chromium-trace/catapult/telemetry/telemetry/internal/util/
Dps_util.py78 process_info = '%s (%s)' % (name, p.pid)
84 process_info += ' - %s' % cmdline
87 leak_processes_info.append(process_info)
/external/libchrome/sandbox/linux/syscall_broker/
Dbroker_process_unittest.cc432 siginfo_t process_info; in SANDBOX_TEST() local
434 P_PID, broker_pid, &process_info, WEXITED | WNOWAIT)) == in SANDBOX_TEST()
436 SANDBOX_ASSERT(broker_pid == process_info.si_pid); in SANDBOX_TEST()
437 SANDBOX_ASSERT(CLD_KILLED == process_info.si_code); in SANDBOX_TEST()
438 SANDBOX_ASSERT(SIGKILL == process_info.si_status); in SANDBOX_TEST()
599 siginfo_t process_info; in TEST() local
600 ASSERT_EQ(0, HANDLE_EINTR(waitid(P_PID, broker_pid, &process_info, in TEST()
602 EXPECT_EQ(broker_pid, process_info.si_pid); in TEST()
603 EXPECT_EQ(CLD_EXITED, process_info.si_code); in TEST()
604 EXPECT_EQ(1, process_info.si_status); in TEST()
Dbroker_process.cc54 siginfo_t process_info; in ~BrokerProcess() local
56 int ret = HANDLE_EINTR(waitid(P_PID, broker_pid_, &process_info, WEXITED)); in ~BrokerProcess()
/external/autotest/client/site_tests/network_DhcpRequestHostName/
Dnetwork_DhcpRequestHostName.py28 process_info = utils.system_output('ps %s' % pid)
29 if required_flag not in 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/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);
/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()
/external/gtest/src/
Dgtest-port.cc138 procfs_info process_info; in GetThreadCount() local
140 devctl(fd, DCMD_PROC_INFO, &process_info, sizeof(process_info), NULL); in GetThreadCount()
143 return static_cast<size_t>(process_info.num_threads); in GetThreadCount()
/external/v8/build/secondary/third_party/crashpad/crashpad/util/
DBUILD.gn101 "posix/process_info.h",
153 "win/process_info.cc",
154 "win/process_info.h",
/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/chromium-trace/catapult/telemetry/telemetry/internal/platform/
Dwin_platform_backend.py189 process_info = []
203 process_info.append(pi)
204 return process_info
/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()

12