Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/stat-time.h |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | - | |
3 | - | |
4 | - | |
5 | - | |
6 | inline long int | - |
7 | __attribute__ ((__pure__)) | - |
8 | - | |
9 | get_stat_atime_ns (struct stat const *st) | - |
10 | { | - |
11 | - | |
12 | return executed 2 times by 1 test: ((st)->st_atim).tv_nsec;return ((st)->st_atim).tv_nsec; Executed by:
executed 2 times by 1 test: return ((st)->st_atim).tv_nsec; Executed by:
| 2 |
13 | - | |
14 | - | |
15 | - | |
16 | - | |
17 | - | |
18 | } | - |
19 | - | |
20 | - | |
21 | inline long int | - |
22 | __attribute__ ((__pure__)) | - |
23 | - | |
24 | get_stat_ctime_ns (struct stat const *st) | - |
25 | { | - |
26 | - | |
27 | return executed 2 times by 1 test: ((st)->st_ctim).tv_nsec;return ((st)->st_ctim).tv_nsec; Executed by:
executed 2 times by 1 test: return ((st)->st_ctim).tv_nsec; Executed by:
| 2 |
28 | - | |
29 | - | |
30 | - | |
31 | - | |
32 | - | |
33 | } | - |
34 | - | |
35 | - | |
36 | inline long int | - |
37 | __attribute__ ((__pure__)) | - |
38 | - | |
39 | get_stat_mtime_ns (struct stat const *st) | - |
40 | { | - |
41 | - | |
42 | return executed 32 times by 2 tests: ((st)->st_mtim).tv_nsec;return ((st)->st_mtim).tv_nsec; Executed by:
executed 32 times by 2 tests: return ((st)->st_mtim).tv_nsec; Executed by:
| 32 |
43 | - | |
44 | - | |
45 | - | |
46 | - | |
47 | - | |
48 | } | - |
49 | - | |
50 | - | |
51 | inline long int | - |
52 | __attribute__ ((__pure__)) | - |
53 | - | |
54 | get_stat_birthtime_ns (struct stat const *st __attribute__ ((__unused__))) | - |
55 | { | - |
56 | - | |
57 | - | |
58 | - | |
59 | - | |
60 | - | |
61 | return never executed: 0;return 0; never executed: return 0; | 0 |
62 | - | |
63 | } | - |
64 | - | |
65 | - | |
66 | inline struct timespec | - |
67 | __attribute__ ((__pure__)) | - |
68 | - | |
69 | get_stat_atime (struct stat const *st) | - |
70 | { | - |
71 | - | |
72 | return executed 37910 times by 5 tests: ((st)->st_atim);return ((st)->st_atim); Executed by:
executed 37910 times by 5 tests: return ((st)->st_atim); Executed by:
| 37910 |
73 | - | |
74 | - | |
75 | - | |
76 | - | |
77 | - | |
78 | - | |
79 | } | - |
80 | - | |
81 | - | |
82 | inline struct timespec | - |
83 | __attribute__ ((__pure__)) | - |
84 | - | |
85 | get_stat_ctime (struct stat const *st) | - |
86 | { | - |
87 | - | |
88 | return executed 9 times by 2 tests: ((st)->st_ctim);return ((st)->st_ctim); Executed by:
executed 9 times by 2 tests: return ((st)->st_ctim); Executed by:
| 9 |
89 | - | |
90 | - | |
91 | - | |
92 | - | |
93 | - | |
94 | - | |
95 | } | - |
96 | - | |
97 | - | |
98 | inline struct timespec | - |
99 | __attribute__ ((__pure__)) | - |
100 | - | |
101 | get_stat_mtime (struct stat const *st) | - |
102 | { | - |
103 | - | |
104 | return executed 250499 times by 9 tests: ((st)->st_mtim);return ((st)->st_mtim); Executed by:
executed 250499 times by 9 tests: return ((st)->st_mtim); Executed by:
| 250499 |
105 | - | |
106 | - | |
107 | - | |
108 | - | |
109 | - | |
110 | - | |
111 | } | - |
112 | - | |
113 | - | |
114 | - | |
115 | inline struct timespec | - |
116 | __attribute__ ((__pure__)) | - |
117 | - | |
118 | get_stat_birthtime (struct stat const *st __attribute__ ((__unused__))) | - |
119 | { | - |
120 | struct timespec t; | - |
121 | t.tv_sec = -1; | - |
122 | t.tv_nsec = -1; | - |
123 | return executed 6 times by 1 test: t;return t; Executed by:
executed 6 times by 1 test: return t; Executed by:
| 6 |
124 | } | - |
125 | - | |
126 | - | |
127 | - | |
128 | - | |
129 | - | |
130 | - | |
131 | inline int | - |
132 | stat_time_normalize (int result, struct stat *st __attribute__ ((__unused__))) | - |
133 | { | - |
134 | return never executed: result;return result; never executed: return result; | 0 |
135 | } | - |
136 | - | |
137 | - | |
138 | - | |
139 | - | |
140 | - | |
141 | - | |
Switch to Source code | Preprocessed file |