| /netbsd-src/usr.bin/patch/ |
| H A D | patch.c | 92 LINENUM input_lines = 0; /* how long is input file in lines */ 98 static LINENUM locate_hunk(LINENUM); 100 static void rej_line(int, LINENUM); 102 static void apply_hunk(LINENUM); 105 static void copy_till(LINENUM, bool); 107 static void dump_line(LINENUM, bool); 108 static bool patch_match(LINENUM, LINENUM, LINENUM); 125 static LINENUM last_frozen_line = 0; 136 static LINENUM last_offset = 0; 137 static LINENUM maxfuzz = 2; [all …]
|
| H A D | pch.h | 49 char *pfetch(LINENUM); 50 ssize_t pch_line_len(LINENUM); 51 LINENUM pch_first(void); 52 LINENUM pch_ptrn_lines(void); 53 LINENUM pch_newfirst(void); 54 LINENUM pch_repl_lines(void); 55 LINENUM pch_end(void); 56 LINENUM pch_context(void); 57 LINENUM pch_hunk_beg(void); 58 char pch_char(LINENUM);
|
| H A D | pch.c | 55 static LINENUM p_first; /* 1st line number */ 56 static LINENUM p_newfirst; /* 1st line number of replacement */ 57 static LINENUM p_ptrn_lines; /* # lines in pattern */ 58 static LINENUM p_repl_lines; /* # lines in replacement text */ 59 static LINENUM p_end = -1; /* last line in hunk */ 60 static LINENUM p_max; /* max allowed value of p_end */ 61 static LINENUM p_context = 3; /* # of context lines */ 62 static LINENUM p_input_line = 0; /* current line # from patch file */ 68 static LINENUM p_base; /* where to intuit this time */ 69 static LINENUM p_bline; /* line # of p_base */ [all …]
|
| H A D | inp.c | 68 static LINENUM tiline[2] = {-1, -1}; /* 1st line in each buffer */ 69 static LINENUM lines_per_buf; /* how many lines per buffer */ 468 ifetch(LINENUM line, int whichbuf) in ifetch() 480 LINENUM offline = line % lines_per_buf; in ifetch() 481 LINENUM baseline = line - offline; in ifetch()
|
| H A D | common.h | 68 typedef long LINENUM; /* must be signed */ typedef 120 extern LINENUM input_lines; /* how long is input file in lines */
|
| H A D | inp.h | 35 char *ifetch(LINENUM, int);
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | xcoffout.cc | 81 #define ASM_OUTPUT_LINE(FILE,LINENUM) \ argument 89 int lno = ABS_OR_RELATIVE_LINENO (LINENUM); \ 96 #define ASM_OUTPUT_LFB(FILE,LINENUM) \ argument 100 xcoff_begin_function_line = (LINENUM) - 1;\ 101 fprintf (FILE, "\t.bf\t%d\n", (LINENUM)); \ 108 #define ASM_OUTPUT_LFE(FILE,LINENUM) \ argument 111 fprintf (FILE, "\t.ef\t%d\n", (LINENUM)); \ 116 #define ASM_OUTPUT_LBB(FILE,LINENUM,BLOCKNUM) \ argument 117 fprintf (FILE, "\t.bb\t%d\n", ABS_OR_RELATIVE_LINENO (LINENUM)) 119 #define ASM_OUTPUT_LBE(FILE,LINENUM,BLOCKNUM) \ argument [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | xcoffout.c | 82 #define ASM_OUTPUT_LINE(FILE,LINENUM) \ argument 90 int lno = ABS_OR_RELATIVE_LINENO (LINENUM); \ 97 #define ASM_OUTPUT_LFB(FILE,LINENUM) \ argument 101 xcoff_begin_function_line = (LINENUM) - 1;\ 102 fprintf (FILE, "\t.bf\t%d\n", (LINENUM)); \ 109 #define ASM_OUTPUT_LFE(FILE,LINENUM) \ argument 112 fprintf (FILE, "\t.ef\t%d\n", (LINENUM)); \ 117 #define ASM_OUTPUT_LBB(FILE,LINENUM,BLOCKNUM) \ argument 118 fprintf (FILE, "\t.bb\t%d\n", ABS_OR_RELATIVE_LINENO (LINENUM)) 120 #define ASM_OUTPUT_LBE(FILE,LINENUM,BLOCKNUM) \ argument [all …]
|
| /netbsd-src/external/bsd/less/dist/ |
| H A D | linenum.c | 49 LINENUM line; /* Line number */ 125 public void add_lnum(LINENUM linenum, POSITION pos) in add_lnum() 262 public LINENUM find_linenum(POSITION pos) in find_linenum() 265 LINENUM linenum; in find_linenum() 374 public POSITION find_pos(LINENUM linenum) in find_pos() 378 LINENUM clinenum; in find_pos() 445 public LINENUM currline(int where) in currline() 449 LINENUM linenum; in currline() 469 LINENUM linenum = 0; in scan_eof() 495 public LINENUM vlinenum(LINENUM linenum) in vlinenum()
|
| H A D | tags.c | 72 LINENUM tag_linenum; /* Appropriate line number in source file */ 116 static struct tag * maketagent(char *name, char *file, LINENUM linenum, char *pattern, int endline) in maketagent() 261 LINENUM taglinenum; in findctag() 411 LINENUM linenum; in ctagsearch() 587 tp = maketagent(name, file, (LINENUM) atoi(line), NULL, 0); in findgtag()
|
| H A D | funcs.h | 88 public LINENUM cmd_int(long *frac); 195 public void jump_back(LINENUM linenum); 231 public void add_lnum(LINENUM linenum, POSITION pos); 232 public LINENUM find_linenum(POSITION pos); 233 public POSITION find_pos(LINENUM linenum); 234 public LINENUM currline(int where); 236 public LINENUM vlinenum(LINENUM linenum);
|
| H A D | prompt.c | 122 static void ap_linenum(LINENUM linenum) in ap_linenum() 239 LINENUM linenum; in protochar() 240 LINENUM last_linenum; in protochar()
|
| H A D | less.h | 242 typedef off_t LINENUM; typedef 334 LINENUM p_linenum; 630 void linenumtoa(LINENUM, char*, int);
|
| H A D | output.c | 491 TYPE_TO_A_FUNC(linenumtoa, LINENUM) in TYPE_TO_A_FUNC() 530 IPRINT_FUNC(iprint_linenum, LINENUM, linenumtoa)
|
| H A D | jump.c | 89 public void jump_back(LINENUM linenum) in jump_back()
|
| H A D | cmdbuf.c | 1287 public LINENUM cmd_int(long *frac) in cmd_int() 1290 LINENUM n = 0; in cmd_int()
|
| H A D | command.c | 83 static LINENUM number; /* The number typed by the user */
|
| H A D | line.c | 322 LINENUM linenum = 0; in plinestart()
|
| H A D | search.c | 1182 LINENUM linenum; in search_range()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/doc/ |
| H A D | cpp.info | 3361 '#line LINENUM' 3362 LINENUM is a non-negative decimal integer constant. It specifies 3364 input. Subsequent lines are counted from LINENUM. 3366 '#line LINENUM FILENAME' 3367 LINENUM is the same as for the first form, and has the same effect. 3539 # LINENUM FILENAME FLAGS 3543 that the following line originated in file FILENAME at line LINENUM.
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/doc/ |
| H A D | cpp.info | 3308 '#line LINENUM' 3309 LINENUM is a non-negative decimal integer constant. It specifies 3311 input. Subsequent lines are counted from LINENUM. 3313 '#line LINENUM FILENAME' 3314 LINENUM is the same as for the first form, and has the same effect. 3486 # LINENUM FILENAME FLAGS 3490 that the following line originated in file FILENAME at line LINENUM.
|
| /netbsd-src/external/bsd/less/dist/lesstest/lt/ |
| H A D | version.c.lt | 676 v380 11/24/02 Make LINENUM same as POSITION.
|