Home
last modified time | relevance | path

Searched refs:m_bytes (Results 1 – 8 of 8) sorted by relevance

/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunication.cpp401 if (m_bytes[0] != '$' && m_bytes[0] != '%') in DecompressPacket()
403 if (m_bytes[1] != 'C' && m_bytes[1] != 'N') in DecompressPacket()
437 if (m_bytes[1] == 'C') { in DecompressPacket()
481 if (m_bytes[1] == 'N') { in DecompressPacket()
484 m_bytes.erase(1, 1); in DecompressPacket()
494 if (m_bytes[i] == '}') { in DecompressPacket()
636 if (!m_bytes.empty()) { in CheckForPacket()
653 switch (m_bytes[0]) { in CheckForPacket()
696 switch (m_bytes[idx]) { in CheckForPacket()
770 m_bytes[total_length - 2], m_bytes[total_length - 1]); in CheckForPacket()
[all …]
H A DGDBRemoteCommunication.h179 std::string m_bytes; variable
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Utility/
H A DUUID.h31 UUID(llvm::ArrayRef<uint8_t> bytes) : m_bytes(bytes.begin(), bytes.end()) { in UUID()
32 if (llvm::all_of(m_bytes, [](uint8_t b) { return b == 0; })) { in UUID()
62 void Clear() { m_bytes.clear(); } in Clear()
66 llvm::ArrayRef<uint8_t> GetBytes() const { return m_bytes; } in GetBytes()
69 bool IsValid() const { return !m_bytes.empty(); } in IsValid()
94 llvm::SmallVector<uint8_t, 20> m_bytes;
97 return LHS.m_bytes == RHS.m_bytes;
103 return LHS.m_bytes < RHS.m_bytes;
H A DDataBuffer.h129 : m_bytes(bytes), m_size(size) {} in DataBufferUnowned()
131 const uint8_t *GetBytesImpl() const override { return m_bytes; } in GetBytesImpl()
145 uint8_t *m_bytes;
H A DEvent.h96 std::string m_bytes;
/freebsd-14.2/contrib/llvm-project/lldb/source/Utility/
H A DEvent.cpp112 EventDataBytes::EventDataBytes() : m_bytes() {} in EventDataBytes()
114 EventDataBytes::EventDataBytes(const char *cstr) : m_bytes() { in EventDataBytes()
118 EventDataBytes::EventDataBytes(llvm::StringRef str) : m_bytes() { in EventDataBytes()
135 if (llvm::all_of(m_bytes, llvm::isPrint)) in Dump()
136 s->Format("\"{0}\"", m_bytes); in Dump()
145 return (m_bytes.empty() ? nullptr : m_bytes.data()); in GetBytes()
152 m_bytes.assign(static_cast<const char *>(src), src_len); in SetBytes()
154 m_bytes.clear(); in SetBytes()
159 m_bytes.assign(cstr); in SetBytesFromCString()
161 m_bytes.clear(); in SetBytesFromCString()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Core/
H A DThreadedCommunication.cpp42 m_read_thread_did_exit(false), m_bytes(), m_bytes_mutex(), in ThreadedCommunication()
223 if (!m_bytes.empty()) { in GetCachedBytes()
227 return m_bytes.size(); in GetCachedBytes()
229 const size_t len = std::min<size_t>(dst_len, m_bytes.size()); in GetCachedBytes()
231 ::memcpy(dst, m_bytes.c_str(), len); in GetCachedBytes()
232 m_bytes.erase(m_bytes.begin(), m_bytes.begin() + len); in GetCachedBytes()
255 m_bytes.append((const char *)bytes, len); in AppendBytesToCache()
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Core/
H A DThreadedCommunication.h243 m_bytes; ///< A buffer to cache bytes read in the ReadThread function. variable