Searched refs:SHIFT_SIZE (Results 1 – 3 of 3) sorted by relevance
76 #define SHIFT_SIZE 25 /* Number of chars to shift */ macro81 #define LINE_START (rounddown(-MAX_CHARS - 1, SHIFT_SIZE) - SHIFT_SIZE)
697 int cnt = get_shift(line->shift_count) * -SHIFT_SIZE; in count_chars()779 shift = (new_x - XBREAK) / SHIFT_SIZE + 1; in move()781 shift = new_x / SHIFT_SIZE; in move()782 if (new_x % SHIFT_SIZE) in move()810 int nx = get_shift(line->shift_count) * -SHIFT_SIZE; in find_x()829 int tx = get_shift(line->shift_count) * -SHIFT_SIZE; in find_address()1019 int count = get_shift(line->shift_count) * -SHIFT_SIZE; in put_line()
747 shift = (XBREAK - count_chars(start_line)) / SHIFT_SIZE; in delete()753 nx += shift * SHIFT_SIZE;/* Reset x value */ in delete()