| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gnulib/lib/modechange.c |
| Switch to Source code | Preprocessed file |
| Line | Source | Count | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | - | |||||||||||||||||||||||||||||||||||||
| 2 | - | |||||||||||||||||||||||||||||||||||||
| 3 | static mode_t | - | ||||||||||||||||||||||||||||||||||||
| 4 | octal_to_mode (unsigned int octal) | - | ||||||||||||||||||||||||||||||||||||
| 5 | { | - | ||||||||||||||||||||||||||||||||||||
| 6 | - | |||||||||||||||||||||||||||||||||||||
| 7 | - | |||||||||||||||||||||||||||||||||||||
| 8 | return executed 89 times by 3 tests: ((return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 9 | 04000 executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 10 | == 04000 && executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 11 | 02000 executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 12 | == 02000 && executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 13 | 01000 executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 14 | == 01000 executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 15 | && executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 16 | 0400 executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 17 | == 00400 && executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 18 | 0200 executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 19 | == 00200 && executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 20 | 0100 executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 21 | == 00100 executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 22 | && executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 23 | (0400 >> 3) executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 24 | == 00040 && executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 25 | (0200 >> 3) executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 26 | == 00020 && executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 27 | (0100 >> 3) executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 28 | == 00010 executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 29 | && executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 30 | ((0400 >> 3) >> 3) executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 31 | == 00004 && executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 32 | ((0200 >> 3) >> 3) executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 33 | == 00002 && executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 34 | ((0100 >> 3) >> 3) executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 35 | == 00001) executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 36 | ? octal executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 37 | : (mode_t) ((octal & 04000 ? executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 38 | 04000 executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 39 | : 0) executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 40 | | (octal & 02000 ? executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 41 | 02000 executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 42 | : 0) executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 43 | | (octal & 01000 ? executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 44 | 01000 executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 45 | : 0) executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 46 | | (octal & 00400 ? executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 47 | 0400 executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 48 | : 0) executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 49 | | (octal & 00200 ? executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 50 | 0200 executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 51 | : 0) executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 52 | | (octal & 00100 ? executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 53 | 0100 executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 54 | : 0) executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 55 | | (octal & 00040 ? executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 56 | (0400 >> 3) executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 57 | : 0) executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 58 | | (octal & 00020 ? executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 59 | (0200 >> 3) executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 60 | : 0) executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 61 | | (octal & 00010 ? executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 62 | (0100 >> 3) executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 63 | : 0) executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 64 | | (octal & 00004 ? executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 65 | ((0400 >> 3) >> 3) executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 66 | : 0) executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 67 | | (octal & 00002 ? executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 68 | ((0200 >> 3) >> 3) executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 69 | : 0) executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 70 | | (octal & 00001 ? executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 71 | ((0100 >> 3) >> 3) executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 72 | : 0))); executed 89 times by 3 tests: return (( 04000 == 04000 && 02000 == 02000 && 01000 == 01000 && 0400 == 00400 && 0200 == 00200 && 0100 == 00100 && (0400 >> 3) == 00040 && (0200 >> 3) == 00020 && (0100 >> 3) == 00010 && ((0400 >> 3) >> 3) == 00004 && ((0200 >> 3) >> 3) == 00002 && ((0100...100 ? 0100 : 0) | (octal & 00040 ? (0400 >> 3) : 0) | (octal & 00020 ? (0200 >> 3) : 0) | (octal & 00010 ? (0100 >> 3) : 0) | (octal & 00004 ? ((0400 >> 3) >> 3) : 0) | (octal & 00002 ? ((0200 >> 3) >> 3) : 0) | (octal & 00001 ? ((0100 >> 3) >> 3) : 0)));Executed by:
| 89 | ||||||||||||||||||||||||||||||||||||
| 73 | } | - | ||||||||||||||||||||||||||||||||||||
| 74 | - | |||||||||||||||||||||||||||||||||||||
| 75 | - | |||||||||||||||||||||||||||||||||||||
| 76 | enum | - | ||||||||||||||||||||||||||||||||||||
| 77 | { | - | ||||||||||||||||||||||||||||||||||||
| 78 | - | |||||||||||||||||||||||||||||||||||||
| 79 | MODE_DONE, | - | ||||||||||||||||||||||||||||||||||||
| 80 | - | |||||||||||||||||||||||||||||||||||||
| 81 | - | |||||||||||||||||||||||||||||||||||||
| 82 | MODE_ORDINARY_CHANGE, | - | ||||||||||||||||||||||||||||||||||||
| 83 | - | |||||||||||||||||||||||||||||||||||||
| 84 | - | |||||||||||||||||||||||||||||||||||||
| 85 | - | |||||||||||||||||||||||||||||||||||||
| 86 | - | |||||||||||||||||||||||||||||||||||||
| 87 | MODE_X_IF_ANY_X, | - | ||||||||||||||||||||||||||||||||||||
| 88 | - | |||||||||||||||||||||||||||||||||||||
| 89 | - | |||||||||||||||||||||||||||||||||||||
| 90 | - | |||||||||||||||||||||||||||||||||||||
| 91 | - | |||||||||||||||||||||||||||||||||||||
| 92 | MODE_COPY_EXISTING | - | ||||||||||||||||||||||||||||||||||||
| 93 | }; | - | ||||||||||||||||||||||||||||||||||||
| 94 | - | |||||||||||||||||||||||||||||||||||||
| 95 | - | |||||||||||||||||||||||||||||||||||||
| 96 | struct mode_change | - | ||||||||||||||||||||||||||||||||||||
| 97 | { | - | ||||||||||||||||||||||||||||||||||||
| 98 | char op; | - | ||||||||||||||||||||||||||||||||||||
| 99 | char flag; | - | ||||||||||||||||||||||||||||||||||||
| 100 | mode_t affected; | - | ||||||||||||||||||||||||||||||||||||
| 101 | mode_t value; | - | ||||||||||||||||||||||||||||||||||||
| 102 | mode_t mentioned; | - | ||||||||||||||||||||||||||||||||||||
| 103 | }; | - | ||||||||||||||||||||||||||||||||||||
| 104 | - | |||||||||||||||||||||||||||||||||||||
| 105 | - | |||||||||||||||||||||||||||||||||||||
| 106 | - | |||||||||||||||||||||||||||||||||||||
| 107 | - | |||||||||||||||||||||||||||||||||||||
| 108 | - | |||||||||||||||||||||||||||||||||||||
| 109 | static struct mode_change * | - | ||||||||||||||||||||||||||||||||||||
| 110 | make_node_op_equals (mode_t new_mode, mode_t mentioned) | - | ||||||||||||||||||||||||||||||||||||
| 111 | { | - | ||||||||||||||||||||||||||||||||||||
| 112 | struct mode_change *p = xmalloc (2 * sizeof *p); | - | ||||||||||||||||||||||||||||||||||||
| 113 | p->op = '='; | - | ||||||||||||||||||||||||||||||||||||
| 114 | p->flag = MODE_ORDINARY_CHANGE; | - | ||||||||||||||||||||||||||||||||||||
| 115 | p->affected = ( | - | ||||||||||||||||||||||||||||||||||||
| 116 | 04000 | - | ||||||||||||||||||||||||||||||||||||
| 117 | | | - | ||||||||||||||||||||||||||||||||||||
| 118 | 02000 | - | ||||||||||||||||||||||||||||||||||||
| 119 | | | - | ||||||||||||||||||||||||||||||||||||
| 120 | 01000 | - | ||||||||||||||||||||||||||||||||||||
| 121 | | | - | ||||||||||||||||||||||||||||||||||||
| 122 | (0400|0200|0100) | - | ||||||||||||||||||||||||||||||||||||
| 123 | | | - | ||||||||||||||||||||||||||||||||||||
| 124 | ((0400|0200|0100) >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 125 | | | - | ||||||||||||||||||||||||||||||||||||
| 126 | (((0400|0200|0100) >> 3) >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 127 | ); | - | ||||||||||||||||||||||||||||||||||||
| 128 | p->value = new_mode; | - | ||||||||||||||||||||||||||||||||||||
| 129 | p->mentioned = mentioned; | - | ||||||||||||||||||||||||||||||||||||
| 130 | p[1].flag = MODE_DONE; | - | ||||||||||||||||||||||||||||||||||||
| 131 | return executed 69 times by 3 tests: p;return p;Executed by:
executed 69 times by 3 tests: return p;Executed by:
| 69 | ||||||||||||||||||||||||||||||||||||
| 132 | } | - | ||||||||||||||||||||||||||||||||||||
| 133 | struct mode_change * | - | ||||||||||||||||||||||||||||||||||||
| 134 | mode_compile (char const *mode_string) | - | ||||||||||||||||||||||||||||||||||||
| 135 | { | - | ||||||||||||||||||||||||||||||||||||
| 136 | - | |||||||||||||||||||||||||||||||||||||
| 137 | struct mode_change *mc; | - | ||||||||||||||||||||||||||||||||||||
| 138 | size_t used = 0; | - | ||||||||||||||||||||||||||||||||||||
| 139 | char const *p; | - | ||||||||||||||||||||||||||||||||||||
| 140 | - | |||||||||||||||||||||||||||||||||||||
| 141 | if ('0' <= *mode_string
| 49-737 | ||||||||||||||||||||||||||||||||||||
| 142 | { | - | ||||||||||||||||||||||||||||||||||||
| 143 | unsigned int octal_mode = 0; | - | ||||||||||||||||||||||||||||||||||||
| 144 | mode_t mode; | - | ||||||||||||||||||||||||||||||||||||
| 145 | mode_t mentioned; | - | ||||||||||||||||||||||||||||||||||||
| 146 | - | |||||||||||||||||||||||||||||||||||||
| 147 | p = mode_string; | - | ||||||||||||||||||||||||||||||||||||
| 148 | do | - | ||||||||||||||||||||||||||||||||||||
| 149 | { | - | ||||||||||||||||||||||||||||||||||||
| 150 | octal_mode = 8 * octal_mode + *p++ - '0'; | - | ||||||||||||||||||||||||||||||||||||
| 151 | if (07777 < octal_mode
| 0-186 | ||||||||||||||||||||||||||||||||||||
| 152 | return never executed: return ((void *)0) ;never executed: return ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||||||||
| 153 | ((void *)0) never executed: return ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||||||||
| 154 | ; never executed: return ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||||||||
| 155 | } executed 186 times by 3 tests: end of blockExecuted by:
| 186 | ||||||||||||||||||||||||||||||||||||
| 156 | while ('0' <= *p
| 0-115 | ||||||||||||||||||||||||||||||||||||
| 157 | - | |||||||||||||||||||||||||||||||||||||
| 158 | if (*
| 2-69 | ||||||||||||||||||||||||||||||||||||
| 159 | return executed 2 times by 1 test: return ((void *)0) ;Executed by:
executed 2 times by 1 test: return ((void *)0) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||
| 160 | ((void *)0) executed 2 times by 1 test: return ((void *)0) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||
| 161 | ; executed 2 times by 1 test: return ((void *)0) ;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||
| 162 | - | |||||||||||||||||||||||||||||||||||||
| 163 | mode = octal_to_mode (octal_mode); | - | ||||||||||||||||||||||||||||||||||||
| 164 | mentioned = (p - mode_string < 5
| 2-67 | ||||||||||||||||||||||||||||||||||||
| 165 | ? (mode & ( | - | ||||||||||||||||||||||||||||||||||||
| 166 | 04000 | - | ||||||||||||||||||||||||||||||||||||
| 167 | | | - | ||||||||||||||||||||||||||||||||||||
| 168 | 02000 | - | ||||||||||||||||||||||||||||||||||||
| 169 | )) | | - | ||||||||||||||||||||||||||||||||||||
| 170 | 01000 | - | ||||||||||||||||||||||||||||||||||||
| 171 | | | - | ||||||||||||||||||||||||||||||||||||
| 172 | ((0400|0200|0100) | ((0400|0200|0100) >> 3) | (((0400|0200|0100) >> 3) >> 3)) | - | ||||||||||||||||||||||||||||||||||||
| 173 | - | |||||||||||||||||||||||||||||||||||||
| 174 | : ( | - | ||||||||||||||||||||||||||||||||||||
| 175 | 04000 | - | ||||||||||||||||||||||||||||||||||||
| 176 | | | - | ||||||||||||||||||||||||||||||||||||
| 177 | 02000 | - | ||||||||||||||||||||||||||||||||||||
| 178 | | | - | ||||||||||||||||||||||||||||||||||||
| 179 | 01000 | - | ||||||||||||||||||||||||||||||||||||
| 180 | | | - | ||||||||||||||||||||||||||||||||||||
| 181 | (0400|0200|0100) | - | ||||||||||||||||||||||||||||||||||||
| 182 | | | - | ||||||||||||||||||||||||||||||||||||
| 183 | ((0400|0200|0100) >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 184 | | | - | ||||||||||||||||||||||||||||||||||||
| 185 | (((0400|0200|0100) >> 3) >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 186 | )); | - | ||||||||||||||||||||||||||||||||||||
| 187 | return executed 69 times by 3 tests: make_node_op_equals (mode, mentioned);return make_node_op_equals (mode, mentioned);Executed by:
executed 69 times by 3 tests: return make_node_op_equals (mode, mentioned);Executed by:
| 69 | ||||||||||||||||||||||||||||||||||||
| 188 | } | - | ||||||||||||||||||||||||||||||||||||
| 189 | - | |||||||||||||||||||||||||||||||||||||
| 190 | - | |||||||||||||||||||||||||||||||||||||
| 191 | { | - | ||||||||||||||||||||||||||||||||||||
| 192 | size_t needed = 1; | - | ||||||||||||||||||||||||||||||||||||
| 193 | for (p = mode_string; *
| 715-3432 | ||||||||||||||||||||||||||||||||||||
| 194 | needed += (*
executed 3432 times by 2 tests: needed += (*p == '=' || *p == '+' || *p == '-');Executed by:
| 68-3432 | ||||||||||||||||||||||||||||||||||||
| 195 | mc = xnmalloc (needed, sizeof *mc); | - | ||||||||||||||||||||||||||||||||||||
| 196 | } | - | ||||||||||||||||||||||||||||||||||||
| 197 | - | |||||||||||||||||||||||||||||||||||||
| 198 | - | |||||||||||||||||||||||||||||||||||||
| 199 | - | |||||||||||||||||||||||||||||||||||||
| 200 | for (p = mode_string; ; p++) | - | ||||||||||||||||||||||||||||||||||||
| 201 | { | - | ||||||||||||||||||||||||||||||||||||
| 202 | - | |||||||||||||||||||||||||||||||||||||
| 203 | mode_t affected = 0; | - | ||||||||||||||||||||||||||||||||||||
| 204 | - | |||||||||||||||||||||||||||||||||||||
| 205 | - | |||||||||||||||||||||||||||||||||||||
| 206 | for (;; p++) | - | ||||||||||||||||||||||||||||||||||||
| 207 | switch (*p) | - | ||||||||||||||||||||||||||||||||||||
| 208 | { | - | ||||||||||||||||||||||||||||||||||||
| 209 | default executed 3 times by 1 test: :default:Executed by:
executed 3 times by 1 test: default:Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||
| 210 | goto executed 3 times by 1 test: invalid;goto invalid;Executed by:
executed 3 times by 1 test: goto invalid;Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||
| 211 | case executed 591 times by 1 test: 'u':case 'u':Executed by:
executed 591 times by 1 test: case 'u':Executed by:
| 591 | ||||||||||||||||||||||||||||||||||||
| 212 | affected |= | - | ||||||||||||||||||||||||||||||||||||
| 213 | 04000 | - | ||||||||||||||||||||||||||||||||||||
| 214 | | | - | ||||||||||||||||||||||||||||||||||||
| 215 | (0400|0200|0100) | - | ||||||||||||||||||||||||||||||||||||
| 216 | ; | - | ||||||||||||||||||||||||||||||||||||
| 217 | break; executed 591 times by 1 test: break;Executed by:
| 591 | ||||||||||||||||||||||||||||||||||||
| 218 | case executed 25 times by 1 test: 'g':case 'g':Executed by:
executed 25 times by 1 test: case 'g':Executed by:
| 25 | ||||||||||||||||||||||||||||||||||||
| 219 | affected |= | - | ||||||||||||||||||||||||||||||||||||
| 220 | 02000 | - | ||||||||||||||||||||||||||||||||||||
| 221 | | | - | ||||||||||||||||||||||||||||||||||||
| 222 | ((0400|0200|0100) >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 223 | ; | - | ||||||||||||||||||||||||||||||||||||
| 224 | break; executed 25 times by 1 test: break;Executed by:
| 25 | ||||||||||||||||||||||||||||||||||||
| 225 | case executed 17 times by 1 test: 'o':case 'o':Executed by:
executed 17 times by 1 test: case 'o':Executed by:
| 17 | ||||||||||||||||||||||||||||||||||||
| 226 | affected |= | - | ||||||||||||||||||||||||||||||||||||
| 227 | 01000 | - | ||||||||||||||||||||||||||||||||||||
| 228 | | | - | ||||||||||||||||||||||||||||||||||||
| 229 | (((0400|0200|0100) >> 3) >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 230 | ; | - | ||||||||||||||||||||||||||||||||||||
| 231 | break; executed 17 times by 1 test: break;Executed by:
| 17 | ||||||||||||||||||||||||||||||||||||
| 232 | case executed 46 times by 2 tests: 'a':case 'a':Executed by:
executed 46 times by 2 tests: case 'a':Executed by:
| 46 | ||||||||||||||||||||||||||||||||||||
| 233 | affected |= ( | - | ||||||||||||||||||||||||||||||||||||
| 234 | 04000 | - | ||||||||||||||||||||||||||||||||||||
| 235 | | | - | ||||||||||||||||||||||||||||||||||||
| 236 | 02000 | - | ||||||||||||||||||||||||||||||||||||
| 237 | | | - | ||||||||||||||||||||||||||||||||||||
| 238 | 01000 | - | ||||||||||||||||||||||||||||||||||||
| 239 | | | - | ||||||||||||||||||||||||||||||||||||
| 240 | (0400|0200|0100) | - | ||||||||||||||||||||||||||||||||||||
| 241 | | | - | ||||||||||||||||||||||||||||||||||||
| 242 | ((0400|0200|0100) >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 243 | | | - | ||||||||||||||||||||||||||||||||||||
| 244 | (((0400|0200|0100) >> 3) >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 245 | ); | - | ||||||||||||||||||||||||||||||||||||
| 246 | break; executed 46 times by 2 tests: break;Executed by:
| 46 | ||||||||||||||||||||||||||||||||||||
| 247 | case executed 68 times by 1 test: '=':case '=':Executed by:
executed 68 times by 1 test: casecase '=':Executed by:
executed 602 times by 1 test: '+':case '+':Executed by:
executed 602 times by 1 test: casecase '+':Executed by:
executed 83 times by 2 tests: '-':case '-':Executed by:
executed 83 times by 2 tests: case '-':Executed by:
| 68-602 | ||||||||||||||||||||||||||||||||||||
| 248 | goto executed 753 times by 2 tests: no_more_affected;goto no_more_affected;Executed by:
executed 753 times by 2 tests: goto no_more_affected;Executed by:
| 753 | ||||||||||||||||||||||||||||||||||||
| 249 | } | - | ||||||||||||||||||||||||||||||||||||
| 250 | no_more_affected: code before this statement never executed: ;no_more_affected: | 0 | ||||||||||||||||||||||||||||||||||||
| 251 | - | |||||||||||||||||||||||||||||||||||||
| 252 | do | - | ||||||||||||||||||||||||||||||||||||
| 253 | { | - | ||||||||||||||||||||||||||||||||||||
| 254 | char op = *p++; | - | ||||||||||||||||||||||||||||||||||||
| 255 | mode_t value; | - | ||||||||||||||||||||||||||||||||||||
| 256 | mode_t mentioned = 0; | - | ||||||||||||||||||||||||||||||||||||
| 257 | char flag = MODE_COPY_EXISTING; | - | ||||||||||||||||||||||||||||||||||||
| 258 | struct mode_change *change; | - | ||||||||||||||||||||||||||||||||||||
| 259 | - | |||||||||||||||||||||||||||||||||||||
| 260 | switch (*p) | - | ||||||||||||||||||||||||||||||||||||
| 261 | { | - | ||||||||||||||||||||||||||||||||||||
| 262 | case never executed: '0':case '0':never executed: casecase '0':never executed: '1':case '1':never executed: casecase '1':executed 15 times by 1 test: '2':case '2':Executed by:
executed 15 times by 1 test: casecase '2':Executed by:
never executed: '3':case '3':never executed: case '3': | 0-15 | ||||||||||||||||||||||||||||||||||||
| 263 | case never executed: '4':case '4':never executed: casecase '4':executed 2 times by 1 test: '5':case '5':Executed by:
executed 2 times by 1 test: casecase '5':Executed by:
never executed: '6':case '6':never executed: casecase '6':executed 3 times by 1 test: '7':case '7':Executed by:
executed 3 times by 1 test: case '7':Executed by:
| 0-3 | ||||||||||||||||||||||||||||||||||||
| 264 | { | - | ||||||||||||||||||||||||||||||||||||
| 265 | unsigned int octal_mode = 0; | - | ||||||||||||||||||||||||||||||||||||
| 266 | - | |||||||||||||||||||||||||||||||||||||
| 267 | do | - | ||||||||||||||||||||||||||||||||||||
| 268 | { | - | ||||||||||||||||||||||||||||||||||||
| 269 | octal_mode = 8 * octal_mode + *p++ - '0'; | - | ||||||||||||||||||||||||||||||||||||
| 270 | if (07777 < octal_mode
| 0-79 | ||||||||||||||||||||||||||||||||||||
| 271 | goto never executed: invalid;goto invalid;never executed: goto invalid; | 0 | ||||||||||||||||||||||||||||||||||||
| 272 | } executed 79 times by 1 test: end of blockExecuted by:
| 79 | ||||||||||||||||||||||||||||||||||||
| 273 | while ('0' <= *p
| 0-59 | ||||||||||||||||||||||||||||||||||||
| 274 | - | |||||||||||||||||||||||||||||||||||||
| 275 | if (affected
| 0-20 | ||||||||||||||||||||||||||||||||||||
| 276 | goto never executed: invalid;goto invalid;never executed: goto invalid; | 0 | ||||||||||||||||||||||||||||||||||||
| 277 | affected = mentioned = ( | - | ||||||||||||||||||||||||||||||||||||
| 278 | 04000 | - | ||||||||||||||||||||||||||||||||||||
| 279 | | | - | ||||||||||||||||||||||||||||||||||||
| 280 | 02000 | - | ||||||||||||||||||||||||||||||||||||
| 281 | | | - | ||||||||||||||||||||||||||||||||||||
| 282 | 01000 | - | ||||||||||||||||||||||||||||||||||||
| 283 | | | - | ||||||||||||||||||||||||||||||||||||
| 284 | (0400|0200|0100) | - | ||||||||||||||||||||||||||||||||||||
| 285 | | | - | ||||||||||||||||||||||||||||||||||||
| 286 | ((0400|0200|0100) >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 287 | | | - | ||||||||||||||||||||||||||||||||||||
| 288 | (((0400|0200|0100) >> 3) >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 289 | ); | - | ||||||||||||||||||||||||||||||||||||
| 290 | value = octal_to_mode (octal_mode); | - | ||||||||||||||||||||||||||||||||||||
| 291 | flag = MODE_ORDINARY_CHANGE; | - | ||||||||||||||||||||||||||||||||||||
| 292 | break; executed 20 times by 1 test: break;Executed by:
| 20 | ||||||||||||||||||||||||||||||||||||
| 293 | } | - | ||||||||||||||||||||||||||||||||||||
| 294 | - | |||||||||||||||||||||||||||||||||||||
| 295 | case executed 3 times by 1 test: 'u':case 'u':Executed by:
executed 3 times by 1 test: case 'u':Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||
| 296 | - | |||||||||||||||||||||||||||||||||||||
| 297 | - | |||||||||||||||||||||||||||||||||||||
| 298 | value = | - | ||||||||||||||||||||||||||||||||||||
| 299 | (0400|0200|0100) | - | ||||||||||||||||||||||||||||||||||||
| 300 | ; | - | ||||||||||||||||||||||||||||||||||||
| 301 | p++; | - | ||||||||||||||||||||||||||||||||||||
| 302 | break; executed 3 times by 1 test: break;Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||
| 303 | case executed 3 times by 1 test: 'g':case 'g':Executed by:
executed 3 times by 1 test: case 'g':Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||
| 304 | - | |||||||||||||||||||||||||||||||||||||
| 305 | - | |||||||||||||||||||||||||||||||||||||
| 306 | value = | - | ||||||||||||||||||||||||||||||||||||
| 307 | ((0400|0200|0100) >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 308 | ; | - | ||||||||||||||||||||||||||||||||||||
| 309 | p++; | - | ||||||||||||||||||||||||||||||||||||
| 310 | break; executed 3 times by 1 test: break;Executed by:
| 3 | ||||||||||||||||||||||||||||||||||||
| 311 | case executed 2 times by 1 test: 'o':case 'o':Executed by:
executed 2 times by 1 test: case 'o':Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||
| 312 | - | |||||||||||||||||||||||||||||||||||||
| 313 | - | |||||||||||||||||||||||||||||||||||||
| 314 | value = | - | ||||||||||||||||||||||||||||||||||||
| 315 | (((0400|0200|0100) >> 3) >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 316 | ; | - | ||||||||||||||||||||||||||||||||||||
| 317 | p++; | - | ||||||||||||||||||||||||||||||||||||
| 318 | break; executed 2 times by 1 test: break;Executed by:
| 2 | ||||||||||||||||||||||||||||||||||||
| 319 | - | |||||||||||||||||||||||||||||||||||||
| 320 | default executed 733 times by 2 tests: :default:Executed by:
executed 733 times by 2 tests: default:Executed by:
| 733 | ||||||||||||||||||||||||||||||||||||
| 321 | value = 0; | - | ||||||||||||||||||||||||||||||||||||
| 322 | flag = MODE_ORDINARY_CHANGE; | - | ||||||||||||||||||||||||||||||||||||
| 323 | - | |||||||||||||||||||||||||||||||||||||
| 324 | for (;; p++) | - | ||||||||||||||||||||||||||||||||||||
| 325 | switch (*p) | - | ||||||||||||||||||||||||||||||||||||
| 326 | { | - | ||||||||||||||||||||||||||||||||||||
| 327 | case executed 597 times by 2 tests: 'r':case 'r':Executed by:
executed 597 times by 2 tests: case 'r':Executed by:
| 597 | ||||||||||||||||||||||||||||||||||||
| 328 | value |= | - | ||||||||||||||||||||||||||||||||||||
| 329 | 0400 | - | ||||||||||||||||||||||||||||||||||||
| 330 | | | - | ||||||||||||||||||||||||||||||||||||
| 331 | (0400 >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 332 | | | - | ||||||||||||||||||||||||||||||||||||
| 333 | ((0400 >> 3) >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 334 | ; | - | ||||||||||||||||||||||||||||||||||||
| 335 | break; executed 597 times by 2 tests: break;Executed by:
| 597 | ||||||||||||||||||||||||||||||||||||
| 336 | case executed 634 times by 1 test: 'w':case 'w':Executed by:
executed 634 times by 1 test: case 'w':Executed by:
| 634 | ||||||||||||||||||||||||||||||||||||
| 337 | value |= | - | ||||||||||||||||||||||||||||||||||||
| 338 | 0200 | - | ||||||||||||||||||||||||||||||||||||
| 339 | | | - | ||||||||||||||||||||||||||||||||||||
| 340 | (0200 >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 341 | | | - | ||||||||||||||||||||||||||||||||||||
| 342 | ((0200 >> 3) >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 343 | ; | - | ||||||||||||||||||||||||||||||||||||
| 344 | break; executed 634 times by 1 test: break;Executed by:
| 634 | ||||||||||||||||||||||||||||||||||||
| 345 | case executed 607 times by 1 test: 'x':case 'x':Executed by:
executed 607 times by 1 test: case 'x':Executed by:
| 607 | ||||||||||||||||||||||||||||||||||||
| 346 | value |= | - | ||||||||||||||||||||||||||||||||||||
| 347 | 0100 | - | ||||||||||||||||||||||||||||||||||||
| 348 | | | - | ||||||||||||||||||||||||||||||||||||
| 349 | (0100 >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 350 | | | - | ||||||||||||||||||||||||||||||||||||
| 351 | ((0100 >> 3) >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 352 | ; | - | ||||||||||||||||||||||||||||||||||||
| 353 | break; executed 607 times by 1 test: break;Executed by:
| 607 | ||||||||||||||||||||||||||||||||||||
| 354 | case executed 4 times by 1 test: 'X':case 'X':Executed by:
executed 4 times by 1 test: case 'X':Executed by:
| 4 | ||||||||||||||||||||||||||||||||||||
| 355 | flag = MODE_X_IF_ANY_X; | - | ||||||||||||||||||||||||||||||||||||
| 356 | break; executed 4 times by 1 test: break;Executed by:
| 4 | ||||||||||||||||||||||||||||||||||||
| 357 | case executed 10 times by 1 test: 's':case 's':Executed by:
executed 10 times by 1 test: case 's':Executed by:
| 10 | ||||||||||||||||||||||||||||||||||||
| 358 | - | |||||||||||||||||||||||||||||||||||||
| 359 | value |= | - | ||||||||||||||||||||||||||||||||||||
| 360 | 04000 | - | ||||||||||||||||||||||||||||||||||||
| 361 | | | - | ||||||||||||||||||||||||||||||||||||
| 362 | 02000 | - | ||||||||||||||||||||||||||||||||||||
| 363 | ; | - | ||||||||||||||||||||||||||||||||||||
| 364 | break; executed 10 times by 1 test: break;Executed by:
| 10 | ||||||||||||||||||||||||||||||||||||
| 365 | case executed 6 times by 1 test: 't':case 't':Executed by:
executed 6 times by 1 test: case 't':Executed by:
| 6 | ||||||||||||||||||||||||||||||||||||
| 366 | - | |||||||||||||||||||||||||||||||||||||
| 367 | value |= | - | ||||||||||||||||||||||||||||||||||||
| 368 | 01000 | - | ||||||||||||||||||||||||||||||||||||
| 369 | ; | - | ||||||||||||||||||||||||||||||||||||
| 370 | break; executed 6 times by 1 test: break;Executed by:
| 6 | ||||||||||||||||||||||||||||||||||||
| 371 | default executed 733 times by 2 tests: :default:Executed by:
executed 733 times by 2 tests: default:Executed by:
| 733 | ||||||||||||||||||||||||||||||||||||
| 372 | goto executed 733 times by 2 tests: no_more_values;goto no_more_values;Executed by:
executed 733 times by 2 tests: goto no_more_values;Executed by:
| 733 | ||||||||||||||||||||||||||||||||||||
| 373 | } | - | ||||||||||||||||||||||||||||||||||||
| 374 | no_more_values: code before this statement never executed: ;no_more_values: | 0 | ||||||||||||||||||||||||||||||||||||
| 375 | } executed 733 times by 2 tests: end of blockExecuted by:
| 733 | ||||||||||||||||||||||||||||||||||||
| 376 | - | |||||||||||||||||||||||||||||||||||||
| 377 | change = &mc[used++]; | - | ||||||||||||||||||||||||||||||||||||
| 378 | change->op = op; | - | ||||||||||||||||||||||||||||||||||||
| 379 | change->flag = flag; | - | ||||||||||||||||||||||||||||||||||||
| 380 | change->affected = affected; | - | ||||||||||||||||||||||||||||||||||||
| 381 | change->value = value; | - | ||||||||||||||||||||||||||||||||||||
| 382 | change->mentioned = | - | ||||||||||||||||||||||||||||||||||||
| 383 | (mentioned
| 20-741 | ||||||||||||||||||||||||||||||||||||
| 384 | } executed 761 times by 2 tests: end of blockExecuted by:
| 761 | ||||||||||||||||||||||||||||||||||||
| 385 | while (*
| 0-761 | ||||||||||||||||||||||||||||||||||||
| 386 | - | |||||||||||||||||||||||||||||||||||||
| 387 | if (*
| 41-712 | ||||||||||||||||||||||||||||||||||||
| 388 | break; executed 712 times by 2 tests: break;Executed by:
| 712 | ||||||||||||||||||||||||||||||||||||
| 389 | } executed 41 times by 1 test: end of blockExecuted by:
| 41 | ||||||||||||||||||||||||||||||||||||
| 390 | - | |||||||||||||||||||||||||||||||||||||
| 391 | if (*
| 1-711 | ||||||||||||||||||||||||||||||||||||
| 392 | { | - | ||||||||||||||||||||||||||||||||||||
| 393 | mc[used].flag = MODE_DONE; | - | ||||||||||||||||||||||||||||||||||||
| 394 | return executed 711 times by 2 tests: mc;return mc;Executed by:
executed 711 times by 2 tests: return mc;Executed by:
| 711 | ||||||||||||||||||||||||||||||||||||
| 395 | } | - | ||||||||||||||||||||||||||||||||||||
| 396 | - | |||||||||||||||||||||||||||||||||||||
| 397 | invalid: code before this statement executed 1 time by 1 test: invalid:Executed by:
| 1 | ||||||||||||||||||||||||||||||||||||
| 398 | free (mc); | - | ||||||||||||||||||||||||||||||||||||
| 399 | return executed 4 times by 1 test: return ((void *)0) ;Executed by:
executed 4 times by 1 test: return ((void *)0) ;Executed by:
| 4 | ||||||||||||||||||||||||||||||||||||
| 400 | ((void *)0) executed 4 times by 1 test: return ((void *)0) ;Executed by:
| 4 | ||||||||||||||||||||||||||||||||||||
| 401 | ; executed 4 times by 1 test: return ((void *)0) ;Executed by:
| 4 | ||||||||||||||||||||||||||||||||||||
| 402 | } | - | ||||||||||||||||||||||||||||||||||||
| 403 | - | |||||||||||||||||||||||||||||||||||||
| 404 | - | |||||||||||||||||||||||||||||||||||||
| 405 | - | |||||||||||||||||||||||||||||||||||||
| 406 | - | |||||||||||||||||||||||||||||||||||||
| 407 | struct mode_change * | - | ||||||||||||||||||||||||||||||||||||
| 408 | mode_create_from_ref (const char *ref_file) | - | ||||||||||||||||||||||||||||||||||||
| 409 | { | - | ||||||||||||||||||||||||||||||||||||
| 410 | struct stat ref_stats; | - | ||||||||||||||||||||||||||||||||||||
| 411 | - | |||||||||||||||||||||||||||||||||||||
| 412 | if (stat (ref_file, &ref_stats) != 0
| 0 | ||||||||||||||||||||||||||||||||||||
| 413 | return never executed: return ((void *)0) ;never executed: return ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||||||||
| 414 | ((void *)0) never executed: return ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||||||||
| 415 | ; never executed: return ((void *)0) ; | 0 | ||||||||||||||||||||||||||||||||||||
| 416 | return never executed: make_node_op_equals (ref_stats.st_mode, (return make_node_op_equals (ref_stats.st_mode, ( 04000 | 02000 | 01000 | (0400|0200|0100) | ((0400|0200|0100) >> 3) | (((0400|0200|0100) >> 3) >> 3) ));never executed: return make_node_op_equals (ref_stats.st_mode, ( 04000 | 02000 | 01000 | (0400|0200|0100) | ((0400|0200|0100) >> 3) | (((0400|0200|0100) >> 3) >> 3) )); | 0 | ||||||||||||||||||||||||||||||||||||
| 417 | 04000 never executed: return make_node_op_equals (ref_stats.st_mode, ( 04000 | 02000 | 01000 | (0400|0200|0100) | ((0400|0200|0100) >> 3) | (((0400|0200|0100) >> 3) >> 3) )); | 0 | ||||||||||||||||||||||||||||||||||||
| 418 | | never executed: return make_node_op_equals (ref_stats.st_mode, ( 04000 | 02000 | 01000 | (0400|0200|0100) | ((0400|0200|0100) >> 3) | (((0400|0200|0100) >> 3) >> 3) )); | 0 | ||||||||||||||||||||||||||||||||||||
| 419 | 02000 never executed: return make_node_op_equals (ref_stats.st_mode, ( 04000 | 02000 | 01000 | (0400|0200|0100) | ((0400|0200|0100) >> 3) | (((0400|0200|0100) >> 3) >> 3) )); | 0 | ||||||||||||||||||||||||||||||||||||
| 420 | | never executed: return make_node_op_equals (ref_stats.st_mode, ( 04000 | 02000 | 01000 | (0400|0200|0100) | ((0400|0200|0100) >> 3) | (((0400|0200|0100) >> 3) >> 3) )); | 0 | ||||||||||||||||||||||||||||||||||||
| 421 | 01000 never executed: return make_node_op_equals (ref_stats.st_mode, ( 04000 | 02000 | 01000 | (0400|0200|0100) | ((0400|0200|0100) >> 3) | (((0400|0200|0100) >> 3) >> 3) )); | 0 | ||||||||||||||||||||||||||||||||||||
| 422 | | never executed: return make_node_op_equals (ref_stats.st_mode, ( 04000 | 02000 | 01000 | (0400|0200|0100) | ((0400|0200|0100) >> 3) | (((0400|0200|0100) >> 3) >> 3) )); | 0 | ||||||||||||||||||||||||||||||||||||
| 423 | (0400|0200|0100) never executed: return make_node_op_equals (ref_stats.st_mode, ( 04000 | 02000 | 01000 | (0400|0200|0100) | ((0400|0200|0100) >> 3) | (((0400|0200|0100) >> 3) >> 3) )); | 0 | ||||||||||||||||||||||||||||||||||||
| 424 | | never executed: return make_node_op_equals (ref_stats.st_mode, ( 04000 | 02000 | 01000 | (0400|0200|0100) | ((0400|0200|0100) >> 3) | (((0400|0200|0100) >> 3) >> 3) )); | 0 | ||||||||||||||||||||||||||||||||||||
| 425 | ((0400|0200|0100) >> 3) never executed: return make_node_op_equals (ref_stats.st_mode, ( 04000 | 02000 | 01000 | (0400|0200|0100) | ((0400|0200|0100) >> 3) | (((0400|0200|0100) >> 3) >> 3) )); | 0 | ||||||||||||||||||||||||||||||||||||
| 426 | | never executed: return make_node_op_equals (ref_stats.st_mode, ( 04000 | 02000 | 01000 | (0400|0200|0100) | ((0400|0200|0100) >> 3) | (((0400|0200|0100) >> 3) >> 3) )); | 0 | ||||||||||||||||||||||||||||||||||||
| 427 | (((0400|0200|0100) >> 3) >> 3) never executed: return make_node_op_equals (ref_stats.st_mode, ( 04000 | 02000 | 01000 | (0400|0200|0100) | ((0400|0200|0100) >> 3) | (((0400|0200|0100) >> 3) >> 3) )); | 0 | ||||||||||||||||||||||||||||||||||||
| 428 | )); never executed: return make_node_op_equals (ref_stats.st_mode, ( 04000 | 02000 | 01000 | (0400|0200|0100) | ((0400|0200|0100) >> 3) | (((0400|0200|0100) >> 3) >> 3) )); | 0 | ||||||||||||||||||||||||||||||||||||
| 429 | } | - | ||||||||||||||||||||||||||||||||||||
| 430 | mode_t | - | ||||||||||||||||||||||||||||||||||||
| 431 | mode_adjust (mode_t oldmode, | - | ||||||||||||||||||||||||||||||||||||
| 432 | _Bool | - | ||||||||||||||||||||||||||||||||||||
| 433 | dir, mode_t umask_value, | - | ||||||||||||||||||||||||||||||||||||
| 434 | struct mode_change const *changes, mode_t *pmode_bits) | - | ||||||||||||||||||||||||||||||||||||
| 435 | { | - | ||||||||||||||||||||||||||||||||||||
| 436 | - | |||||||||||||||||||||||||||||||||||||
| 437 | mode_t newmode = oldmode & ( | - | ||||||||||||||||||||||||||||||||||||
| 438 | 04000 | - | ||||||||||||||||||||||||||||||||||||
| 439 | | | - | ||||||||||||||||||||||||||||||||||||
| 440 | 02000 | - | ||||||||||||||||||||||||||||||||||||
| 441 | | | - | ||||||||||||||||||||||||||||||||||||
| 442 | 01000 | - | ||||||||||||||||||||||||||||||||||||
| 443 | | | - | ||||||||||||||||||||||||||||||||||||
| 444 | (0400|0200|0100) | - | ||||||||||||||||||||||||||||||||||||
| 445 | | | - | ||||||||||||||||||||||||||||||||||||
| 446 | ((0400|0200|0100) >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 447 | | | - | ||||||||||||||||||||||||||||||||||||
| 448 | (((0400|0200|0100) >> 3) >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 449 | ); | - | ||||||||||||||||||||||||||||||||||||
| 450 | - | |||||||||||||||||||||||||||||||||||||
| 451 | - | |||||||||||||||||||||||||||||||||||||
| 452 | mode_t mode_bits = 0; | - | ||||||||||||||||||||||||||||||||||||
| 453 | - | |||||||||||||||||||||||||||||||||||||
| 454 | for (; changes->flag != MODE_DONE
| 291017-291067 | ||||||||||||||||||||||||||||||||||||
| 455 | { | - | ||||||||||||||||||||||||||||||||||||
| 456 | mode_t affected = changes->affected; | - | ||||||||||||||||||||||||||||||||||||
| 457 | mode_t omit_change = | - | ||||||||||||||||||||||||||||||||||||
| 458 | (dir
| 43014-248053 | ||||||||||||||||||||||||||||||||||||
| 459 | 04000 | - | ||||||||||||||||||||||||||||||||||||
| 460 | | | - | ||||||||||||||||||||||||||||||||||||
| 461 | 02000 | - | ||||||||||||||||||||||||||||||||||||
| 462 | : 0) & ~ changes->mentioned; | - | ||||||||||||||||||||||||||||||||||||
| 463 | mode_t value = changes->value; | - | ||||||||||||||||||||||||||||||||||||
| 464 | - | |||||||||||||||||||||||||||||||||||||
| 465 | switch (changes->flag) | - | ||||||||||||||||||||||||||||||||||||
| 466 | { | - | ||||||||||||||||||||||||||||||||||||
| 467 | case executed 291056 times by 3 tests: MODE_ORDINARY_CHANGE:case MODE_ORDINARY_CHANGE:Executed by:
executed 291056 times by 3 tests: case MODE_ORDINARY_CHANGE:Executed by:
| 291056 | ||||||||||||||||||||||||||||||||||||
| 468 | break; executed 291056 times by 3 tests: break;Executed by:
| 291056 | ||||||||||||||||||||||||||||||||||||
| 469 | - | |||||||||||||||||||||||||||||||||||||
| 470 | case executed 7 times by 1 test: MODE_COPY_EXISTING:case MODE_COPY_EXISTING:Executed by:
executed 7 times by 1 test: case MODE_COPY_EXISTING:Executed by:
| 7 | ||||||||||||||||||||||||||||||||||||
| 471 | - | |||||||||||||||||||||||||||||||||||||
| 472 | value &= newmode; | - | ||||||||||||||||||||||||||||||||||||
| 473 | - | |||||||||||||||||||||||||||||||||||||
| 474 | - | |||||||||||||||||||||||||||||||||||||
| 475 | value |= ((value & (
| 0-7 | ||||||||||||||||||||||||||||||||||||
| 476 | 0400
| 0-7 | ||||||||||||||||||||||||||||||||||||
| 477 | |
| 0-7 | ||||||||||||||||||||||||||||||||||||
| 478 | (0400 >> 3)
| 0-7 | ||||||||||||||||||||||||||||||||||||
| 479 | |
| 0-7 | ||||||||||||||||||||||||||||||||||||
| 480 | ((0400 >> 3) >> 3)
| 0-7 | ||||||||||||||||||||||||||||||||||||
| 481 | )
| 0-7 | ||||||||||||||||||||||||||||||||||||
| 482 | ? | - | ||||||||||||||||||||||||||||||||||||
| 483 | 0400 | - | ||||||||||||||||||||||||||||||||||||
| 484 | | | - | ||||||||||||||||||||||||||||||||||||
| 485 | (0400 >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 486 | | | - | ||||||||||||||||||||||||||||||||||||
| 487 | ((0400 >> 3) >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 488 | : 0) | - | ||||||||||||||||||||||||||||||||||||
| 489 | | (value & ( | - | ||||||||||||||||||||||||||||||||||||
| 490 | 0200 | - | ||||||||||||||||||||||||||||||||||||
| 491 | | | - | ||||||||||||||||||||||||||||||||||||
| 492 | (0200 >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 493 | | | - | ||||||||||||||||||||||||||||||||||||
| 494 | ((0200 >> 3) >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 495 | ) | - | ||||||||||||||||||||||||||||||||||||
| 496 | ? | - | ||||||||||||||||||||||||||||||||||||
| 497 | 0200 | - | ||||||||||||||||||||||||||||||||||||
| 498 | | | - | ||||||||||||||||||||||||||||||||||||
| 499 | (0200 >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 500 | | | - | ||||||||||||||||||||||||||||||||||||
| 501 | ((0200 >> 3) >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 502 | : 0) | - | ||||||||||||||||||||||||||||||||||||
| 503 | | (value & ( | - | ||||||||||||||||||||||||||||||||||||
| 504 | 0100 | - | ||||||||||||||||||||||||||||||||||||
| 505 | | | - | ||||||||||||||||||||||||||||||||||||
| 506 | (0100 >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 507 | | | - | ||||||||||||||||||||||||||||||||||||
| 508 | ((0100 >> 3) >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 509 | ) | - | ||||||||||||||||||||||||||||||||||||
| 510 | ? | - | ||||||||||||||||||||||||||||||||||||
| 511 | 0100 | - | ||||||||||||||||||||||||||||||||||||
| 512 | | | - | ||||||||||||||||||||||||||||||||||||
| 513 | (0100 >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 514 | | | - | ||||||||||||||||||||||||||||||||||||
| 515 | ((0100 >> 3) >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 516 | : 0)); | - | ||||||||||||||||||||||||||||||||||||
| 517 | break; executed 7 times by 1 test: break;Executed by:
| 7 | ||||||||||||||||||||||||||||||||||||
| 518 | - | |||||||||||||||||||||||||||||||||||||
| 519 | case executed 4 times by 1 test: MODE_X_IF_ANY_X:case MODE_X_IF_ANY_X:Executed by:
executed 4 times by 1 test: case MODE_X_IF_ANY_X:Executed by:
| 4 | ||||||||||||||||||||||||||||||||||||
| 520 | - | |||||||||||||||||||||||||||||||||||||
| 521 | - | |||||||||||||||||||||||||||||||||||||
| 522 | if ((
| 1-3 | ||||||||||||||||||||||||||||||||||||
| 523 | 0100
| 1-3 | ||||||||||||||||||||||||||||||||||||
| 524 | |
| 1-3 | ||||||||||||||||||||||||||||||||||||
| 525 | (0100 >> 3)
| 1-3 | ||||||||||||||||||||||||||||||||||||
| 526 | |
| 1-3 | ||||||||||||||||||||||||||||||||||||
| 527 | ((0100 >> 3) >> 3)
| 1-3 | ||||||||||||||||||||||||||||||||||||
| 528 | )) | dir
| 1-3 | ||||||||||||||||||||||||||||||||||||
| 529 | value |= executed 1 time by 1 test: value |= 0100 | (0100 >> 3) | ((0100 >> 3) >> 3) ;Executed by:
| 1 | ||||||||||||||||||||||||||||||||||||
| 530 | 0100 executed 1 time by 1 test: value |= 0100 | (0100 >> 3) | ((0100 >> 3) >> 3) ;Executed by:
| 1 | ||||||||||||||||||||||||||||||||||||
| 531 | | executed 1 time by 1 test: value |= 0100 | (0100 >> 3) | ((0100 >> 3) >> 3) ;Executed by:
| 1 | ||||||||||||||||||||||||||||||||||||
| 532 | (0100 >> 3) executed 1 time by 1 test: value |= 0100 | (0100 >> 3) | ((0100 >> 3) >> 3) ;Executed by:
| 1 | ||||||||||||||||||||||||||||||||||||
| 533 | | executed 1 time by 1 test: value |= 0100 | (0100 >> 3) | ((0100 >> 3) >> 3) ;Executed by:
| 1 | ||||||||||||||||||||||||||||||||||||
| 534 | ((0100 >> 3) >> 3) executed 1 time by 1 test: value |= 0100 | (0100 >> 3) | ((0100 >> 3) >> 3) ;Executed by:
| 1 | ||||||||||||||||||||||||||||||||||||
| 535 | ; executed 1 time by 1 test: value |= 0100 | (0100 >> 3) | ((0100 >> 3) >> 3) ;Executed by:
| 1 | ||||||||||||||||||||||||||||||||||||
| 536 | break; executed 4 times by 1 test: break;Executed by:
| 4 | ||||||||||||||||||||||||||||||||||||
| 537 | } | - | ||||||||||||||||||||||||||||||||||||
| 538 | - | |||||||||||||||||||||||||||||||||||||
| 539 | - | |||||||||||||||||||||||||||||||||||||
| 540 | - | |||||||||||||||||||||||||||||||||||||
| 541 | - | |||||||||||||||||||||||||||||||||||||
| 542 | value &= (affected
| 84-290983 | ||||||||||||||||||||||||||||||||||||
| 543 | - | |||||||||||||||||||||||||||||||||||||
| 544 | switch (changes->op) | - | ||||||||||||||||||||||||||||||||||||
| 545 | { | - | ||||||||||||||||||||||||||||||||||||
| 546 | case executed 200160 times by 3 tests: '=':case '=':Executed by:
executed 200160 times by 3 tests: case '=':Executed by:
| 200160 | ||||||||||||||||||||||||||||||||||||
| 547 | - | |||||||||||||||||||||||||||||||||||||
| 548 | - | |||||||||||||||||||||||||||||||||||||
| 549 | - | |||||||||||||||||||||||||||||||||||||
| 550 | { | - | ||||||||||||||||||||||||||||||||||||
| 551 | mode_t preserved = (affected
| 8-200152 | ||||||||||||||||||||||||||||||||||||
| 552 | mode_bits |= ( | - | ||||||||||||||||||||||||||||||||||||
| 553 | 04000 | - | ||||||||||||||||||||||||||||||||||||
| 554 | | | - | ||||||||||||||||||||||||||||||||||||
| 555 | 02000 | - | ||||||||||||||||||||||||||||||||||||
| 556 | | | - | ||||||||||||||||||||||||||||||||||||
| 557 | 01000 | - | ||||||||||||||||||||||||||||||||||||
| 558 | | | - | ||||||||||||||||||||||||||||||||||||
| 559 | (0400|0200|0100) | - | ||||||||||||||||||||||||||||||||||||
| 560 | | | - | ||||||||||||||||||||||||||||||||||||
| 561 | ((0400|0200|0100) >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 562 | | | - | ||||||||||||||||||||||||||||||||||||
| 563 | (((0400|0200|0100) >> 3) >> 3) | - | ||||||||||||||||||||||||||||||||||||
| 564 | ) & ~preserved; | - | ||||||||||||||||||||||||||||||||||||
| 565 | newmode = (newmode & preserved) | value; | - | ||||||||||||||||||||||||||||||||||||
| 566 | break; executed 200160 times by 3 tests: break;Executed by:
| 200160 | ||||||||||||||||||||||||||||||||||||
| 567 | } | - | ||||||||||||||||||||||||||||||||||||
| 568 | - | |||||||||||||||||||||||||||||||||||||
| 569 | case executed 90795 times by 1 test: '+':case '+':Executed by:
executed 90795 times by 1 test: case '+':Executed by:
| 90795 | ||||||||||||||||||||||||||||||||||||
| 570 | mode_bits |= value; | - | ||||||||||||||||||||||||||||||||||||
| 571 | newmode |= value; | - | ||||||||||||||||||||||||||||||||||||
| 572 | break; executed 90795 times by 1 test: break;Executed by:
| 90795 | ||||||||||||||||||||||||||||||||||||
| 573 | - | |||||||||||||||||||||||||||||||||||||
| 574 | case executed 112 times by 2 tests: '-':case '-':Executed by:
executed 112 times by 2 tests: case '-':Executed by:
| 112 | ||||||||||||||||||||||||||||||||||||
| 575 | mode_bits |= value; | - | ||||||||||||||||||||||||||||||||||||
| 576 | newmode &= ~value; | - | ||||||||||||||||||||||||||||||||||||
| 577 | break; executed 112 times by 2 tests: break;Executed by:
| 112 | ||||||||||||||||||||||||||||||||||||
| 578 | } | - | ||||||||||||||||||||||||||||||||||||
| 579 | } executed 291067 times by 3 tests: end of blockExecuted by:
| 291067 | ||||||||||||||||||||||||||||||||||||
| 580 | - | |||||||||||||||||||||||||||||||||||||
| 581 | if (pmode_bits
| 17-291000 | ||||||||||||||||||||||||||||||||||||
| 582 | * executed 17 times by 2 tests: pmode_bits = mode_bits;*pmode_bits = mode_bits;Executed by:
executed 17 times by 2 tests: *pmode_bits = mode_bits;Executed by:
| 17 | ||||||||||||||||||||||||||||||||||||
| 583 | return executed 291017 times by 3 tests: newmode;return newmode;Executed by:
executed 291017 times by 3 tests: return newmode;Executed by:
| 291017 | ||||||||||||||||||||||||||||||||||||
| 584 | } | - | ||||||||||||||||||||||||||||||||||||
| Switch to Source code | Preprocessed file |