Lines Matching refs:table
25 static off_t *table = NULL; /* The position table */ variable
52 return (table[where]); in position()
67 table[i-1] = table[i]; in add_forw_pos()
68 table[sc_height - 1] = pos; in add_forw_pos()
83 table[i] = table[i-1]; in add_back_pos()
84 table[0] = pos; in add_back_pos()
96 table[i] = -1; in pos_clear()
113 if (table != NULL) { in pos_init()
115 free(table); in pos_init()
119 table = ecalloc(sc_height, sizeof (off_t)); in pos_init()
123 table[scrpos.ln-1] = scrpos.pos; in pos_init()
136 if (pos < table[0]) in onscreen()
139 if (pos < table[i]) in onscreen()
159 if (table[i] != -1 && table[i] != 0) in empty_lines()
182 if (table[i] != -1) { in get_scrpos()
184 scrpos->pos = table[i]; in get_scrpos()