Lines Matching refs:pos1
65 : pos1(pos1_param), pos2(pos2_param), in DiffChunkStruct()
67 int pos1; 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()
108 int pos1 = 0; in CompareStringsOneWay() local
116 int diff_pos1 = chunk->pos1; in CompareStringsOneWay()
117 int similar_part_length = diff_pos1 - pos1; in CompareStringsOneWay()
123 CHECK(pos1 + j < len1); in CompareStringsOneWay()
125 CHECK_EQ(s1[pos1 + j], s2[pos2 + j]); in CompareStringsOneWay()
128 pos1 = diff_pos1 + chunk->len1; in CompareStringsOneWay()
133 int similar_part_length = len1 - pos1; in CompareStringsOneWay()
137 CHECK(pos1 + j < len1); in CompareStringsOneWay()
139 CHECK_EQ(s1[pos1 + j], s2[pos2 + j]); in CompareStringsOneWay()