Lines Matching refs:m_opaque_sp
25 SBData::SBData() : m_opaque_sp(new DataExtractor()) { in SBData()
29 SBData::SBData(const lldb::DataExtractorSP &data_sp) : m_opaque_sp(data_sp) {} in SBData()
31 SBData::SBData(const SBData &rhs) : m_opaque_sp(rhs.m_opaque_sp) { in SBData()
40 m_opaque_sp = rhs.m_opaque_sp; in operator =()
47 m_opaque_sp = data_sp; in SetOpaque()
50 lldb_private::DataExtractor *SBData::get() const { return m_opaque_sp.get(); } in get()
53 return m_opaque_sp.operator->(); in operator ->()
56 lldb::DataExtractorSP &SBData::operator*() { return m_opaque_sp; } in operator *()
58 const lldb::DataExtractorSP &SBData::operator*() const { return m_opaque_sp; } in operator *()
67 return m_opaque_sp.get() != nullptr; in operator bool()
74 if (m_opaque_sp.get()) in GetAddressByteSize()
75 value = m_opaque_sp->GetAddressByteSize(); in GetAddressByteSize()
83 if (m_opaque_sp.get()) in SetAddressByteSize()
84 m_opaque_sp->SetAddressByteSize(addr_byte_size); in SetAddressByteSize()
90 if (m_opaque_sp.get()) in Clear()
91 m_opaque_sp->Clear(); in Clear()
98 if (m_opaque_sp.get()) in GetByteSize()
99 value = m_opaque_sp->GetByteSize(); in GetByteSize()
107 if (m_opaque_sp.get()) in GetByteOrder()
108 value = m_opaque_sp->GetByteOrder(); in GetByteOrder()
115 if (m_opaque_sp.get()) in SetByteOrder()
116 m_opaque_sp->SetByteOrder(endian); in SetByteOrder()
124 if (!m_opaque_sp.get()) { in GetFloat()
128 value = m_opaque_sp->GetFloat(&offset); in GetFloat()
140 if (!m_opaque_sp.get()) { in GetDouble()
144 value = m_opaque_sp->GetDouble(&offset); in GetDouble()
156 if (!m_opaque_sp.get()) { in GetLongDouble()
160 value = m_opaque_sp->GetLongDouble(&offset); in GetLongDouble()
172 if (!m_opaque_sp.get()) { in GetAddress()
176 value = m_opaque_sp->GetAddress(&offset); in GetAddress()
188 if (!m_opaque_sp.get()) { in GetUnsignedInt8()
192 value = m_opaque_sp->GetU8(&offset); in GetUnsignedInt8()
204 if (!m_opaque_sp.get()) { in GetUnsignedInt16()
208 value = m_opaque_sp->GetU16(&offset); in GetUnsignedInt16()
220 if (!m_opaque_sp.get()) { in GetUnsignedInt32()
224 value = m_opaque_sp->GetU32(&offset); in GetUnsignedInt32()
236 if (!m_opaque_sp.get()) { in GetUnsignedInt64()
240 value = m_opaque_sp->GetU64(&offset); in GetUnsignedInt64()
252 if (!m_opaque_sp.get()) { in GetSignedInt8()
256 value = (int8_t)m_opaque_sp->GetMaxS64(&offset, 1); in GetSignedInt8()
268 if (!m_opaque_sp.get()) { in GetSignedInt16()
272 value = (int16_t)m_opaque_sp->GetMaxS64(&offset, 2); in GetSignedInt16()
284 if (!m_opaque_sp.get()) { in GetSignedInt32()
288 value = (int32_t)m_opaque_sp->GetMaxS64(&offset, 4); in GetSignedInt32()
300 if (!m_opaque_sp.get()) { in GetSignedInt64()
304 value = (int64_t)m_opaque_sp->GetMaxS64(&offset, 8); in GetSignedInt64()
316 if (!m_opaque_sp.get()) { in GetString()
320 value = m_opaque_sp->GetCStr(&offset); in GetString()
334 if (m_opaque_sp) { in GetDescription()
335 DumpDataExtractor(*m_opaque_sp, &strm, 0, lldb::eFormatBytesWithASCII, 1, in GetDescription()
336 m_opaque_sp->GetByteSize(), 16, base_addr, 0, 0); in GetDescription()
350 if (!m_opaque_sp.get()) { in ReadRawData()
354 ok = m_opaque_sp->GetU8(&offset, buf, size); in ReadRawData()
368 if (!m_opaque_sp.get()) in SetData()
369 m_opaque_sp = std::make_shared<DataExtractor>(buf, size, endian, addr_size); in SetData()
372 m_opaque_sp->SetData(buf, size, endian); in SetData()
373 m_opaque_sp->SetAddressByteSize(addr_size); in SetData()
381 if (m_opaque_sp.get() && rhs.m_opaque_sp.get()) in Append()
382 value = m_opaque_sp.get()->Append(*rhs.m_opaque_sp); in Append()
529 if (!m_opaque_sp.get()) in SetDataFromCString()
530 m_opaque_sp = std::make_shared<DataExtractor>(buffer_sp, GetByteOrder(), in SetDataFromCString()
533 m_opaque_sp->SetData(buffer_sp); in SetDataFromCString()
552 if (!m_opaque_sp.get()) in SetDataFromUInt64Array()
553 m_opaque_sp = std::make_shared<DataExtractor>(buffer_sp, GetByteOrder(), in SetDataFromUInt64Array()
556 m_opaque_sp->SetData(buffer_sp); in SetDataFromUInt64Array()
575 if (!m_opaque_sp.get()) in SetDataFromUInt32Array()
576 m_opaque_sp = std::make_shared<DataExtractor>(buffer_sp, GetByteOrder(), in SetDataFromUInt32Array()
579 m_opaque_sp->SetData(buffer_sp); in SetDataFromUInt32Array()
597 if (!m_opaque_sp.get()) in SetDataFromSInt64Array()
598 m_opaque_sp = std::make_shared<DataExtractor>(buffer_sp, GetByteOrder(), in SetDataFromSInt64Array()
601 m_opaque_sp->SetData(buffer_sp); in SetDataFromSInt64Array()
619 if (!m_opaque_sp.get()) in SetDataFromSInt32Array()
620 m_opaque_sp = std::make_shared<DataExtractor>(buffer_sp, GetByteOrder(), in SetDataFromSInt32Array()
623 m_opaque_sp->SetData(buffer_sp); in SetDataFromSInt32Array()
641 if (!m_opaque_sp.get()) in SetDataFromDoubleArray()
642 m_opaque_sp = std::make_shared<DataExtractor>(buffer_sp, GetByteOrder(), in SetDataFromDoubleArray()
645 m_opaque_sp->SetData(buffer_sp); in SetDataFromDoubleArray()