Home
last modified time | relevance | path

Searched refs:ptr_size (Results 1 – 23 of 23) sorted by relevance

/external/lldb/source/DataFormatters/
DCocoa.cpp45 uint32_t ptr_size = process_sp->GetAddressByteSize(); in NSBundleSummaryProvider() local
59 uint64_t offset = 5 * ptr_size; in NSBundleSummaryProvider()
92 uint32_t ptr_size = process_sp->GetAddressByteSize(); in NSTimeZoneSummaryProvider() local
106 uint64_t offset = ptr_size; in NSTimeZoneSummaryProvider()
136 uint32_t ptr_size = process_sp->GetAddressByteSize(); in NSNotificationSummaryProvider() local
150 uint64_t offset = ptr_size; in NSNotificationSummaryProvider()
182 uint32_t ptr_size = process_sp->GetAddressByteSize(); in NSMachPortSummaryProvider() local
200 uint64_t offset = (ptr_size == 4 ? 12 : 20); in NSMachPortSummaryProvider()
231 uint32_t ptr_size = process_sp->GetAddressByteSize(); in NSIndexSetSummaryProvider() local
249 … uint32_t mode = process_sp->ReadUnsignedIntegerFromMemory(valobj_addr+ptr_size, 4, 0, error); in NSIndexSetSummaryProvider()
[all …]
DCF.cpp60 uint32_t ptr_size = process_sp->GetAddressByteSize(); in CFBagSummaryProvider() local
96 uint32_t offset = 2*ptr_size+4 + valobj_addr; in CFBagSummaryProvider()
124 uint32_t ptr_size = process_sp->GetAddressByteSize(); in CFBitVectorSummaryProvider() local
148 count = process_sp->ReadUnsignedIntegerFromMemory(valobj_addr+2*ptr_size, ptr_size, 0, error); in CFBitVectorSummaryProvider()
152 addr_t data_ptr = process_sp->ReadPointerFromMemory(valobj_addr+2*ptr_size+2*ptr_size, error); in CFBitVectorSummaryProvider()
254 uint32_t ptr_size = process_sp->GetAddressByteSize(); in CFBinaryHeapSummaryProvider() local
290 uint32_t offset = 2*ptr_size; in CFBinaryHeapSummaryProvider()
DNSArray.cpp45 uint32_t ptr_size = process_sp->GetAddressByteSize(); in NSArraySummaryProvider() local
62 … value = process_sp->ReadUnsignedIntegerFromMemory(valobj_addr + ptr_size, ptr_size, 0, error); in NSArraySummaryProvider()
69 … value = process_sp->ReadUnsignedIntegerFromMemory(valobj_addr + ptr_size, ptr_size, 0, error); in NSArraySummaryProvider()
76 … value = process_sp->ReadUnsignedIntegerFromMemory(valobj_addr + 2 * ptr_size, ptr_size, 0, error); in NSArraySummaryProvider()
DNSSet.cpp46 uint32_t ptr_size = process_sp->GetAddressByteSize(); in NSSetSummaryProvider() local
47 bool is_64bit = (ptr_size == 8); in NSSetSummaryProvider()
64 … value = process_sp->ReadUnsignedIntegerFromMemory(valobj_addr + ptr_size, ptr_size, 0, error); in NSSetSummaryProvider()
72 … value = process_sp->ReadUnsignedIntegerFromMemory(valobj_addr + ptr_size, ptr_size, 0, error); in NSSetSummaryProvider()
DCXXFormatterFunctions.cpp973 uint32_t ptr_size = process_sp->GetAddressByteSize(); in NSStringSummaryProvider() local
985 uint64_t info_bits_location = valobj_addr + ptr_size; in NSStringSummaryProvider()
1005 lldb::addr_t explicit_length_offset = 2*ptr_size; in NSStringSummaryProvider()
1007 explicit_length_offset = explicit_length_offset + ptr_size; // notInlineMutable.length; in NSStringSummaryProvider()
1011 … explicit_length_offset = explicit_length_offset + ptr_size; // notInlineImmutable1.length; in NSStringSummaryProvider()
1038 uint64_t location = 2 * ptr_size + valobj_addr; in NSStringSummaryProvider()
1060 uint64_t location = 3 * ptr_size + valobj_addr; in NSStringSummaryProvider()
1065 uint64_t location = valobj_addr + 2*ptr_size; in NSStringSummaryProvider()
1074 location += ptr_size; in NSStringSummaryProvider()
1095 uint64_t location = valobj_addr + (ptr_size == 8 ? 12 : 8); in NSStringSummaryProvider()
[all …]
DNSDictionary.cpp100 uint32_t ptr_size = process_sp->GetAddressByteSize(); in NSDictionarySummaryProvider() local
101 bool is_64bit = (ptr_size == 8); in NSDictionarySummaryProvider()
118 … value = process_sp->ReadUnsignedIntegerFromMemory(valobj_addr + ptr_size, ptr_size, 0, error); in NSDictionarySummaryProvider()
126 … value = process_sp->ReadUnsignedIntegerFromMemory(valobj_addr + ptr_size, ptr_size, 0, error); in NSDictionarySummaryProvider()
/external/lldb/examples/python/
Ddiagnose_nsstring.py106 ptr_size = target.addr_size
122 explicit_length_offset = 2*ptr_size
124 explicit_length_offset = explicit_length_offset + ptr_size
128 explicit_length_offset = explicit_length_offset + ptr_size
140 location = 2 * ptr_size + nsstring_address
143 location = 3 * ptr_size + nsstring_address
145 location = 2 * ptr_size + nsstring_address
150 location += ptr_size
154 location = nsstring_address + ptr_size + 4
156 location = 2 * ptr_size + nsstring_address
[all …]
Dtypes.py136 ptr_size = target.GetAddressByteSize()
137 … print '%+4u <%3u> %s__vtbl_ptr_type * _vptr;' % (prev_end_offset, ptr_size, ' ' * (depth + 1))
138 prev_end_offset = ptr_size
161 ptr_size = target.GetAddressByteSize()
162 … print '%+4u <%3u> %s__vtbl_ptr_type * _vptr;' % (prev_end_offset, ptr_size, ' ' * (depth + 1))
163 prev_end_offset = ptr_size
/external/lldb/examples/darwin/heap_find/heap/
Dheap_find.cpp144 uint64_t ptr_size);
161 …d range_callback_t (task_t task, void *baton, unsigned type, uint64_t ptr_addr, uint64_t ptr_size);
483 AddInstance (uint32_t idx, uint64_t ptr_size) in AddInstance() argument
490 m_entries[idx].bytes += ptr_size; in AddInstance()
665 …lloc_block_callback (task_t task, void *baton, unsigned type, uint64_t ptr_addr, uint64_t ptr_size) in dump_malloc_block_callback() argument
667 …4.4x: baton = %p, type = %u, ptr_addr = 0x%llx + 0x%llu\n", task, baton, type, ptr_addr, ptr_size); in dump_malloc_block_callback()
695 range_info_callback (task_t task, void *baton, unsigned type, uint64_t ptr_addr, uint64_t ptr_size) in range_info_callback() argument
697 const uint64_t end_addr = ptr_addr + ptr_size; in range_info_callback()
707 malloc_match match = { (void *)ptr_addr, ptr_size, info->addr - ptr_addr, type }; in range_info_callback()
716 if (size < ptr_size) // Make sure this block can contain this data in range_info_callback()
[all …]
/external/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
DAppleObjCRuntimeV1.cpp241 uint32_t ptr_size = process_sp->GetAddressByteSize(); in Initialize() local
243 if (!IsPointerValid(m_isa,ptr_size)) in Initialize()
249 m_parent_isa = process_sp->ReadPointerFromMemory(m_isa + ptr_size,error); in Initialize()
257 if (!IsPointerValid(m_parent_isa,ptr_size,true)) in Initialize()
263 lldb::addr_t name_ptr = process_sp->ReadPointerFromMemory(m_isa + 2 * ptr_size,error); in Initialize()
286 …m_instance_size = process_sp->ReadUnsignedIntegerFromMemory(m_isa + 5 * ptr_size, ptr_size, 0, err… in Initialize()
DAppleObjCRuntimeV2.cpp1066 size_t ptr_size = process->GetAddressByteSize(); in Read() local
1068 size_t objc_class_size = ptr_size // uintptr_t isa; in Read()
1069 + ptr_size // Class superclass; in Read()
1070 + ptr_size // void *cache; in Read()
1071 + ptr_size // IMP *vtable; in Read()
1072 + ptr_size; // uintptr_t data_NEVER_USE; in Read()
1119 size_t ptr_size = process->GetAddressByteSize(); in Read() local
1124 + (ptr_size == 8 ? sizeof(uint32_t) : 0) // uint32_t reserved; // __LP64__ only in Read()
1125 + ptr_size // const uint8_t *ivarLayout; in Read()
1126 + ptr_size // const char *name; in Read()
[all …]
/external/lldb/scripts/Python/interface/
DSBData.i164 … def CreateDataFromInt (cls, value, size = None, target = None, ptr_size = None, endian = None):
174 if ptr_size == None:
176 ptr_size = target.addr_size
178 ptr_size = 8
195 return SBData().CreateDataFromSInt32Array(endian, ptr_size, [value])
196 return SBData().CreateDataFromUInt32Array(endian, ptr_size, [value])
199 return SBData().CreateDataFromSInt64Array(endian, ptr_size, [value])
200 return SBData().CreateDataFromUInt64Array(endian, ptr_size, [value])
/external/lldb/examples/darwin/heap_find/
Dheap.py260 def type_flags_to_description(type_flags, ptr_addr, ptr_size, offset): argument
265 type_str = 'malloc(%6u) -> %#x' % (ptr_size, ptr_addr)
273 …type_str = 'segment [%#x - %#x), %s + %u, %s' % (ptr_addr, ptr_addr + ptr_size, sb_addr.section.na…
276 …type_str = 'vm_region [%#x - %#x), %s + %u, %s' % (ptr_addr, ptr_addr + ptr_size, sb_addr.section.…
502 ptr_size = target.addr_size
503 … thread = process.ReadUnsignedFromMemory (malloc_addr + 16 + ptr_size, ptr_size, error)
/external/lldb/source/Target/
DObjCLanguageRuntime.cpp434 uint32_t ptr_size, in IsPointerValid() argument
443 if ((value % ptr_size) == 0) in IsPointerValid()
444 return (check_version_specific ? CheckPointer(value,ptr_size) : true); in IsPointerValid()
/external/lldb/source/Plugins/ABI/MacOSX-i386/
DABIMacOSX_i386.cpp875 const int32_t ptr_size = 4; in CreateDefaultUnwindPlan() local
880 row->SetCFAOffset (2 * ptr_size); in CreateDefaultUnwindPlan()
883 row->SetRegisterLocationToAtCFAPlusOffset(fp_reg_num, ptr_size * -2, true); in CreateDefaultUnwindPlan()
884 row->SetRegisterLocationToAtCFAPlusOffset(pc_reg_num, ptr_size * -1, true); in CreateDefaultUnwindPlan()
885 row->SetRegisterLocationToAtCFAPlusOffset(sp_reg_num, ptr_size * 0, true); in CreateDefaultUnwindPlan()
/external/lldb/include/lldb/Target/
DObjCLanguageRuntime.h211 uint32_t ptr_size) const in CheckPointer() argument
244 uint32_t ptr_size,
/external/lldb/source/Plugins/ABI/SysV-x86_64/
DABISysV_x86_64.cpp1162 const int32_t ptr_size = 8; in CreateDefaultUnwindPlan() local
1164 row->SetCFAOffset (2 * ptr_size); in CreateDefaultUnwindPlan()
1167 row->SetRegisterLocationToAtCFAPlusOffset(fp_reg_num, ptr_size * -2, true); in CreateDefaultUnwindPlan()
1168 row->SetRegisterLocationToAtCFAPlusOffset(pc_reg_num, ptr_size * -1, true); in CreateDefaultUnwindPlan()
1169 row->SetRegisterLocationToAtCFAPlusOffset(sp_reg_num, ptr_size * 0, true); in CreateDefaultUnwindPlan()
/external/lldb/source/Plugins/ABI/MacOSX-arm/
DABIMacOSX_arm.cpp633 const int32_t ptr_size = 4; in CreateDefaultUnwindPlan() local
638 row->SetCFAOffset (2 * ptr_size); in CreateDefaultUnwindPlan()
641 row->SetRegisterLocationToAtCFAPlusOffset(fp_reg_num, ptr_size * -2, true); in CreateDefaultUnwindPlan()
642 row->SetRegisterLocationToAtCFAPlusOffset(pc_reg_num, ptr_size * -1, true); in CreateDefaultUnwindPlan()
/external/elfutils/0.153/src/
Dreadelf.c4812 unsigned int version, unsigned int ptr_size, in print_cfa_program() argument
4920 print_ops (dwflmod, dbg, 10, 10, version, ptr_size, 0, op1, readp); in print_cfa_program()
4929 print_ops (dwflmod, dbg, 10, 10, version, ptr_size, 0, op2, readp); in print_cfa_program()
4972 print_ops (dwflmod, dbg, 10, 10, version, ptr_size, 0, op2, readp); in print_cfa_program()
5011 encoded_ptr_size (int encoding, unsigned int ptr_size) in encoded_ptr_size() argument
5022 return ptr_size; in encoded_ptr_size()
5257 unsigned int ptr_size = ehdr->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8; in print_debug_frame_section() local
5296 ptr_size = *readp++; in print_debug_frame_section()
5325 ptr_size, segment_size); in print_debug_frame_section()
5395 if (likely (ptr_size == 4 || ptr_size == 8)) in print_debug_frame_section()
[all …]
/external/valgrind/main/coregrind/m_debuginfo/
Dreaddwarf.c4119 { UInt ptr_size = size_of_encoded_Addr( adi.encoding ); in ML_() local
4120 switch (ptr_size) { in ML_()
4123 = (UWord)step_le_u_encoded_literal(&data, ptr_size); in ML_()
/external/qemu/tcg/
Dtcg.c2736 uint8_t ptr_size; in tcg_register_jit_int() member
2838 .ptr_size = sizeof(void *), in tcg_register_jit_int()
/external/chromium_org/v8/src/
Dheap-snapshot-generator.cc168 template <size_t ptr_size> struct SnapshotSizeConstants;
/external/chromium_org/v8/include/
Dv8.h5722 template <size_t ptr_size> struct SmiTagging;