/external/llvm/lib/Support/ |
D | DataExtractor.cpp | 17 static T getU(uint32_t *offset_ptr, const DataExtractor *de, in getU() argument 20 uint32_t offset = *offset_ptr; in getU() 27 *offset_ptr += sizeof(val); in getU() 33 static T *getUs(uint32_t *offset_ptr, T *dst, uint32_t count, in getUs() argument 35 uint32_t offset = *offset_ptr; in getUs() 40 *value_ptr = getU<T>(offset_ptr, de, isLittleEndian, Data); in getUs() 42 *offset_ptr = offset; in getUs() 50 uint8_t DataExtractor::getU8(uint32_t *offset_ptr) const { in getU8() 51 return getU<uint8_t>(offset_ptr, this, IsLittleEndian, Data.data()); in getU8() 55 DataExtractor::getU8(uint32_t *offset_ptr, uint8_t *dst, uint32_t count) const { in getU8() argument [all …]
|
/external/llvm/lib/DebugInfo/ |
D | DWARFFormValue.cpp | 91 DWARFFormValue::extractValue(DataExtractor data, uint32_t *offset_ptr, in extractValue() argument 104 = cu->getRelocMap()->find(*offset_ptr); in extractValue() 107 Value.uval = data.getUnsigned(offset_ptr, cu->getAddressByteSize()) + in extractValue() 110 Value.uval = data.getUnsigned(offset_ptr, cu->getAddressByteSize()); in extractValue() 115 Value.uval = data.getULEB128(offset_ptr); in extractValue() 119 Value.uval = data.getU8(offset_ptr); in extractValue() 123 Value.uval = data.getU16(offset_ptr); in extractValue() 127 Value.uval = data.getU32(offset_ptr); in extractValue() 133 Value.uval = data.getU8(offset_ptr); in extractValue() 137 Value.uval = data.getU16(offset_ptr); in extractValue() [all …]
|
D | DWARFDebugLine.cpp | 167 uint32_t *offset_ptr, Prologue *prologue) { in parsePrologue() argument 168 const uint32_t prologue_offset = *offset_ptr; in parsePrologue() 171 prologue->TotalLength = debug_line_data.getU32(offset_ptr); in parsePrologue() 172 prologue->Version = debug_line_data.getU16(offset_ptr); in parsePrologue() 176 prologue->PrologueLength = debug_line_data.getU32(offset_ptr); in parsePrologue() 177 const uint32_t end_prologue_offset = prologue->PrologueLength + *offset_ptr; in parsePrologue() 178 prologue->MinInstLength = debug_line_data.getU8(offset_ptr); in parsePrologue() 179 prologue->DefaultIsStmt = debug_line_data.getU8(offset_ptr); in parsePrologue() 180 prologue->LineBase = debug_line_data.getU8(offset_ptr); in parsePrologue() 181 prologue->LineRange = debug_line_data.getU8(offset_ptr); in parsePrologue() [all …]
|
D | DWARFDebugArangeSet.cpp | 50 DWARFDebugArangeSet::extract(DataExtractor data, uint32_t *offset_ptr) { in extract() argument 51 if (data.isValidOffset(*offset_ptr)) { in extract() 53 Offset = *offset_ptr; in extract() 69 Header.Length = data.getU32(offset_ptr); in extract() 70 Header.Version = data.getU16(offset_ptr); in extract() 71 Header.CuOffset = data.getU32(offset_ptr); in extract() 72 Header.AddrSize = data.getU8(offset_ptr); in extract() 73 Header.SegSize = data.getU8(offset_ptr); in extract() 86 const uint32_t header_size = *offset_ptr - Offset; in extract() 92 *offset_ptr = Offset + first_tuple_offset; in extract() [all …]
|
D | DWARFAbbreviationDeclaration.cpp | 18 DWARFAbbreviationDeclaration::extract(DataExtractor data, uint32_t* offset_ptr){ in extract() argument 19 return extract(data, offset_ptr, data.getULEB128(offset_ptr)); in extract() 23 DWARFAbbreviationDeclaration::extract(DataExtractor data, uint32_t* offset_ptr, in extract() argument 28 Tag = data.getULEB128(offset_ptr); in extract() 29 HasChildren = data.getU8(offset_ptr); in extract() 31 while (data.isValidOffset(*offset_ptr)) { in extract() 32 uint16_t attr = data.getULEB128(offset_ptr); in extract() 33 uint16_t form = data.getULEB128(offset_ptr); in extract()
|
D | DWARFDebugRangeList.cpp | 22 bool DWARFDebugRangeList::extract(DataExtractor data, uint32_t *offset_ptr) { in extract() argument 24 if (!data.isValidOffset(*offset_ptr)) in extract() 29 Offset = *offset_ptr; in extract() 32 uint32_t prev_offset = *offset_ptr; in extract() 33 entry.StartAddress = data.getAddress(offset_ptr); in extract() 34 entry.EndAddress = data.getAddress(offset_ptr); in extract() 36 if (*offset_ptr != prev_offset + 2 * AddressSize) { in extract()
|
D | DWARFDebugInfoEntry.cpp | 70 uint32_t* offset_ptr, in dumpAttribute() argument 74 OS << format("0x%8.8x: ", *offset_ptr); in dumpAttribute() 89 if (!formValue.extractValue(cu->getDebugInfoExtractor(), offset_ptr, cu)) in dumpAttribute() 99 uint32_t *offset_ptr) { in extractFast() argument 100 Offset = *offset_ptr; in extractFast() 103 uint64_t abbrCode = debug_info_data.getULEB128(offset_ptr); in extractFast() 108 uint32_t offset = *offset_ptr; in extractFast() 208 debug_info_data.getU32(offset_ptr); in extractFast() 212 *offset_ptr = Offset; in extractFast() 219 *offset_ptr = offset; in extractFast() [all …]
|
D | DWARFCompileUnit.cpp | 23 bool DWARFCompileUnit::extract(DataExtractor debug_info, uint32_t *offset_ptr) { in extract() argument 26 Offset = *offset_ptr; in extract() 28 if (debug_info.isValidOffset(*offset_ptr)) { in extract() 30 Length = debug_info.getU32(offset_ptr); in extract() 31 Version = debug_info.getU16(offset_ptr); in extract() 32 abbrOffset = debug_info.getU32(offset_ptr); in extract() 33 AddrSize = debug_info.getU8(offset_ptr); in extract() 46 *offset_ptr = Offset; in extract()
|
D | DWARFDebugAbbrev.cpp | 16 uint32_t* offset_ptr) { in extract() argument 17 const uint32_t beginOffset = *offset_ptr; in extract() 22 while (abbrevDeclaration.extract(data, offset_ptr)) { in extract() 32 return beginOffset != *offset_ptr; in extract()
|
D | DWARFFormValue.h | 52 bool extractValue(DataExtractor data, uint32_t *offset_ptr, 71 bool skipValue(DataExtractor debug_info_data, uint32_t *offset_ptr, 74 uint32_t *offset_ptr, const DWARFCompileUnit *cu);
|
D | DWARFDebugInfoEntry.h | 45 uint32_t *offset_ptr, uint16_t attr, uint16_t form, 49 uint32_t *offset_ptr); 53 bool extract(const DWARFCompileUnit *cu, uint32_t *offset_ptr);
|
D | DWARFAbbreviationDeclaration.h | 43 bool extract(DataExtractor data, uint32_t* offset_ptr); 44 bool extract(DataExtractor data, uint32_t* offset_ptr, uint32_t code);
|
D | DWARFDebugLine.h | 232 static bool parsePrologue(DataExtractor debug_line_data, uint32_t *offset_ptr, 237 uint32_t *offset_ptr, State &state);
|
D | DWARFDebugRangeList.h | 69 bool extract(DataExtractor data, uint32_t *offset_ptr);
|
D | DWARFDebugAbbrev.h | 44 bool extract(DataExtractor data, uint32_t* offset_ptr);
|
D | DWARFDebugArangeSet.h | 58 bool extract(DataExtractor data, uint32_t *offset_ptr);
|
D | DWARFCompileUnit.h | 61 bool extract(DataExtractor debug_info, uint32_t* offset_ptr);
|
/external/llvm/include/llvm/Support/ |
D | DataExtractor.h | 60 const char *getCStr(uint32_t *offset_ptr) const; 86 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const; 111 int64_t getSigned(uint32_t *offset_ptr, uint32_t size) const; 130 uint64_t getAddress(uint32_t *offset_ptr) const { in getAddress() argument 131 return getUnsigned(offset_ptr, AddressSize); in getAddress() 148 uint8_t getU8(uint32_t *offset_ptr) const; 173 uint8_t *getU8(uint32_t *offset_ptr, uint8_t *dst, uint32_t count) const; 191 uint16_t getU16(uint32_t *offset_ptr) const; 216 uint16_t *getU16(uint32_t *offset_ptr, uint16_t *dst, uint32_t count) const; 232 uint32_t getU32(uint32_t *offset_ptr) const; [all …]
|
/external/v8/src/ |
D | objects.cc | 6150 unsigned* offset_ptr, in SeqTwoByteStringReadBlockIntoBuffer() argument 6153 unsigned offset = *offset_ptr; in SeqTwoByteStringReadBlockIntoBuffer() 6177 *offset_ptr = offset; in SeqTwoByteStringReadBlockIntoBuffer() 6184 unsigned* offset_ptr, in SeqAsciiStringReadBlock() argument 6187 kHeapObjectTag + kHeaderSize + *offset_ptr * kCharSize; in SeqAsciiStringReadBlock() 6189 *offset_ptr += max_chars; in SeqAsciiStringReadBlock() 6202 unsigned* offset_ptr, in ConsStringReadBlock() argument 6205 unsigned offset = *offset_ptr; in ConsStringReadBlock() 6228 *offset_ptr = offset + offset_correction; in ConsStringReadBlock() 6243 *offset_ptr = offset + offset_correction; in ConsStringReadBlock() [all …]
|
D | unicode.cc | 281 unsigned capacity, unsigned* chars_read_ptr, unsigned* offset_ptr) { in ReadBlock() argument 282 unsigned offset = *offset_ptr; in ReadBlock() 297 *chars_read_ptr = offset - *offset_ptr; in ReadBlock() 298 *offset_ptr = offset; in ReadBlock() 326 *offset_ptr = offset; in ReadBlock()
|
D | objects.h | 7121 unsigned* offset_ptr, 7246 unsigned* offset_ptr, 7293 unsigned* offset_ptr, 7296 unsigned* offset_ptr, 7346 unsigned* offset_ptr, 7349 unsigned* offset_ptr, 7480 unsigned* offset_ptr,
|
/external/llvm/test/Transforms/InstCombine/ |
D | vector-casts.ll | 136 %offset_ptr = getelementptr <4 x float>* null, i32 1 137 %offset_int = ptrtoint <4 x float>* %offset_ptr to i64
|
/external/qemu/target-i386/ |
D | translate.c | 1965 static void gen_lea_modrm(DisasContext *s, int modrm, int *reg_ptr, int *offset_ptr) in gen_lea_modrm() argument 2146 *offset_ptr = disp; in gen_lea_modrm()
|