Coverage Report

Created: 2026-05-28 06:48

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/zlib-ng/zutil_p.h
Line
Count
Source
1
/* zutil_p.h -- Private inline functions used internally in zlib-ng
2
 * For conditions of distribution and use, see copyright notice in zlib.h
3
 */
4
5
#ifndef ZUTIL_P_H
6
#define ZUTIL_P_H
7
8
#include <stdlib.h>
9
10
// Zlib-ng's default alloc/free implementation, used unless
11
// application supplies its own alloc/free functions.
12
66.9k
static inline void *zng_alloc(size_t size) {
13
66.9k
    return malloc(size);
14
66.9k
}
gzlib.c:zng_alloc
Line
Count
Source
12
22.3k
static inline void *zng_alloc(size_t size) {
13
22.3k
    return malloc(size);
14
22.3k
}
Unexecuted instantiation: gzread.c:zng_alloc
Unexecuted instantiation: gzwrite.c:zng_alloc
zutil.c:zng_alloc
Line
Count
Source
12
44.6k
static inline void *zng_alloc(size_t size) {
13
44.6k
    return malloc(size);
14
44.6k
}
15
16
66.9k
static inline void zng_free(void *ptr) {
17
66.9k
    free(ptr);
18
66.9k
}
gzlib.c:zng_free
Line
Count
Source
16
11.1k
static inline void zng_free(void *ptr) {
17
11.1k
    free(ptr);
18
11.1k
}
gzread.c:zng_free
Line
Count
Source
16
11.1k
static inline void zng_free(void *ptr) {
17
11.1k
    free(ptr);
18
11.1k
}
Unexecuted instantiation: gzwrite.c:zng_free
zutil.c:zng_free
Line
Count
Source
16
44.6k
static inline void zng_free(void *ptr) {
17
44.6k
    free(ptr);
18
44.6k
}
19
20
#endif