Lines Matching refs:arg
46 bool DfxAccessors::GetMapByPcAndCtx(uintptr_t pc, std::shared_ptr<DfxMap>& map, void *arg)
48 if (arg == nullptr) {
51 UnwindContext* ctx = reinterpret_cast<UnwindContext *>(arg);
103 NO_SANITIZE int DfxAccessorsLocal::AccessMem(uintptr_t addr, uintptr_t *val, void *arg)
108 UnwindContext* ctx = reinterpret_cast<UnwindContext *>(arg);
117 int DfxAccessorsLocal::AccessReg(int reg, uintptr_t *val, void *arg)
119 UnwindContext* ctx = reinterpret_cast<UnwindContext *>(arg);
131 int DfxAccessorsLocal::FindUnwindTable(uintptr_t pc, UnwindTableInfo& uti, void *arg)
133 UnwindContext *ctx = reinterpret_cast<UnwindContext *>(arg);
155 int DfxAccessorsLocal::GetMapByPc(uintptr_t pc, std::shared_ptr<DfxMap>& map, void *arg)
157 if (!DfxAccessors::GetMapByPcAndCtx(pc, map, arg)) {
163 int DfxAccessorsRemote::AccessMem(uintptr_t addr, uintptr_t *val, void *arg)
171 UnwindContext *ctx = reinterpret_cast<UnwindContext *>(arg);
214 int DfxAccessorsRemote::AccessReg(int reg, uintptr_t *val, void *arg)
216 UnwindContext *ctx = reinterpret_cast<UnwindContext *>(arg);
228 int DfxAccessorsRemote::FindUnwindTable(uintptr_t pc, UnwindTableInfo& uti, void *arg)
231 UnwindContext *ctx = reinterpret_cast<UnwindContext *>(arg);
253 int DfxAccessorsRemote::GetMapByPc(uintptr_t pc, std::shared_ptr<DfxMap>& map, void *arg)
255 if (!DfxAccessors::GetMapByPcAndCtx(pc, map, arg)) {
261 int DfxAccessorsCustomize::AccessMem(uintptr_t addr, uintptr_t *val, void *arg)
266 return accessors_->AccessMem(addr, val, arg);
269 int DfxAccessorsCustomize::AccessReg(int reg, uintptr_t *val, void *arg)
274 return accessors_->AccessReg(reg, val, arg);
277 int DfxAccessorsCustomize::FindUnwindTable(uintptr_t pc, UnwindTableInfo& uti, void *arg)
282 return accessors_->FindUnwindTable(pc, uti, arg);
285 int DfxAccessorsCustomize::GetMapByPc(uintptr_t pc, std::shared_ptr<DfxMap>& map, void *arg)
290 return accessors_->GetMapByPc(pc, map, arg);