line |
true |
false |
branch |
452
|
0 |
0 |
if (ioctl (handle, TIOCGWINSZ, &w) == 0) { |
558
|
0 |
0 |
if (ioctl (handle, TIOCSWINSZ, &w) == 0) { |
681
|
0 |
0 |
for(i=0;terminal_speeds[i]!=-1;i+=2) { |
682
|
0 |
0 |
if(*in == terminal_speeds[i+1]) |
685
|
0 |
0 |
for(i=0;terminal_speeds[i]!=-1;i+=2) { |
686
|
0 |
0 |
if(*out == terminal_speeds[i+1]) |
830
|
0 |
0 |
if(firsttime) { |
833
|
0 |
0 |
if(!hv_store(filehash,(char*)&handle,sizeof(int), |
836
|
0 |
0 |
if(!hv_store(modehash,(char*)&handle,sizeof(int),newSViv(0),0)) |
840
|
0 |
0 |
if(!(temp=hv_fetch(filehash,(char*)&handle,sizeof(int),0))) |
842
|
0 |
0 |
memcpy(&savebuf,SvPV(*temp,PL_na),sizeof(struct tbuffer)); |
843
|
0 |
0 |
if(!(temp=hv_fetch(modehash,(char*)&handle,sizeof(int),0))) |
845
|
0 |
0 |
oldmode=SvIV(*temp); |
965
|
0 |
0 |
if(mode==5) { |
983
|
0 |
0 |
if(((work.c_iflag & INPCK) != INPCK) || |
|
0 |
0 |
if(((work.c_iflag & INPCK) != INPCK) || |
994
|
0 |
0 |
else if(mode==4) { |
1010
|
0 |
0 |
else if(mode==3) |
1028
|
0 |
0 |
else if(mode==2) |
1046
|
0 |
0 |
else if(mode==1) |
1062
|
0 |
0 |
else if(mode==0){ |
1406
|
0 |
0 |
if( firsttime ) { |
1410
|
0 |
0 |
if(!hv_store(modehash,(char*)&handle,sizeof(int), |
1469
|
0 |
0 |
if (PerlIO_fast_gets(file) && PerlIO_get_cnt(file) > 0) |
|
0 |
0 |
if (PerlIO_fast_gets(file) && PerlIO_get_cnt(file) > 0) |
1474
|
0 |
0 |
if (delay < 0.0) |
1482
|
0 |
0 |
if(select(handle+1,(Select_fd_set_t)&fd, |
1502
|
0 |
0 |
if(mode) |
1806
|
0 |
0 |
if (Win32PeekChar(aTHX_ file, delay, &key)) |
1829
|
0 |
0 |
if( GetTermSizeWin32(aTHX_ file,&x,&y,&xpix,&ypix)==0) |
1831
|
0 |
0 |
EXTEND(sp, 4); |
1849
|
0 |
0 |
if( GetTermSizeVIO(aTHX_ file,&x,&y,&xpix,&ypix)==0) |
1851
|
0 |
0 |
EXTEND(sp, 4); |
1869
|
0 |
0 |
if( GetTermSizeGWINSZ(aTHX_ file,&x,&y,&xpix,&ypix)==0) |
1871
|
0 |
0 |
EXTEND(sp, 4); |
1889
|
0 |
0 |
if( GetTermSizeGSIZE(aTHX_ file,&x,&y,&xpix,&ypix)==0) |
1891
|
0 |
0 |
EXTEND(sp, 4); |
1930
|
0 |
0 |
if(getspeed(aTHX_ file,&in,&out)) { |
1934
|
0 |
0 |
EXTEND(sp, 2); |