Home
last modified time | relevance | path

Searched refs:POSITION (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/contrib/less/
H A Dinput.c27 extern POSITION start_attnpos;
28 extern POSITION end_attnpos;
43 static void init_status_col(POSITION base_pos, POSITION disp_pos, POSITION edisp_pos, POSITION eol_… in init_status_col()
83 public POSITION forw_line_seg(POSITION curr_pos, lbool skipeol, lbool rscroll, lbool nochop, lbool … in forw_line_seg()
85 POSITION base_pos; in forw_line_seg()
86 POSITION new_pos; in forw_line_seg()
87 POSITION edisp_pos; in forw_line_seg()
93 POSITION wrap_pos; in forw_line_seg()
346 public POSITION forw_line(POSITION curr_pos, POSITION *p_linepos, lbool *p_newline) in forw_line()
358 public POSITION back_line(POSITION curr_pos, POSITION *p_linepos, lbool *p_newline) in back_line()
[all …]
H A Dfuncs.h60 public int ch_seek(POSITION pos);
64 public POSITION ch_length(void);
66 public POSITION ch_tell(void);
184 public POSITION filesize(int f);
193 public void forw(int n, POSITION pos, lbool force, lbool only_last, lbool to_newline, lbool do_stop…
194 public void back(int n, POSITION pos, lbool force, lbool only_last, lbool to_newline, lbool do_stop…
221 public POSITION forw_line_seg(POSITION curr_pos, lbool skipeol, lbool rscroll, lbool nochop, lbool …
222 public POSITION forw_line(POSITION curr_pos, POSITION *p_linepos, lbool *p_newline);
223 public POSITION back_line(POSITION curr_pos, POSITION *p_linepos, lbool *p_newline);
224 public void set_attnpos(POSITION pos);
[all …]
H A Dposition.c24 static POSITION *table = NULL; /* The position table */
40 public POSITION position(int sindex) in position()
63 public void add_forw_pos(POSITION pos, lbool no_scroll) in add_forw_pos()
81 public void add_back_pos(POSITION pos) in add_back_pos()
123 table = (POSITION *) ecalloc((size_t) sc_height, sizeof(POSITION)); /*{{type-issue}}*/ in pos_init()
135 public int onscreen(POSITION pos) in onscreen()
173 public void get_scrpos_pos(struct scrpos *scrpos, int where, POSITION pos) in get_scrpos_pos()
271 static int pos_shift(POSITION linepos, size_t choff) in pos_shift()
275 POSITION pos; in pos_shift()
294 public POSITION beginning_of_line(POSITION tpos) in beginning_of_line()
[all …]
H A Djump.c26 extern POSITION header_start_pos;
27 extern POSITION soft_eof;
34 POSITION pos; in jump_forw()
35 POSITION end_pos; in jump_forw()
36 POSITION bot_pos; in jump_forw()
78 POSITION end; in jump_forw_buffered()
95 POSITION pos; in jump_back()
145 POSITION pos, len; in jump_percent()
173 public void jump_line_loc(POSITION pos, int sline) in jump_line_loc()
215 public POSITION after_header_pos(POSITION pos) in after_header_pos()
[all …]
H A Dsearch.c35 extern POSITION start_attnpos;
36 extern POSITION end_attnpos;
52 static POSITION prep_startpos;
53 static POSITION prep_endpos;
54 public POSITION header_start_pos = NULL_POSITION;
55 static POSITION header_end_pos;
57 public POSITION search_incr_start = NULL_POSITION;
59 public POSITION osc8_linepos = NULL_POSITION;
60 static POSITION osc8_match_start = NULL_POSITION;
61 static POSITION osc8_match_end = NULL_POSITION;
[all …]
H A Dforwback.c28 public POSITION soft_eof = NULL_POSITION;
45 extern POSITION header_start_pos;
80 POSITION pos; in eof_displayed()
106 POSITION pos; in entire_file_displayed()
135 static POSITION forw_line_pfx(POSITION pos, int pfx, int skipeol) in forw_line_pfx()
175 POSITION pos = header_start_pos; in overlay_header()
189 POSITION pos = header_start_pos; in overlay_header()
222 public void forw(int n, POSITION pos, lbool force, lbool only_last, lbool to_newline, lbool do_stop… in forw()
284 POSITION linepos = NULL_POSITION; in forw()
303 POSITION opos = pos; in forw()
[all …]
H A Dlinenum.c45 POSITION pos; /* File position */
46 POSITION gap; /* Gap between prev and next */
71 extern POSITION header_start_pos;
96 anchor.pos = (POSITION)0; in clr_linenum()
121 public void add_lnum(LINENUM linenum, POSITION pos) in add_lnum()
127 POSITION mingap; in add_lnum()
271 public LINENUM find_linenum(POSITION pos) in find_linenum()
275 POSITION cpos; in find_linenum()
380 public POSITION find_pos(LINENUM linenum) in find_pos()
383 POSITION cpos; in find_pos()
[all …]
H A Dline.c64 public POSITION highest_hilite; /* Pos of last hilite in file found so far */
65 static POSITION line_pos;
66 static POSITION line_contig_pos = NULL_POSITION; /* One after last byte processed */
75 static POSITION pendpos;
87 static int do_append(LWCHAR ch, constant char *rep, POSITION pos);
88 static void resend_last_ansi(POSITION pos);
108 extern POSITION start_attnpos;
109 extern POSITION end_attnpos;
118 static POSITION mbc_pos;
258 public POSITION line_position(void) in line_position()
[all …]
H A Dch.c23 typedef POSITION BLOCKNUM;
58 POSITION fpos;
62 POSITION fsize;
140 static POSITION ch_position(BLOCKNUM block, size_t offset) in ch_position()
142 return (block * LBUFSIZE) + (POSITION) offset; in ch_position()
226 POSITION len; in ch_get()
227 POSITION pos = ch_position(ch_block, bp->datasize); in ch_get()
505 public int ch_seek(POSITION pos) in ch_seek()
508 POSITION len; in ch_seek()
544 POSITION len; in ch_end_seek()
[all …]
H A Dlsystem.c253 static int pipe_data(constant char *cmd, POSITION spos, POSITION epos) in pipe_data()
348 public int pipe_pos(constant char *cmd, POSITION mpos1, POSITION mpos2) in pipe_pos()
350 POSITION tpos, bpos; in pipe_pos()
H A Dprompt.c35 extern POSITION osc8_linepos;
150 static void ap_pos(POSITION pos) in ap_pos()
191 static POSITION curr_byte(int where) in curr_byte()
193 POSITION pos; in curr_byte()
211 POSITION len; in cond()
282 POSITION pos; in protochar()
283 POSITION len; in protochar()
H A Dmark.c53 static void cmark(struct mark *m, IFILE ifile, POSITION pos, int ln) in cmark()
164 POSITION pos; in getmark()
247 POSITION pos; in setmark()
366 public POSITION markpos(char c) in markpos()
385 public char posmark(POSITION pos) in posmark()
439 static void cmarkf(struct mark *m, IFILE ifile, POSITION pos, int ln, constant char *filename) in cmarkf()
493 POSITION pos; in restore_mark()
H A Dtags.c51 static POSITION ctagsearch(void);
52 static POSITION gtagsearch(void);
195 public POSITION tagsearch(void) in tagsearch()
385 static int curtag_match(char constant *line, POSITION linepos) in curtag_match()
413 static POSITION ctagsearch(void) in ctagsearch()
415 POSITION pos, linepos; in ctagsearch()
682 static POSITION gtagsearch(void) in gtagsearch()
H A Dos.c508 public int percentage(POSITION num, POSITION den) in percentage()
519 public POSITION percent_pos(POSITION pos, int percent, long fraction) in percent_pos()
525 POSITION pctden = (percent * NUM_FRAC_DENOM) + fraction; in percent_pos()
527 return (POSITION) muldiv(pos, pctden, 100 * NUM_FRAC_DENOM); in percent_pos()
H A Dless.h230 typedef less_off_t POSITION; typedef
238 #define NULL_POSITION ((POSITION)(-1))
311 POSITION pos;
626 #define ch_zero() ((POSITION)0)
692 void postoa(POSITION, char*, int);
696 POSITION lstrtopos(char*, char**, int);
699 POSITION lstrtoposc(constant char*, constant char**, int);
H A Dcommand.c43 extern POSITION highest_hilite;
58 extern POSITION soft_eof;
59 extern POSITION search_incr_start;
92 static POSITION toppos;
93 static POSITION bottompos;
106 static POSITION pipe_pos1;
107 static POSITION pipe_pos2;
1364 POSITION prev_hilite; in forw_loop()
1445 static POSITION get_pipe_pos(constant char *mark_msg, constant char *line_msg, mutable char *mark_c… in get_pipe_pos()
1478 POSITION pos; in get_pipe_pos()
[all …]
H A Dfilename.c549 static POSITION seek_filesize(int f) in seek_filesize()
556 return ((POSITION) spos); in seek_filesize()
1133 public POSITION filesize(int f) in filesize()
1142 return ((POSITION) statbuf.st_size); in filesize()
1150 return ((POSITION) size); in filesize()
1166 POSITION curr_pos = ch_tell(); in curr_ifile_changed()
H A Dbrac.c30 POSITION pos; in match_brac()
H A Doptfunc.c79 extern POSITION header_start_pos;
354 POSITION pos; in opt_t()
1222 static lbool parse_header(constant char *s, int *lines, int *cols, POSITION *start_pos) in parse_header()
1260 POSITION start_pos = (type == INIT) ? ch_zero() : position(TOP); in opt_header()
H A Dmain.c36 public POSITION start_attnpos = NULL_POSITION;
37 public POSITION end_attnpos = NULL_POSITION;
H A Doutput.c566 TYPE_TO_A_FUNC(postoa, POSITION) in TYPE_TO_A_FUNC() argument
596 STR_TO_TYPE_FUNC(lstrtopos, lstrtoposc, POSITION)
H A Dedit.c39 extern POSITION soft_eof;
244 POSITION pos = ch_zero(); in check_modelines()
H A Ddecode.c1346 POSITION len; in lesskey()
/freebsd/contrib/netbsd-tests/lib/libc/regex/data/att/
H A Dcategorization.dat3 ?E aa* xaxaax (1,2) POSITION=leftmost
4 ; POSITION=bug
/freebsd/contrib/expat/lib/
H A Dxmltok.h150 } POSITION;
184 POSITION *);
154 } POSITION; global() typedef

12