Home
last modified time | relevance | path

Searched refs:m_pid (Results 1 – 24 of 24) sorted by relevance

/external/llvm-project/lldb/source/Utility/
DProcessInfo.cpp26 m_gid(UINT32_MAX), m_arch(), m_pid(LLDB_INVALID_PROCESS_ID) {} in ProcessInfo()
31 m_gid(UINT32_MAX), m_arch(arch), m_pid(pid) {} in ProcessInfo()
40 m_pid = LLDB_INVALID_PROCESS_ID; in Clear()
115 if (m_pid != LLDB_INVALID_PROCESS_ID) in Dump()
116 s.Printf(" pid = %" PRIu64 "\n", m_pid); in Dump()
189 if (m_pid != LLDB_INVALID_PROCESS_ID) { in DumpAsTableRow()
190 s.Printf("%-6" PRIu64 " %-6" PRIu64 " ", m_pid, m_parent_pid); in DumpAsTableRow()
345 io.mapRequired("pid", Info.m_pid); in mapping()
/external/llvm-project/lldb/tools/debugserver/source/
DRNBContext.h47 : m_pid(INVALID_NUB_PROCESS), m_pid_stop_count(0), in RNBContext()
53 nub_process_t ProcessID() const { return m_pid; } in ProcessID()
54 bool HasValidProcessID() const { return m_pid != INVALID_NUB_PROCESS; } in HasValidProcessID()
134 nub_process_t m_pid;
DRNBContext.cpp78 if (m_pid != INVALID_NUB_PROCESS) { in SetProcessID()
83 m_pid = pid; in SetProcessID()
288 nub_state_t pid_state = DNBProcessGetState(m_pid); in ProcessStateRunning()
/external/llvm-project/lldb/include/lldb/Utility/
DProcessInfo.h67 lldb::pid_t GetProcessID() const { return m_pid; } in GetProcessID()
69 void SetProcessID(lldb::pid_t pid) { m_pid = pid; } in SetProcessID()
71 bool ProcessIDIsValid() const { return m_pid != LLDB_INVALID_PROCESS_ID; } in ProcessIDIsValid()
101 lldb::pid_t m_pid; variable
/external/llvm-project/lldb/source/Plugins/Platform/MacOSX/objcxx/
DPlatformiOSSimulatorCoreSimulatorSupport.h33 lldb::pid_t GetPID() { return m_pid; } in GetPID()
35 explicit operator bool() { return m_pid != LLDB_INVALID_PROCESS_ID; }
46 lldb::pid_t m_pid; variable
DPlatformiOSSimulatorCoreSimulatorSupport.mm61 CoreSimulatorSupport::Process::Process(lldb::pid_t p) : m_pid(p), m_error() {} function
64 : m_pid(LLDB_INVALID_PROCESS_ID), m_error(error) {} function
67 : m_pid(p), m_error(error) {} function
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/DarwinLog/
DDarwinLogCollector.h54 pid_t GetProcessID() const { return m_pid; } in GetProcessID()
95 const nub_process_t m_pid; variable
DDarwinLogCollector.cpp518 : ActivityStore(), m_pid(pid), m_activity_stream(0), m_events(), in DarwinLogCollector()
527 m_pid); in ~DarwinLogCollector()
531 DNBLogThreadedIf(LOG_DARWIN_LOG, "no stream to tear down for %d", m_pid); in ~DarwinLogCollector()
558 if (entry->pid != m_pid) { in HandleStreamEntry()
606 if (!DNBProcessIsAlive(m_pid)) { in HandleStreamEntry()
/external/llvm-project/lldb/source/Plugins/Process/FreeBSD/
DProcessMonitor.h61 lldb::pid_t GetPID() const { return m_pid; } in GetPID()
188 lldb::pid_t m_pid; variable
247 lldb::pid_t m_pid; // pid of the process to be attached. member
DProcessMonitor.cpp683 : OperationArgs(monitor), m_pid(pid) {} in AttachArgs()
706 …m_operation_thread(), m_monitor_thread(), m_pid(LLDB_INVALID_PROCESS_ID), m_terminal_fd(-1), m_ope… in ProcessMonitor()
748 m_operation_thread(), m_monitor_thread(), m_pid(pid), m_terminal_fd(-1), m_operation(0) { in ProcessMonitor()
940 monitor->m_pid = *pid; in Launch()
979 lldb::pid_t pid = args->m_pid; in Attach()
1012 tdcnt = PTRACE(PT_GETNUMLWPS, m_pid, NULL, 0); in GetCurrentThreadIDs()
1018 if (PTRACE(PT_GETLWPLIST, m_pid, (void *)tids, tdcnt) < 0) { in GetCurrentThreadIDs()
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/
DMachProcess.mm500 : m_pid(0), m_cpu_type(0), m_child_stdin(-1), m_child_stdout(-1), function
546 m_pid = ::getpid();
548 m_pid = pid;
549 return m_pid; // Return actually PID in case a zero pid was passed in
1265 if (m_cpu_type == 0 && m_pid != 0)
1266 m_cpu_type = MachProcess::GetCPUTypeForLocalProcess(m_pid);
1346 m_pid = INVALID_NUB_PROCESS;
1432 ::ptrace(PT_KILL, m_pid, 0, 0);
1438 m_pid, err.Status(), err.AsString());
1526 m_pid);
[all …]
DMachProcess.h210 pid_t ProcessID() const { return m_pid; } in ProcessID()
211 bool ProcessIDIsValid() const { return m_pid > 0; } in ProcessIDIsValid()
376 pid_t m_pid; // Process ID of child process variable
/external/llvm-project/lldb/include/lldb/Host/common/
DNativeProcessProtocol.h164 lldb::pid_t GetID() const { return m_pid; } in GetID()
408 lldb::pid_t m_pid; variable
437 void SetID(lldb::pid_t pid) { m_pid = pid; } in SetID()
/external/openssh/
Dsshd.c364 if (use_privsep && pmonitor != NULL && pmonitor->m_pid > 0) in grace_alarm_handler()
365 kill(pmonitor->m_pid, SIGALRM); in grace_alarm_handler()
501 pmonitor->m_pid = pid; in privsep_preauth()
518 pmonitor->m_pid = -1; in privsep_preauth()
522 pmonitor->m_pid = -1; in privsep_preauth()
566 pmonitor->m_pid = fork();
567 if (pmonitor->m_pid == -1)
569 else if (pmonitor->m_pid != 0) {
570 verbose("User child is on pid %ld", (long)pmonitor->m_pid);
2392 pmonitor != NULL && pmonitor->m_pid > 1) {
[all …]
Dmonitor.h76 pid_t m_pid; member
Dmonitor.c395 monitor_set_child_handler(pmonitor->m_pid); in monitor_child_postauth()
1542 s->pid = pmonitor->m_pid; in mm_answer_pty()
1631 while (waitpid(pmonitor->m_pid, &status, 0) == -1) in mm_answer_term()
Dmonitor_wrap.c118 return (pmonitor && pmonitor->m_pid > 0); in mm_is_monitor()
/external/llvm-project/lldb/source/Plugins/Process/Windows/Common/
DDebuggerThread.cpp51 : m_thread(thread), m_pid(pid), m_attach_info(attach_info) {} in DebugAttachContext()
53 lldb::pid_t m_pid; member
114 context->m_pid, context->m_attach_info); in DebuggerThreadAttachRoutine()
/external/llvm-project/lldb/source/Plugins/Process/FreeBSDRemote/
DNativeProcessFreeBSD.cpp482 return PtraceWrapper(PT_KILL, m_pid); in Kill()
554 int mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_VMMAP, static_cast<int>(m_pid)}; in PopulateMemoryRegionCache()
752 Status status = PtraceWrapper(PT_ATTACH, m_pid); in Attach()
759 if ((wstatus = llvm::sys::RetryAfterSignal(-1, waitpid, m_pid, nullptr, 0)) < in Attach()
/external/llvm-project/lldb/unittests/tools/lldb-server/tests/
DMessageObjects.cpp27 if (elements["pid"].getAsInteger(16, process_info.m_pid)) in create()
54 lldb::pid_t ProcessInfo::GetPid() const { return m_pid; } in GetPid()
DMessageObjects.h38 lldb::pid_t m_pid; variable
/external/llvm-project/lldb/include/lldb/Target/
DProcess.h566 lldb::pid_t GetID() const { return m_pid; } in GetID()
570 void SetID(lldb::pid_t new_pid) { m_pid = new_pid; } in SetID()
2742 lldb::pid_t m_pid = LLDB_INVALID_PROCESS_ID; variable
/external/llvm-project/lldb/source/Plugins/Process/NetBSD/
DNativeProcessNetBSD.cpp798 Status status = PtraceWrapper(PT_ATTACH, m_pid); in Attach()
806 m_pid, nullptr, WALLSIG)) < 0) in Attach()
/external/llvm-project/lldb/source/Host/common/
DNativeProcessProtocol.cpp28 : m_pid(pid), m_terminal_fd(terminal_fd) { in NativeProcessProtocol()