Lines Matching defs:wp_res_sp
3193 GetGDBStoppointType(const WatchpointResourceSP &wp_res_sp) {
3194 assert(wp_res_sp);
3195 bool read = wp_res_sp->WatchpointResourceRead();
3196 bool write = wp_res_sp->WatchpointResourceWrite();
3264 for (const auto &wp_res_sp : resources) {
3265 addr_t addr = wp_res_sp->GetLoadAddress();
3266 size_t size = wp_res_sp->GetByteSize();
3267 GDBStoppointType type = GetGDBStoppointType(wp_res_sp);
3274 succesfully_set_resources.push_back(wp_res_sp);
3279 for (const auto &wp_res_sp : resources) {
3282 wp_res_sp->AddConstituent(wp_sp);
3283 m_watchpoint_resource_list.Add(wp_res_sp);
3290 for (const auto &wp_res_sp : succesfully_set_resources) {
3291 addr_t addr = wp_res_sp->GetLoadAddress();
3292 size_t size = wp_res_sp->GetByteSize();
3293 GDBStoppointType type = GetGDBStoppointType(wp_res_sp);
3337 for (const auto &wp_res_sp : m_watchpoint_resource_list.Sites()) {
3338 if (wp_res_sp->ConstituentsContains(wp_sp)) {
3339 GDBStoppointType type = GetGDBStoppointType(wp_res_sp);
3340 addr_t addr = wp_res_sp->GetLoadAddress();
3341 size_t size = wp_res_sp->GetByteSize();
3346 wp_res_sp->RemoveConstituent(wp_sp);
3347 if (wp_res_sp->GetNumberOfConstituents() == 0)
3348 unused_resources.push_back(wp_res_sp);
3352 for (auto &wp_res_sp : unused_resources)
3353 m_watchpoint_resource_list.Remove(wp_res_sp->GetID());
5787 for (const auto &wp_res_sp : m_watchpoint_resource_list.Sites()) {
5788 addr_t addr = wp_res_sp->GetLoadAddress();
5789 size_t size = wp_res_sp->GetByteSize();
5790 GDBStoppointType type = GetGDBStoppointType(wp_res_sp);