Searched refs:byte_size (Results 1 - 25 of 155) sorted by relevance

1234567

/external/chromium_org/cc/blink/
H A Dweb_external_bitmap_impl.cc30 size_t byte_size = size.width * size.height * 4; local
31 shared_memory_ = g_memory_allocator(byte_size);
33 shared_memory_->Map(byte_size);
/external/lldb/source/Breakpoint/
H A DStoppointLocation.cpp33 StoppointLocation::StoppointLocation (break_id_t bid, addr_t addr, uint32_t byte_size, bool hardware) : argument
38 m_byte_size(byte_size),
/external/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.cpp31 uint32_t byte_size)
34 *value = data.GetMaxU64(offset, byte_size);
42 uint32_t byte_size,
49 if (GetMaxU64(data, offset, value, byte_size) == false)
62 uint32_t byte_size)
65 *value = data.GetMaxS64(offset, byte_size);
73 uint32_t byte_size,
80 if (GetMaxS64(data, offset, value, byte_size) == false)
114 const unsigned byte_size = Is32Bit() ? 4 : 8; local
116 data.SetAddressByteSize(byte_size);
28 GetMaxU64(const lldb_private::DataExtractor &data, lldb::offset_t *offset, uint64_t *value, uint32_t byte_size) argument
39 GetMaxU64(const lldb_private::DataExtractor &data, lldb::offset_t *offset, uint64_t *value, uint32_t byte_size, uint32_t count) argument
59 GetMaxS64(const lldb_private::DataExtractor &data, lldb::offset_t *offset, int64_t *value, uint32_t byte_size) argument
70 GetMaxS64(const lldb_private::DataExtractor &data, lldb::offset_t *offset, int64_t *value, uint32_t byte_size, uint32_t count) argument
203 const unsigned byte_size = data.GetAddressByteSize(); local
323 const unsigned byte_size = data.GetAddressByteSize(); local
373 const uint32_t byte_size = data.GetAddressByteSize(); local
417 const unsigned byte_size = data.GetAddressByteSize(); local
432 const unsigned byte_size = data.GetAddressByteSize(); local
452 const unsigned byte_size = data.GetAddressByteSize(); local
[all...]
/external/lldb/source/Interpreter/
H A DOptionGroupFormat.cpp126 uint32_t byte_size = 0; local
128 while (ParserGDBFormatLetter (interpreter, gdb_format_cstr[0], format, byte_size))
137 if (gdb_format_cstr[0] || (format == eFormatInvalid && byte_size == 0 && count == 0))
148 ParserGDBFormatLetter (interpreter, m_prev_gdb_format, format, byte_size);
155 if (byte_size == 0)
156 ParserGDBFormatLetter (interpreter, m_prev_gdb_size, format, byte_size);
161 if (byte_size > 0)
188 m_byte_size.SetCurrentValue (byte_size);
208 OptionGroupFormat::ParserGDBFormatLetter (CommandInterpreter &interpreter, char format_letter, Format &format, uint32_t &byte_size) argument
224 byte_size
[all...]
/external/lldb/source/Core/
H A DOpcode.cpp91 uint32_t byte_size = GetByteSize (); local
94 if (byte_size > 0)
101 case Opcode::eType8: buffer_sp.reset (new DataBufferHeap (&m_data.inst8, byte_size)); break;
102 case Opcode::eType16: buffer_sp.reset (new DataBufferHeap (&m_data.inst16, byte_size)); break;
111 buffer_sp.reset (new DataBufferHeap (buf, byte_size));
115 buffer_sp.reset (new DataBufferHeap (&m_data.inst32, byte_size));
117 case Opcode::eType64: buffer_sp.reset (new DataBufferHeap (&m_data.inst64, byte_size)); break;
118 case Opcode::eTypeBytes:buffer_sp.reset (new DataBufferHeap (GetOpcodeBytes(), byte_size)); break;
127 return byte_size;
H A DRegisterValue.cpp89 reg_info->byte_size, // item_byte_size
136 const uint32_t src_len = reg_info->byte_size;
193 const uint32_t dst_len = reg_info->byte_size;
275 const uint32_t byte_size = reg_info->byte_size; local
283 if (byte_size == 1)
285 else if (byte_size <= 2)
287 else if (byte_size <= 4)
289 else if (byte_size <= 8)
292 else if (byte_size <
413 ParseVectorEncoding(const RegisterInfo *reg_info, const char *vector_str, const uint32_t byte_size, RegisterValue *reg_value) argument
460 const uint32_t byte_size = reg_info->byte_size; local
1001 SetUInt(uint64_t uint, uint32_t byte_size) argument
[all...]
H A DAddressRange.cpp25 AddressRange::AddressRange (addr_t file_addr, addr_t byte_size, const SectionList *section_list) : argument
27 m_byte_size(byte_size)
31 AddressRange::AddressRange (const lldb::SectionSP &section, addr_t offset, addr_t byte_size) : argument
33 m_byte_size(byte_size)
37 AddressRange::AddressRange (const Address& so_addr, addr_t byte_size) : argument
39 m_byte_size(byte_size)
50 // const addr_t byte_size = GetByteSize();
51 // if (byte_size)
52 // return addr.GetSection() == m_base_addr.GetSection() && (addr.GetOffset() - m_base_addr.GetOffset()) < byte_size;
199 s->Printf("%p: AddressRange section = %p, offset = 0x%16.16" PRIx64 ", byte_size
[all...]
H A DAddressResolverName.cpp188 addr_t byte_size = sc.function->GetAddressRange().GetByteSize(); local
195 byte_size -= prologue_byte_size;
201 AddressRange new_range (func_addr, byte_size);
216 addr_t byte_size = sc.symbol->GetByteSize(); local
224 byte_size -= prologue_byte_size;
230 AddressRange new_range (func_addr, byte_size);
H A DValue.cpp185 uint64_t byte_size = 0; local
191 byte_size = GetRegisterInfo()->byte_size;
200 byte_size = ast_type.GetByteSize();
207 if (byte_size == 0)
217 return byte_size;
548 size_t byte_size = GetValueByteSize (&error); local
556 if (!data.ValidOffsetForDataOfSize (data_offset, byte_size))
558 DataBufferSP data_sp(new DataBufferHeap (data_offset + byte_size, '\0'));
562 uint8_t* dst = const_cast<uint8_t*>(data.PeekData (data_offset, byte_size));
[all...]
H A DAddressResolverFileLine.cpp65 addr_t byte_size = sc.line_entry.range.GetByteSize(); local
68 AddressRange new_range (line_start, byte_size);
H A DValueObjectConstResultChild.cpp24 uint32_t byte_size,
34 byte_size,
19 ValueObjectConstResultChild( ValueObject &parent, const ClangASTType &clang_type, const ConstString &name, uint32_t byte_size, int32_t byte_offset, uint32_t bitfield_bit_size, uint32_t bitfield_bit_offset, bool is_base_class, bool is_deref_of_parent ) argument
/external/lldb/include/lldb/Core/
H A DAddressRange.h33 /// Construct with a section pointer, offset, and byte_size.
36 /// offset and \a byte_size.
45 /// @param[in] byte_size
48 AddressRange (const lldb::SectionSP &section, lldb::addr_t offset, lldb::addr_t byte_size);
54 /// address \a file_addr, and byte size \a byte_size.
59 /// @param[in] byte_size
65 AddressRange (lldb::addr_t file_addr, lldb::addr_t byte_size, const SectionList *section_list = NULL);
71 /// and setting the byte size to \a byte_size.
76 /// @param[in] byte_size
79 AddressRange (const Address& so_addr, lldb::addr_t byte_size);
270 SetByteSize(lldb::addr_t byte_size) argument
[all...]
H A DDataBufferHeap.h99 /// @param[in] byte_size
108 SetByteSize (lldb::offset_t byte_size);
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
H A Dwire_format_test.py201 def __init__(self, byte_size):
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
[all...]
/external/protobuf/python/google/protobuf/internal/
H A Dwire_format_test.py201 def __init__(self, byte_size):
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
[all...]
/external/lldb/source/Expression/
H A DClangExpressionVariable.cpp100 const size_t byte_size = m_frozen_sp->GetByteSize(); local
101 if (byte_size > 0)
103 if (m_frozen_sp->GetDataExtractor().GetByteSize() < byte_size)
105 m_frozen_sp->GetValue().ResizeData(byte_size);
/external/chromium_org/media/base/
H A Daudio_bus_perftest.cc19 const int byte_size = sizeof(T); local
23 bus->ToInterleaved(bus->frames(), byte_size, interleaved.get());
33 bus->FromInterleaved(interleaved.get(), bus->frames(), byte_size);
/external/lldb/source/Plugins/SymbolFile/DWARF/
H A DUniqueDWARFASTType.cpp27 const int32_t byte_size,
38 if (pos->m_byte_size < 0 || byte_size < 0 || pos->m_byte_size == byte_size)
21 Find( SymbolFileDWARF *symfile, const DWARFCompileUnit *cu, const DWARFDebugInfoEntry *die, const lldb_private::Declaration &decl, const int32_t byte_size, UniqueDWARFASTType &entry ) const argument
H A DUniqueDWARFASTType.h48 int32_t byte_size) :
54 m_byte_size (byte_size)
124 const int32_t byte_size,
157 const int32_t byte_size,
164 return pos->second.Find (symfile, cu, die, decl, byte_size, entry);
43 UniqueDWARFASTType(lldb::TypeSP &type_sp, SymbolFileDWARF *symfile, DWARFCompileUnit *cu, DWARFDebugInfoEntry *die, const lldb_private::Declaration &decl, int32_t byte_size) argument
152 Find(const lldb_private::ConstString &name, SymbolFileDWARF *symfile, const DWARFCompileUnit *cu, const DWARFDebugInfoEntry *die, const lldb_private::Declaration &decl, const int32_t byte_size, UniqueDWARFASTType &entry) const argument
/external/lldb/include/lldb/Target/
H A 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/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/
H A DAuxVector.cpp35 unsigned int byte_size)
38 *value = data.GetMaxU64(offset_ptr, byte_size);
46 unsigned int byte_size)
48 if (!GetMaxU64(data, offset_ptr, &entry.type, byte_size))
51 if (!GetMaxU64(data, offset_ptr, &entry.value, byte_size))
70 const unsigned int byte_size = m_process->GetAddressByteSize(); local
77 if (!ParseAuxvEntry(data, entry, &offset, byte_size))
32 GetMaxU64(DataExtractor &data, lldb::offset_t *offset_ptr, uint64_t *value, unsigned int byte_size) argument
43 ParseAuxvEntry(DataExtractor &data, AuxVector::Entry &entry, lldb::offset_t *offset_ptr, unsigned int byte_size) argument
/external/lldb/examples/python/
H A Dtypes.py97 byte_size = type.GetByteSize()
98 # if end_offset < byte_size:
99 # last_member_padding = byte_size - end_offset
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
[all...]
/external/lldb/include/lldb/
H A Dlldb-private-types.h28 uint32_t byte_size; // Size in bytes of the register member in struct:lldb_private::__anon25265
/external/lldb/source/Target/
H A DMemory.cpp85 MemoryCache::AddInvalidRange (lldb::addr_t base_addr, lldb::addr_t byte_size) argument
87 if (byte_size > 0)
90 InvalidRanges::Entry range (base_addr, byte_size);
97 MemoryCache::RemoveInvalidRange (lldb::addr_t base_addr, lldb::addr_t byte_size) argument
99 if (byte_size > 0)
106 if (entry->GetRangeBase() == base_addr && entry->GetByteSize() == byte_size)
209 uint32_t byte_size,
213 m_byte_size (byte_size),
217 // m_allocated (byte_size / chunk_size)
219 assert (byte_size > chunk_siz
208 AllocatedBlock(lldb::addr_t addr, uint32_t byte_size, uint32_t permissions, uint32_t chunk_size) argument
383 AllocatePage(uint32_t byte_size, uint32_t permissions, uint32_t chunk_size, Error &error) argument
413 AllocateMemory(size_t byte_size, uint32_t permissions, Error &error) argument
[all...]
/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Dmessage_lite.cc279 int byte_size = ByteSize(); local
280 STLStringResizeUninitialized(output, old_size + byte_size);
283 if (end - start != byte_size) {
284 ByteSizeConsistencyError(byte_size, ByteSize(), end - start);
305 int byte_size = ByteSize(); local
306 if (size < byte_size) return false;
309 if (end - start != byte_size) {
310 ByteSizeConsistencyError(byte_size, ByteSize(), end - start);

Completed in 440 milliseconds

1234567