Home
last modified time | relevance | path

Searched refs:common_prefix_len (Results 1 – 1 of 1) sorted by relevance

/external/v8/src/
Dliveedit.cc285 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()
[all …]