Lines Matching refs:pos1
454 function DiffChunk(pos1, pos2, len1, len2) { argument
455 this.pos1 = pos1;
481 if (array.length == 0 || pos < array[0].pos1) {
489 if (pos < array[middle_index + 1].pos1) {
496 if (pos >= chunk.pos1 + chunk.len1) {
497 return pos + chunk.pos2 + chunk.len2 - chunk.pos1 - chunk.len1;
514 return pos - diff_chunk.pos1 + diff_chunk.pos2;
600 pos_diff = chunk.pos2 + chunk.len2 - (chunk.pos1 + chunk.len1);
618 chunk_it.current().pos1 < info_node.info.end_position) {
622 if (child.info.end_position <= chunk_it.current().pos1) {
627 chunk_it.current().pos1 + chunk_it.current().len1) {
631 } else if (child.info.start_position <= chunk_it.current().pos1 &&
632 child.info.end_position >= chunk_it.current().pos1 +
650 if (chunk_it.current().pos1 + chunk_it.current().len1 <=