| /llvm-project-15.0.7/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | GDBRemoteCommunication.cpp | 421 if (m_bytes[0] != '$' && m_bytes[0] != '%') in DecompressPacket() 423 if (m_bytes[1] != 'C' && m_bytes[1] != 'N') in DecompressPacket() 457 if (m_bytes[1] == 'C') { in DecompressPacket() 501 if (m_bytes[1] == 'N') { in DecompressPacket() 504 m_bytes.erase(1, 1); in DecompressPacket() 514 if (m_bytes[i] == '}') { in DecompressPacket() 656 if (!m_bytes.empty()) { in CheckForPacket() 673 switch (m_bytes[0]) { in CheckForPacket() 716 switch (m_bytes[idx]) { in CheckForPacket() 790 m_bytes[total_length - 2], m_bytes[total_length - 1]); in CheckForPacket() [all …]
|
| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | Event.cpp | 101 EventDataBytes::EventDataBytes() : m_bytes() {} in EventDataBytes() 103 EventDataBytes::EventDataBytes(const char *cstr) : m_bytes() { in EventDataBytes() 128 std::count_if(m_bytes.begin(), m_bytes.end(), llvm::isPrint); in Dump() 129 if (num_printable_chars == m_bytes.size()) in Dump() 130 s->Format("\"{0}\"", m_bytes); in Dump() 139 return (m_bytes.empty() ? nullptr : m_bytes.data()); in GetBytes() 146 m_bytes.assign(static_cast<const char *>(src), src_len); in SetBytes() 148 m_bytes.clear(); in SetBytes() 153 m_bytes.assign(cstr); in SetBytesFromCString() 155 m_bytes.clear(); in SetBytesFromCString() [all …]
|
| H A D | UUID.cpp | 117 if (llvm::all_of(m_bytes, [](uint8_t b) { return b == 0; })) in SetFromOptionalStringRef()
|
| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | UUID.h | 72 void Clear() { m_bytes.clear(); } in Clear() 76 llvm::ArrayRef<uint8_t> GetBytes() const { return m_bytes; } in GetBytes() 79 bool IsValid() const { return !m_bytes.empty(); } in IsValid() 106 UUID(llvm::ArrayRef<uint8_t> bytes) : m_bytes(bytes.begin(), bytes.end()) {} in UUID() 110 llvm::SmallVector<uint8_t, 20> m_bytes; variable 113 return LHS.m_bytes == RHS.m_bytes; 119 return LHS.m_bytes < RHS.m_bytes;
|
| H A D | DataBuffer.h | 130 : m_bytes(bytes), m_size(size) {} in DataBufferUnowned() 132 const uint8_t *GetBytesImpl() const override { return m_bytes; } in GetBytesImpl() 146 uint8_t *m_bytes;
|
| H A D | Event.h | 96 std::string m_bytes;
|
| /llvm-project-15.0.7/lldb/source/Core/ |
| H A D | Communication.cpp | 44 m_read_thread_enabled(false), m_read_thread_did_exit(false), m_bytes(), in Communication() 261 if (!m_bytes.empty()) { in GetCachedBytes() 265 return m_bytes.size(); in GetCachedBytes() 267 const size_t len = std::min<size_t>(dst_len, m_bytes.size()); in GetCachedBytes() 269 ::memcpy(dst, m_bytes.c_str(), len); in GetCachedBytes() 270 m_bytes.erase(m_bytes.begin(), m_bytes.begin() + len); in GetCachedBytes() 292 m_bytes.append((const char *)bytes, len); in AppendBytesToCache()
|
| /llvm-project-15.0.7/lldb/source/Host/windows/ |
| H A D | ConnectionGenericFileWindows.cpp | 32 m_bytes = bytes; in Set() 38 m_bytes = bytes; in Set() 42 size_t GetBytes() const { return m_bytes; } in GetBytes() 48 size_t m_bytes; member in __anon51e59d5c0111::ReturnInfo
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Linux/ |
| H A D | Perf.h | 41 MmapDeleter(size_t bytes = 0) : m_bytes(bytes) {} in m_bytes() function 53 size_t m_bytes;
|
| H A D | Perf.cpp | 67 if (m_bytes && ptr != nullptr) in operator ()() 68 munmap(ptr, m_bytes); in operator ()()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/MacOSX-Kernel/ |
| H A D | CommunicationKDP.cpp | 244 m_bytes.append((const char *)src, src_len); in CheckForPacket() 248 const size_t bytes_available = m_bytes.size(); in CheckForPacket() 250 packet.SetData(&m_bytes[0], bytes_available, m_byte_order); in CheckForPacket() 307 packet.SetData(DataBufferSP(new DataBufferHeap(&m_bytes[0], length))); in CheckForPacket() 308 m_bytes.erase(0, length); in CheckForPacket() 325 __FUNCTION__, (uint8_t)m_bytes[0]); in CheckForPacket() 326 m_bytes.erase(0, 1); in CheckForPacket()
|
| /llvm-project-15.0.7/lldb/include/lldb/Core/ |
| H A D | Communication.h | 324 m_bytes; ///< A buffer to cache bytes read in the ReadThread function. variable
|