Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/coreutils/src/gl/lib/randint.h |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | - | |
3 | - | |
4 | - | |
5 | typedef uintmax_t randint; | - |
6 | - | |
7 | - | |
8 | struct randint_source; | - |
9 | - | |
10 | struct randint_source *randint_new (struct randread_source *); | - |
11 | struct randint_source *randint_all_new (char const *, size_t); | - |
12 | struct randread_source *randint_get_source (struct randint_source const *) | - |
13 | __attribute__ ((__pure__)); | - |
14 | randint randint_genmax (struct randint_source *, randint genmax); | - |
15 | - | |
16 | - | |
17 | - | |
18 | static inline randint | - |
19 | randint_choose (struct randint_source *s, randint choices) | - |
20 | { | - |
21 | return executed 7147 times by 2 tests: randint_genmax (s, choices - 1);return randint_genmax (s, choices - 1); Executed by:
executed 7147 times by 2 tests: return randint_genmax (s, choices - 1); Executed by:
| 7147 |
22 | } | - |
23 | - | |
24 | void randint_free (struct randint_source *); | - |
25 | int randint_all_free (struct randint_source *); | - |
Switch to Source code | Preprocessed file |