Searched defs:common_prefix (Results 1 - 1 of 1) sorted by relevance

/external/chromium_org/extensions/common/matcher/
H A Dsubstring_set_matcher.cc43 uint32 common_prefix = 0; local
44 while (common_prefix < prefix_bound &&
45 last_pattern[common_prefix] == current_pattern[common_prefix])
46 ++common_prefix;
47 result += current_pattern.size() - common_prefix;

Completed in 94 milliseconds