Lines Matching refs:S1
561 Subtree S1; member in clang::diff::ZhangShashaMatcher
568 : DiffImpl(DiffImpl), S1(T1, Id1), S2(T2, Id2) { in ZhangShashaMatcher()
570 size_t(S1.getSize()) + 1); in ZhangShashaMatcher()
572 size_t(S1.getSize()) + 1); in ZhangShashaMatcher()
573 for (int I = 0, E = S1.getSize() + 1; I < E; ++I) { in ZhangShashaMatcher()
587 TreePairs.emplace_back(SNodeId(S1.getSize()), SNodeId(S2.getSize())); in getMatchingNodes()
600 FirstRow = S1.getLeftMostDescendant(LastRow); in getMatchingNodes()
614 SNodeId LMD1 = S1.getLeftMostDescendant(Row); in getMatchingNodes()
616 if (LMD1 == S1.getLeftMostDescendant(LastRow) && in getMatchingNodes()
618 NodeId Id1 = S1.getIdInRoot(Row); in getMatchingNodes()
646 if (!DiffImpl.isMatchingPossible(S1.getIdInRoot(Id1), S2.getIdInRoot(Id2))) in getUpdateCost()
648 return S1.getNodeValue(Id1) != S2.getNodeValue(Id2); in getUpdateCost()
652 for (SNodeId Id1 : S1.KeyRoots) in computeTreeDist()
659 SNodeId LMD1 = S1.getLeftMostDescendant(Id1); in computeForestDist()
667 SNodeId DLMD1 = S1.getLeftMostDescendant(D1); in computeForestDist()