OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:LINENUM
(Results
1 - 6
of
6
) sorted by relevancy
/src/usr.bin/patch/
inp.h
35
char *ifetch(
LINENUM
, int);
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
);
[
all
...]
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
);
[
all
...]
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
...]
common.h
68
typedef long
LINENUM
; /* must be signed */
120
extern
LINENUM
input_lines; /* how long is input file in lines */
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)
480
LINENUM
offline = line % lines_per_buf;
481
LINENUM
baseline = line - offline;
Completed in 14 milliseconds
Indexes created Sun Oct 19 19:09:49 GMT 2025