Coverage Report

Created: 2026-01-10 06:46

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
100k
static inline void *zng_alloc(size_t size) {
13
100k
    return (void *)malloc(size);
14
100k
}
zutil.c:zng_alloc
Line
Count
Source
12
89.1k
static inline void *zng_alloc(size_t size) {
13
89.1k
    return (void *)malloc(size);
14
89.1k
}
gzlib.c:zng_alloc
Line
Count
Source
12
11.0k
static inline void *zng_alloc(size_t size) {
13
11.0k
    return (void *)malloc(size);
14
11.0k
}
Unexecuted instantiation: gzread.c:zng_alloc
Unexecuted instantiation: gzwrite.c:zng_alloc
15
16
100k
static inline void zng_free(void *ptr) {
17
100k
    free(ptr);
18
100k
}
zutil.c:zng_free
Line
Count
Source
16
89.1k
static inline void zng_free(void *ptr) {
17
89.1k
    free(ptr);
18
89.1k
}
gzlib.c:zng_free
Line
Count
Source
16
5.53k
static inline void zng_free(void *ptr) {
17
5.53k
    free(ptr);
18
5.53k
}
gzread.c:zng_free
Line
Count
Source
16
5.52k
static inline void zng_free(void *ptr) {
17
5.52k
    free(ptr);
18
5.52k
}
Unexecuted instantiation: gzwrite.c:zng_free
19
20
#endif