/external/lldb/source/Plugins/ObjectFile/ELF/ |
D | ELFHeader.cpp | 31 uint32_t byte_size) in GetMaxU64() argument 34 *value = data.GetMaxU64(offset, byte_size); in GetMaxU64() 42 uint32_t byte_size, in GetMaxU64() argument 49 if (GetMaxU64(data, offset, value, byte_size) == false) in GetMaxU64() 62 uint32_t byte_size) in GetMaxS64() argument 65 *value = data.GetMaxS64(offset, byte_size); in GetMaxS64() 73 uint32_t byte_size, in GetMaxS64() argument 80 if (GetMaxS64(data, offset, value, byte_size) == false) in GetMaxS64() 114 const unsigned byte_size = Is32Bit() ? 4 : 8; in Parse() local 116 data.SetAddressByteSize(byte_size); in Parse() [all …]
|
/external/lldb/source/Interpreter/ |
D | OptionGroupFormat.cpp | 126 uint32_t byte_size = 0; in SetOptionValue() local 128 while (ParserGDBFormatLetter (interpreter, gdb_format_cstr[0], format, byte_size)) in SetOptionValue() 137 … if (gdb_format_cstr[0] || (format == eFormatInvalid && byte_size == 0 && count == 0)) in SetOptionValue() 148 ParserGDBFormatLetter (interpreter, m_prev_gdb_format, format, byte_size); in SetOptionValue() 155 if (byte_size == 0) in SetOptionValue() 156 ParserGDBFormatLetter (interpreter, m_prev_gdb_size, format, byte_size); in SetOptionValue() 161 if (byte_size > 0) in SetOptionValue() 188 m_byte_size.SetCurrentValue (byte_size); in SetOptionValue() 208 …atLetter (CommandInterpreter &interpreter, char format_letter, Format &format, uint32_t &byte_size) in ParserGDBFormatLetter() argument 224 byte_size = target->GetArchitecture().GetAddressByteSize(); in ParserGDBFormatLetter() [all …]
|
/external/lldb/source/Core/ |
D | RegisterValue.cpp | 89 reg_info->byte_size, // item_byte_size in Dump() 136 const uint32_t src_len = reg_info->byte_size; in GetAsMemoryData() 193 const uint32_t dst_len = reg_info->byte_size; in SetFromMemoryData() 275 const uint32_t byte_size = reg_info->byte_size; in SetType() local 283 if (byte_size == 1) in SetType() 285 else if (byte_size <= 2) in SetType() 287 else if (byte_size <= 4) in SetType() 289 else if (byte_size <= 8) in SetType() 292 else if (byte_size <= 16) in SetType() 298 if (byte_size == sizeof(float)) in SetType() [all …]
|
D | Opcode.cpp | 91 uint32_t byte_size = GetByteSize (); in GetData() local 94 if (byte_size > 0) in GetData() 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() 127 return byte_size; in GetData()
|
D | Value.cpp | 185 uint64_t byte_size = 0; in GetValueByteSize() local 191 byte_size = GetRegisterInfo()->byte_size; in GetValueByteSize() 200 byte_size = ast_type.GetByteSize(); in GetValueByteSize() 207 if (byte_size == 0) in GetValueByteSize() 217 return byte_size; in GetValueByteSize() 548 size_t byte_size = GetValueByteSize (&error); in GetValueAsData() local 556 if (!data.ValidOffsetForDataOfSize (data_offset, byte_size)) in GetValueAsData() 558 DataBufferSP data_sp(new DataBufferHeap (data_offset + byte_size, '\0')); in GetValueAsData() 562 uint8_t* dst = const_cast<uint8_t*>(data.PeekData (data_offset, byte_size)); in GetValueAsData() 568 memcpy (dst, (uint8_t*)NULL + address, byte_size); in GetValueAsData() [all …]
|
D | AddressRange.cpp | 25 AddressRange::AddressRange (addr_t file_addr, addr_t byte_size, const SectionList *section_list) : in AddressRange() argument 27 m_byte_size(byte_size) in AddressRange() 31 AddressRange::AddressRange (const lldb::SectionSP §ion, addr_t offset, addr_t byte_size) : in AddressRange() argument 33 m_byte_size(byte_size) in AddressRange() 37 AddressRange::AddressRange (const Address& so_addr, addr_t byte_size) : in AddressRange() argument 39 m_byte_size(byte_size) in AddressRange()
|
D | AddressResolverName.cpp | 188 addr_t byte_size = sc.function->GetAddressRange().GetByteSize(); in SearchCallback() local 195 byte_size -= prologue_byte_size; in SearchCallback() 201 AddressRange new_range (func_addr, byte_size); in SearchCallback() 216 addr_t byte_size = sc.symbol->GetByteSize(); in SearchCallback() local 224 byte_size -= prologue_byte_size; in SearchCallback() 230 AddressRange new_range (func_addr, byte_size); in SearchCallback()
|
D | Scalar.cpp | 136 size_t byte_size = GetByteSize(); in GetData() local 137 if (byte_size > 0) in GetData() 139 if (limit_byte_size < byte_size) in GetData() 153 …data.SetData(((uint8_t*)&m_data) + byte_size - limit_byte_size, limit_byte_size, lldb::endian::Inl… in GetData() 159 data.SetData((uint8_t*)&m_data, byte_size, lldb::endian::InlHostByteOrder()); in GetData() 524 Scalar::GetValueTypeForSignedIntegerWithByteSize (size_t byte_size) in GetValueTypeForSignedIntegerWithByteSize() argument 526 if (byte_size <= sizeof(sint_t)) in GetValueTypeForSignedIntegerWithByteSize() 528 if (byte_size <= sizeof(slong_t)) in GetValueTypeForSignedIntegerWithByteSize() 530 if (byte_size <= sizeof(slonglong_t)) in GetValueTypeForSignedIntegerWithByteSize() 536 Scalar::GetValueTypeForUnsignedIntegerWithByteSize (size_t byte_size) in GetValueTypeForUnsignedIntegerWithByteSize() argument [all …]
|
D | EmulateInstruction.cpp | 147 if (reg_value.SetUInt(uint_value, reg_info.byte_size)) in WriteRegisterUnsigned() 162 if (reg_value.SetUInt(uint_value, reg_info->byte_size)) in WriteRegisterUnsigned() 180 EmulateInstruction::ReadMemoryUnsigned (const Context &context, lldb::addr_t addr, size_t byte_size… in ReadMemoryUnsigned() argument 184 if (byte_size <= 8) in ReadMemoryUnsigned() 187 size_t bytes_read = m_read_mem_callback (this, m_baton, context, addr, buf, byte_size); in ReadMemoryUnsigned() 188 if (bytes_read == byte_size) in ReadMemoryUnsigned() 191 DataExtractor data (buf, byte_size, GetByteOrder(), GetAddressByteSize()); in ReadMemoryUnsigned() 192 uval64 = data.GetMaxU64 (&offset, byte_size); in ReadMemoryUnsigned()
|
/external/protobuf/python/google/protobuf/internal/ |
D | wire_format_test.py | 201 def __init__(self, byte_size): argument 202 self.byte_size = byte_size 204 return self.byte_size 207 mock_message = MockMessage(byte_size=message_byte_size) 218 self.assertEqual(2 + mock_message.byte_size, 221 self.assertEqual(3 + mock_message.byte_size, 224 mock_message.byte_size = 128 225 self.assertEqual(4 + mock_message.byte_size, 232 mock_message.byte_size = 10 233 self.assertEqual(mock_message.byte_size + 6, [all …]
|
/external/lldb/source/Target/ |
D | Memory.cpp | 85 MemoryCache::AddInvalidRange (lldb::addr_t base_addr, lldb::addr_t byte_size) in AddInvalidRange() argument 87 if (byte_size > 0) in AddInvalidRange() 90 InvalidRanges::Entry range (base_addr, byte_size); in AddInvalidRange() 97 MemoryCache::RemoveInvalidRange (lldb::addr_t base_addr, lldb::addr_t byte_size) in RemoveInvalidRange() argument 99 if (byte_size > 0) in RemoveInvalidRange() 106 if (entry->GetRangeBase() == base_addr && entry->GetByteSize() == byte_size) in RemoveInvalidRange() 209 uint32_t byte_size, in AllocatedBlock() argument 213 m_byte_size (byte_size), in AllocatedBlock() 219 assert (byte_size > chunk_size); in AllocatedBlock() 383 AllocatedMemoryCache::AllocatePage (uint32_t byte_size, in AllocatePage() argument [all …]
|
/external/lldb/include/lldb/Core/ |
D | AddressRange.h | 48 AddressRange (const lldb::SectionSP §ion, lldb::addr_t offset, lldb::addr_t byte_size); 65 …AddressRange (lldb::addr_t file_addr, lldb::addr_t byte_size, const SectionList *section_list = NU… 79 AddressRange (const Address& so_addr, lldb::addr_t byte_size); 270 SetByteSize (lldb::addr_t byte_size) { m_byte_size = byte_size; } in SetByteSize() argument
|
/external/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/ |
D | AuxVector.cpp | 35 unsigned int byte_size) in GetMaxU64() argument 38 *value = data.GetMaxU64(offset_ptr, byte_size); in GetMaxU64() 46 unsigned int byte_size) in ParseAuxvEntry() argument 48 if (!GetMaxU64(data, offset_ptr, &entry.type, byte_size)) in ParseAuxvEntry() 51 if (!GetMaxU64(data, offset_ptr, &entry.value, byte_size)) in ParseAuxvEntry() 70 const unsigned int byte_size = m_process->GetAddressByteSize(); in ParseAuxv() local 77 if (!ParseAuxvEntry(data, entry, &offset, byte_size)) in ParseAuxv()
|
/external/lldb/examples/python/ |
D | types.py | 97 byte_size = type.GetByteSize() 102 print 'Total byte size: %u' % (byte_size) 105 print 'Padding percentage: %2.2f %%' % ((float(padding) / float(byte_size)) * 100.0) 111 byte_size = type.GetByteSize() 113 … print '%+4u <%3u> %s%s %s;' % (base_offset, byte_size, ' ' * depth, typename, member_name) 115 print '%+4u {%3u} %s%s' % (base_offset, byte_size, ' ' * depth, typename) 120 return (base_offset + byte_size, padding) 155 if prev_end_offset < byte_size: 156 last_member_padding = byte_size - prev_end_offset 164 prev_end_offset = base_offset + byte_size
|
/external/elfutils/src/tests/ |
D | run-show-die-info.sh | 47 Attrs : name byte_size encoding 71 Attrs : name byte_size encoding 115 Attrs : name byte_size encoding 145 Attrs : name byte_size encoding 156 Attrs : name byte_size encoding 177 Attrs : name byte_size encoding 183 Attrs : sibling name byte_size decl_file decl_line 209 Attrs : name byte_size encoding 215 Attrs : byte_size 231 Attrs : name byte_size encoding [all …]
|
/external/lldb/tools/debugserver/source/ |
D | DNB.cpp | 1104 uint32_t byte_size = 0; in DNBPrintf() local 1186 byte_size = register_value.info.size; in DNBPrintf() 1256 byte_size = actual_byte_size; in DNBPrintf() 1324 if (byte_size == 0) in DNBPrintf() 1325 byte_size = sizeof(long int); in DNBPrintf() 1335 if (byte_size == 0) in DNBPrintf() 1338 byte_size = sizeof(char); in DNBPrintf() 1340 byte_size = sizeof(short); in DNBPrintf() 1342 byte_size = sizeof(long long); in DNBPrintf() 1344 byte_size = sizeof(long); in DNBPrintf() [all …]
|
/external/lldb/include/lldb/Target/ |
D | Memory.h | 59 AddInvalidRange (lldb::addr_t base_addr, lldb::addr_t byte_size); 62 RemoveInvalidRange (lldb::addr_t base_addr, lldb::addr_t byte_size); 84 uint32_t byte_size, 165 AllocateMemory (size_t byte_size, 176 AllocatePage (uint32_t byte_size,
|
/external/protobuf/src/google/protobuf/ |
D | message_lite.cc | 279 int byte_size = ByteSize(); in AppendPartialToString() local 280 STLStringResizeUninitialized(output, old_size + byte_size); in AppendPartialToString() 284 if (end - start != byte_size) { in AppendPartialToString() 285 ByteSizeConsistencyError(byte_size, ByteSize(), end - start); in AppendPartialToString() 306 int byte_size = ByteSize(); in SerializePartialToArray() local 307 if (size < byte_size) return false; in SerializePartialToArray() 310 if (end - start != byte_size) { in SerializePartialToArray() 311 ByteSizeConsistencyError(byte_size, ByteSize(), end - start); in SerializePartialToArray()
|
/external/lldb/source/Plugins/SymbolFile/DWARF/ |
D | UniqueDWARFASTType.h | 48 int32_t byte_size) : in UniqueDWARFASTType() argument 54 m_byte_size (byte_size) in UniqueDWARFASTType() 124 const int32_t byte_size, 157 const int32_t byte_size, in Find() argument 164 return pos->second.Find (symfile, cu, die, decl, byte_size, entry); in Find()
|
D | UniqueDWARFASTType.cpp | 27 const int32_t byte_size, in Find() argument 38 if (pos->m_byte_size < 0 || byte_size < 0 || pos->m_byte_size == byte_size) in Find()
|
/external/lldb/source/Expression/ |
D | ClangExpressionVariable.cpp | 100 const size_t byte_size = m_frozen_sp->GetByteSize(); in GetValueBytes() local 101 if (byte_size > 0) in GetValueBytes() 103 if (m_frozen_sp->GetDataExtractor().GetByteSize() < byte_size) in GetValueBytes() 105 m_frozen_sp->GetValue().ResizeData(byte_size); in GetValueBytes()
|
/external/lldb/source/Utility/ |
D | StringExtractor.cpp | 333 StringExtractor::GetHexWithFixedSize (uint32_t byte_size, bool little_endian, uint64_t fail_value) in GetHexWithFixedSize() argument 335 if (byte_size <= 8 && GetBytesLeft() >= byte_size * 2) in GetHexWithFixedSize() 344 i < byte_size && IsGood(); in GetHexWithFixedSize() 353 for (i = 0; i < byte_size && IsGood(); ++i) in GetHexWithFixedSize()
|
/external/llvm/lib/Support/ |
D | DataExtractor.cpp | 92 DataExtractor::getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const { in getUnsigned() 93 switch (byte_size) { in getUnsigned() 107 DataExtractor::getSigned(uint32_t *offset_ptr, uint32_t byte_size) const { in getSigned() 108 switch (byte_size) { in getSigned()
|
/external/lldb/source/Breakpoint/ |
D | StoppointLocation.cpp | 33 StoppointLocation::StoppointLocation (break_id_t bid, addr_t addr, uint32_t byte_size, bool hardwar… in StoppointLocation() argument 38 m_byte_size(byte_size), in StoppointLocation()
|
/external/lldb/source/Symbol/ |
D | Type.cpp | 81 uint64_t byte_size, in Type() argument 97 m_byte_size (byte_size), in Type() 434 const uint64_t byte_size = GetByteSize(); in ReadFromMemory() local 435 if (data.GetByteSize() < byte_size) in ReadFromMemory() 437 lldb::DataBufferSP data_sp(new DataBufferHeap (byte_size, '\0')); in ReadFromMemory() 441 uint8_t* dst = (uint8_t*)data.PeekData(0, byte_size); in ReadFromMemory() 449 memcpy (dst, (uint8_t*)NULL + addr, byte_size); in ReadFromMemory() 460 … return exe_ctx->GetProcessPtr()->ReadMemory(addr, dst, byte_size, error) == byte_size; in ReadFromMemory()
|