| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssl/src/include/internal/refcount.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | - | |||||||||||||
| 2 | typedef _Atomic int CRYPTO_REF_COUNT; | - | ||||||||||||
| 3 | - | |||||||||||||
| 4 | static inline int CRYPTO_UP_REF(_Atomic int *val, int *ret, void *lock) | - | ||||||||||||
| 5 | { | - | ||||||||||||
| 6 | *ret = | - | ||||||||||||
| 7 | __atomic_fetch_add (( | - | ||||||||||||
| 8 | val | - | ||||||||||||
| 9 | ), ( | - | ||||||||||||
| 10 | 1 | - | ||||||||||||
| 11 | ), ( | - | ||||||||||||
| 12 | memory_order_relaxed | - | ||||||||||||
| 13 | )) | - | ||||||||||||
| 14 | + 1; | - | ||||||||||||
| 15 | return executed 313408 times by 3 tests: 1;return 1;Executed by:
executed 313408 times by 3 tests: return 1;Executed by:
| 313408 | ||||||||||||
| 16 | } | - | ||||||||||||
| 17 | static inline int CRYPTO_DOWN_REF(_Atomic int *val, int *ret, void *lock) | - | ||||||||||||
| 18 | { | - | ||||||||||||
| 19 | *ret = | - | ||||||||||||
| 20 | __atomic_fetch_sub (( | - | ||||||||||||
| 21 | val | - | ||||||||||||
| 22 | ), ( | - | ||||||||||||
| 23 | 1 | - | ||||||||||||
| 24 | ), ( | - | ||||||||||||
| 25 | memory_order_relaxed | - | ||||||||||||
| 26 | )) | - | ||||||||||||
| 27 | - 1; | - | ||||||||||||
| 28 | if (*
| 320003-528821 | ||||||||||||
| 29 | - | |||||||||||||
| 30 | __atomic_thread_fence ( executed 528821 times by 14 tests: __atomic_thread_fence ( memory_order_acquire ) ;Executed by:
| 528821 | ||||||||||||
| 31 | memory_order_acquire executed 528821 times by 14 tests: __atomic_thread_fence ( memory_order_acquire ) ;Executed by:
| 528821 | ||||||||||||
| 32 | ) executed 528821 times by 14 tests: __atomic_thread_fence ( memory_order_acquire ) ;Executed by:
| 528821 | ||||||||||||
| 33 | ; executed 528821 times by 14 tests: __atomic_thread_fence ( memory_order_acquire ) ;Executed by:
| 528821 | ||||||||||||
| 34 | return executed 848824 times by 14 tests: 1;return 1;Executed by:
executed 848824 times by 14 tests: return 1;Executed by:
| 848824 | ||||||||||||
| 35 | } | - | ||||||||||||
| Switch to Source code | Preprocessed file |