Lines Matching defs:input
58 static void CalculateDifference(Input* input, Output* result_writer);
67 explicit Differencer(Comparator::Input* input)
68 : input_(input), len1_(input->GetLength1()), len2_(input->GetLength2()) {
265 void Comparator::CalculateDifference(Comparator::Input* input,
267 Differencer differencer(input);
298 // Finds common prefix and suffix in input. This parts shouldn't take space in
299 // linear programming table. Enable subranging in input and output.
300 void NarrowDownInput(SubrangableInput* input, SubrangableOutput* output) {
301 const int len1 = input->GetLength1();
302 const int len2 = input->GetLength2();
311 input->Equals(common_prefix_len, common_prefix_len)) {
320 input->Equals(len1 - common_suffix_len - 1,
330 input->SetSubrange1(common_prefix_len, new_len1);
331 input->SetSubrange2(common_prefix_len, new_len2);
1214 LineArrayCompareInput input(s1, s2, line_ends1, line_ends2);
1218 NarrowDownInput(&input, &output);
1220 Comparator::CalculateDifference(&input, &output);