/system/core/libunwindstack/ |
D | RegsInfo.h | 36 inline AddressType Get(uint32_t reg) { in Get() 37 if (IsSaved(reg)) { in Get() 38 return saved_regs[reg]; in Get() 40 return (*regs)[reg]; in Get() 43 inline AddressType* Save(uint32_t reg) { in Save() 44 if (reg >= MAX_REGISTERS) { in Save() 49 saved_reg_map |= 1ULL << reg; in Save() 50 saved_regs[reg] = (*regs)[reg]; in Save() 51 return &(*regs)[reg]; in Save() 54 inline bool IsSaved(uint32_t reg) { in IsSaved() [all …]
|
D | ArmExidx.cpp | 210 for (size_t reg = 4; reg < 16; reg++) { in DecodePrefix_10_00() local 211 if (registers & (1 << reg)) { in DecodePrefix_10_00() 215 msg += android::base::StringPrintf("r%zu", reg); in DecodePrefix_10_00() 223 for (size_t reg = 4; reg < 16; reg++) { in DecodePrefix_10_00() local 224 if (registers & (1 << reg)) { in DecodePrefix_10_00() 225 log_regs_[reg] = cfa_offset; in DecodePrefix_10_00() 236 for (size_t reg = 4; reg < 16; reg++) { in DecodePrefix_10_00() local 237 if (registers & (1 << reg)) { in DecodePrefix_10_00() 238 if (!process_memory_->Read32(cfa_, &(*regs_)[reg])) { in DecodePrefix_10_00() 315 for (uint8_t reg = 4; reg <= end_reg; reg++) { in DecodePrefix_10_10() local [all …]
|
D | DwarfCfa.cpp | 182 uint8_t reg) { in LogOffsetRegisterString() argument 198 log(indent, "DW_CFA_offset register(%d) %" PRId64, reg, offset); in LogOffsetRegisterString() 344 AddressType reg = operands_[0]; in cfa_offset() local 345 (*loc_regs)[reg] = {.type = DWARF_LOCATION_OFFSET, .values = {operands_[1]}}; in cfa_offset() 351 AddressType reg = operands_[0]; in cfa_restore() local 357 auto reg_entry = cie_loc_regs_->find(reg); in cfa_restore() 359 loc_regs->erase(reg); in cfa_restore() 361 (*loc_regs)[reg] = reg_entry->second; in cfa_restore() 368 AddressType reg = operands_[0]; in cfa_undefined() local 369 (*loc_regs)[reg] = {.type = DWARF_LOCATION_UNDEFINED}; in cfa_undefined() [all …]
|
D | DwarfSection.cpp | 417 bool DwarfSectionImpl<AddressType>::EvalRegister(const DwarfLocation* loc, uint32_t reg, in EvalRegister() argument 463 if (reg == eval_info->cie->return_address_register) { in EvalRegister() 524 uint32_t reg = entry.first; in Eval() local 526 if (reg == CFA_REG) continue; in Eval() 529 if (reg >= cur_regs->total_regs()) { in Eval() 534 reg_ptr = eval_info.regs_info.Save(reg); in Eval() 535 if (!EvalRegister(&entry.second, reg, reg_ptr, &eval_info)) { in Eval()
|
D | DwarfOp.cpp | 1906 uint16_t reg = cur_op() - 0x70; in op_breg() local 1907 if (reg >= regs_info_->Total()) { in op_breg() 1911 stack_.push_front(regs_info_->Get(reg) + OperandAt(0)); in op_breg() 1917 AddressType reg = OperandAt(0); in op_bregx() local 1918 if (reg >= regs_info_->Total()) { in op_bregx() 1922 stack_.push_front(regs_info_->Get(reg) + OperandAt(1)); in op_bregx()
|
D | DwarfCfa.h | 94 bool LogOffsetRegisterString(uint32_t indent, uint64_t cfa_offset, uint8_t reg);
|
/system/extras/simpleperf/ |
D | perf_regs.cpp | 120 int reg = static_cast<int>(regno); in GetRegName() local 123 if (reg >= PERF_REG_X86_R8 && reg <= PERF_REG_X86_R15) { in GetRegName() 124 return android::base::StringPrintf("r%d", reg - PERF_REG_X86_R8 + 8); in GetRegName() 129 auto it = x86_reg_map.find(reg); in GetRegName() 130 CHECK(it != x86_reg_map.end()) << "unknown reg " << reg; in GetRegName() 134 if (reg >= PERF_REG_ARM_R0 && reg <= PERF_REG_ARM_R10) { in GetRegName() 135 return android::base::StringPrintf("r%d", reg - PERF_REG_ARM_R0); in GetRegName() 137 auto it = arm_reg_map.find(reg); in GetRegName() 138 CHECK(it != arm_reg_map.end()) << "unknown reg " << reg; in GetRegName() 142 if (reg >= PERF_REG_ARM64_X0 && reg <= PERF_REG_ARM64_X29) { in GetRegName() [all …]
|
/system/nfc/src/nfa/sys/ |
D | nfa_sys_main.cc | 85 freebuf = (*nfa_sys_cb.reg[id]->evt_hdlr)(p_msg); in nfa_sys_event() 122 nfa_sys_cb.reg[id] = (tNFA_SYS_REG*)p_reg; in nfa_sys_register() 162 (*nfa_sys_cb.reg[NFA_ID_DM]->disable)(); in nfa_sys_check_disabled() 242 if (nfa_sys_cb.reg[id]->enable != nullptr) { in nfa_sys_enable_subsystems() 244 (*nfa_sys_cb.reg[id]->enable)(); in nfa_sys_enable_subsystems() 276 if (nfa_sys_cb.reg[id]->disable != nullptr) { in nfa_sys_disable_subsystems() 278 (*nfa_sys_cb.reg[id]->disable)(); in nfa_sys_disable_subsystems() 289 (*nfa_sys_cb.reg[NFA_ID_DM]->disable)(); in nfa_sys_disable_subsystems() 310 if ((nfa_sys_cb.is_reg[id]) && (nfa_sys_cb.reg[id]->proc_nfcc_pwr_mode)) { in nfa_sys_notify_nfcc_power_mode() 312 (*nfa_sys_cb.reg[id]->proc_nfcc_pwr_mode)(nfcc_power_mode); in nfa_sys_notify_nfcc_power_mode()
|
/system/extras/tests/kernel.config/ |
D | scrape_mmap_addr.cpp | 13 …std::regex reg(std::string("^([a-f0-9]+)\\-[0-9a-f]+\\s+.+\\s+(\\d+)\\s+.+\\s+\\d+\\s+") + std::st… in main() local 24 if (std::regex_match (ln,sm, reg)) { in main()
|
/system/core/libunwindstack/tests/ |
D | RegsInfoTest.cpp | 73 uint64_t* reg = info.Save(i); in TEST() local 74 ASSERT_EQ(reg, ®s[i]) << "Reg " + std::to_string(i) + " failed."; in TEST() 75 *reg = i * 0x1000 + 0x100; in TEST()
|
D | RegsIterateTest.cpp | 245 for (const auto& reg : expected) { in TYPED_TEST() local 246 regs[reg.offset] = reg.offset; in TYPED_TEST()
|
/system/bt/bta/sys/ |
D | bta_sys_main.cc | 459 if ((id < BTA_ID_MAX) && (bta_sys_cb.reg[id] != NULL)) { in bta_sys_event() 460 freebuf = (*bta_sys_cb.reg[id]->evt_hdlr)(p_msg); in bta_sys_event() 482 bta_sys_cb.reg[id] = (tBTA_SYS_REG*)p_reg; in bta_sys_register() 589 if (bta_sys_cb.reg[bta_id] != NULL) { in bta_sys_disable() 591 bta_sys_cb.reg[bta_id]->disable != NULL) { in bta_sys_disable() 592 (*bta_sys_cb.reg[bta_id]->disable)(); in bta_sys_disable()
|
D | bta_sys_int.h | 54 tBTA_SYS_REG* reg[BTA_ID_MAX]; /* registration structures */ member
|
/system/core/libunwindstack/include/unwindstack/ |
D | Regs.h | 99 inline AddressType& operator[](size_t reg) { return regs_[reg]; }
|
D | DwarfSection.h | 138 bool EvalRegister(const DwarfLocation* loc, uint32_t reg, AddressType* reg_ptr, void* info);
|
/system/nfc/src/nfa/include/ |
D | nfa_sys_int.h | 43 tNFA_SYS_REG* reg[NFA_ID_MAX]; /* registration structures */ member
|
D | nfa_snep_api.h | 157 tNFA_SNEP_REG reg; /* NFA_SNEP_REG_EVT */ member
|
/system/bt/bta/ag/ |
D | bta_ag_act.cc | 116 tBTA_AG_REGISTER reg = {}; in bta_ag_register() local 117 reg.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_register() 118 reg.hdr.app_id = p_scb->app_id; in bta_ag_register() 119 reg.status = BTA_AG_SUCCESS; in bta_ag_register() 120 (*bta_ag_cb.p_cback)(BTA_AG_REGISTER_EVT, (tBTA_AG*)®); in bta_ag_register()
|
/system/core/fastboot/fuzzy_fastboot/ |
D | extensions.cpp | 200 const std::string reg = XMLAttribute(var, "assert"); in ExtractGetVars() local 205 Configuration::GetVar getvar{reg, MakeRegex(reg, var->GetLineNum()), var->GetLineNum()}; in ExtractGetVars()
|
D | main.cpp | 450 std::regex reg("([[:graph:]]*)_([[:lower:]])"); in TEST_F() local 453 if (std::regex_match(part, sm, reg)) { // This partition has slots in TEST_F() 696 std::regex reg("([[:graph:]]*)_([[:lower:]])"); in TEST_F() local 699 if (std::regex_match(part, sm, reg)) { // This partition has slots in TEST_F()
|
/system/bt/bta/av/ |
D | bta_av_main.cc | 502 AvdtpRcb reg; in bta_av_api_register() local 567 reg.ctrl_mtu = p_bta_av_cfg->sig_mtu; in bta_av_api_register() 568 reg.ret_tout = BTA_AV_RET_TOUT; in bta_av_api_register() 569 reg.sig_tout = BTA_AV_SIG_TOUT; in bta_av_api_register() 570 reg.idle_tout = BTA_AV_IDLE_TOUT; in bta_av_api_register() 571 reg.sec_mask = bta_av_cb.sec_mask; in bta_av_api_register() 572 reg.scb_index = p_scb->hdi; in bta_av_api_register() 574 bta_ar_reg_avdt(®, bta_av_conn_cback, BTA_ID_AV); in bta_av_api_register()
|
/system/bt/bta/include/ |
D | bta_hf_client_api.h | 254 tBTA_HF_CLIENT_REGISTER reg; member
|
D | bta_ag_api.h | 384 tBTA_AG_REGISTER reg; member
|
/system/bt/bta/hf_client/ |
D | bta_hf_client_act.cc | 312 evt.reg.bd_addr = client_cb->peer_addr; in bta_hf_client_rfc_close()
|
/system/core/fastboot/ |
D | fastboot_driver.cpp | 167 std::regex reg("partition-size[[:s:]]*:[[:s:]]*([[:w:]]+)[[:s:]]*:[[:s:]]*0x([[:xdigit:]]+)"); in Partitions() local 171 if (std::regex_match(s, sm, reg)) { in Partitions()
|