Lines Matching refs:S2
562 Subtree S2; member in clang::diff::ZhangShashaMatcher
568 : DiffImpl(DiffImpl), S1(T1, Id1), S2(T2, Id2) { in ZhangShashaMatcher()
574 TreeDist[I] = std::make_unique<double[]>(size_t(S2.getSize()) + 1); in ZhangShashaMatcher()
575 ForestDist[I] = std::make_unique<double[]>(size_t(S2.getSize()) + 1); in ZhangShashaMatcher()
587 TreePairs.emplace_back(SNodeId(S1.getSize()), SNodeId(S2.getSize())); in getMatchingNodes()
601 FirstCol = S2.getLeftMostDescendant(LastCol); in getMatchingNodes()
615 SNodeId LMD2 = S2.getLeftMostDescendant(Col); in getMatchingNodes()
617 LMD2 == S2.getLeftMostDescendant(LastCol)) { in getMatchingNodes()
619 NodeId Id2 = S2.getIdInRoot(Col); in getMatchingNodes()
646 if (!DiffImpl.isMatchingPossible(S1.getIdInRoot(Id1), S2.getIdInRoot(Id2))) in getUpdateCost()
648 return S1.getNodeValue(Id1) != S2.getNodeValue(Id2); in getUpdateCost()
653 for (SNodeId Id2 : S2.KeyRoots) in computeTreeDist()
660 SNodeId LMD2 = S2.getLeftMostDescendant(Id2); in computeForestDist()
668 SNodeId DLMD2 = S2.getLeftMostDescendant(D2); in computeForestDist()