Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitruby/PrettyPatch/
Ddiff.rb138 def add_matching_words_left(match_in_old, match_in_new, match_size, start_in_old, start_in_new) argument
140 match_in_new > start_in_new and
141 @old_words[match_in_old - 1] == @new_words[match_in_new - 1]
143 match_in_new -= 1
146 [match_in_old, match_in_new, match_size]
149 def add_matching_words_right(match_in_old, match_in_new, match_size, end_in_old, end_in_new) argument
151 match_in_new + match_size < end_in_new and
152 @old_words[match_in_old + match_size] == @new_words[match_in_new + match_size]
155 [match_in_old, match_in_new, match_size]