| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package IO::FD::DWIM; |
|
2
|
1
|
|
|
1
|
|
97307
|
use strict; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
27
|
|
|
3
|
1
|
|
|
1
|
|
7
|
use warnings; |
|
|
1
|
|
|
|
|
1
|
|
|
|
1
|
|
|
|
|
34
|
|
|
4
|
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
312
|
use IO::FD; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
71
|
|
|
6
|
1
|
|
|
|
|
6
|
use Export::These qw< |
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
socket |
|
9
|
|
|
|
|
|
|
socketpair |
|
10
|
|
|
|
|
|
|
shutdown |
|
11
|
|
|
|
|
|
|
bind |
|
12
|
|
|
|
|
|
|
listen |
|
13
|
|
|
|
|
|
|
accept |
|
14
|
|
|
|
|
|
|
connect |
|
15
|
|
|
|
|
|
|
getsockopt |
|
16
|
|
|
|
|
|
|
setsockopt |
|
17
|
|
|
|
|
|
|
getpeername |
|
18
|
|
|
|
|
|
|
getsockname |
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sysopen |
|
21
|
|
|
|
|
|
|
sysseek |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
pipe |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
close |
|
26
|
|
|
|
|
|
|
recv |
|
27
|
|
|
|
|
|
|
send |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
sysread |
|
30
|
|
|
|
|
|
|
syswrite |
|
31
|
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
stat |
|
33
|
|
|
|
|
|
|
lstat |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
fcntl |
|
38
|
|
|
|
|
|
|
ioctl |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
readline |
|
41
|
|
|
|
|
|
|
fileno |
|
42
|
1
|
|
|
1
|
|
449
|
>; |
|
|
1
|
|
|
|
|
631
|
|
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
#SOCKETS |
|
47
|
|
|
|
|
|
|
sub socket :prototype($$$$) |
|
48
|
0
|
0
|
|
0
|
0
|
0
|
{ref($_[0]) ? &CORE::socket : &IO::FD::socket; } |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
sub socketpair:prototype($$$$$) |
|
51
|
0
|
0
|
|
0
|
0
|
0
|
{ref($_[0]) ? &CORE::socketpair : &IO::FD::socketpair; } |
|
52
|
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
sub shutdown:prototype($$) |
|
54
|
0
|
0
|
|
0
|
0
|
0
|
{ref($_[0]) ? &CORE::shutdown : &IO::FD::shutdown; } |
|
55
|
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
sub bind:prototype($$) |
|
57
|
0
|
0
|
|
0
|
0
|
0
|
{ref($_[0]) ? &CORE::bind : &IO::FD::bind; } |
|
58
|
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
sub listen:prototype($$) |
|
60
|
0
|
0
|
|
0
|
0
|
0
|
{ref($_[0]) ? &CORE::listen : &IO::FD::listen; } |
|
61
|
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
sub accept:prototype($$) |
|
63
|
0
|
0
|
|
0
|
0
|
0
|
{ref($_[0]) ? &CORE::accept : &IO::FD::accept; } |
|
64
|
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
sub connect:prototype($$) |
|
66
|
0
|
0
|
|
0
|
0
|
0
|
{ref($_[0]) ? &CORE::connect : &IO::FD::connect; } |
|
67
|
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
sub getsockopt:prototype($$$) |
|
69
|
0
|
0
|
|
0
|
0
|
0
|
{ref($_[0]) ? &CORE::getsockopt : &IO::FD::getsockopt; } |
|
70
|
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
sub setsockopt:prototype($$$$) |
|
72
|
0
|
0
|
|
0
|
0
|
0
|
{ref($_[0]) ? &CORE::setsockopt : &IO::FD::setsockopt; } |
|
73
|
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
sub getpeername:prototype($) |
|
75
|
0
|
0
|
|
0
|
0
|
0
|
{ref($_[0]) ? &CORE::getpeername : &IO::FD::getpeername; } |
|
76
|
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
sub getsockname:prototype($) |
|
78
|
0
|
0
|
|
0
|
0
|
0
|
{ref($_[0]) ? &CORE::getsockname : &IO::FD::getsockname; } |
|
79
|
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
#FILES |
|
81
|
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
sub sysopen:prototype($$$@) |
|
83
|
0
|
0
|
|
0
|
0
|
0
|
{ref($_[0]) ? &CORE::sysopen : &IO::FD::sysopen; } |
|
84
|
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
sub sysseek:prototype($$$) |
|
86
|
0
|
0
|
|
0
|
0
|
0
|
{ref($_[0]) ? &CORE::sysseek : &IO::FD::sysseek; } |
|
87
|
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
#PIPE |
|
89
|
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
sub pipe:prototype($$) |
|
91
|
1
|
50
|
|
1
|
0
|
517
|
{ref($_[0]) ? &CORE::pipe : &IO::FD::pipe; } |
|
92
|
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
#COMMON |
|
96
|
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
sub close($) |
|
98
|
2
|
50
|
|
2
|
0
|
234
|
{ref($_[0]) ? &CORE::close : &IO::FD::close; } |
|
99
|
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
sub recv:prototype($$$$) |
|
101
|
0
|
0
|
|
0
|
0
|
0
|
{ref($_[0]) ? &CORE::recv : &IO::FD::recv; } |
|
102
|
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
sub send:prototype($$$@) |
|
104
|
0
|
0
|
|
0
|
0
|
0
|
{ref($_[0]) ? &CORE::send : &IO::FD::send; } |
|
105
|
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
sub sysread:prototype($\$$@) |
|
108
|
2
|
50
|
|
2
|
0
|
19
|
{ref($_[0]) ? &CORE::sysread : &IO::FD::sysread; } |
|
109
|
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
sub syswrite:prototype($$@) |
|
111
|
2
|
50
|
|
2
|
0
|
145611
|
{ref($_[0]) ? &CORE::syswrite : &IO::FD::syswrite; } |
|
112
|
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
sub stat($) |
|
115
|
0
|
0
|
|
0
|
0
|
|
{ref($_[0]) ? stat $_[0] : &IO::FD::stat; } |
|
116
|
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
sub lstat($) |
|
118
|
0
|
0
|
|
0
|
0
|
|
{ref($_[0]) ? lstat $_[0] : &IO::FD::lstat; } |
|
119
|
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
sub fcntl:prototype($$$) |
|
121
|
0
|
0
|
|
0
|
0
|
|
{ref($_[0]) ? &CORE::fcntl : &IO::FD::fcntl; } |
|
122
|
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
sub ioctl:prototype($$$) |
|
124
|
0
|
0
|
|
0
|
0
|
|
{ref($_[0]) ? &CORE::ioctl : &IO::FD::ioctl; } |
|
125
|
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
sub readline($) |
|
127
|
0
|
0
|
|
0
|
0
|
|
{ref($_[0]) ? &CORE::readline : &IO::FD::readline; } |
|
128
|
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
sub fileno :prototype($) { |
|
130
|
0
|
0
|
|
0
|
0
|
|
ref($_[0]) |
|
131
|
|
|
|
|
|
|
?fileno $_[0] |
|
132
|
|
|
|
|
|
|
: $_[0]; |
|
133
|
|
|
|
|
|
|
} |
|
134
|
|
|
|
|
|
|
1; |
|
135
|
|
|
|
|
|
|
__END__ |