/system/core/libunwindstack/ |
D | DwarfOp.cpp | 1437 template <typename AddressType> 1438 const typename DwarfOp<AddressType>::OpHandleFuncPtr DwarfOp<AddressType>::kOpHandleFuncList[] = { 1440 [OP_DEREF] = &DwarfOp<AddressType>::op_deref, 1441 [OP_DEREF_SIZE] = &DwarfOp<AddressType>::op_deref_size, 1442 [OP_PUSH] = &DwarfOp<AddressType>::op_push, 1443 [OP_DUP] = &DwarfOp<AddressType>::op_dup, 1444 [OP_DROP] = &DwarfOp<AddressType>::op_drop, 1445 [OP_OVER] = &DwarfOp<AddressType>::op_over, 1446 [OP_PICK] = &DwarfOp<AddressType>::op_pick, 1447 [OP_SWAP] = &DwarfOp<AddressType>::op_swap, [all …]
|
D | DwarfCfa.cpp | 37 template <typename AddressType> 38 constexpr typename DwarfCfa<AddressType>::process_func DwarfCfa<AddressType>::kCallbackTable[64]; 40 template <typename AddressType> 41 bool DwarfCfa<AddressType>::GetLocationInfo(uint64_t pc, uint64_t start_offset, uint64_t end_offset, in GetLocationInfo() 108 const auto handle_func = DwarfCfa<AddressType>::kCallbackTable[cfa_low]; in GetLocationInfo() 128 if (!memory_->ReadEncodedValue<AddressType>(cfa->operands[i], &value)) { in GetLocationInfo() 145 template <typename AddressType> 146 std::string DwarfCfa<AddressType>::GetOperandString(uint8_t operand, uint64_t value, in GetOperandString() 168 if (std::is_same<AddressType, uint32_t>::value) { in GetOperandString() 180 template <typename AddressType> [all …]
|
D | DwarfOp.h | 37 template <typename AddressType> 40 template <typename AddressType> 43 typedef typename std::make_signed<AddressType>::type SignedType; 56 AddressType StackAt(size_t index) { return stack_[index]; } in StackAt() 59 void set_regs_info(RegsInfo<AddressType>* regs_info) { regs_info_ = regs_info; } in set_regs_info() 74 AddressType OperandAt(size_t index) { return operands_[index]; } in OperandAt() 77 AddressType StackPop() { in StackPop() 78 AddressType value = stack_.front(); in StackPop() 87 RegsInfo<AddressType>* regs_info_; 92 std::vector<AddressType> operands_; [all …]
|
D | DwarfEhFrameWithHdr.h | 31 template <typename AddressType> 32 class DwarfEhFrameWithHdr : public DwarfSectionImpl<AddressType> { 36 using DwarfSectionImpl<AddressType>::memory_; 37 using DwarfSectionImpl<AddressType>::pc_offset_; 38 using DwarfSectionImpl<AddressType>::entries_offset_; 39 using DwarfSectionImpl<AddressType>::entries_end_; 40 using DwarfSectionImpl<AddressType>::last_error_; 41 using DwarfSectionImpl<AddressType>::load_bias_; 44 AddressType pc; 48 DwarfEhFrameWithHdr(Memory* memory) : DwarfSectionImpl<AddressType>(memory) {} in DwarfEhFrameWithHdr()
|
D | DwarfEhFrameWithHdr.cpp | 34 template <typename AddressType> 35 bool DwarfEhFrameWithHdr<AddressType>::Init(uint64_t offset, uint64_t size, uint64_t load_bias) { in Init() 62 table_entry_size_ = memory_.template GetEncodedSize<AddressType>(table_encoding_); in Init() 73 if (!memory_.template ReadEncodedValue<AddressType>(ptr_encoding_, &ptr_offset_)) { in Init() 80 if (!memory_.template ReadEncodedValue<AddressType>(fde_count_encoding, &fde_count_)) { in Init() 99 template <typename AddressType> 100 const DwarfFde* DwarfEhFrameWithHdr<AddressType>::GetFdeFromPc(uint64_t pc) { in GetFdeFromPc() 118 template <typename AddressType> 119 const typename DwarfEhFrameWithHdr<AddressType>::FdeInfo* 120 DwarfEhFrameWithHdr<AddressType>::GetFdeInfoFromIndex(size_t index) { in GetFdeInfoFromIndex() [all …]
|
D | DwarfSection.cpp | 65 template <typename AddressType> 66 const DwarfCie* DwarfSectionImpl<AddressType>::GetCieFromOffset(uint64_t offset) { in GetCieFromOffset() 81 template <typename AddressType> 82 bool DwarfSectionImpl<AddressType>::FillInCieHeader(DwarfCie* cie) { in FillInCieHeader() 133 template <typename AddressType> 134 bool DwarfSectionImpl<AddressType>::FillInCie(DwarfCie* cie) { in FillInCie() 229 if (!memory_.ReadEncodedValue<AddressType>(encoding, &cie->personality_handler)) { in FillInCie() 247 template <typename AddressType> 248 const DwarfFde* DwarfSectionImpl<AddressType>::GetFdeFromOffset(uint64_t offset) { in GetFdeFromOffset() 262 template <typename AddressType> [all …]
|
D | RegsInfo.h | 26 template <typename AddressType> 30 RegsInfo(RegsImpl<AddressType>* regs) : regs(regs) {} in RegsInfo() 32 RegsImpl<AddressType>* regs = nullptr; 34 AddressType saved_regs[MAX_REGISTERS]; 36 inline AddressType Get(uint32_t reg) { in Get() 43 inline AddressType* Save(uint32_t reg) { in Save()
|
D | DwarfMemory.cpp | 81 template <typename AddressType> 85 return sizeof(AddressType); in GetEncodedSize() 148 template <typename AddressType> 154 if (__builtin_add_overflow(cur_offset_, sizeof(AddressType) - 1, &cur_offset_)) { in ReadEncodedValue() 157 cur_offset_ &= -sizeof(AddressType); in ReadEncodedValue() 159 if (sizeof(AddressType) != sizeof(uint64_t)) { in ReadEncodedValue() 162 return ReadBytes(value, sizeof(AddressType)); in ReadEncodedValue() 168 if (sizeof(AddressType) != sizeof(uint64_t)) { in ReadEncodedValue() 171 if (!ReadBytes(value, sizeof(AddressType))) { in ReadEncodedValue()
|
D | DwarfEhFrame.h | 27 template <typename AddressType> 28 class DwarfEhFrame : public DwarfSectionImplNoHdr<AddressType> { 30 DwarfEhFrame(Memory* memory) : DwarfSectionImplNoHdr<AddressType>(memory) {} in DwarfEhFrame()
|
D | DwarfDebugFrame.h | 28 template <typename AddressType> 29 class DwarfDebugFrame : public DwarfSectionImplNoHdr<AddressType> { 31 DwarfDebugFrame(Memory* memory) : DwarfSectionImplNoHdr<AddressType>(memory) { in DwarfDebugFrame()
|
D | DwarfCfa.h | 69 template <typename AddressType> 72 typedef typename std::make_signed<AddressType>::type SignedType; 87 AddressType cur_pc() { return cur_pc_; } in cur_pc() 103 AddressType cur_pc_; 105 std::vector<AddressType> operands_;
|
D | ElfInterface.cpp | 126 template <typename AddressType> 129 eh_frame_.reset(new DwarfEhFrameWithHdr<AddressType>(memory_)); in InitHeadersWithTemplate() 138 eh_frame_.reset(new DwarfEhFrame<AddressType>(memory_)); in InitHeadersWithTemplate() 152 debug_frame_.reset(new DwarfDebugFrame<AddressType>(memory_)); in InitHeadersWithTemplate()
|
/system/core/libunwindstack/tests/ |
D | DwarfMemoryTest.cpp | 37 template <typename AddressType> 39 template <typename AddressType> 41 template <typename AddressType> 43 template <typename AddressType> 45 template <typename AddressType> 47 template <typename AddressType> 49 template <typename AddressType> 51 template <typename AddressType> 53 template <typename AddressType> 55 template <typename AddressType> [all …]
|
/system/core/libunwindstack/include/unwindstack/ |
D | DwarfSection.h | 36 template <typename AddressType> 122 template <typename AddressType> 132 bool EvalRegister(const DwarfLocation* loc, uint32_t reg, AddressType* reg_ptr, void* info); 150 bool EvalExpression(const DwarfLocation& loc, Memory* regular_memory, AddressType* value, 151 RegsInfo<AddressType>* regs_info, bool* is_dex_pc); 159 template <typename AddressType> 160 class DwarfSectionImplNoHdr : public DwarfSectionImpl<AddressType> { 164 using DwarfSectionImpl<AddressType>::memory_; 165 using DwarfSectionImpl<AddressType>::pc_offset_; 166 using DwarfSectionImpl<AddressType>::entries_offset_; [all …]
|
D | Regs.h | 90 template <typename AddressType> 97 bool Is32Bit() override { return sizeof(AddressType) == sizeof(uint32_t); } in Is32Bit() 99 inline AddressType& operator[](size_t reg) { return regs_[reg]; } 110 std::vector<AddressType> regs_;
|
D | DwarfMemory.h | 41 template <typename AddressType> 46 template <typename AddressType>
|
/system/bt/vendor_libs/test_vendor_lib/packets/link_layer/ |
D | le_advertisement_builder.h | 34 …static std::unique_ptr<LeAdvertisementBuilder> Create(AddressType address_type, AdvertisementType … in Create() 53 explicit LeAdvertisementBuilder(AddressType address_type, AdvertisementType advertisement_type, in LeAdvertisementBuilder() 56 AddressType address_type_;
|
D | le_advertisement_view.h | 40 AddressType GetAddressType() { in GetAddressType() 41 return static_cast<AddressType>(at(0)); in GetAddressType()
|
/system/bt/vendor_libs/test_vendor_lib/packets/hci/test/ |
D | event_builder_test.cc | 46 LeAdvertisement::AddressType addr_type = LeAdvertisement::AddressType::RANDOM; in TEST() 81 LeAdvertisement::AddressType addr_type = LeAdvertisement::AddressType::RANDOM; in TEST()
|
/system/bt/vendor_libs/test_vendor_lib/include/ |
D | le_advertisement.h | 32 enum class AddressType : uint8_t { enum
|
/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | beacon.cc | 68 LeAdvertisement::AddressType::PUBLIC, in TimerTick() 83 LeAdvertisement::AddressType::PUBLIC, LeAdvertisement::AdvertisementType::SCAN_RESPONSE, in IncomingPacket()
|
D | loopback.cc | 88 LeAdvertisement::AddressType::PUBLIC, LeAdvertisement::AdvertisementType::SCAN_RESPONSE, in IncomingPacket()
|
/system/bt/vendor_libs/test_vendor_lib/packets/hci/ |
D | le_meta_event_builder.h | 57 …tisingReport(LeAdvertisement::AdvertisementType event_type, LeAdvertisement::AddressType addr_type,
|
D | le_meta_event_builder.cc | 99 … LeAdvertisement::AddressType addr_type, const Address& addr, in AddLeAdvertisingReport()
|
/system/bt/vendor_libs/test_vendor_lib/packets/test/ |
D | link_layer_packet_builder_test.cc | 429 LeAdvertisement::AddressType address_type = LeAdvertisement::AddressType::RANDOM; in TEST_F() 468 LeAdvertisement::AddressType address_type = LeAdvertisement::AddressType::PUBLIC_IDENTITY; in TEST_F()
|