line |
true |
false |
branch |
124
|
0 |
1 |
SvGETMAGIC (sig); |
|
0 |
0 |
SvGETMAGIC (sig); |
126
|
17 |
0 |
for (signum = 1; signum < SIG_SIZE; ++signum) |
127
|
17 |
0 |
if (strEQ (SvPV_nolen (sig), PL_sig_name [signum])) |
|
1 |
16 |
if (strEQ (SvPV_nolen (sig), PL_sig_name [signum])) |
130
|
0 |
0 |
signum = SvIV (sig); |
132
|
0 |
0 |
if (signum > 0 && signum < SIG_SIZE) |
|
0 |
0 |
if (signum > 0 && signum < SIG_SIZE) |
143
|
0 |
1 |
if (signum < 0) |
146
|
0 |
0 |
croak ("%s: invalid signal name or number", SvPV_nolen (sig)); |
156
|
0 |
2 |
SvGETMAGIC (fh); |
|
0 |
0 |
SvGETMAGIC (fh); |
158
|
2 |
0 |
if (SvROK (fh)) |
161
|
0 |
2 |
SvGETMAGIC (fh); |
|
0 |
0 |
SvGETMAGIC (fh); |
164
|
2 |
0 |
if (SvTYPE (fh) == SVt_PVGV) |
165
|
1 |
1 |
return PerlIO_fileno (wr ? IoOFP (sv_2io (fh)) : IoIFP (sv_2io (fh))); |
167
|
0 |
0 |
if (SvOK (fh) && (SvIV (fh) >= 0) && (SvIV (fh) < 0x7fffffffL)) |
|
0 |
0 |
if (SvOK (fh) && (SvIV (fh) >= 0) && (SvIV (fh) < 0x7fffffffL)) |
|
0 |
0 |
if (SvOK (fh) && (SvIV (fh) >= 0) && (SvIV (fh) < 0x7fffffffL)) |
|
0 |
0 |
if (SvOK (fh) && (SvIV (fh) >= 0) && (SvIV (fh) < 0x7fffffffL)) |
|
0 |
0 |
if (SvOK (fh) && (SvIV (fh) >= 0) && (SvIV (fh) < 0x7fffffffL)) |
|
0 |
0 |
if (SvOK (fh) && (SvIV (fh) >= 0) && (SvIV (fh) < 0x7fffffffL)) |
|
0 |
0 |
if (SvOK (fh) && (SvIV (fh) >= 0) && (SvIV (fh) < 0x7fffffffL)) |
168
|
0 |
0 |
return SvIV (fh); |
178
|
0 |
2 |
if (fd < 0) |
181
|
0 |
0 |
croak ("%s: illegal fh argument, either not an OS file or read/write mode mismatch", SvPV_nolen (fh)); |
202
|
0 |
5 |
if (!cv) |
205
|
0 |
0 |
croak ("%s: callback must be a CODE reference or another callable object", SvPV_nolen (cb_sv)); |
350
|
0 |
4 |
return fcntl (fd, F_SETFL, blocking ? 0 : O_NONBLOCK); |
357
|
4 |
0 |
|| fcntl (fd, F_SETFD, FD_CLOEXEC); |
|
0 |
4 |
|| fcntl (fd, F_SETFD, FD_CLOEXEC); |
393
|
4 |
0 |
if (ep.fd [0] >= 0) |
400
|
0 |
0 |
if (s_pipe (ep.fd)) |
403
|
0 |
0 |
if (s_fd_prepare (ep.fd [0]) |
404
|
0 |
0 |
|| s_fd_prepare (ep.fd [1])) |
427
|
0 |
2 |
if (epp->fd [1] != epp->fd [0]) |
447
|
0 |
7 |
if (write (epp->fd [1], &counter, epp->len) < 0 |
448
|
0 |
0 |
&& errno == EINVAL |
449
|
0 |
0 |
&& epp->len != 8) |
474
|
0 |
2 |
if (epp->fd [1] != epp->fd [0]) |
477
|
0 |
2 |
if (s_epipe_new (&epn)) |
480
|
2 |
0 |
if (epp->len) |
482
|
0 |
2 |
if (dup2 (epn.fd [0], epp->fd [0]) < 0) |
487
|
2 |
0 |
if (epn.fd [0] == epn.fd [1]) |