Lines Matching refs:S2
561 Subtree S2; member in clang::diff::ZhangShashaMatcher
567 : DiffImpl(DiffImpl), S1(T1, Id1), S2(T2, Id2) { in ZhangShashaMatcher()
573 TreeDist[I] = std::make_unique<double[]>(size_t(S2.getSize()) + 1); in ZhangShashaMatcher()
574 ForestDist[I] = std::make_unique<double[]>(size_t(S2.getSize()) + 1); in ZhangShashaMatcher()
586 TreePairs.emplace_back(SNodeId(S1.getSize()), SNodeId(S2.getSize())); in getMatchingNodes()
600 FirstCol = S2.getLeftMostDescendant(LastCol); in getMatchingNodes()
614 SNodeId LMD2 = S2.getLeftMostDescendant(Col); in getMatchingNodes()
616 LMD2 == S2.getLeftMostDescendant(LastCol)) { in getMatchingNodes()
618 NodeId Id2 = S2.getIdInRoot(Col); in getMatchingNodes()
645 if (!DiffImpl.isMatchingPossible(S1.getIdInRoot(Id1), S2.getIdInRoot(Id2))) in getUpdateCost()
647 return S1.getNodeValue(Id1) != S2.getNodeValue(Id2); in getUpdateCost()
652 for (SNodeId Id2 : S2.KeyRoots) in computeTreeDist()
659 SNodeId LMD2 = S2.getLeftMostDescendant(Id2); in computeForestDist()
667 SNodeId DLMD2 = S2.getLeftMostDescendant(D2); in computeForestDist()