| line |
true |
false |
branch |
|
232
|
0 |
1 |
PUSHMARK(SP); |
|
233
|
0 |
1 |
XPUSHs(sv_2mortal(newSVpv(epath, 0))); |
|
234
|
0 |
1 |
XPUSHs(sv_2mortal(newSViv(eerrno))); |
|
241
|
1 |
0 |
if(count) stop = POPi; |
|
|
1 |
0 |
if(count) stop = POPi; |
|
244
|
1 |
0 |
FREETMPS; |
|
300
|
0 |
4 |
{ if(sc_table) return sc_table; |
|
310
|
0 |
4 |
{ if(cs_table) return cs_table; |
|
320
|
0 |
4 |
{ if(pc_table) return pc_table; |
|
330
|
0 |
5 |
{ if(sig_table) return sig_table; |
|
340
|
0 |
4 |
{ if(pr_table) return pr_table; |
|
350
|
0 |
7 |
{ if(fdio_table) return fdio_table; |
|
360
|
0 |
5 |
{ if(fcntl_table) return fcntl_table; |
|
370
|
0 |
6 |
{ if(fsys_table) return fsys_table; |
|
380
|
0 |
5 |
{ if(ul_table) return ul_table; |
|
390
|
0 |
5 |
{ if(rl_table) return rl_table; |
|
400
|
0 |
2 |
{ if(events_table) return events_table; |
|
410
|
0 |
7 |
{ if(errno_table) return errno_table; |
|
420
|
0 |
3 |
{ if(socket_table) return socket_table; |
|
433
|
0 |
4 |
{ if(math_table) return math_table; |
|
446
|
0 |
5 |
{ if(locale_table) return locale_table; |
|
456
|
0 |
4 |
{ if(os_table) return os_table; |
|
466
|
0 |
4 |
{ if(proc_table) return proc_table; |
|
476
|
0 |
4 |
{ if(time_table) return time_table; |
|
486
|
0 |
4 |
{ if(user_table) return user_table; |
|
522
|
1 |
0 |
RETVAL = buf==NULL ? &PL_sv_undef : newSVpv(buf, 0); |
|
539
|
38 |
663 |
if(!missing_is_sorted) |
|
545
|
701 |
0 |
RETVAL = (found == NULL ? &PL_sv_no : &PL_sv_yes); |
|
570
|
68 |
0 |
RETVAL = len==0 ? &PL_sv_undef : newSVpv(buf, len-1); |
|
608
|
0 |
0 |
RETVAL = result==-1 ? &PL_sv_undef : newSViv(result); |
|
648
|
0 |
5 |
if(SvOK(errfun)) |
|
|
0 |
0 |
if(SvOK(errfun)) |
|
|
0 |
0 |
if(SvOK(errfun)) |
|
656
|
3 |
2 |
if(rc==0) |
|
657
|
3 |
3 |
{ for(pathv = &globbuf.gl_pathv[0]; *pathv; pathv++) |
|
728
|
7 |
1 |
RETVAL = result==-1 ? &PL_sv_undef : newSViv(result); |
|
749
|
0 |
22 |
XPUSHs(sv_2mortal(newSVuv(rlim.rlim_cur))); |
|
750
|
0 |
22 |
XPUSHs(sv_2mortal(newSVuv(rlim.rlim_max))); |
|
751
|
0 |
22 |
XPUSHs(result==-1 ? &PL_sv_no : &PL_sv_yes); |
|
|
1 |
21 |
XPUSHs(result==-1 ? &PL_sv_no : &PL_sv_yes); |
|
766
|
0 |
1 |
RETVAL = result==-1 ? &PL_sv_no : &PL_sv_yes; |
|
923
|
0 |
0 |
Newx(fds, nfd, struct pollfd); |
|
924
|
0 |
0 |
for(j=0; j < nfd; j++) |
|
928
|
0 |
0 |
if(len > 15) len = 15; /* fd-num is always small */ |
|
933
|
0 |
0 |
fds[j].events = SvUV(hv_iterval(handles, entry)); |
|
937
|
0 |
0 |
if(rc==-1) |
|
938
|
0 |
0 |
{ XPUSHs(&PL_sv_undef); |
|
940
|
0 |
0 |
else if(rc==0) |
|
942
|
0 |
0 |
XPUSHs(sv_2mortal((SV*)ret)); |
|
946
|
0 |
0 |
for(j=0; j < nfd; j++) |
|
947
|
0 |
0 |
{ if(fds[j].revents) |
|
952
|
0 |
0 |
XPUSHs(sv_2mortal((SV*)ret)); |
|
988
|
0 |
0 |
XPUSHs(result==-1 ? &PL_sv_undef : sv_2mortal(newSViv(result))); |
|
|
0 |
0 |
XPUSHs(result==-1 ? &PL_sv_undef : sv_2mortal(newSViv(result))); |
|
1002
|
0 |
1 |
XPUSHs(result==-1 ? &PL_sv_undef : sv_2mortal(newSViv(result))); |
|
|
1 |
0 |
XPUSHs(result==-1 ? &PL_sv_undef : sv_2mortal(newSViv(result))); |
|
1017
|
0 |
0 |
XPUSHs(result==-1 ? &PL_sv_undef : sv_2mortal(newSViv(result))); |
|
|
0 |
0 |
XPUSHs(result==-1 ? &PL_sv_undef : sv_2mortal(newSViv(result))); |
|
1035
|
0 |
0 |
XPUSHs(result==-1 ? &PL_sv_undef : sv_2mortal(newSViv(result))); |
|
|
0 |
0 |
XPUSHs(result==-1 ? &PL_sv_undef : sv_2mortal(newSViv(result))); |
|
1054
|
0 |
0 |
XPUSHs(result==-1 ? &PL_sv_undef : sv_2mortal(newSViv(result))); |
|
|
0 |
0 |
XPUSHs(result==-1 ? &PL_sv_undef : sv_2mortal(newSViv(result))); |
|
1071
|
0 |
0 |
XPUSHs(result==-1 ? &PL_sv_undef : sv_2mortal(newSViv(result))); |
|
|
0 |
0 |
XPUSHs(result==-1 ? &PL_sv_undef : sv_2mortal(newSViv(result))); |
|
1087
|
0 |
0 |
XPUSHs(result==-1 ? &PL_sv_undef : sv_2mortal(newSViv(result))); |
|
|
0 |
0 |
XPUSHs(result==-1 ? &PL_sv_undef : sv_2mortal(newSViv(result))); |
|
1101
|
0 |
0 |
XPUSHs(result==-1 ? &PL_sv_undef : sv_2mortal(newSViv(result))); |
|
|
0 |
0 |
XPUSHs(result==-1 ? &PL_sv_undef : sv_2mortal(newSViv(result))); |
|
1122
|
0 |
0 |
XPUSHs(result==-1 ? &PL_sv_undef : sv_2mortal(newSViv(result))); |
|
|
0 |
0 |
XPUSHs(result==-1 ? &PL_sv_undef : sv_2mortal(newSViv(result))); |
|
1142
|
0 |
0 |
XPUSHs(result==-1 ? &PL_sv_undef : sv_2mortal(newSViv(result))); |
|
|
0 |
0 |
XPUSHs(result==-1 ? &PL_sv_undef : sv_2mortal(newSViv(result))); |
|
1164
|
0 |
0 |
XPUSHs(result==-1 ? &PL_sv_undef : sv_2mortal(newSViv(result))); |
|
|
0 |
0 |
XPUSHs(result==-1 ? &PL_sv_undef : sv_2mortal(newSViv(result))); |
|
1177
|
0 |
0 |
if(result==0) { |
|
1178
|
0 |
0 |
XPUSHs(sv_2mortal(newSVuv(ruid))); |
|
1179
|
0 |
0 |
XPUSHs(sv_2mortal(newSVuv(euid))); |
|
1180
|
0 |
0 |
XPUSHs(sv_2mortal(newSVuv(suid))); |
|
1206
|
0 |
0 |
XPUSHs(result==-1 ? &PL_sv_undef : sv_2mortal(newSViv(result))); |
|
|
0 |
0 |
XPUSHs(result==-1 ? &PL_sv_undef : sv_2mortal(newSViv(result))); |
|
1219
|
0 |
0 |
if(result==0) { |
|
1220
|
0 |
0 |
XPUSHs(sv_2mortal(newSVuv(rgid))); |
|
1221
|
0 |
0 |
XPUSHs(sv_2mortal(newSVuv(egid))); |
|
1222
|
0 |
0 |
XPUSHs(sv_2mortal(newSVuv(sgid))); |
|
1237
|
1 |
0 |
if(nr_groups >= 0) { |
|
1239
|
0 |
1 |
for(nr = 0; nr < nr_groups; nr++) |
|
1240
|
0 |
0 |
XPUSHs(sv_2mortal(newSVuv(grouplist[nr]))); |
|
1255
|
0 |
0 |
for(index = 0; index < items && index < _NGROUPS; index++) |
|
|
0 |
0 |
for(index = 0; index < items && index < _NGROUPS; index++) |
|
1256
|
0 |
0 |
{ groups[index] = (gid_t)SvUV(ST(index)); |
|
1259
|
0 |
0 |
XPUSHs(result==-1 ? &PL_sv_no : &PL_sv_yes); |
|
|
0 |
0 |
XPUSHs(result==-1 ? &PL_sv_no : &PL_sv_yes); |
|
1283
|
134 |
0 |
RETVAL = buf==NULL ? &PL_sv_undef : newSVpv(buf, 0); |
|
1381
|
0 |
2 |
if(t.tm_sec == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_sec); |
|
|
0 |
0 |
if(t.tm_sec == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_sec); |
|
|
0 |
2 |
if(t.tm_sec == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_sec); |
|
1382
|
0 |
2 |
if(t.tm_min == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_min); |
|
|
0 |
0 |
if(t.tm_min == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_min); |
|
|
0 |
2 |
if(t.tm_min == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_min); |
|
1383
|
0 |
2 |
if(t.tm_hour == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_hour); |
|
|
0 |
0 |
if(t.tm_hour == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_hour); |
|
|
0 |
2 |
if(t.tm_hour == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_hour); |
|
1384
|
0 |
2 |
if(t.tm_mday == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_mday); |
|
|
0 |
0 |
if(t.tm_mday == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_mday); |
|
|
0 |
2 |
if(t.tm_mday == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_mday); |
|
1385
|
0 |
2 |
if(t.tm_mon == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_mon); |
|
|
0 |
0 |
if(t.tm_mon == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_mon); |
|
|
0 |
2 |
if(t.tm_mon == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_mon); |
|
1386
|
0 |
2 |
if(t.tm_year == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_year); |
|
|
0 |
0 |
if(t.tm_year == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_year); |
|
|
0 |
2 |
if(t.tm_year == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_year); |
|
1387
|
0 |
2 |
if(t.tm_wday == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_wday); |
|
|
0 |
0 |
if(t.tm_wday == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_wday); |
|
|
0 |
2 |
if(t.tm_wday == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_wday); |
|
1388
|
0 |
2 |
if(t.tm_yday == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_yday); |
|
|
0 |
0 |
if(t.tm_yday == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_yday); |
|
|
0 |
2 |
if(t.tm_yday == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_yday); |
|
1389
|
0 |
2 |
if(t.tm_isdst== -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_isdst); |
|
|
0 |
0 |
if(t.tm_isdst== -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_isdst); |
|
|
0 |
2 |
if(t.tm_isdst== -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_isdst); |
|
1422
|
0 |
0 |
if(ts != -1) |
|
1423
|
0 |
0 |
{ mXPUSHi(ts); |
|
1424
|
0 |
0 |
if(t.tm_sec == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_sec); |
|
|
0 |
0 |
if(t.tm_sec == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_sec); |
|
|
0 |
0 |
if(t.tm_sec == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_sec); |
|
1425
|
0 |
0 |
if(t.tm_min == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_min); |
|
|
0 |
0 |
if(t.tm_min == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_min); |
|
|
0 |
0 |
if(t.tm_min == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_min); |
|
1426
|
0 |
0 |
if(t.tm_hour == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_hour); |
|
|
0 |
0 |
if(t.tm_hour == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_hour); |
|
|
0 |
0 |
if(t.tm_hour == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_hour); |
|
1427
|
0 |
0 |
if(t.tm_mday == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_mday); |
|
|
0 |
0 |
if(t.tm_mday == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_mday); |
|
|
0 |
0 |
if(t.tm_mday == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_mday); |
|
1428
|
0 |
0 |
if(t.tm_mon == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_mon); |
|
|
0 |
0 |
if(t.tm_mon == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_mon); |
|
|
0 |
0 |
if(t.tm_mon == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_mon); |
|
1429
|
0 |
0 |
if(t.tm_year == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_year); |
|
|
0 |
0 |
if(t.tm_year == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_year); |
|
|
0 |
0 |
if(t.tm_year == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_year); |
|
1430
|
0 |
0 |
if(t.tm_wday == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_wday); |
|
|
0 |
0 |
if(t.tm_wday == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_wday); |
|
|
0 |
0 |
if(t.tm_wday == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_wday); |
|
1431
|
0 |
0 |
if(t.tm_yday == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_yday); |
|
|
0 |
0 |
if(t.tm_yday == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_yday); |
|
|
0 |
0 |
if(t.tm_yday == -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_yday); |
|
1432
|
0 |
0 |
if(t.tm_isdst== -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_isdst); |
|
|
0 |
0 |
if(t.tm_isdst== -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_isdst); |
|
|
0 |
0 |
if(t.tm_isdst== -1) XPUSHs(&PL_sv_undef); else mXPUSHi(t.tm_isdst); |
|
1466
|
1 |
0 |
: newSVpv(buf, 0); |
|
1505
|
0 |
4 |
if(SvOK(function)) |
|
|
0 |
0 |
if(SvOK(function)) |
|
|
0 |
0 |
if(SvOK(function)) |
|
1506
|
4 |
0 |
{ ret = fcntl(fd, SvIV(function), value); |
|
1507
|
4 |
0 |
RETVAL = ret==-1 ? &PL_sv_undef : newSVuv(ret); |
|
1541
|
4 |
0 |
locker.l_type = SvIV(*type ); |
|
1542
|
4 |
0 |
locker.l_whence = SvIV(*whence); |
|
1543
|
4 |
0 |
locker.l_start = SvIV(*start ); |
|
1544
|
4 |
0 |
locker.l_len = SvIV(*len ); |
|
1547
|
0 |
4 |
if(fcntl(fd, function, &locker)==-1) |
|
1556
|
2 |
2 |
if(function==F_GETLK) |
|
1581
|
0 |
0 |
if(fcntl(fd, function, &ex)==-1) |
|
1584
|
0 |
0 |
XPUSHs(sv_2mortal(newSVuv(ex.type))); |
|
1585
|
0 |
0 |
XPUSHs(sv_2mortal(newSVuv(ex.pid))); |
|
1601
|
0 |
0 |
RETVAL = ret==-1 ? &PL_sv_undef : newSVuv(ret); |
|
1620
|
0 |
0 |
RETVAL = ret==-1 ? &PL_sv_undef : newSVuv(ret); |