Lines Matching refs:Control
70 enum class DiffType { Control, ChangeFirst, ChangeMiddle, ChangeLast };
72 static constexpr const char* Names[] = {"Control", "ChangeFirst",
80 case DiffType::Control:
98 case DiffType::Control:
116 case DiffType::Control:
128 DiffType D = DiffType::Control) {
142 DiffType D = DiffType::Control,
161 makeString(Length(), DiffType::Control, Opaque()));
367 constexpr auto D = DiffType::Control;
426 // We only care about control when the lengths differ.
427 if (LHLength() != RHLength() && DiffType() != ::DiffType::Control)
429 // For empty, only control matters.
430 if (LHLength() == Length::Empty && DiffType() != ::DiffType::Control)
468 if (LHLength() != RHLength() && DiffType() != ::DiffType::Control)
558 const auto Control = makeString(L);
561 if (Control[Pos] != Exp[Pos]) {
562 Exp[Pos] = Control[Pos];
563 if (Control == Exp)
571 Verify(makeString(L, DiffType::ChangeMiddle), Control.size() / 2);
572 Verify(makeString(L, DiffType::ChangeLast), Control.size() - 1);