| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/objects/obj_lcl.h |
| Source code | Switch to Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | /* | - |
| 2 | * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved. | - |
| 3 | * | - |
| 4 | * Licensed under the OpenSSL license (the "License"). You may not use | - |
| 5 | * this file except in compliance with the License. You can obtain a copy | - |
| 6 | * in the file LICENSE in the source distribution or at | - |
| 7 | * https://www.openssl.org/source/license.html | - |
| 8 | */ | - |
| 9 | - | |
| 10 | typedef struct name_funcs_st NAME_FUNCS; | - |
| 11 | DEFINE_STACK_OF(NAME_FUNCS) never executed: end of blocknever executed: end of blockexecuted 1971 times by 1 test: end of blockExecuted by:
never executed: end of blocknever executed: return OPENSSL_sk_num((const OPENSSL_STACK *)sk);never executed: return (NAME_FUNCS *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx);never executed: return (struct stack_st_NAME_FUNCS *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare);never executed: return (struct stack_st_NAME_FUNCS *)OPENSSL_sk_new_null();never executed: return (struct stack_st_NAME_FUNCS *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n);never executed: return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n);never executed: return (NAME_FUNCS *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i);never executed: return (NAME_FUNCS *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr);never executed: return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr);never executed: return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr);never executed: return (NAME_FUNCS *)OPENSSL_sk_pop((OPENSSL_STACK *)sk);never executed: return (NAME_FUNCS *)OPENSSL_sk_shift((OPENSSL_STACK *)sk);never executed: return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx);never executed: return (NAME_FUNCS *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr);never executed: return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr);never executed: return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr);never executed: return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk);never executed: return (struct stack_st_NAME_FUNCS *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk);never executed: return (struct stack_st_NAME_FUNCS *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc);never executed: return (sk_NAME_FUNCS_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); | 0-1971 |
| 12 | DEFINE_LHASH_OF(OBJ_NAME); executed 1971 times by 1 test: end of blockExecuted by:
never executed: end of blocknever executed: end of blocknever executed: end of blockexecuted 9855 times by 1 test: end of blockExecuted by:
executed 5913 times by 1 test: end of blockExecuted by:
executed 1971 times by 1 test: return (struct lhash_st_OBJ_NAME *) OPENSSL_LH_new((OPENSSL_LH_HASHFUNC)hfn, (OPENSSL_LH_COMPFUNC)cfn);Executed by:
executed 926355 times by 1 test: return (OBJ_NAME *)OPENSSL_LH_insert((OPENSSL_LHASH *)lh, d);Executed by:
executed 451673 times by 1 test: return (OBJ_NAME *)OPENSSL_LH_delete((OPENSSL_LHASH *)lh, d);Executed by:
executed 114644 times by 1 test: return (OBJ_NAME *)OPENSSL_LH_retrieve((OPENSSL_LHASH *)lh, d);Executed by:
executed 451673 times by 1 test: return OPENSSL_LH_error((OPENSSL_LHASH *)lh);Executed by:
executed 1 time by 1 test: return OPENSSL_LH_num_items((OPENSSL_LHASH *)lh);Executed by:
executed 5913 times by 1 test: return OPENSSL_LH_get_down_load((OPENSSL_LHASH *)lh);Executed by:
| 0-926355 |
| 13 | typedef struct added_obj_st ADDED_OBJ; | - |
| 14 | DEFINE_LHASH_OF(ADDED_OBJ); executed 61 times by 1 test: end of blockExecuted by:
never executed: end of blocknever executed: end of blocknever executed: end of blockexecuted 61 times by 1 test: end of blockExecuted by:
executed 183 times by 1 test: end of blockExecuted by:
executed 61 times by 1 test: return (struct lhash_st_ADDED_OBJ *) OPENSSL_LH_new((OPENSSL_LH_HASHFUNC)hfn, (OPENSSL_LH_COMPFUNC)cfn);Executed by:
executed 380 times by 1 test: return (ADDED_OBJ *)OPENSSL_LH_insert((OPENSSL_LHASH *)lh, d);Executed by:
never executed: return (ADDED_OBJ *)OPENSSL_LH_delete((OPENSSL_LHASH *)lh, d);executed 437 times by 1 test: return (ADDED_OBJ *)OPENSSL_LH_retrieve((OPENSSL_LHASH *)lh, d);Executed by:
never executed: return OPENSSL_LH_error((OPENSSL_LHASH *)lh);never executed: return OPENSSL_LH_num_items((OPENSSL_LHASH *)lh);never executed: return OPENSSL_LH_get_down_load((OPENSSL_LHASH *)lh); | 0-437 |
| Source code | Switch to Preprocessed file |