Lines Matching refs:common_prefix_len
285 int common_prefix_len; in NarrowDownInput() local
289 common_prefix_len = 0; in NarrowDownInput()
291 while (common_prefix_len < prefix_limit && in NarrowDownInput()
292 input->Equals(common_prefix_len, common_prefix_len)) { in NarrowDownInput()
293 common_prefix_len++; in NarrowDownInput()
297 int suffix_limit = min(len1 - common_prefix_len, len2 - common_prefix_len); in NarrowDownInput()
306 if (common_prefix_len > 0 || common_suffix_len > 0) { in NarrowDownInput()
307 int new_len1 = len1 - common_suffix_len - common_prefix_len; in NarrowDownInput()
308 int new_len2 = len2 - common_suffix_len - common_prefix_len; in NarrowDownInput()
310 input->SetSubrange1(common_prefix_len, new_len1); in NarrowDownInput()
311 input->SetSubrange2(common_prefix_len, new_len2); in NarrowDownInput()
313 output->SetSubrange1(common_prefix_len, new_len1); in NarrowDownInput()
314 output->SetSubrange2(common_prefix_len, new_len2); in NarrowDownInput()