Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunication.cpp394 size_t pkt_size = m_bytes.size(); in DecompressPacket()
402 if (m_bytes[0] != '$' && m_bytes[0] != '%') in DecompressPacket()
404 if (m_bytes[1] != 'C' && m_bytes[1] != 'N') in DecompressPacket()
407 size_t hash_mark_idx = m_bytes.find('#'); in DecompressPacket()
410 if (hash_mark_idx + 2 >= m_bytes.size()) in DecompressPacket()
413 if (!::isxdigit(m_bytes[hash_mark_idx + 1]) || in DecompressPacket()
414 !::isxdigit(m_bytes[hash_mark_idx + 2])) in DecompressPacket()
438 if (m_bytes[1] == 'C') { in DecompressPacket()
440 while (i < hash_mark_idx && isdigit(m_bytes[i])) in DecompressPacket()
442 if (i < hash_mark_idx && m_bytes[i] == ':') { in DecompressPacket()
[all …]
H A DGDBRemoteCommunication.h179 std::string m_bytes; variable
/openbsd-src/gnu/llvm/lldb/source/Utility/
H A DEvent.cpp101 EventDataBytes::EventDataBytes() : m_bytes() {} in EventDataBytes()
103 EventDataBytes::EventDataBytes(const char *cstr) : m_bytes() { in EventDataBytes()
107 EventDataBytes::EventDataBytes(llvm::StringRef str) : m_bytes() { in EventDataBytes()
111 EventDataBytes::EventDataBytes(const void *src, size_t src_len) : m_bytes() { in EventDataBytes()
127 if (llvm::all_of(m_bytes, llvm::isPrint)) in Dump()
128 s->Format("\"{0}\"", m_bytes); in Dump()
131 reinterpret_cast<const uint8_t *>(m_bytes.data()), in Dump()
132 reinterpret_cast<const uint8_t *>(m_bytes.data() + in Dump()
133 m_bytes.size()))); in Dump()
137 return (m_bytes.empty() ? nullptr : m_bytes.data()); in GetBytes()
[all …]
/openbsd-src/gnu/llvm/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.h130 : 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 DEvent.h96 std::string m_bytes;
/openbsd-src/gnu/llvm/lldb/source/Core/
H A DThreadedCommunication.cpp41 m_read_thread_did_exit(false), m_bytes(), m_bytes_mutex(), in ThreadedCommunication()
218 if (!m_bytes.empty()) { in GetCachedBytes()
222 return m_bytes.size(); in GetCachedBytes()
224 const size_t len = std::min<size_t>(dst_len, m_bytes.size()); in GetCachedBytes()
226 ::memcpy(dst, m_bytes.c_str(), len); in GetCachedBytes()
227 m_bytes.erase(m_bytes.begin(), m_bytes.begin() + len); in GetCachedBytes()
250 m_bytes.append((const char *)bytes, len); in AppendBytesToCache()
/openbsd-src/gnu/llvm/lldb/source/Host/windows/
H A DConnectionGenericFileWindows.cpp32 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 __anon6acae5c30111::ReturnInfo
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/Linux/
H A DPerf.h39 MmapDeleter(size_t bytes = 0) : m_bytes(bytes) {} in m_bytes() function
51 size_t m_bytes;
H A DPerf.cpp65 if (m_bytes && ptr != nullptr) in operator ()()
66 munmap(ptr, m_bytes); in operator ()()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/MacOSX-Kernel/
H A DCommunicationKDP.cpp244 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()
H A DCommunicationKDP.h224 std::string m_bytes; variable
/openbsd-src/gnu/llvm/lldb/include/lldb/Core/
H A DThreadedCommunication.h231 m_bytes; ///< A buffer to cache bytes read in the ReadThread function. variable