Home
last modified time | relevance | path

Searched refs:buffer_sp (Results 1 – 9 of 9) sorted by relevance

/external/lldb/source/Core/
DOpcode.cpp93 DataBufferSP buffer_sp; in GetData() local
101 … case Opcode::eType8: buffer_sp.reset (new DataBufferHeap (&m_data.inst8, byte_size)); break; in GetData()
102 … case Opcode::eType16: buffer_sp.reset (new DataBufferHeap (&m_data.inst16, byte_size)); break; in GetData()
111 buffer_sp.reset (new DataBufferHeap (buf, byte_size)); in GetData()
115 buffer_sp.reset (new DataBufferHeap (&m_data.inst32, byte_size)); in GetData()
117 … case Opcode::eType64: buffer_sp.reset (new DataBufferHeap (&m_data.inst64, byte_size)); break; in GetData()
118 … case Opcode::eTypeBytes:buffer_sp.reset (new DataBufferHeap (GetOpcodeBytes(), byte_size)); break; in GetData()
123 if (buffer_sp) in GetData()
126 data.SetData (buffer_sp); in GetData()
DDataExtractor.cpp2149 DataBufferSP buffer_sp(buffer_heap_ptr = new DataBufferHeap(bytes, 0)); in Append() local
2151 if (buffer_sp.get() == NULL || buffer_heap_ptr == NULL) in Append()
2159 SetData(buffer_sp); in Append()
2176 DataBufferSP buffer_sp(buffer_heap_ptr = new DataBufferHeap(bytes, 0)); in Append() local
2178 if (buffer_sp.get() == NULL || buffer_heap_ptr == NULL) in Append()
2188 SetData(buffer_sp); in Append()
DValueObject.cpp1054 DataBufferSP buffer_sp (new DataBufferHeap(byte_size, 0)); in SetData() local
1055 m_data.SetData(buffer_sp, 0); in SetData()
1350 DataBufferSP buffer_sp(new DataBufferHeap(max_len+1,0)); in GetValueAsCString() local
1352 …if (target_sp->ReadCStringFromMemory(address, (char*)buffer_sp->GetBytes(), max_len, error) && err… in GetValueAsCString()
1353 special_format_data.SetData(buffer_sp); in GetValueAsCString()
1855 DataBufferSP buffer_sp (new DataBufferHeap(byte_size, 0)); in SetValueFromCString() local
1856 m_data.SetData(buffer_sp, 0); in SetValueFromCString()
/external/lldb/source/API/
DSBData.cpp525 lldb::DataBufferSP buffer_sp(new DataBufferHeap(data, data_len)); in CreateDataFromCString() local
526 lldb::DataExtractorSP data_sp(new DataExtractor(buffer_sp, endian, addr_byte_size)); in CreateDataFromCString()
541 lldb::DataBufferSP buffer_sp(new DataBufferHeap(array, data_len)); in CreateDataFromUInt64Array() local
542 lldb::DataExtractorSP data_sp(new DataExtractor(buffer_sp, endian, addr_byte_size)); in CreateDataFromUInt64Array()
557 lldb::DataBufferSP buffer_sp(new DataBufferHeap(array, data_len)); in CreateDataFromUInt32Array() local
558 lldb::DataExtractorSP data_sp(new DataExtractor(buffer_sp, endian, addr_byte_size)); in CreateDataFromUInt32Array()
573 lldb::DataBufferSP buffer_sp(new DataBufferHeap(array, data_len)); in CreateDataFromSInt64Array() local
574 lldb::DataExtractorSP data_sp(new DataExtractor(buffer_sp, endian, addr_byte_size)); in CreateDataFromSInt64Array()
589 lldb::DataBufferSP buffer_sp(new DataBufferHeap(array, data_len)); in CreateDataFromSInt32Array() local
590 lldb::DataExtractorSP data_sp(new DataExtractor(buffer_sp, endian, addr_byte_size)); in CreateDataFromSInt32Array()
[all …]
/external/lldb/source/DataFormatters/
DNSDictionary.cpp388 DataBufferSP buffer_sp(new DataBufferHeap(2*m_ptr_size,0)); in GetChildAtIndex() local
392 uint64_t *data_ptr = (uint64_t *)buffer_sp->GetBytes(); in GetChildAtIndex()
398 uint32_t *data_ptr = (uint32_t *)buffer_sp->GetBytes(); in GetChildAtIndex()
405 DataExtractor data(buffer_sp, m_order, m_ptr_size); in GetChildAtIndex()
552 DataBufferSP buffer_sp(new DataBufferHeap(2*m_ptr_size,0)); in GetChildAtIndex() local
556 uint64_t *data_ptr = (uint64_t *)buffer_sp->GetBytes(); in GetChildAtIndex()
562 uint32_t *data_ptr = (uint32_t *)buffer_sp->GetBytes(); in GetChildAtIndex()
569 DataExtractor data(buffer_sp, m_order, m_ptr_size); in GetChildAtIndex()
DCF.cpp158 DataBufferSP buffer_sp(new DataBufferHeap(num_bytes,0)); in CFBitVectorSummaryProvider() local
159 num_bytes = process_sp->ReadMemory(data_ptr, buffer_sp->GetBytes(), num_bytes, error); in CFBitVectorSummaryProvider()
162 uint8_t *bytes = buffer_sp->GetBytes(); in CFBitVectorSummaryProvider()
DCXXFormatterFunctions.cpp423 lldb::DataBufferSP buffer_sp(new DataBufferHeap(bufferSPSize,0)); in ReadUTFBufferAndDumpToStream() local
425 if (!buffer_sp->GetBytes()) in ReadUTFBufferAndDumpToStream()
429 char *buffer = reinterpret_cast<char *>(buffer_sp->GetBytes()); in ReadUTFBufferAndDumpToStream()
435 …data_read = process_sp->ReadMemoryFromInferior(options.GetLocation(), (char*)buffer_sp->GetBytes()… in ReadUTFBufferAndDumpToStream()
443 DataExtractor data(buffer_sp, process_sp->GetByteOrder(), process_sp->GetAddressByteSize()); in ReadUTFBufferAndDumpToStream()
934 lldb::DataBufferSP buffer_sp(new DataBufferHeap(size,0)); in ReadAsciiBufferAndDumpToStream() local
936 …my_data_read = process_sp->ReadCStringFromMemory(location, (char*)buffer_sp->GetBytes(), size, my_… in ReadAsciiBufferAndDumpToStream()
949 dest.Printf("%s",(char*)buffer_sp->GetBytes()); in ReadAsciiBufferAndDumpToStream()
/external/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
DAppleObjCRuntimeV1.cpp271 lldb::DataBufferSP buffer_sp(new DataBufferHeap(1024, 0)); in Initialize() local
273 …size_t count = process_sp->ReadCStringFromMemory(name_ptr, (char*)buffer_sp->GetBytes(), 1024, err… in Initialize()
282 m_name = ConstString((char*)buffer_sp->GetBytes()); in Initialize()
/external/lldb/source/Expression/
DIRExecutionUnit.cpp157 lldb::DataBufferSP buffer_sp(new DataBufferHeap(func_range.second, 0)); in DisassembleFunction() local
161 process->ReadMemory(func_remote_addr, buffer_sp->GetBytes(), buffer_sp->GetByteSize(), err); in DisassembleFunction()
190 DataExtractor extractor(buffer_sp, in DisassembleFunction()