/external/lldb/tools/debugserver/source/MacOSX/ |
D | MachVMRegion.cpp | 22 m_err(), in MachVMRegion() 44 m_err.Clear(); in Clear() 74 m_err = ::mach_vm_protect (m_task, addr, prot_size, 0, prot); in SetProtections() 76 …m_err.LogThreaded("::mach_vm_protect ( task = 0x%4.4x, addr = 0x%8.8llx, size = %llu, set_max = %i… in SetProtections() 77 if (m_err.Fail()) in SetProtections() 80 m_err = ::mach_vm_protect (m_task, addr, prot_size, 0, prot | VM_PROT_COPY); in SetProtections() 81 if (DNBLogCheckLogBit(LOG_MEMORY_PROTECTIONS) || m_err.Fail()) in SetProtections() 82 …m_err.LogThreaded("::mach_vm_protect ( task = 0x%4.4x, addr = 0x%8.8llx, size = %llu, set_max = %i… in SetProtections() 84 if (m_err.Success()) in SetProtections() 106 … m_err = ::mach_vm_protect (m_task, m_protection_addr, m_protection_size, 0, m_data.protection); in RestoreProtections() [all …]
|
D | MachVMMemory.cpp | 24 m_err (0) in MachVMMemory() 56 m_err = ::host_page_size( ::mach_host_self(), &m_page_size); in PageSize() 57 if (m_err.Fail()) in PageSize() 562 m_err = ::mach_vm_read (task, curr_addr, curr_size, &vm_memory, &curr_bytes_read); in Read() 565 …m_err.LogThreaded("::mach_vm_read ( task = 0x%4.4x, addr = 0x%8.8llx, size = %llu, data => %8.8p, … in Read() 567 if (m_err.Success()) in Read() 572 …m_err.LogThreaded("::mach_vm_read ( task = 0x%4.4x, addr = 0x%8.8llx, size = %llu, data => %8.8p, … in Read() 656 m_err = ::mach_vm_write (task, curr_addr, (pointer_t) curr_data, curr_data_count); in WriteRegion() 657 if (DNBLogCheckLogBit(LOG_MEMORY) || m_err.Fail()) in WriteRegion() 658 …m_err.LogThreaded("::mach_vm_write ( task = 0x%4.4x, addr = 0x%8.8llx, data = %8.8p, dataCnt = %u … in WriteRegion() [all …]
|
D | MachVMRegion.h | 53 return m_err; in GetError() 66 DNBError m_err; variable
|
D | MachVMMemory.h | 44 DNBError m_err; variable
|
/external/lldb/tools/debugserver/source/ |
D | DNBError.h | 38 m_err(err), in m_err() function 44 void Clear() { m_err = 0; m_flavor = Generic; m_str.clear(); } in Clear() 45 ValueType Error() const { return m_err; } in Error() 50 m_err = err; 53 return m_err; 58 m_err = err; in SetError() 65 m_err = errno; in SetErrorToErrno() 72 m_err = err; in SetError() 85 bool Success() const { return m_err == 0; } in Success() 86 bool Fail() const { return m_err != 0; } in Fail() [all …]
|
D | DNBError.cpp | 35 s = ::mach_error_string (m_err); in AsString() 39 s = ::strerror (m_err); in AsString() 45 CFStringRef statusStr = SBSApplicationLaunchingErrorString (m_err); in AsString() 78 DNBLogThreaded ("error: %s err = %s (0x%8.8x)", arg_msg, err_str, m_err); in LogThreadedIfError() 100 DNBLogThreaded ("error: %s err = %s (0x%8.8x)", arg_msg, err_str, m_err); in LogThreaded() 104 DNBLogThreaded ("%s err = 0x%8.8x", arg_msg, m_err); in LogThreaded()
|
D | ChangeLog | 798 (class MachThread): Remove m_err member variable. 837 * MacOSX/MachThreadList.cpp (class MachThreadList): Removed m_err
|
/external/lldb/examples/interposing/darwin/fd_interposing/ |
D | FDInterposing.cpp | 190 m_err (err), in FDEvent() 229 return m_err; in GetError() 253 int m_err; member in fd_interposing::FDEvent
|
/external/lldb/source/Plugins/Process/FreeBSD/ |
D | ProcessMonitor.cpp | 537 : m_tid(tid), m_info(info), m_result(result), m_err(ptrace_err) { } in LwpInfoOperation() 545 int &m_err; member in LwpInfoOperation 555 m_err = errno; in Execute()
|
/external/lldb/source/Plugins/Process/Linux/ |
D | ProcessMonitor.cpp | 781 : m_tid(tid), m_info(info), m_result(result), m_err(ptrace_err) { } in SiginfoOperation() 789 int &m_err; member in SiginfoOperation 797 m_err = errno; in Execute()
|