Lines Matching refs:pos1
49 virtual void AddChunk(int pos1, int pos2, int len1, int len2) = 0;
89 int pos1 = 0; in SaveResult() local
92 if (pos1 < len1_) { in SaveResult()
94 Direction dir = get_direction(pos1, pos2); in SaveResult()
98 pos1++; in SaveResult()
103 pos1++; in SaveResult()
114 writer.skip1(len1_ - pos1); in SaveResult()
144 int CompareUpToTail(int pos1, int pos2) { in CompareUpToTail() argument
145 if (pos1 < len1_) { in CompareUpToTail()
147 int cached_res = get_value4(pos1, pos2); in CompareUpToTail()
151 if (input_->Equals(pos1, pos2)) { in CompareUpToTail()
152 res = CompareUpToTail(pos1 + 1, pos2 + 1); in CompareUpToTail()
155 int res1 = CompareUpToTail(pos1 + 1, pos2) + in CompareUpToTail()
157 int res2 = CompareUpToTail(pos1, pos2 + 1) + in CompareUpToTail()
170 set_value4_and_dir(pos1, pos2, res, dir); in CompareUpToTail()
175 return (len1_ - pos1) << kDirectionSizeBits; in CompareUpToTail()
266 bool CompareSubstrings(Handle<String> s1, int pos1, Handle<String> s2, int pos2, in CompareSubstrings() argument
269 if (s1->Get(i + pos1) != s2->Get(i + pos2)) return false; in CompareSubstrings()
364 void AddChunk(int pos1, int pos2, int len1, int len2) override { in AddChunk() argument
366 SourceChangeRange{pos1 + offset1_, pos1 + len1 + offset1_, in AddChunk()