Lines Matching refs:pos1
66 int pos1 = 0; in SaveResult() local
69 if (pos1 < len1_) { in SaveResult()
71 Direction dir = get_direction(pos1, pos2); in SaveResult()
75 pos1++; in SaveResult()
80 pos1++; in SaveResult()
91 writer.skip1(len1_ - pos1); in SaveResult()
121 int CompareUpToTail(int pos1, int pos2) { in CompareUpToTail() argument
122 if (pos1 < len1_) { in CompareUpToTail()
124 int cached_res = get_value4(pos1, pos2); in CompareUpToTail()
128 if (input_->Equals(pos1, pos2)) { in CompareUpToTail()
129 res = CompareUpToTail(pos1 + 1, pos2 + 1); in CompareUpToTail()
132 int res1 = CompareUpToTail(pos1 + 1, pos2) + in CompareUpToTail()
134 int res2 = CompareUpToTail(pos1, pos2 + 1) + in CompareUpToTail()
147 set_value4_and_dir(pos1, pos2, res, dir); in CompareUpToTail()
152 return (len1_ - pos1) << kDirectionSizeBits; in CompareUpToTail()
245 static bool CompareSubstrings(Handle<String> s1, int pos1, in CompareSubstrings() argument
248 if (s1->Get(i + pos1) != s2->Get(i + pos2)) { in CompareSubstrings()
392 void AddChunk(int pos1, int pos2, int len1, int len2) { in AddChunk() argument
393 array_writer_->WriteChunk(pos1 + offset1_, pos2 + offset2_, len1, len2); in AddChunk()