LCOV - code coverage report
Current view: top level - lib/libz - zopenbsd.c (source / functions) Hit Total Coverage
Test: 6.4 Lines: 0 5 0.0 %
Date: 2018-10-19 03:25:38 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #include <sys/types.h>
       2             : #include <sys/malloc.h>
       3             : 
       4             : /*
       5             :  * Space allocation and freeing routines for use by zlib routines.
       6             :  */
       7             : void *
       8           0 : zcalloc(notused, items, size)
       9             :     void *notused;
      10             :     u_int items, size;
      11             : {
      12           0 :     return mallocarray(items, size, M_DEVBUF, M_NOWAIT);
      13             : }
      14             : 
      15             : void
      16           0 : zcfree(notused, ptr)
      17             :     void *notused;
      18             :     void *ptr;
      19             : {
      20           0 :     free(ptr, M_DEVBUF, 0);
      21           0 : }

Generated by: LCOV version 1.13