Home
last modified time | relevance | path

Searched refs:explicit_length_offset (Results 1 – 2 of 2) sorted by relevance

/external/lldb/examples/python/
Ddiagnose_nsstring.py120 explicit_length_offset = 0
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
130 explicit_length_offset = 0
132 if explicit_length_offset == 0:
135 explicit_length_offset = nsstring_address + explicit_length_offset
136 explicit_length = process.ReadUnsignedFromMemory(explicit_length_offset, 4, error)
137 …lt,"Explicit length location is at 0x%x - read value is %d\n" % (explicit_length_offset,explicit_l…
/external/lldb/source/DataFormatters/
DCXXFormatterFunctions.cpp1005 lldb::addr_t explicit_length_offset = 2*ptr_size; in NSStringSummaryProvider() local
1007 explicit_length_offset = explicit_length_offset + ptr_size; // notInlineMutable.length; in NSStringSummaryProvider()
1011explicit_length_offset = explicit_length_offset + ptr_size; // notInlineImmutable1.length; in NSStringSummaryProvider()
1013 explicit_length_offset = 0; in NSStringSummaryProvider()
1015 if (explicit_length_offset) in NSStringSummaryProvider()
1017 explicit_length_offset = valobj_addr + explicit_length_offset; in NSStringSummaryProvider()
1018 … explicit_length = process_sp->ReadUnsignedIntegerFromMemory(explicit_length_offset, 4, 0, error); in NSStringSummaryProvider()