Home
last modified time | relevance | path

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

/external/toybox/toys/posix/
Dps.c1462 int i, lines, topoff = 0, done = 0; in top_common() local
1663 for (i = 0; i<lines && i+topoff<mix.count; i++) { in top_common()
1665 int bold = !FLAG(b) && mix.tb[i+topoff]->state == 'R'; in top_common()
1669 show_ps(mix.tb[i+topoff]); in top_common()
1713 if (i == KEY_UP) topoff--; in top_common()
1714 else if (i == KEY_DOWN) topoff++; in top_common()
1715 else if (i == KEY_PGDN) topoff += lines; in top_common()
1716 else if (i == KEY_PGUP) topoff -= lines; in top_common()
1717 if (topoff<0) topoff = 0; in top_common()
1718 if (topoff>mix.count) topoff = mix.count; in top_common()