Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/async/arch/async_posix.h |
Switch to Source code | Preprocessed file |
Line | Source | Count | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | - | |||||||||||||
2 | - | |||||||||||||
3 | typedef struct async_fibre_st { | - | ||||||||||||
4 | ucontext_t fibre; | - | ||||||||||||
5 | jmp_buf env; | - | ||||||||||||
6 | int env_init; | - | ||||||||||||
7 | } async_fibre; | - | ||||||||||||
8 | - | |||||||||||||
9 | static inline int async_fibre_swapcontext(async_fibre *o, async_fibre *n, int r) | - | ||||||||||||
10 | { | - | ||||||||||||
11 | o->env_init = 1; | - | ||||||||||||
12 | - | |||||||||||||
13 | if (!r
| 0-32 | ||||||||||||
14 | if (n->env_init
| 6-26 | ||||||||||||
15 | _longjmp(n->env, 1); executed 26 times by 1 test: _longjmp(n->env, 1); Executed by:
| 26 | ||||||||||||
16 | else | - | ||||||||||||
17 | setcontext(&n->fibre); executed 6 times by 1 test: setcontext(&n->fibre); Executed by:
| 6 | ||||||||||||
18 | } | - | ||||||||||||
19 | - | |||||||||||||
20 | return executed 26 times by 1 test: 1;return 1; Executed by:
executed 26 times by 1 test: return 1; Executed by:
| 26 | ||||||||||||
21 | } | - | ||||||||||||
22 | - | |||||||||||||
23 | - | |||||||||||||
24 | - | |||||||||||||
25 | int async_fibre_makecontext(async_fibre *fibre); | - | ||||||||||||
26 | void async_fibre_free(async_fibre *fibre); | - | ||||||||||||
Switch to Source code | Preprocessed file |