/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...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/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...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/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; 84 /// *offset_ptr. 87 /// pointed to by \a offset_ptr. The size of the extracted integer 94 /// @param[in,out] offset_ptr 107 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/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; 84 /// *offset_ptr. 87 /// pointed to by \a offset_ptr. The size of the extracted integer 94 /// @param[in,out] offset_ptr 107 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/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...] |
/prebuilts/clang/host/linux-x86/clang-4393122/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; 84 /// *offset_ptr. 87 /// pointed to by \a offset_ptr. The size of the extracted integer 94 /// @param[in,out] offset_ptr 107 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const [all...] |
/prebuilts/clang/host/linux-x86/clang-4479392/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; 84 /// *offset_ptr. 87 /// pointed to by \a offset_ptr. The size of the extracted integer 94 /// @param[in,out] offset_ptr 107 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...] |
/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);
|
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Support/ |
DataExtractor.h | 63 /// Extract a C string from \a *offset_ptr. 66 /// pointed to by \a offset_ptr. A variable length NULL terminated C 67 /// string will be extracted and the \a offset_ptr will be 71 /// @param[in,out] offset_ptr 80 /// pointed to by \a offset_ptr is out of bounds, or if the 83 const char *getCStr(uint32_t *offset_ptr) const; 108 /// *offset_ptr. 111 /// pointed to by \a offset_ptr. The size of the extracted integer 118 /// @param[in,out] offset_ptr 131 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const [all...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Support/ |
DataExtractor.h | 63 /// Extract a C string from \a *offset_ptr. 66 /// pointed to by \a offset_ptr. A variable length NULL terminated C 67 /// string will be extracted and the \a offset_ptr will be 71 /// @param[in,out] offset_ptr 80 /// pointed to by \a offset_ptr is out of bounds, or if the 83 const char *getCStr(uint32_t *offset_ptr) const; 108 /// *offset_ptr. 111 /// pointed to by \a offset_ptr. The size of the extracted integer 118 /// @param[in,out] offset_ptr 131 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const [all...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/Support/ |
DataExtractor.h | 63 /// Extract a C string from \a *offset_ptr. 66 /// pointed to by \a offset_ptr. A variable length NULL terminated C 67 /// string will be extracted and the \a offset_ptr will be 71 /// @param[in,out] offset_ptr 80 /// pointed to by \a offset_ptr is out of bounds, or if the 83 const char *getCStr(uint32_t *offset_ptr) const; 108 /// *offset_ptr. 111 /// pointed to by \a offset_ptr. The size of the extracted integer 118 /// @param[in,out] offset_ptr 131 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const [all...] |
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/Support/ |
DataExtractor.h | 63 /// Extract a C string from \a *offset_ptr. 66 /// pointed to by \a offset_ptr. A variable length NULL terminated C 67 /// string will be extracted and the \a offset_ptr will be 71 /// @param[in,out] offset_ptr 80 /// pointed to by \a offset_ptr is out of bounds, or if the 83 const char *getCStr(uint32_t *offset_ptr) const; 108 /// *offset_ptr. 111 /// pointed to by \a offset_ptr. The size of the extracted integer 118 /// @param[in,out] offset_ptr 131 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const [all...] |
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/Support/ |
DataExtractor.h | 63 /// Extract a C string from \a *offset_ptr. 66 /// pointed to by \a offset_ptr. A variable length NULL terminated C 67 /// string will be extracted and the \a offset_ptr will be 71 /// @param[in,out] offset_ptr 80 /// pointed to by \a offset_ptr is out of bounds, or if the 83 const char *getCStr(uint32_t *offset_ptr) const; 108 /// *offset_ptr. 111 /// pointed to by \a offset_ptr. The size of the extracted integer 118 /// @param[in,out] offset_ptr 131 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const [all...] |
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/Support/ |
DataExtractor.h | 63 /// Extract a C string from \a *offset_ptr. 66 /// pointed to by \a offset_ptr. A variable length NULL terminated C 67 /// string will be extracted and the \a offset_ptr will be 71 /// @param[in,out] offset_ptr 80 /// pointed to by \a offset_ptr is out of bounds, or if the 83 const char *getCStr(uint32_t *offset_ptr) const; 108 /// *offset_ptr. 111 /// pointed to by \a offset_ptr. The size of the extracted integer 118 /// @param[in,out] offset_ptr 131 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const [all...] |
/prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/Support/ |
DataExtractor.h | 63 /// Extract a C string from \a *offset_ptr. 66 /// pointed to by \a offset_ptr. A variable length NULL terminated C 67 /// string will be extracted and the \a offset_ptr will be 71 /// @param[in,out] offset_ptr 80 /// pointed to by \a offset_ptr is out of bounds, or if the 83 const char *getCStr(uint32_t *offset_ptr) const; 108 /// *offset_ptr. 111 /// pointed to by \a offset_ptr. The size of the extracted integer 118 /// @param[in,out] offset_ptr 131 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const [all...] |
/prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/Support/ |
DataExtractor.h | 63 /// Extract a C string from \a *offset_ptr. 66 /// pointed to by \a offset_ptr. A variable length NULL terminated C 67 /// string will be extracted and the \a offset_ptr will be 71 /// @param[in,out] offset_ptr 80 /// pointed to by \a offset_ptr is out of bounds, or if the 83 const char *getCStr(uint32_t *offset_ptr) const; 108 /// *offset_ptr. 111 /// pointed to by \a offset_ptr. The size of the extracted integer 118 /// @param[in,out] offset_ptr 131 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const [all...] |