Home
last modified time | relevance | path

Searched refs:offset_ptr (Results 1 – 25 of 38) sorted by relevance

12

/external/swiftshader/third_party/LLVM/lib/Support/
DDataExtractor.cpp17 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/Support/
DDataExtractor.cpp17 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/swiftshader/third_party/LLVM/lib/DebugInfo/
DDWARFDebugLine.cpp133 uint32_t *offset_ptr, Prologue *prologue) { in parsePrologue() argument
134 const uint32_t prologue_offset = *offset_ptr; in parsePrologue()
137 prologue->TotalLength = debug_line_data.getU32(offset_ptr); in parsePrologue()
138 prologue->Version = debug_line_data.getU16(offset_ptr); in parsePrologue()
142 prologue->PrologueLength = debug_line_data.getU32(offset_ptr); in parsePrologue()
143 const uint32_t end_prologue_offset = prologue->PrologueLength + *offset_ptr; in parsePrologue()
144 prologue->MinInstLength = debug_line_data.getU8(offset_ptr); in parsePrologue()
145 prologue->DefaultIsStmt = debug_line_data.getU8(offset_ptr); in parsePrologue()
146 prologue->LineBase = debug_line_data.getU8(offset_ptr); in parsePrologue()
147 prologue->LineRange = debug_line_data.getU8(offset_ptr); in parsePrologue()
[all …]
DDWARFFormValue.cpp82 DWARFFormValue::extractValue(DataExtractor data, uint32_t *offset_ptr, in extractValue() argument
94 Value.uval = data.getUnsigned(offset_ptr, cu->getAddressByteSize()); in extractValue()
97 Value.uval = data.getULEB128(offset_ptr); in extractValue()
101 Value.uval = data.getU8(offset_ptr); in extractValue()
105 Value.uval = data.getU16(offset_ptr); in extractValue()
109 Value.uval = data.getU32(offset_ptr); in extractValue()
115 Value.uval = data.getU8(offset_ptr); in extractValue()
119 Value.uval = data.getU16(offset_ptr); in extractValue()
123 Value.uval = data.getU32(offset_ptr); in extractValue()
127 Value.uval = data.getU64(offset_ptr); in extractValue()
[all …]
DDWARFDebugArangeSet.cpp50 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 …]
DDWARFAbbreviationDeclaration.cpp18 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()
DDWARFDebugInfoEntry.cpp69 uint32_t* offset_ptr, in dumpAttribute() argument
73 OS << format("0x%8.8x: ", *offset_ptr); in dumpAttribute()
88 if (!formValue.extractValue(cu->getDebugInfoExtractor(), offset_ptr, cu)) in dumpAttribute()
98 uint32_t *offset_ptr) { in extractFast() argument
99 Offset = *offset_ptr; in extractFast()
102 uint64_t abbrCode = debug_info_data.getULEB128(offset_ptr); in extractFast()
107 uint32_t offset = *offset_ptr; in extractFast()
192 *offset_ptr = Offset; in extractFast()
200 *offset_ptr = offset; in extractFast()
212 uint32_t *offset_ptr) { in extract() argument
[all …]
DDWARFCompileUnit.cpp24 bool DWARFCompileUnit::extract(DataExtractor debug_info, uint32_t *offset_ptr) { in extract() argument
27 Offset = *offset_ptr; in extract()
29 if (debug_info.isValidOffset(*offset_ptr)) { in extract()
32 Length = debug_info.getU32(offset_ptr); in extract()
33 Version = debug_info.getU16(offset_ptr); in extract()
34 abbrOffset = debug_info.getU32(offset_ptr); in extract()
35 AddrSize = debug_info.getU8(offset_ptr); in extract()
48 *offset_ptr = Offset; in extract()
DDWARFDebugAbbrev.cpp16 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()
DDWARFFormValue.h52 bool extractValue(DataExtractor data, uint32_t *offset_ptr,
67 bool skipValue(DataExtractor debug_info_data, uint32_t *offset_ptr,
70 uint32_t *offset_ptr, const DWARFCompileUnit *cu);
DDWARFDebugInfoEntry.h43 uint32_t *offset_ptr, uint16_t attr, uint16_t form,
47 uint32_t *offset_ptr);
51 bool extract(const DWARFCompileUnit *cu, uint32_t *offset_ptr);
DDWARFAbbreviationDeclaration.h43 bool extract(DataExtractor data, uint32_t* offset_ptr);
44 bool extract(DataExtractor data, uint32_t* offset_ptr, uint32_t code);
DDWARFDebugLine.h170 static bool parsePrologue(DataExtractor debug_line_data, uint32_t *offset_ptr,
174 uint32_t *offset_ptr, State &state);
/external/llvm/lib/DebugInfo/DWARF/
DDWARFDebugLine.cpp68 uint32_t *offset_ptr) { in parse() argument
69 const uint64_t prologue_offset = *offset_ptr; in parse()
72 TotalLength = debug_line_data.getU32(offset_ptr); in parse()
75 TotalLength = debug_line_data.getU64(offset_ptr); in parse()
79 Version = debug_line_data.getU16(offset_ptr); in parse()
84 debug_line_data.getUnsigned(offset_ptr, sizeofPrologueLength()); in parse()
85 const uint64_t end_prologue_offset = PrologueLength + *offset_ptr; in parse()
86 MinInstLength = debug_line_data.getU8(offset_ptr); in parse()
88 MaxOpsPerInst = debug_line_data.getU8(offset_ptr); in parse()
89 DefaultIsStmt = debug_line_data.getU8(offset_ptr); in parse()
[all …]
DDWARFFormValue.cpp134 bool DWARFFormValue::extractValue(DataExtractor data, uint32_t *offset_ptr, in extractValue() argument
152 RelocAddrMap::const_iterator AI = cu->getRelocMap()->find(*offset_ptr); in extractValue()
155 Value.uval = data.getUnsigned(offset_ptr, AddrSize) + R.second; in extractValue()
157 Value.uval = data.getUnsigned(offset_ptr, AddrSize); in extractValue()
162 Value.uval = data.getULEB128(offset_ptr); in extractValue()
166 Value.uval = data.getU8(offset_ptr); in extractValue()
170 Value.uval = data.getU16(offset_ptr); in extractValue()
174 Value.uval = data.getU32(offset_ptr); in extractValue()
180 Value.uval = data.getU8(offset_ptr); in extractValue()
184 Value.uval = data.getU16(offset_ptr); in extractValue()
[all …]
DDWARFDebugArangeSet.cpp24 DWARFDebugArangeSet::extract(DataExtractor data, uint32_t *offset_ptr) { in extract() argument
25 if (data.isValidOffset(*offset_ptr)) { in extract()
27 Offset = *offset_ptr; in extract()
43 HeaderData.Length = data.getU32(offset_ptr); in extract()
44 HeaderData.Version = data.getU16(offset_ptr); in extract()
45 HeaderData.CuOffset = data.getU32(offset_ptr); in extract()
46 HeaderData.AddrSize = data.getU8(offset_ptr); in extract()
47 HeaderData.SegSize = data.getU8(offset_ptr); in extract()
60 const uint32_t header_size = *offset_ptr - Offset; in extract()
66 *offset_ptr = Offset + first_tuple_offset; in extract()
[all …]
DDWARFDebugRangeList.cpp22 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()
DDWARFUnit.cpp77 bool DWARFUnit::extractImpl(DataExtractor debug_info, uint32_t *offset_ptr) { in extractImpl() argument
78 Length = debug_info.getU32(offset_ptr); in extractImpl()
79 Version = debug_info.getU16(offset_ptr); in extractImpl()
80 uint64_t AbbrOffset = debug_info.getU32(offset_ptr); in extractImpl()
92 AddrSize = debug_info.getU8(offset_ptr); in extractImpl()
105 bool DWARFUnit::extract(DataExtractor debug_info, uint32_t *offset_ptr) { in extract() argument
108 Offset = *offset_ptr; in extract()
110 if (debug_info.isValidOffset(*offset_ptr)) { in extract()
111 if (extractImpl(debug_info, offset_ptr)) in extract()
115 *offset_ptr = Offset; in extract()
DDWARFTypeUnit.cpp17 uint32_t *offset_ptr) { in extractImpl() argument
18 if (!DWARFUnit::extractImpl(debug_info, offset_ptr)) in extractImpl()
20 TypeHash = debug_info.getU64(offset_ptr); in extractImpl()
21 TypeOffset = debug_info.getU32(offset_ptr); in extractImpl()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DDataExtractor.h57 const char *getCStr(uint32_t *offset_ptr) const;
83 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const;
108 int64_t getSigned(uint32_t *offset_ptr, uint32_t size) const;
127 uint64_t getAddress(uint32_t *offset_ptr) const { in getAddress() argument
128 return getUnsigned(offset_ptr, PointerSize); in getAddress()
145 uint8_t getU8(uint32_t *offset_ptr) const;
170 uint8_t *getU8(uint32_t *offset_ptr, uint8_t *dst, uint32_t count) const;
188 uint16_t getU16(uint32_t *offset_ptr) const;
213 uint16_t *getU16(uint32_t *offset_ptr, uint16_t *dst, uint32_t count) const;
229 uint32_t getU32(uint32_t *offset_ptr) const;
[all …]
/external/llvm/include/llvm/Support/
DDataExtractor.h59 const char *getCStr(uint32_t *offset_ptr) const;
85 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const;
110 int64_t getSigned(uint32_t *offset_ptr, uint32_t size) const;
129 uint64_t getAddress(uint32_t *offset_ptr) const { in getAddress() argument
130 return getUnsigned(offset_ptr, AddressSize); in getAddress()
147 uint8_t getU8(uint32_t *offset_ptr) const;
172 uint8_t *getU8(uint32_t *offset_ptr, uint8_t *dst, uint32_t count) const;
190 uint16_t getU16(uint32_t *offset_ptr) const;
215 uint16_t *getU16(uint32_t *offset_ptr, uint16_t *dst, uint32_t count) const;
231 uint32_t getU32(uint32_t *offset_ptr) const;
[all …]
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFFormValue.h67 bool extractValue(DataExtractor data, uint32_t *offset_ptr,
83 bool skipValue(DataExtractor debug_info_data, uint32_t *offset_ptr,
86 uint32_t *offset_ptr, const DWARFUnit *u);
88 uint32_t *offset_ptr, uint16_t Version,
DDWARFDebugLine.h89 bool parse(DataExtractor debug_line_data, uint32_t *offset_ptr);
208 uint32_t *offset_ptr);
/external/v8/src/profiler/
Dtick-sample.cc58 for (int* offset_ptr = pattern->offsets; *offset_ptr != -1; ++offset_ptr) { in IsNoFrameRegion() local
59 int offset = *offset_ptr; in IsNoFrameRegion()
/external/webp/src/enc/
Dbackward_references_enc.h154 int* const offset_ptr, in VP8LHashChainFindCopy() argument
156 *offset_ptr = VP8LHashChainFindOffset(p, base_position); in VP8LHashChainFindCopy()

12