Lines Matching refs:pos2
65 : pos1(pos1_param), pos2(pos2_param), in DiffChunkStruct()
68 int pos2; member in __anon8fc936890111::DiffChunkStruct
82 void AddChunk(int pos1, int pos2, int len1, int len2) { in AddChunk() argument
83 current_chunk_ = new(zone_) DiffChunkStruct(pos1, pos2, len1, len2); in AddChunk()
109 int pos2 = 0; in CompareStringsOneWay() local
118 int diff_pos2 = pos2 + similar_part_length; in CompareStringsOneWay()
120 CHECK_EQ(diff_pos2, chunk->pos2); in CompareStringsOneWay()
124 CHECK(pos2 + j < len2); in CompareStringsOneWay()
125 CHECK_EQ(s1[pos1 + j], s2[pos2 + j]); in CompareStringsOneWay()
129 pos2 = diff_pos2 + chunk->len2; in CompareStringsOneWay()
134 CHECK_EQ(similar_part_length, len2 - pos2); in CompareStringsOneWay()
138 CHECK(pos2 + j < len2); in CompareStringsOneWay()
139 CHECK_EQ(s1[pos1 + j], s2[pos2 + j]); in CompareStringsOneWay()