OpenCoverage

fflush.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/fflush.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7-
8-
9-
10-
11-
12-
13-
14-
15static void-
16clear_ungetc_buffer_preserving_position (FILE *fp)-
17{-
18 if (fp->_flags &
fp->_flags & 0x100Description
TRUEnever evaluated
FALSEevaluated 8314 times by 39 tests
Evaluated by:
  • b2sum
  • base32
  • base64
  • cksum
  • comm
  • cp
  • cut
  • date
  • df
  • dircolors
  • du
  • expand
  • fmt
  • fold
  • ginstall
  • join
  • ln
  • md5sum
  • mv
  • nl
  • od
  • paste
  • pr
  • ptx
  • rm
  • ...
0-8314
19 0x100
fp->_flags & 0x100Description
TRUEnever evaluated
FALSEevaluated 8314 times by 39 tests
Evaluated by:
  • b2sum
  • base32
  • base64
  • cksum
  • comm
  • cp
  • cut
  • date
  • df
  • dircolors
  • du
  • expand
  • fmt
  • fold
  • ginstall
  • join
  • ln
  • md5sum
  • mv
  • nl
  • od
  • paste
  • pr
  • ptx
  • rm
  • ...
0-8314
20 )-
21-
22 -
23 rpl_fseeko
never executed: rpl_fseeko (fp, 0, 1 );
0
24 (fp, 0,
never executed: rpl_fseeko (fp, 0, 1 );
0
25 1
never executed: rpl_fseeko (fp, 0, 1 );
0
26 );
never executed: rpl_fseeko (fp, 0, 1 );
0
27}
executed 8314 times by 39 tests: end of block
Executed by:
  • b2sum
  • base32
  • base64
  • cksum
  • comm
  • cp
  • cut
  • date
  • df
  • dircolors
  • du
  • expand
  • fmt
  • fold
  • ginstall
  • join
  • ln
  • md5sum
  • mv
  • nl
  • od
  • paste
  • pr
  • ptx
  • rm
  • ...
8314
28int-
29rpl_fflush (FILE *stream)-
30{-
31 if (stream ==
stream == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 86978 times by 106 tests
Evaluated by:
  • [
  • b2sum
  • base32
  • base64
  • basename
  • cat
  • chcon
  • chgrp
  • chmod
  • chown
  • chroot
  • cksum
  • comm
  • cp
  • csplit
  • cut
  • date
  • dd
  • df
  • dir
  • dircolors
  • dirname
  • du
  • echo
  • env
  • ...
0-86978
32 ((void *)0)
stream == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 86978 times by 106 tests
Evaluated by:
  • [
  • b2sum
  • base32
  • base64
  • basename
  • cat
  • chcon
  • chgrp
  • chmod
  • chown
  • chroot
  • cksum
  • comm
  • cp
  • csplit
  • cut
  • date
  • dd
  • df
  • dir
  • dircolors
  • dirname
  • du
  • echo
  • env
  • ...
0-86978
33 || ! (__freading (stream) != 0)
! (__freading (stream) != 0)Description
TRUEevaluated 78664 times by 106 tests
Evaluated by:
  • [
  • b2sum
  • base32
  • base64
  • basename
  • cat
  • chcon
  • chgrp
  • chmod
  • chown
  • chroot
  • cksum
  • comm
  • cp
  • csplit
  • cut
  • date
  • dd
  • df
  • dir
  • dircolors
  • dirname
  • du
  • echo
  • env
  • ...
FALSEevaluated 8314 times by 39 tests
Evaluated by:
  • b2sum
  • base32
  • base64
  • cksum
  • comm
  • cp
  • cut
  • date
  • df
  • dircolors
  • du
  • expand
  • fmt
  • fold
  • ginstall
  • join
  • ln
  • md5sum
  • mv
  • nl
  • od
  • paste
  • pr
  • ptx
  • rm
  • ...
)
8314-78664
34 return
executed 78664 times by 106 tests: return fflush (stream);
Executed by:
  • [
  • b2sum
  • base32
  • base64
  • basename
  • cat
  • chcon
  • chgrp
  • chmod
  • chown
  • chroot
  • cksum
  • comm
  • cp
  • csplit
  • cut
  • date
  • dd
  • df
  • dir
  • dircolors
  • dirname
  • du
  • echo
  • env
  • ...
fflush (stream);
executed 78664 times by 106 tests: return fflush (stream);
Executed by:
  • [
  • b2sum
  • base32
  • base64
  • basename
  • cat
  • chcon
  • chgrp
  • chmod
  • chown
  • chroot
  • cksum
  • comm
  • cp
  • csplit
  • cut
  • date
  • dd
  • df
  • dir
  • dircolors
  • dirname
  • du
  • echo
  • env
  • ...
78664
35-
36-
37-
38 clear_ungetc_buffer_preserving_position (stream);-
39-
40 return
executed 8314 times by 39 tests: return fflush (stream);
Executed by:
  • b2sum
  • base32
  • base64
  • cksum
  • comm
  • cp
  • cut
  • date
  • df
  • dircolors
  • du
  • expand
  • fmt
  • fold
  • ginstall
  • join
  • ln
  • md5sum
  • mv
  • nl
  • od
  • paste
  • pr
  • ptx
  • rm
  • ...
fflush (stream);
executed 8314 times by 39 tests: return fflush (stream);
Executed by:
  • b2sum
  • base32
  • base64
  • cksum
  • comm
  • cp
  • cut
  • date
  • df
  • dircolors
  • du
  • expand
  • fmt
  • fold
  • ginstall
  • join
  • ln
  • md5sum
  • mv
  • nl
  • od
  • paste
  • pr
  • ptx
  • rm
  • ...
8314
41}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.1.2