Home
last modified time | relevance | path

Searched refs:byte_size (Results 1 – 25 of 156) sorted by relevance

1234567

/external/lldb/source/Plugins/ObjectFile/ELF/
DELFHeader.cpp31 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/
DOptionGroupFormat.cpp126 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/
DRegisterValue.cpp89 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 …]
DOpcode.cpp91 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()
DValue.cpp185 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 …]
DAddressRange.cpp25 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 &section, 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()
DAddressResolverName.cpp188 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()
DScalar.cpp136 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 …]
/external/protobuf/python/google/protobuf/internal/
Dwire_format_test.py201 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/chromium_org/third_party/protobuf/python/google/protobuf/internal/
Dwire_format_test.py201 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/
DMemory.cpp85 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/
DAddressRange.h48 AddressRange (const lldb::SectionSP &section, 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/
DAuxVector.cpp35 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/
Dtypes.py97 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/lldb/include/lldb/Target/
DMemory.h59 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/chromium_org/third_party/protobuf/src/google/protobuf/
Dmessage_lite.cc279 int byte_size = ByteSize(); in AppendPartialToString() local
280 STLStringResizeUninitialized(output, old_size + byte_size); in AppendPartialToString()
283 if (end - start != byte_size) { in AppendPartialToString()
284 ByteSizeConsistencyError(byte_size, ByteSize(), end - start); in AppendPartialToString()
305 int byte_size = ByteSize(); in SerializePartialToArray() local
306 if (size < byte_size) return false; in SerializePartialToArray()
309 if (end - start != byte_size) { in SerializePartialToArray()
310 ByteSizeConsistencyError(byte_size, ByteSize(), end - start); in SerializePartialToArray()
/external/protobuf/src/google/protobuf/
Dmessage_lite.cc279 int byte_size = ByteSize(); in AppendPartialToString() local
280 STLStringResizeUninitialized(output, old_size + byte_size); in AppendPartialToString()
283 if (end - start != byte_size) { in AppendPartialToString()
284 ByteSizeConsistencyError(byte_size, ByteSize(), end - start); in AppendPartialToString()
305 int byte_size = ByteSize(); in SerializePartialToArray() local
306 if (size < byte_size) return false; in SerializePartialToArray()
309 if (end - start != byte_size) { in SerializePartialToArray()
310 ByteSizeConsistencyError(byte_size, ByteSize(), end - start); in SerializePartialToArray()
/external/lldb/tools/debugserver/source/
DDNB.cpp1104 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/source/Plugins/SymbolFile/DWARF/
DUniqueDWARFASTType.h48 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()
DUniqueDWARFASTType.cpp27 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/chromium_org/cc/blink/
Dweb_external_bitmap_impl.cc30 size_t byte_size = size.width * size.height * 4; in setSize() local
31 shared_memory_ = g_memory_allocator(byte_size); in setSize()
33 shared_memory_->Map(byte_size); in setSize()
/external/lldb/source/Expression/
DClangExpressionVariable.cpp100 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/chromium_org/media/base/
Daudio_bus_perftest.cc19 const int byte_size = sizeof(T); in RunInterleaveBench() local
23 bus->ToInterleaved(bus->frames(), byte_size, interleaved.get()); in RunInterleaveBench()
33 bus->FromInterleaved(interleaved.get(), bus->frames(), byte_size); in RunInterleaveBench()
/external/lldb/source/Utility/
DStringExtractor.cpp333 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/lldb/source/Breakpoint/
DStoppointLocation.cpp33 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()

1234567