HomeSort by relevance Sort by last modified time
    Searched refs:offset_ptr (Results 1 - 25 of 35) sorted by null

1 2

  /external/llvm/lib/Support/
DataExtractor.cpp 17 static T getU(uint32_t *offset_ptr, const DataExtractor *de,
20 uint32_t offset = *offset_ptr;
27 *offset_ptr += sizeof(val);
33 static T *getUs(uint32_t *offset_ptr, T *dst, uint32_t count,
35 uint32_t offset = *offset_ptr;
40 *value_ptr = getU<T>(offset_ptr, de, isLittleEndian, Data);
42 *offset_ptr = offset;
50 uint8_t DataExtractor::getU8(uint32_t *offset_ptr) const {
51 return getU<uint8_t>(offset_ptr, this, IsLittleEndian, Data.data());
55 DataExtractor::getU8(uint32_t *offset_ptr, uint8_t *dst, uint32_t count) const
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Support/
DataExtractor.cpp 17 static T getU(uint32_t *offset_ptr, const DataExtractor *de,
20 uint32_t offset = *offset_ptr;
27 *offset_ptr += sizeof(val);
33 static T *getUs(uint32_t *offset_ptr, T *dst, uint32_t count,
35 uint32_t offset = *offset_ptr;
40 *value_ptr = getU<T>(offset_ptr, de, isLittleEndian, Data);
42 *offset_ptr = offset;
50 uint8_t DataExtractor::getU8(uint32_t *offset_ptr) const {
51 return getU<uint8_t>(offset_ptr, this, IsLittleEndian, Data.data());
55 DataExtractor::getU8(uint32_t *offset_ptr, uint8_t *dst, uint32_t count) const
    [all...]
  /external/swiftshader/third_party/LLVM/include/llvm/Support/
DataExtractor.h 37 /// Extract a C string from \a *offset_ptr.
40 /// pointed to by \a offset_ptr. A variable length NULL terminated C
41 /// string will be extracted and the \a offset_ptr will be
45 /// @param[in,out] offset_ptr
54 /// pointed to by \a offset_ptr is out of bounds, or if the
57 const char *getCStr(uint32_t *offset_ptr) const;
60 /// *offset_ptr.
63 /// pointed to by \a offset_ptr. The size of the extracted integer
70 /// @param[in,out] offset_ptr
83 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const
    [all...]
  /external/llvm/include/llvm/Support/
DataExtractor.h 39 /// Extract a C string from \a *offset_ptr.
42 /// pointed to by \a offset_ptr. A variable length NULL terminated C
43 /// string will be extracted and the \a offset_ptr will be
47 /// @param[in,out] offset_ptr
56 /// pointed to by \a offset_ptr is out of bounds, or if the
59 const char *getCStr(uint32_t *offset_ptr) const;
62 /// *offset_ptr.
65 /// pointed to by \a offset_ptr. The size of the extracted integer
72 /// @param[in,out] offset_ptr
85 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const
    [all...]
  /external/llvm/lib/DebugInfo/DWARF/
DWARFDebugArangeSet.cpp 24 DWARFDebugArangeSet::extract(DataExtractor data, uint32_t *offset_ptr) {
25 if (data.isValidOffset(*offset_ptr)) {
27 Offset = *offset_ptr;
43 HeaderData.Length = data.getU32(offset_ptr);
44 HeaderData.Version = data.getU16(offset_ptr);
45 HeaderData.CuOffset = data.getU32(offset_ptr);
46 HeaderData.AddrSize = data.getU8(offset_ptr);
47 HeaderData.SegSize = data.getU8(offset_ptr);
60 const uint32_t header_size = *offset_ptr - Offset;
66 *offset_ptr = Offset + first_tuple_offset
    [all...]
DWARFTypeUnit.cpp 17 uint32_t *offset_ptr) {
18 if (!DWARFUnit::extractImpl(debug_info, offset_ptr))
20 TypeHash = debug_info.getU64(offset_ptr);
21 TypeOffset = debug_info.getU32(offset_ptr);
DWARFDebugRangeList.cpp 22 bool DWARFDebugRangeList::extract(DataExtractor data, uint32_t *offset_ptr) {
24 if (!data.isValidOffset(*offset_ptr))
29 Offset = *offset_ptr;
32 uint32_t prev_offset = *offset_ptr;
33 entry.StartAddress = data.getAddress(offset_ptr);
34 entry.EndAddress = data.getAddress(offset_ptr);
36 if (*offset_ptr != prev_offset + 2 * AddressSize) {
DWARFFormValue.cpp 134 bool DWARFFormValue::extractValue(DataExtractor data, uint32_t *offset_ptr,
152 RelocAddrMap::const_iterator AI = cu->getRelocMap()->find(*offset_ptr);
155 Value.uval = data.getUnsigned(offset_ptr, AddrSize) + R.second;
157 Value.uval = data.getUnsigned(offset_ptr, AddrSize);
162 Value.uval = data.getULEB128(offset_ptr);
166 Value.uval = data.getU8(offset_ptr);
170 Value.uval = data.getU16(offset_ptr);
174 Value.uval = data.getU32(offset_ptr);
180 Value.uval = data.getU8(offset_ptr);
184 Value.uval = data.getU16(offset_ptr);
    [all...]
DWARFDebugLine.cpp 68 uint32_t *offset_ptr) {
69 const uint64_t prologue_offset = *offset_ptr;
72 TotalLength = debug_line_data.getU32(offset_ptr);
75 TotalLength = debug_line_data.getU64(offset_ptr);
79 Version = debug_line_data.getU16(offset_ptr);
84 debug_line_data.getUnsigned(offset_ptr, sizeofPrologueLength());
85 const uint64_t end_prologue_offset = PrologueLength + *offset_ptr;
86 MinInstLength = debug_line_data.getU8(offset_ptr);
88 MaxOpsPerInst = debug_line_data.getU8(offset_ptr);
89 DefaultIsStmt = debug_line_data.getU8(offset_ptr);
    [all...]
DWARFUnit.cpp 77 bool DWARFUnit::extractImpl(DataExtractor debug_info, uint32_t *offset_ptr) {
78 Length = debug_info.getU32(offset_ptr);
79 Version = debug_info.getU16(offset_ptr);
80 uint64_t AbbrOffset = debug_info.getU32(offset_ptr);
92 AddrSize = debug_info.getU8(offset_ptr);
105 bool DWARFUnit::extract(DataExtractor debug_info, uint32_t *offset_ptr) {
108 Offset = *offset_ptr;
110 if (debug_info.isValidOffset(*offset_ptr)) {
111 if (extractImpl(debug_info, offset_ptr))
115 *offset_ptr = Offset
    [all...]
  /external/swiftshader/third_party/LLVM/lib/DebugInfo/
DWARFDebugLine.cpp 133 uint32_t *offset_ptr, Prologue *prologue) {
134 const uint32_t prologue_offset = *offset_ptr;
137 prologue->TotalLength = debug_line_data.getU32(offset_ptr);
138 prologue->Version = debug_line_data.getU16(offset_ptr);
142 prologue->PrologueLength = debug_line_data.getU32(offset_ptr);
143 const uint32_t end_prologue_offset = prologue->PrologueLength + *offset_ptr;
144 prologue->MinInstLength = debug_line_data.getU8(offset_ptr);
145 prologue->DefaultIsStmt = debug_line_data.getU8(offset_ptr);
146 prologue->LineBase = debug_line_data.getU8(offset_ptr);
147 prologue->LineRange = debug_line_data.getU8(offset_ptr);
    [all...]
DWARFFormValue.cpp 82 DWARFFormValue::extractValue(DataExtractor data, uint32_t *offset_ptr,
94 Value.uval = data.getUnsigned(offset_ptr, cu->getAddressByteSize());
97 Value.uval = data.getULEB128(offset_ptr);
101 Value.uval = data.getU8(offset_ptr);
105 Value.uval = data.getU16(offset_ptr);
109 Value.uval = data.getU32(offset_ptr);
115 Value.uval = data.getU8(offset_ptr);
119 Value.uval = data.getU16(offset_ptr);
123 Value.uval = data.getU32(offset_ptr);
127 Value.uval = data.getU64(offset_ptr);
    [all...]
DWARFAbbreviationDeclaration.cpp 18 DWARFAbbreviationDeclaration::extract(DataExtractor data, uint32_t* offset_ptr){
19 return extract(data, offset_ptr, data.getULEB128(offset_ptr));
23 DWARFAbbreviationDeclaration::extract(DataExtractor data, uint32_t* offset_ptr,
28 Tag = data.getULEB128(offset_ptr);
29 HasChildren = data.getU8(offset_ptr);
31 while (data.isValidOffset(*offset_ptr)) {
32 uint16_t attr = data.getULEB128(offset_ptr);
33 uint16_t form = data.getULEB128(offset_ptr);
DWARFDebugArangeSet.cpp 50 DWARFDebugArangeSet::extract(DataExtractor data, uint32_t *offset_ptr) {
51 if (data.isValidOffset(*offset_ptr)) {
53 Offset = *offset_ptr;
69 Header.Length = data.getU32(offset_ptr);
70 Header.Version = data.getU16(offset_ptr);
71 Header.CuOffset = data.getU32(offset_ptr);
72 Header.AddrSize = data.getU8(offset_ptr);
73 Header.SegSize = data.getU8(offset_ptr);
86 const uint32_t header_size = *offset_ptr - Offset;
92 *offset_ptr = Offset + first_tuple_offset
    [all...]
DWARFAbbreviationDeclaration.h 43 bool extract(DataExtractor data, uint32_t* offset_ptr);
44 bool extract(DataExtractor data, uint32_t* offset_ptr, uint32_t code);
DWARFCompileUnit.cpp 24 bool DWARFCompileUnit::extract(DataExtractor debug_info, uint32_t *offset_ptr) {
27 Offset = *offset_ptr;
29 if (debug_info.isValidOffset(*offset_ptr)) {
32 Length = debug_info.getU32(offset_ptr);
33 Version = debug_info.getU16(offset_ptr);
34 abbrOffset = debug_info.getU32(offset_ptr);
35 AddrSize = debug_info.getU8(offset_ptr);
48 *offset_ptr = Offset;
DWARFFormValue.h 52 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);
DWARFDebugInfoEntry.cpp 69 uint32_t* offset_ptr,
73 OS << format("0x%8.8x: ", *offset_ptr);
88 if (!formValue.extractValue(cu->getDebugInfoExtractor(), offset_ptr, cu))
98 uint32_t *offset_ptr) {
99 Offset = *offset_ptr;
102 uint64_t abbrCode = debug_info_data.getULEB128(offset_ptr);
107 uint32_t offset = *offset_ptr;
192 *offset_ptr = Offset;
200 *offset_ptr = offset;
212 uint32_t *offset_ptr) {
    [all...]
DWARFDebugInfoEntry.h 43 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);
DWARFDebugAbbrev.cpp 16 uint32_t* offset_ptr) {
17 const uint32_t beginOffset = *offset_ptr;
22 while (abbrevDeclaration.extract(data, offset_ptr)) {
32 return beginOffset != *offset_ptr;
  /external/llvm/include/llvm/DebugInfo/DWARF/
DWARFFormValue.h 61 /// \brief extracts a value in data at offset *offset_ptr.
67 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,
DWARFDebugArangeSet.h 57 bool extract(DataExtractor data, uint32_t *offset_ptr);
DWARFDebugRangeList.h 68 bool extract(DataExtractor data, uint32_t *offset_ptr);
DWARFTypeUnit.h 36 bool extractImpl(DataExtractor debug_info, uint32_t *offset_ptr) override;
  /system/libufdt/
ufdt_overlay.c 131 char *path, *prop_ptr, *offset_ptr, *end_ptr; local
149 offset_ptr = dto_strchr(prop_ptr, ':');
150 if (offset_ptr == NULL) {
155 *offset_ptr = '\0';
156 offset_ptr++;
158 prop_offset = dto_strtoul(offset_ptr, &end_ptr, 10 /* base */);
160 dto_error("'%s' is not valid number\n", offset_ptr);

Completed in 1929 milliseconds

1 2