HomeSort by: relevance | last modified time | path
    Searched refs:POSITION (Results 1 - 25 of 37) sorted by relevancy

1 2

  /src/external/bsd/less/dist/
input.c 31 extern POSITION start_attnpos;
32 extern POSITION end_attnpos;
41 * base Position of first char in line.
48 static void init_status_col(POSITION base_pos, POSITION disp_pos, POSITION edisp_pos, POSITION eol_pos)
80 * A "current" position is passed and a "new" position is returned.
81 * The current position is the position of the first character o
    [all...]
position.c 1 /* $NetBSD: position.c,v 1.6 2023/10/06 07:33:49 simonb Exp $ */
14 * Routines dealing with the "position" table.
15 * This is a table which tells the position (in the input file) of the
18 * {{ The position table is scrolled by moving all the entries.
24 #include "position.h"
26 static POSITION *table = NULL; /* The position table */
33 * Return the starting file position of a line displayed on the screen.
41 public POSITION position(int sindex function
    [all...]
jump.c 18 #include "position.h"
32 POSITION pos;
33 POSITION end_pos;
41 if (position(sc_height-1) == end_pos)
48 * because the position table has been cleared by pos_clear below.
53 * Position the last line in the file at the last screen line.
64 if (position(sc_height-1) != end_pos)
74 POSITION end;
91 POSITION pos;
95 * Find the position of the specified line
    [all...]
funcs.h 48 public int ch_seek(POSITION pos);
52 public POSITION ch_length(void);
53 public POSITION ch_tell(void);
152 public POSITION filesize(int f);
161 public void forw(int n, POSITION pos, int force, int only_last, int nblank);
162 public void back(int n, POSITION pos, int force, int only_last);
189 public POSITION forw_line_seg(POSITION curr_pos, int skipeol, int rscroll, int nochop);
190 public POSITION forw_line(POSITION curr_pos)
    [all...]
linenum.c 16 * Finding the line number of a given file position is rather tricky.
32 * position in the file. As a side effect, it calls add_lnum
40 * Structure to keep track of a line number and the associated file position.
47 POSITION pos; /* File position */
48 POSITION gap; /* Gap between prev and next */
54 * ("Distance" means difference in file position.) In other words, the
100 anchor.pos = (POSITION)0;
122 * The specified position (pos) should be the file position of th
    [all...]
search.c 18 #include "position.h"
36 extern POSITION start_attnpos;
37 extern POSITION end_attnpos;
52 static POSITION prep_startpos;
53 static POSITION prep_endpos;
54 extern POSITION xxpos;
74 POSITION hl_startpos;
75 POSITION hl_endpos;
250 POSITION pos;
273 pos = position(sindex)
    [all...]
forwback.c 19 #include "position.h"
75 POSITION pos;
92 pos = position(BOTTOM_PLUS_ONE);
101 POSITION pos;
108 pos = position(0);
130 static POSITION forw_line_pfx(POSITION pos, int pfx, int skipeol)
154 if (ln+1 == header_lines && position(0) != ch_zero())
164 POSITION pos = ch_zero(); /* header lines are at beginning of file */
189 pos = position(ln)
    [all...]
os.c 417 * {{ Assumes a POSITION is a long int. }}
419 public int percentage(POSITION num, POSITION den)
421 return (int) muldiv(num, (POSITION) 100, den);
425 * Return the specified percentage of a POSITION.
430 public POSITION percent_pos(POSITION pos, int percent, long fraction)
436 POSITION pctden = (percent * NUM_FRAC_DENOM) + fraction;
438 return (POSITION) muldiv(pos, pctden, 100 * (POSITION) NUM_FRAC_DENOM)
    [all...]
line.c 20 #include "position.h"
65 public POSITION highest_hilite; /* Pos of last hilite in file found so far */
66 static POSITION line_pos;
75 static POSITION pendpos;
82 static int do_append(LWCHAR ch, char *rep, POSITION pos);
103 extern POSITION start_attnpos;
104 extern POSITION end_attnpos;
113 static POSITION mbc_pos;
223 public POSITION line_position(void)
320 public void plinestart(POSITION pos
    [all...]
brac.c 18 #include "position.h"
32 POSITION pos;
40 pos = position((forwdir) ? TOP : BOTTOM);
66 * Position the file just "after" the open bracket
prompt.c 23 #include "position.h"
109 * Append a POSITION (as a decimal integer) to the end of the message.
111 static void ap_pos(POSITION pos)
152 static POSITION curr_byte(int where)
154 POSITION pos;
156 pos = position(where);
158 pos = position(++where);
172 POSITION len;
236 POSITION pos;
237 POSITION len
    [all...]
ch.c 32 typedef POSITION BLOCKNUM;
66 POSITION fpos;
70 POSITION fsize;
157 POSITION pos;
158 POSITION len;
238 * Not at the correct position: must seek.
458 * Seek to a specified position in the file.
461 public int ch_seek(POSITION pos)
464 POSITION len;
500 POSITION len
    [all...]
lsystem.c 20 #include "position.h"
244 * position and the position marked by the given letter.
255 POSITION mpos, tpos, bpos;
258 * mpos = the marked position.
265 tpos = position(TOP);
268 bpos = position(BOTTOM);
284 public int pipe_data(char *cmd, POSITION spos, POSITION epos)
297 error("Cannot seek to start position", NULL_PARG)
    [all...]
mark.c 14 #include "position.h"
22 * A mark is an ifile (input file) plus a position within the file.
35 struct scrpos m_scrpos; /* Position of the mark */
54 static void cmark(struct mark *m, IFILE ifile, POSITION pos, int ln)
158 * Current position in the current file.
289 * Return the position associated with a given mark letter.
291 * We don't return which screen line the position
295 public POSITION markpos(LWCHAR c)
312 * Return the mark associated with a given position, if any.
314 public char posmark(POSITION pos
    [all...]
tags.c 53 static POSITION ctagsearch(void);
54 static POSITION gtagsearch(void);
197 public POSITION tagsearch(void)
380 static int curtag_match(char constant *line, POSITION linepos)
408 static POSITION ctagsearch(void)
410 POSITION pos, linepos;
430 * starting position of that line in linepos.
448 * remember the information we have now (the position
615 * by findgtag(). The next call to gtagsearch() will try to position at the
644 * setup by findgtat(). The next call to gtagsearch() will try to position
    [all...]
less.h 241 typedef off_t POSITION;
249 #define NULL_POSITION ((POSITION)(-1))
318 * The structure used to represent a "screen position".
319 * This consists of a file position, and a screen line number.
321 * position is displayed on the ln-th line of the screen.
326 POSITION pos;
390 #define SRCH_FORW (1 << 0) /* Search forward from current position */
391 #define SRCH_BACK (1 << 1) /* Search backward from current position */
590 #define ch_zero() ((POSITION)0)
629 void postoa(POSITION, char*, int)
    [all...]
filename.c 492 static POSITION seek_filesize(int f)
499 return ((POSITION) spos);
1061 public POSITION filesize(int f)
1067 return ((POSITION) statbuf.st_size);
1073 return ((POSITION) size);
1088 POSITION curr_pos = ch_tell();
command.c 21 #include "position.h"
45 extern POSITION highest_hilite;
46 extern POSITION start_attnpos;
47 extern POSITION end_attnpos;
90 static POSITION bottompos;
573 case CONTROL('K'): /* KEEP position */
836 bottompos = position(BOTTOM_PLUS_ONE);
875 * that we're in the right position to display the prompt.
1189 POSITION curr_len;
1592 * Go to a specified byte position in the file
    [all...]
main.c 29 public POSITION start_attnpos = NULL_POSITION;
30 public POSITION end_attnpos = NULL_POSITION;
output.c 490 TYPE_TO_A_FUNC(postoa, POSITION)
513 STR_TO_TYPE_FUNC(lstrtopos, POSITION)
  /src/external/mit/expat/dist/lib/
xmltok.h 146 typedef struct position { struct
150 } POSITION;
185 const char *end, POSITION *);
  /src/external/gpl3/binutils/dist/gas/
configure.com 196 POSITION(BEGINNING_OF(match_pos));
204 POSITION(END_OF(file));
  /src/external/gpl3/binutils.old/dist/gas/
configure.com 196 POSITION(BEGINNING_OF(match_pos));
204 POSITION(END_OF(file));
  /src/external/gpl3/binutils/dist/bfd/
configure.com 53 POSITION(BEGINNING_OF(match_pos));
59 POSITION(BEGINNING_OF(match_pos));
65 POSITION(BEGINNING_OF(match_pos));
71 POSITION(BEGINNING_OF(match_pos));
77 POSITION(BEGINNING_OF(match_pos));
107 POSITION(BEGINNING_OF(match_pos));
113 POSITION(BEGINNING_OF(match_pos));
119 POSITION(BEGINNING_OF(match_pos));
125 POSITION(BEGINNING_OF(match_pos));
131 POSITION(BEGINNING_OF(match_pos))
    [all...]
  /src/external/gpl3/binutils.old/dist/bfd/
configure.com 53 POSITION(BEGINNING_OF(match_pos));
59 POSITION(BEGINNING_OF(match_pos));
65 POSITION(BEGINNING_OF(match_pos));
71 POSITION(BEGINNING_OF(match_pos));
77 POSITION(BEGINNING_OF(match_pos));
107 POSITION(BEGINNING_OF(match_pos));
113 POSITION(BEGINNING_OF(match_pos));
119 POSITION(BEGINNING_OF(match_pos));
125 POSITION(BEGINNING_OF(match_pos));
131 POSITION(BEGINNING_OF(match_pos))
    [all...]

Completed in 35 milliseconds

1 2