Searched refs:scrpos (Results 1 – 10 of 10) sorted by relevance
| /freebsd-head/contrib/less/ |
| HD | position.c | 102 struct scrpos scrpos; in pos_init() local 112 get_scrpos(&scrpos, TOP); in pos_init() 115 scrpos.pos = NULL_POSITION; in pos_init() 119 if (scrpos.pos != NULL_POSITION) in pos_init() 120 table[scrpos.ln-1] = scrpos.pos; in pos_init() 166 public void get_scrpos(struct scrpos *scrpos, int where) in get_scrpos() argument 183 scrpos->pos = NULL_POSITION; in get_scrpos() 198 scrpos->ln = i+1; in get_scrpos() 199 scrpos->pos = table[i]; in get_scrpos() 207 scrpos->pos = NULL_POSITION; in get_scrpos()
|
| HD | mark.c | 33 struct scrpos m_scrpos; /* Position of the mark */ 199 struct scrpos scrpos; in setmark() local 204 get_scrpos(&scrpos, where); in setmark() 205 if (scrpos.pos == NULL_POSITION) in setmark() 210 cmark(m, curr_ifile, scrpos.pos, scrpos.ln); in setmark() 238 struct scrpos scrpos; in lastmark() local 242 get_scrpos(&scrpos, TOP); in lastmark() 243 if (scrpos.pos == NULL_POSITION) in lastmark() 245 cmark(&marks[LASTMARK], curr_ifile, scrpos.pos, scrpos.ln); in lastmark() 255 struct scrpos scrpos; in gomark() local [all …]
|
| HD | jump.c | 120 struct scrpos scrpos; in repaint() local 125 get_scrpos(&scrpos, TOP); in repaint() 127 if (scrpos.pos == NULL_POSITION) in repaint() 131 jump_loc(scrpos.pos, scrpos.ln); in repaint()
|
| HD | ifile.c | 35 struct scrpos h_scrpos; /* Saved position within the file */ 272 public void store_pos(IFILE ifile, struct scrpos *scrpos) in store_pos() argument 274 int_ifile(ifile)->h_scrpos = *scrpos; in store_pos() 281 public void get_pos(IFILE ifile, struct scrpos *scrpos) in get_pos() argument 283 *scrpos = int_ifile(ifile)->h_scrpos; in get_pos()
|
| HD | edit.c | 37 extern struct scrpos initial_scrpos; 353 struct scrpos scrpos; in close_file() local 363 get_scrpos(&scrpos, TOP); in close_file() 364 if (scrpos.pos != NULL_POSITION) in close_file() 366 store_pos(curr_ifile, &scrpos); in close_file()
|
| HD | funcs.h | 193 public void store_pos(IFILE ifile, struct scrpos *scrpos); 194 public void get_pos(IFILE ifile, struct scrpos *scrpos); 369 public void get_scrpos(struct scrpos *scrpos, int where);
|
| HD | search.c | 1079 struct scrpos scrpos; in hilite_screen() local 1081 get_scrpos(&scrpos, TOP); in hilite_screen() 1082 if (scrpos.pos == NULL_POSITION) in hilite_screen() 1084 prep_hilite(scrpos.pos, position(BOTTOM_PLUS_ONE), -1); in hilite_screen()
|
| HD | main.c | 36 public struct scrpos initial_scrpos;
|
| HD | less.h | 317 struct scrpos struct
|
| HD | command.c | 45 extern struct scrpos initial_scrpos;
|