OpenCoverage

obj_lcl.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/objects/obj_lcl.h
Source codeSwitch to Preprocessed file
LineSourceCount
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-
10typedef struct name_funcs_st NAME_FUNCS;-
11DEFINE_STACK_OF(NAME_FUNCS)
never executed: end of block
never executed: end of block
executed 1971 times by 1 test: end of block
Executed by:
  • libcrypto.so.1.1
never executed: end of block
never 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
12DEFINE_LHASH_OF(OBJ_NAME);
executed 1971 times by 1 test: end of block
Executed by:
  • libcrypto.so.1.1
never executed: end of block
never executed: end of block
never executed: end of block
executed 9855 times by 1 test: end of block
Executed by:
  • libcrypto.so.1.1
executed 5913 times by 1 test: end of block
Executed by:
  • libcrypto.so.1.1
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:
  • libcrypto.so.1.1
executed 926355 times by 1 test: return (OBJ_NAME *)OPENSSL_LH_insert((OPENSSL_LHASH *)lh, d);
Executed by:
  • libcrypto.so.1.1
executed 451673 times by 1 test: return (OBJ_NAME *)OPENSSL_LH_delete((OPENSSL_LHASH *)lh, d);
Executed by:
  • libcrypto.so.1.1
executed 114644 times by 1 test: return (OBJ_NAME *)OPENSSL_LH_retrieve((OPENSSL_LHASH *)lh, d);
Executed by:
  • libcrypto.so.1.1
executed 451673 times by 1 test: return OPENSSL_LH_error((OPENSSL_LHASH *)lh);
Executed by:
  • libcrypto.so.1.1
executed 1 time by 1 test: return OPENSSL_LH_num_items((OPENSSL_LHASH *)lh);
Executed by:
  • libcrypto.so.1.1
executed 5913 times by 1 test: return OPENSSL_LH_get_down_load((OPENSSL_LHASH *)lh);
Executed by:
  • libcrypto.so.1.1
0-926355
13typedef struct added_obj_st ADDED_OBJ;-
14DEFINE_LHASH_OF(ADDED_OBJ);
executed 61 times by 1 test: end of block
Executed by:
  • libcrypto.so.1.1
never executed: end of block
never executed: end of block
never executed: end of block
executed 61 times by 1 test: end of block
Executed by:
  • libcrypto.so.1.1
executed 183 times by 1 test: end of block
Executed by:
  • libcrypto.so.1.1
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:
  • libcrypto.so.1.1
executed 380 times by 1 test: return (ADDED_OBJ *)OPENSSL_LH_insert((OPENSSL_LHASH *)lh, d);
Executed by:
  • libcrypto.so.1.1
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:
  • libcrypto.so.1.1
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 codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.2