Lines Matching defs:posp
267 up(int *posp, int *scrollp)269 if (*posp > 0) {270 (*posp)--;273 if (*posp < *scrollp) {274 *scrollp = *posp;284 down(int *posp, int *scrollp, int max, int visible)286 if (max > 0 && *posp < max - 1) {287 (*posp)++;290 if (*posp > *scrollp + visible - 1) {291 *scrollp = *posp - visible + 1;