Home
last modified time | relevance | path

Searched refs:SHIFT_SIZE (Results 1 – 3 of 3) sorted by relevance

/minix3/minix/usr.bin/mined/
H A Dmined.h19 #define SHIFT_SIZE 25 /* Number of chars to shift */ macro
24 #define LINE_START (((-MAX_CHARS - 1) / SHIFT_SIZE) * SHIFT_SIZE \
25 - SHIFT_SIZE)
H A Dmined1.c633 register int cnt = get_shift(line->shift_count) * -SHIFT_SIZE; in count_chars()
701 shift = (new_x - XBREAK) / SHIFT_SIZE + 1; in move()
703 shift = new_x / SHIFT_SIZE; in move()
704 if (new_x % SHIFT_SIZE) in move()
731 register int nx = get_shift(line->shift_count) * -SHIFT_SIZE; in find_x()
749 register int tx = get_shift(line->shift_count) * -SHIFT_SIZE; in find_address()
903 register int count = get_shift(line->shift_count) * -SHIFT_SIZE; in put_line()
H A Dmined2.c616 shift = (XBREAK - count_chars(start_line)) / SHIFT_SIZE; in delete()
622 nx += shift * SHIFT_SIZE;/* Reset x value */ in delete()