line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
MODULE = Git::Raw PACKAGE = Git::Raw::Diff::Hunk |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
SV * |
4
|
|
|
|
|
|
|
old_start(self) |
5
|
|
|
|
|
|
|
Diff_Hunk self |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
CODE: |
8
|
2
|
|
|
|
|
|
RETVAL = newSVuv(self -> old_start); |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
OUTPUT: RETVAL |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
SV * |
13
|
|
|
|
|
|
|
old_lines(self) |
14
|
|
|
|
|
|
|
Diff_Hunk self |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
CODE: |
17
|
2
|
|
|
|
|
|
RETVAL = newSVuv(self -> old_lines); |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
OUTPUT: RETVAL |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
SV * |
22
|
|
|
|
|
|
|
new_start(self) |
23
|
|
|
|
|
|
|
Diff_Hunk self |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
CODE: |
26
|
2
|
|
|
|
|
|
RETVAL = newSVuv(self -> new_start); |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
OUTPUT: RETVAL |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
SV * |
31
|
|
|
|
|
|
|
new_lines(self) |
32
|
|
|
|
|
|
|
Diff_Hunk self |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
CODE: |
35
|
2
|
|
|
|
|
|
RETVAL = newSVuv(self -> new_lines); |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
OUTPUT: RETVAL |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
SV * |
40
|
|
|
|
|
|
|
header(self) |
41
|
|
|
|
|
|
|
Diff_Hunk self |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
PREINIT: |
44
|
2
|
|
|
|
|
|
size_t header_len = 0; |
45
|
2
|
|
|
|
|
|
const char *header = NULL; |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
CODE: |
48
|
2
|
|
|
|
|
|
header_len = self -> header_len; |
49
|
2
|
|
|
|
|
|
header = self -> header; |
50
|
|
|
|
|
|
|
|
51
|
4
|
50
|
|
|
|
|
for (header_len = self -> header_len; header_len != 0; --header_len) { |
52
|
4
|
50
|
|
|
|
|
if (header[header_len-1] != '\r' && |
|
|
100
|
|
|
|
|
|
53
|
4
|
|
|
|
|
|
header[header_len-1] != '\n') |
54
|
2
|
|
|
|
|
|
break; |
55
|
|
|
|
|
|
|
} |
56
|
|
|
|
|
|
|
|
57
|
2
|
|
|
|
|
|
RETVAL = newSVpv(header, header_len); |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
OUTPUT: RETVAL |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
void |
62
|
|
|
|
|
|
|
DESTROY(self) |
63
|
|
|
|
|
|
|
SV *self |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
CODE: |
66
|
4
|
|
|
|
|
|
SvREFCNT_dec(GIT_SV_TO_MAGIC(self)); |