OpenCoverage

async_posix.h

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

Generated by Squish Coco 4.2.2