/aosp12/system/unwinding/libunwindstack/ |
H A D | DwarfOp.cpp | 1437 template <typename AddressType> 1481 template <typename AddressType> 1533 template <typename AddressType> 1569 template <typename AddressType> 1611 template <typename AddressType> 1615 AddressType value; in op_deref() 1625 template <typename AddressType> 1634 AddressType value = 0; in op_deref_size() 1644 template <typename AddressType> 1653 template <typename AddressType> [all …]
|
H A D | DwarfCfa.cpp | 39 template <typename AddressType> 40 constexpr typename DwarfCfa<AddressType>::process_func DwarfCfa<AddressType>::kCallbackTable[64]; 42 template <typename AddressType> 147 template <typename AddressType> 182 template <typename AddressType> 205 template <typename AddressType> 275 template <typename AddressType> 322 template <typename AddressType> 327 template <typename AddressType> 329 AddressType cur_pc = cur_pc_; in cfa_set_loc() [all …]
|
H A D | DwarfEhFrameWithHdr.cpp | 34 template <typename AddressType> 37 return DwarfSectionImpl<AddressType>::Init(offset, size, section_bias); in EhFrameInit() 40 template <typename AddressType> 103 template <typename AddressType> 104 const DwarfFde* DwarfEhFrameWithHdr<AddressType>::GetFdeFromPc(uint64_t pc) { in GetFdeFromPc() 118 fde = DwarfSectionImpl<AddressType>::GetFdeFromPc(pc); in GetFdeFromPc() 132 template <typename AddressType> 133 const typename DwarfEhFrameWithHdr<AddressType>::FdeInfo* 134 DwarfEhFrameWithHdr<AddressType>::GetFdeInfoFromIndex(size_t index) { in GetFdeInfoFromIndex() 161 template <typename AddressType> [all …]
|
H A D | DwarfSection.cpp | 69 template <typename AddressType> 86 template <typename AddressType> 138 template <typename AddressType> 255 template <typename AddressType> 271 template <typename AddressType> 418 AddressType cfa; 426 EvalInfo<AddressType>* eval_info = reinterpret_cast<EvalInfo<AddressType>*>(info); in EvalRegister() 450 AddressType value; in EvalRegister() 488 RegsImpl<AddressType>* cur_regs = reinterpret_cast<RegsImpl<AddressType>*>(regs); in Eval() 524 AddressType value; in Eval() [all …]
|
H A 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() 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_; 93 std::deque<AddressType> stack_; [all …]
|
H A 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()
|
H A 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()
|
H A D | DwarfEhFrameWithHdr.h | 31 template <typename AddressType> 32 class DwarfEhFrameWithHdr : public DwarfSectionImpl<AddressType> { 36 using DwarfSectionImpl<AddressType>::memory_; 37 using DwarfSectionImpl<AddressType>::last_error_; 40 AddressType pc; 44 DwarfEhFrameWithHdr(Memory* memory) : DwarfSectionImpl<AddressType>(memory) {} in DwarfEhFrameWithHdr()
|
H A D | DwarfEhFrame.h | 27 template <typename AddressType> 28 class DwarfEhFrame : public DwarfSectionImpl<AddressType> { 30 DwarfEhFrame(Memory* memory) : DwarfSectionImpl<AddressType>(memory) {} in DwarfEhFrame()
|
H A D | DwarfDebugFrame.h | 28 template <typename AddressType> 29 class DwarfDebugFrame : public DwarfSectionImpl<AddressType> { 31 DwarfDebugFrame(Memory* memory) : DwarfSectionImpl<AddressType>(memory) { in DwarfDebugFrame()
|
H A D | DwarfCfa.h | 72 template <typename AddressType> 75 typedef typename std::make_signed<AddressType>::type SignedType; 91 AddressType cur_pc() { return cur_pc_; } in cur_pc() 108 AddressType cur_pc_; 110 std::vector<AddressType> operands_;
|
/aosp12/system/bt/gd/hci/ |
H A D | address_with_type_test.cc | 32 AddressType type1 = AddressType::PUBLIC_DEVICE_ADDRESS; in TEST() 35 AddressType type2 = AddressType::PUBLIC_DEVICE_ADDRESS; in TEST() 50 AddressType type = AddressType::PUBLIC_IDENTITY_ADDRESS; in TEST() 58 AddressType type1 = AddressType::PUBLIC_DEVICE_ADDRESS; in TEST() 61 AddressType type2 = AddressType::PUBLIC_IDENTITY_ADDRESS; in TEST() 74 …AddressWithType(Address{{0x30, 0x02, 0x03, 0x04, 0x05, 0x06}}, AddressType::RANDOM_DEVICE_ADDRESS)… in TEST() 76 …AddressWithType(Address{{0x40, 0x02, 0x03, 0x04, 0x05, 0x03}}, AddressType::RANDOM_DEVICE_ADDRESS)… in TEST() 78 …AddressWithType(Address{{0x50, 0x02, 0x03, 0x04, 0x05, 0x06}}, AddressType::RANDOM_DEVICE_ADDRESS)… in TEST() 80 …AddressWithType(Address{{0x60, 0x02, 0x03, 0x04, 0x05, 0x06}}, AddressType::RANDOM_DEVICE_ADDRESS)… in TEST() 90 …AddressWithType(Address{{0x50, 0x02, 0x03, 0xC9, 0x12, 0xDE}}, AddressType::RANDOM_DEVICE_ADDRESS); in TEST() [all …]
|
H A D | address_with_type.h | 34 AddressWithType(Address address, AddressType address_type) in AddressWithType() 37 …explicit AddressWithType() : address_(Address::kEmpty), address_type_(AddressType::PUBLIC_DEVICE_A… in AddressWithType() 43 inline AddressType GetAddressType() const { in GetAddressType() 49 …return address_type_ == hci::AddressType::RANDOM_DEVICE_ADDRESS && ((address_.data())[0] & 0xc0) =… in IsRpa() 102 AddressType address_type_; 117 …sert(sizeof(uint64_t) >= (bluetooth::hci::Address::kLength + sizeof(bluetooth::hci::AddressType))); 120 bluetooth::hci::AddressType address_type = val.GetAddressType();
|
H A D | enum_helper.h | 49 template <typename T, typename std::enable_if<std::is_same_v<T, hci::AddressType>, int>::type = 0> 50 std::optional<hci::AddressType> FromLegacyConfigString(const std::string& str) { in FromLegacyConfigString() 55 if (*raw_value < static_cast<int64_t>(hci::AddressType::PUBLIC_DEVICE_ADDRESS) || in FromLegacyConfigString() 56 *raw_value > static_cast<int64_t>(hci::AddressType::RANDOM_IDENTITY_ADDRESS)) { in FromLegacyConfigString() 59 return static_cast<hci::AddressType>(*raw_value); in FromLegacyConfigString()
|
/aosp12/system/unwinding/libunwindstack/tests/ |
H A 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 …]
|
/aosp12/system/bt/gd/hci/acl_manager/ |
H A D | le_impl.h | 374 case AddressType::PUBLIC_DEVICE_ADDRESS: in add_device_to_connect_list() 375 case AddressType::PUBLIC_IDENTITY_ADDRESS: { in add_device_to_connect_list() 378 case AddressType::RANDOM_DEVICE_ADDRESS: in add_device_to_connect_list() 379 case AddressType::RANDOM_IDENTITY_ADDRESS: { in add_device_to_connect_list() 396 case AddressType::PUBLIC_DEVICE_ADDRESS: in add_device_to_resolving_list() 397 case AddressType::PUBLIC_IDENTITY_ADDRESS: { in add_device_to_resolving_list() 401 case AddressType::RANDOM_DEVICE_ADDRESS: in add_device_to_resolving_list() 531 case AddressType::PUBLIC_DEVICE_ADDRESS: in remove_device_from_connect_list() 536 case AddressType::RANDOM_DEVICE_ADDRESS: in remove_device_from_connect_list() 552 case AddressType::PUBLIC_DEVICE_ADDRESS: in remove_device_from_resolving_list() [all …]
|
/aosp12/system/bt/main/shim/ |
H A D | helpers.h | 57 hci::AddressType type; in ToAddressWithType() 59 type = hci::AddressType::PUBLIC_DEVICE_ADDRESS; in ToAddressWithType() 61 type = hci::AddressType::RANDOM_DEVICE_ADDRESS; in ToAddressWithType() 63 type = hci::AddressType::PUBLIC_IDENTITY_ADDRESS; in ToAddressWithType() 65 type = hci::AddressType::RANDOM_IDENTITY_ADDRESS; in ToAddressWithType() 69 hci::AddressType::PUBLIC_DEVICE_ADDRESS}; in ToAddressWithType() 87 hci::AddressType::PUBLIC_DEVICE_ADDRESS) { in ToLegacyAddressWithType() 90 hci::AddressType::RANDOM_DEVICE_ADDRESS) { in ToLegacyAddressWithType() 93 hci::AddressType::PUBLIC_IDENTITY_ADDRESS) { in ToLegacyAddressWithType() 96 hci::AddressType::RANDOM_IDENTITY_ADDRESS) { in ToLegacyAddressWithType()
|
/aosp12/system/bt/gd/security/ |
H A D | facade.cc | 97 hci::AddressType peer_type = static_cast<hci::AddressType>(request->type()); in CreateBond() 108 hci::AddressType peer_type = static_cast<hci::AddressType>(request->address().type()); in CreateBondOutOfBand() 148 hci::AddressType peer_type = static_cast<hci::AddressType>(request->type()); in CreateBondLe() 157 hci::AddressType peer_type = hci::AddressType::PUBLIC_DEVICE_ADDRESS; in CancelBond() 166 hci::AddressType peer_type = hci::AddressType::PUBLIC_DEVICE_ADDRESS; in RemoveBond() 180 hci::AddressType remote_type = static_cast<hci::AddressType>(request->address().type()); in SendUiCallback() 286 …hci::AddressWithType address_with_type(address, static_cast<hci::AddressType>(request->address_wit… in SetLeInitiatorAddressPolicy() 315 hci::AddressType peer_type = static_cast<hci::AddressType>(request->address().type()); in EnforceSecurityPolicy() 349 hci::AddressType peer_type = static_cast<hci::AddressType>(request->address().type()); in SetOutOfBandData()
|
/aosp12/system/bt/gd/l2cap/le/internal/ |
H A D | fixed_channel_impl_test.cc | 70 …AddressWithType device{{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, hci::AddressType::PUBLIC_DEVICE_ADD… in TEST_F() 84 …AddressWithType device{{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, hci::AddressType::PUBLIC_DEVICE_ADD… in TEST_F() 109 …AddressWithType device{{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, hci::AddressType::PUBLIC_DEVICE_ADD… in TEST_F() 134 …AddressWithType device{{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, hci::AddressType::PUBLIC_DEVICE_ADD… in TEST_F() 162 …AddressWithType device{{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, hci::AddressType::PUBLIC_DEVICE_ADD… in TEST_F() 186 …AddressWithType device{{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, hci::AddressType::PUBLIC_DEVICE_ADD… in TEST_F() 199 …AddressWithType device{{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, hci::AddressType::PUBLIC_DEVICE_ADD… in TEST_F() 212 …AddressWithType device{{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, hci::AddressType::PUBLIC_DEVICE_ADD… in TEST_F() 244 …AddressWithType device{{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, hci::AddressType::PUBLIC_DEVICE_ADD… in TEST_F()
|
/aosp12/system/bt/gd/l2cap/internal/ |
H A D | dynamic_channel_impl_test.cc | 72 …const hci::AddressWithType device{{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, hci::AddressType::PUBLIC… in TEST_F() 82 …const hci::AddressWithType device{{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, hci::AddressType::PUBLIC… in TEST_F() 104 …const hci::AddressWithType device{{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, hci::AddressType::PUBLIC… in TEST_F() 127 …const hci::AddressWithType device{{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, hci::AddressType::PUBLIC… in TEST_F() 152 …const hci::AddressWithType device{{{0x01, 0x02, 0x03, 0x04, 0x05, 0x06}}, hci::AddressType::PUBLIC… in TEST_F()
|
/aosp12/system/unwinding/libunwindstack/include/unwindstack/ |
H A D | DwarfSection.h | 38 template <typename AddressType> 125 template <typename AddressType> 141 bool EvalRegister(const DwarfLocation* loc, uint32_t reg, AddressType* reg_ptr, void* info); 165 bool EvalExpression(const DwarfLocation& loc, Memory* regular_memory, AddressType* value, 166 RegsInfo<AddressType>* regs_info, bool* is_dex_pc);
|
H A D | Regs.h | 95 template <typename AddressType> 102 inline AddressType& operator[](size_t reg) { return regs_[reg]; } 113 std::vector<AddressType> regs_;
|
/aosp12/system/bt/gd/l2cap/classic/internal/ |
H A D | fixed_channel_impl_test.cc | 73 hci::AddressType::PUBLIC_IDENTITY_ADDRESS}; in TEST_F() 90 hci::AddressType::PUBLIC_IDENTITY_ADDRESS}; in TEST_F() 119 hci::AddressType::PUBLIC_IDENTITY_ADDRESS}; in TEST_F() 149 hci::AddressType::PUBLIC_IDENTITY_ADDRESS}; in TEST_F() 182 hci::AddressType::PUBLIC_IDENTITY_ADDRESS}; in TEST_F() 211 hci::AddressType::PUBLIC_IDENTITY_ADDRESS}; in TEST_F() 229 hci::AddressType::PUBLIC_IDENTITY_ADDRESS}; in TEST_F() 248 hci::AddressType::PUBLIC_IDENTITY_ADDRESS}; in TEST_F() 286 hci::AddressType::PUBLIC_IDENTITY_ADDRESS}; in TEST_F()
|
/aosp12/system/bt/gd/storage/ |
H A D | le_device_test.cc | 27 using bluetooth::hci::AddressType; 51 mutation.Add(device.SetAddressType(AddressType::RANDOM_DEVICE_ADDRESS)); in TEST() 53 ASSERT_THAT(device.GetAddressType(), Optional(Eq(AddressType::RANDOM_DEVICE_ADDRESS))); in TEST()
|
/aosp12/system/bt/gd/security/record/ |
H A D | security_record_storage_test.cc | 62 hci::Address({0x01, 0x02, 0x03, 0x04, 0x05, 0x06}), hci::AddressType::PUBLIC_DEVICE_ADDRESS); in TEST_F() 83 hci::Address({0x01, 0x02, 0x03, 0x04, 0x05, 0x06}), hci::AddressType::RANDOM_DEVICE_ADDRESS); in TEST_F() 123 hci::Address({0x01, 0x02, 0x03, 0x04, 0x05, 0x06}), hci::AddressType::PUBLIC_DEVICE_ADDRESS); in TEST_F() 156 hci::Address({0x01, 0x02, 0x03, 0x04, 0x05, 0x06}), hci::AddressType::PUBLIC_DEVICE_ADDRESS); in TEST_F() 177 hci::Address({0x01, 0x02, 0x03, 0x04, 0x05, 0x06}), hci::AddressType::PUBLIC_DEVICE_ADDRESS); in TEST_F()
|