Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunication.cpp426 if (m_bytes[0] != '$' && m_bytes[0] != '%') in DecompressPacket()
428 if (m_bytes[1] != 'C' && m_bytes[1] != 'N') in DecompressPacket()
462 if (m_bytes[1] == 'C') { in DecompressPacket()
506 if (m_bytes[1] == 'N') { in DecompressPacket()
509 m_bytes.erase(1, 1); in DecompressPacket()
519 if (m_bytes[i] == '}') { in DecompressPacket()
661 if (!m_bytes.empty()) { in CheckForPacket()
678 switch (m_bytes[0]) { in CheckForPacket()
721 switch (m_bytes[idx]) { in CheckForPacket()
795 m_bytes[total_length - 2], m_bytes[total_length - 1]); in CheckForPacket()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Utility/
H A DEvent.cpp101 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 DUUID.cpp117 if (llvm::all_of(m_bytes, [](uint8_t b) { return b == 0; })) in SetFromOptionalStringRef()
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Utility/
H A DUUID.h72 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 DDataBuffer.h85 : m_bytes(bytes), m_size(size) {} in DataBufferUnowned()
87 uint8_t *GetBytes() override { return m_bytes; } in GetBytes()
88 const uint8_t *GetBytes() const override { return m_bytes; } in GetBytes()
92 uint8_t *m_bytes;
H A DEvent.h94 std::string m_bytes;
/freebsd-13.1/contrib/llvm-project/lldb/source/Core/
H A DCommunication.cpp44 m_read_thread_enabled(false), m_read_thread_did_exit(false), m_bytes(), in Communication()
254 if (!m_bytes.empty()) { in GetCachedBytes()
258 return m_bytes.size(); in GetCachedBytes()
260 const size_t len = std::min<size_t>(dst_len, m_bytes.size()); in GetCachedBytes()
262 ::memcpy(dst, m_bytes.c_str(), len); in GetCachedBytes()
263 m_bytes.erase(m_bytes.begin(), m_bytes.begin() + len); in GetCachedBytes()
285 m_bytes.append((const char *)bytes, len); in AppendBytesToCache()
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Core/
H A DCommunication.h308 m_bytes; ///< A buffer to cache bytes read in the ReadThread function. variable