Lines Matching refs:common_prefix_len
297 int common_prefix_len; in NarrowDownInput() local
301 common_prefix_len = 0; in NarrowDownInput()
303 while (common_prefix_len < prefix_limit && in NarrowDownInput()
304 input->Equals(common_prefix_len, common_prefix_len)) { in NarrowDownInput()
305 common_prefix_len++; in NarrowDownInput()
310 std::min(len1 - common_prefix_len, len2 - common_prefix_len); in NarrowDownInput()
319 if (common_prefix_len > 0 || common_suffix_len > 0) { in NarrowDownInput()
320 int new_len1 = len1 - common_suffix_len - common_prefix_len; in NarrowDownInput()
321 int new_len2 = len2 - common_suffix_len - common_prefix_len; in NarrowDownInput()
323 input->SetSubrange1(common_prefix_len, new_len1); in NarrowDownInput()
324 input->SetSubrange2(common_prefix_len, new_len2); in NarrowDownInput()
326 output->SetSubrange1(common_prefix_len, new_len1); in NarrowDownInput()
327 output->SetSubrange2(common_prefix_len, new_len2); in NarrowDownInput()