Searched refs:LINENUM (Results 1 – 17 of 17) sorted by relevance
/freebsd/usr.bin/patch/ |
H A D | pch.h | 47 char *pfetch(LINENUM); 48 size_t pch_line_len(LINENUM); 49 LINENUM pch_first(void); 50 LINENUM pch_ptrn_lines(void); 51 LINENUM pch_newfirst(void); 52 LINENUM pch_repl_lines(void); 53 LINENUM pch_end(void); 54 LINENUM pch_context(void); 55 LINENUM pch_hunk_beg(void); 56 char pch_char(LINENUM);
|
H A D | patch.c | 88 LINENUM input_lines = 0; /* how long is input file in lines */ 93 static LINENUM locate_hunk(LINENUM); 95 static void rej_line(int, LINENUM); 97 static void apply_hunk(LINENUM); 100 static void copy_till(LINENUM, bool); 102 static void dump_line(LINENUM, bool); 103 static bool patch_match(LINENUM, LINENUM, LINENUM); 120 static LINENUM last_frozen_line = 0; 131 static LINENUM last_offset = 0; 132 static LINENUM maxfuzz = 2; [all …]
|
H A D | pch.c | 49 static LINENUM p_first; /* 1st line number */ 50 static LINENUM p_newfirst; /* 1st line number of replacement */ 51 static LINENUM p_ptrn_lines; /* # lines in pattern */ 52 static LINENUM p_repl_lines; /* # lines in replacement text */ 53 static LINENUM p_end = -1; /* last line in hunk */ 54 static LINENUM p_max; /* max allowed value of p_end */ 55 static LINENUM p_context = 3; /* # of context lines */ 56 static LINENUM p_input_line = 0; /* current line # from patch file */ 63 static LINENUM p_bline; /* line # of p_base */ 65 static LINENUM p_slin [all...] |
H A D | common.h | 55 typedef long LINENUM; /* must be signed */ typedef 108 extern LINENUM input_lines; /* how long is input file in lines */
|
H A D | inp.c | 62 static LINENUM tiline[2] = {-1, -1}; /* 1st line in each buffer */ 377 ifetch(LINENUM line, int whichbuf) 389 LINENUM offline = line % lines_per_buf; in ifetch() 390 LINENUM baseline = line - offline; in ifetch()
|
H A D | inp.h | 31 char *ifetch(LINENUM, int);
|
/freebsd/contrib/less/ |
H A D | linenum.c | 47 LINENUM line; /* Line number */ 122 public void add_lnum(LINENUM linenum, POSITION pos) 272 public LINENUM find_linenum(POSITION pos) in find_linenum() 275 LINENUM linenum; in find_linenum() 381 public POSITION find_pos(LINENUM linenum) in find_pos() 385 LINENUM clinenum; in find_pos() 452 public LINENUM currline(int where) in currline() 456 LINENUM linenum; in currline() 481 LINENUM linenum = 0; in scan_eof() 512 public LINENUM vlinenu [all...] |
H A D | tags.c | 70 LINENUM tag_linenum; /* Appropriate line number in source file */ 114 static struct tag * maketagent(constant char *file, LINENUM linenum, constant char *pattern, lbool endline) in maketagent() 259 LINENUM taglinenum; in findctag() 409 LINENUM linenum; in ctagsearch() 586 tp = maketagent(file, (LINENUM) atoi(line), NULL, FALSE); in findgtag()
|
H A D | funcs.h | 94 public LINENUM cmd_int(mutable long *frac); 212 public void jump_back(LINENUM linenum); 254 public void add_lnum(LINENUM linenum, POSITION pos); 255 public LINENUM find_linenum(POSITION pos); 256 public POSITION find_pos(LINENUM linenum); 257 public LINENUM currline(int where); 259 public LINENUM vlinenum(LINENUM linenum);
|
H A D | prompt.c | 145 static void ap_linenum(LINENUM linenum) in ap_quest() 261 LINENUM linenum; in protochar() 262 LINENUM last_linenum; in protochar()
|
H A D | less.h | 235 typedef off_t LINENUM; 327 LINENUM p_linenum; 660 void linenumtoa(LINENUM, char*, int); 240 typedef off_t LINENUM; global() typedef
|
H A D | output.c | 537 TYPE_TO_A_FUNC(linenumtoa, LINENUM) 583 IPRINT_FUNC(iprint_linenum, LINENUM, linenumtoa)
|
H A D | jump.c | 87 public void jump_back(LINENUM linenum) in jump_back()
|
H A D | cmdbuf.c | 1303 public LINENUM cmd_int(mutable long *frac) in cmd_int() 1306 LINENUM n = 0; in cmd_int()
|
H A D | command.c | 76 static LINENUM number; /* The number typed by the user */
|
H A D | line.c | 318 LINENUM linenum = 0; in plinestart()
|
H A D | search.c | 1502 LINENUM linenum; in search()
|