Home
last modified time | relevance | path

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

12

/src/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, POSITI… 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, lbool *p_newline) in back_line()
[all …]
H A Dfuncs.h57 public int ch_seek(POSITION pos);
61 public POSITION ch_length(void);
63 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, POSITI…
222 public POSITION forw_line(POSITION curr_pos, POSITION *p_linepos, lbool *p_newline);
223 public POSITION back_line(POSITION curr_pos, 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()
253 static int pos_shift(POSITION linepos, size_t choff) in pos_shift()
257 POSITION pos; in pos_shift()
276 static POSITION beginning_of_line(POSITION tpos) in beginning_of_line()
299 POSITION linepos; in pos_rehead()
[all …]
H A Djump.c23 extern POSITION header_start_pos;
30 POSITION pos; in jump_forw()
31 POSITION end_pos; in jump_forw()
72 POSITION end; in jump_forw_buffered()
89 POSITION pos; in jump_back()
139 POSITION pos, len; in jump_percent()
167 public void jump_line_loc(POSITION pos, int sline) in jump_line_loc()
209 public POSITION after_header_pos(POSITION pos) in after_header_pos()
224 public void jump_loc(POSITION pos, int sline) in jump_loc()
228 POSITION tpos; in jump_loc()
[all …]
H A Dsearch.c33 extern POSITION start_attnpos;
34 extern POSITION end_attnpos;
50 static POSITION prep_startpos;
51 static POSITION prep_endpos;
52 public POSITION header_start_pos = NULL_POSITION;
53 static POSITION header_end_pos;
55 public POSITION search_incr_start = NULL_POSITION;
57 public POSITION osc8_linepos = NULL_POSITION;
58 public POSITION osc8_match_start = NULL_POSITION;
59 public POSITION osc8_match_end = NULL_POSITION;
[all …]
H A Dforwback.c28 public POSITION soft_eof = NULL_POSITION;
44 extern POSITION header_start_pos;
79 POSITION pos; in eof_displayed()
105 POSITION pos; in entire_file_displayed()
134 static POSITION forw_line_pfx(POSITION pos, int pfx, int skipeol) in forw_line_pfx()
174 POSITION pos = header_start_pos; in overlay_header()
188 POSITION pos = header_start_pos; in overlay_header()
221 public void forw(int n, POSITION pos, lbool force, lbool only_last, lbool to_newline, lbool do_stop… in forw()
280 POSITION linepos = NULL_POSITION; in forw()
299 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.c65 public POSITION highest_hilite; /* Pos of last hilite in file found so far */
66 static POSITION line_pos;
67 static POSITION line_contig_pos = NULL_POSITION; /* One after last byte processed */
76 static POSITION pendpos;
87 static int do_append(LWCHAR ch, constant char *rep, POSITION pos);
107 extern POSITION start_attnpos;
108 extern POSITION end_attnpos;
117 static POSITION mbc_pos;
254 public POSITION line_position(void) in line_position()
262 public lbool is_line_contig_pos(POSITION pos) in is_line_contig_pos()
[all …]
H A Dch.c23 typedef POSITION BLOCKNUM;
57 POSITION fpos;
61 POSITION fsize;
139 static POSITION ch_position(BLOCKNUM block, size_t offset) in ch_position()
141 return (block * LBUFSIZE) + (POSITION) offset; in ch_position()
225 POSITION len; in ch_get()
226 POSITION pos = ch_position(ch_block, bp->datasize); in ch_get()
487 public int ch_seek(POSITION pos) in ch_seek()
490 POSITION len; in ch_seek()
526 POSITION len; in ch_end_seek()
[all …]
H A Dprompt.c148 static void ap_pos(POSITION pos) in ap_pos()
189 static POSITION curr_byte(int where) in curr_byte()
191 POSITION pos; in curr_byte()
209 POSITION len; in cond()
274 POSITION pos; in protochar()
275 POSITION len; in protochar()
H A Dtags.c51 static POSITION ctagsearch(void);
52 static POSITION gtagsearch(void);
195 public POSITION tagsearch(void) in tagsearch()
379 static int curtag_match(char constant *line, POSITION linepos) in curtag_match()
407 static POSITION ctagsearch(void) in ctagsearch()
409 POSITION pos, linepos; in ctagsearch()
676 static POSITION gtagsearch(void) in gtagsearch()
H A Dless.h229 typedef less_off_t POSITION; typedef
237 #define NULL_POSITION ((POSITION)(-1))
310 POSITION pos;
614 #define ch_zero() ((POSITION)0)
668 void postoa(POSITION, char*, int);
672 POSITION lstrtopos(char*, char**, int);
675 POSITION lstrtoposc(constant char*, constant char**, int);
H A Dos.c519 public int percentage(POSITION num, POSITION den) in percentage()
530 public POSITION percent_pos(POSITION pos, int percent, long fraction) in percent_pos()
536 POSITION pctden = (percent * NUM_FRAC_DENOM) + fraction; in percent_pos()
538 return (POSITION) muldiv(pos, pctden, 100 * NUM_FRAC_DENOM); in percent_pos()
H A Dmark.c53 static void cmark(struct mark *m, IFILE ifile, POSITION pos, int ln) in cmark()
329 public POSITION markpos(char c) in markpos()
348 public char posmark(POSITION pos) in posmark()
402 static void cmarkf(struct mark *m, IFILE ifile, POSITION pos, int ln, constant char *filename) in cmarkf()
456 POSITION pos; in restore_mark()
H A Dlsystem.c252 POSITION mpos, tpos, bpos; in pipe_mark()
281 public int pipe_data(constant char *cmd, POSITION spos, POSITION epos) in pipe_data()
H A Dfilename.c516 static POSITION seek_filesize(int f) in seek_filesize()
523 return ((POSITION) spos); in seek_filesize()
1081 public POSITION filesize(int f) in filesize()
1087 return ((POSITION) statbuf.st_size); in filesize()
1093 return ((POSITION) size); in filesize()
1108 POSITION curr_pos = ch_tell(); in curr_ifile_changed()
H A Dcommand.c42 extern POSITION highest_hilite;
55 extern POSITION soft_eof;
56 extern POSITION search_incr_start;
88 static POSITION bottompos;
1313 POSITION prev_hilite; in forw_loop()
1789 jump_line_loc((POSITION) number, jump_sline); in commands()
2095 POSITION pos = tagsearch(); in commands()
2120 POSITION pos = tagsearch(); in commands()
H A Dbrac.c30 POSITION pos; in match_brac()
H A Doptfunc.c74 extern POSITION header_start_pos;
348 POSITION pos; in opt_t()
1072 static lbool parse_header(constant char *s, int *lines, int *cols, POSITION *start_pos) in parse_header()
1110 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.c547 TYPE_TO_A_FUNC(postoa, POSITION) in TYPE_TO_A_FUNC() argument
577 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.c1074 POSITION len; in lesskey()
/src/contrib/netbsd-tests/lib/libc/regex/data/att/
H A Dcategorization.dat3 ?E aa* xaxaax (1,2) POSITION=leftmost
4 ; POSITION=bug
/src/contrib/expat/lib/
H A Dxmltok.h150 } POSITION; typedef
185 const char *end, POSITION *);

12