OpenCoverage

openat.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/openat.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7-
8-
9_Noreturn void openat_restore_fail (int);-
10_Noreturn void openat_save_fail (int);-
11inline int-
12chownat (int fd, char const *file, uid_t owner, gid_t group)-
13{-
14 return
executed 56 times by 2 tests: return fchownat (fd, file, owner, group, 0);
Executed by:
  • chgrp
  • chown
fchownat (fd, file, owner, group, 0);
executed 56 times by 2 tests: return fchownat (fd, file, owner, group, 0);
Executed by:
  • chgrp
  • chown
56
15}-
16-
17inline int-
18lchownat (int fd, char const *file, uid_t owner, gid_t group)-
19{-
20 return
executed 38 times by 2 tests: return fchownat (fd, file, owner, group, 0x100 );
Executed by:
  • chgrp
  • chown
fchownat (fd, file, owner, group,
executed 38 times by 2 tests: return fchownat (fd, file, owner, group, 0x100 );
Executed by:
  • chgrp
  • chown
38
21 0x100
executed 38 times by 2 tests: return fchownat (fd, file, owner, group, 0x100 );
Executed by:
  • chgrp
  • chown
38
22 );
executed 38 times by 2 tests: return fchownat (fd, file, owner, group, 0x100 );
Executed by:
  • chgrp
  • chown
38
23}-
24inline int-
25chmodat (int fd, char const *file, mode_t mode)-
26{-
27 return
executed 290404 times by 1 test: return fchmodat (fd, file, mode, 0);
Executed by:
  • chmod
fchmodat (fd, file, mode, 0);
executed 290404 times by 1 test: return fchmodat (fd, file, mode, 0);
Executed by:
  • chmod
290404
28}-
29-
30inline int-
31lchmodat (int fd, char const *file, mode_t mode)-
32{-
33 return
never executed: return fchmodat (fd, file, mode, 0x100 );
fchmodat (fd, file, mode,
never executed: return fchmodat (fd, file, mode, 0x100 );
0
34 0x100
never executed: return fchmodat (fd, file, mode, 0x100 );
0
35 );
never executed: return fchmodat (fd, file, mode, 0x100 );
0
36}-
37inline int-
38statat (int fd, char const *name, struct stat *st)-
39{-
40 return
never executed: return fstatat (fd, name, st, 0);
fstatat (fd, name, st, 0);
never executed: return fstatat (fd, name, st, 0);
0
41}-
42-
43inline int-
44lstatat (int fd, char const *name, struct stat *st)-
45{-
46 return
executed 4 times by 1 test: return fstatat (fd, name, st, 0x100 );
Executed by:
  • mv
fstatat (fd, name, st,
executed 4 times by 1 test: return fstatat (fd, name, st, 0x100 );
Executed by:
  • mv
4
47 0x100
executed 4 times by 1 test: return fstatat (fd, name, st, 0x100 );
Executed by:
  • mv
4
48 );
executed 4 times by 1 test: return fstatat (fd, name, st, 0x100 );
Executed by:
  • mv
4
49}-
50-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.1.2