Lines Matching refs:pMod
201 const JdwpEventMod* pMod = &pEvent->mods[i]; in RegisterEvent() local
202 if (pMod->modKind == MK_LOCATION_ONLY) { in RegisterEvent()
209 Dbg::WatchLocation(&pMod->locationOnly.loc, &req); in RegisterEvent()
211 } else if (pMod->modKind == MK_STEP) { in RegisterEvent()
213 JdwpStepSize size = static_cast<JdwpStepSize>(pMod->step.size); in RegisterEvent()
214 JdwpStepDepth depth = static_cast<JdwpStepDepth>(pMod->step.depth); in RegisterEvent()
215 JdwpError status = Dbg::ConfigureStep(pMod->step.threadId, size, depth); in RegisterEvent()
321 JdwpEventMod* pMod = &pEvent->mods[i]; in UnregisterEvent() local
322 if (pMod->modKind == MK_LOCATION_ONLY) { in UnregisterEvent()
325 Dbg::UnwatchLocation(&pMod->locationOnly.loc, &req); in UnregisterEvent()
328 if (pMod->modKind == MK_STEP) { in UnregisterEvent()
330 Dbg::UnconfigureStep(pMod->step.threadId); in UnregisterEvent()
491 JdwpEventMod* pMod = pEvent->mods; in ModsMatch() local
493 for (int i = pEvent->modCount; i > 0; i--, pMod++) { in ModsMatch()
494 switch (pMod->modKind) { in ModsMatch()
496 CHECK_GT(pMod->count.count, 0); in ModsMatch()
497 pMod->count.count--; in ModsMatch()
498 if (pMod->count.count > 0) { in ModsMatch()
506 if (!Dbg::MatchThread(pMod->threadOnly.threadId, basket.thread)) { in ModsMatch()
511 if (!Dbg::MatchType(basket.locationClass.Get(), pMod->classOnly.refTypeId)) { in ModsMatch()
516 if (!PatternMatch(pMod->classMatch.classPattern, basket.className)) { in ModsMatch()
521 if (PatternMatch(pMod->classMatch.classPattern, basket.className)) { in ModsMatch()
526 if (!Dbg::MatchLocation(pMod->locationOnly.loc, *basket.pLoc)) { in ModsMatch()
531 if (pMod->exceptionOnly.refTypeId != 0 && in ModsMatch()
532 !Dbg::MatchType(basket.exceptionClass.Get(), pMod->exceptionOnly.refTypeId)) { in ModsMatch()
535 if ((basket.caught && !pMod->exceptionOnly.caught) || in ModsMatch()
536 (!basket.caught && !pMod->exceptionOnly.uncaught)) { in ModsMatch()
541 if (!Dbg::MatchField(pMod->fieldOnly.refTypeId, pMod->fieldOnly.fieldId, basket.field)) { in ModsMatch()
546 if (!Dbg::MatchThread(pMod->step.threadId, basket.thread)) { in ModsMatch()
551 if (!Dbg::MatchInstance(pMod->instanceOnly.objectId, basket.thisPtr.Get())) { in ModsMatch()
556 LOG(FATAL) << "unknown mod kind " << pMod->modKind; in ModsMatch()