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