Coverage Report

Created: 2024-07-27 06:11

/src/lzo-2.10/src/compr1b.h
Line
Count
Source
1
/* compr1b.h --
2
3
   This file is part of the LZO real-time data compression library.
4
5
   Copyright (C) 1996-2017 Markus Franz Xaver Johannes Oberhumer
6
   All Rights Reserved.
7
8
   The LZO library is free software; you can redistribute it and/or
9
   modify it under the terms of the GNU General Public License as
10
   published by the Free Software Foundation; either version 2 of
11
   the License, or (at your option) any later version.
12
13
   The LZO library is distributed in the hope that it will be useful,
14
   but WITHOUT ANY WARRANTY; without even the implied warranty of
15
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
   GNU General Public License for more details.
17
18
   You should have received a copy of the GNU General Public License
19
   along with the LZO library; see the file COPYING.
20
   If not, write to the Free Software Foundation, Inc.,
21
   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22
23
   Markus F.X.J. Oberhumer
24
   <markus@oberhumer.com>
25
   http://www.oberhumer.com/opensource/lzo/
26
 */
27
28
29
#define LZO_NEED_DICT_H 1
30
#include "config1b.h"
31
32
33
#if !defined(COMPRESS_ID)
34
#define COMPRESS_ID     LZO_PP_ECONCAT2(DD_BITS,CLEVEL)
35
#endif
36
37
38
#include "lzo1b_c.ch"
39
40
41
/***********************************************************************
42
//
43
************************************************************************/
44
45
#define LZO_COMPRESS \
46
    LZO_PP_ECONCAT3(lzo1b_,COMPRESS_ID,_compress)
47
48
#define LZO_COMPRESS_FUNC \
49
    LZO_PP_ECONCAT3(_lzo1b_,COMPRESS_ID,_compress_func)
50
51
52
53
/***********************************************************************
54
//
55
************************************************************************/
56
57
const lzo_compress_t LZO_COMPRESS_FUNC = do_compress;
58
59
LZO_PUBLIC(int)
60
LZO_COMPRESS ( const lzo_bytep in,  lzo_uint  in_len,
61
                     lzo_bytep out, lzo_uintp out_len,
62
                     lzo_voidp wrkmem )
63
3.72k
{
64
3.72k
    return _lzo1b_do_compress(in,in_len,out,out_len,wrkmem,do_compress);
65
3.72k
}
lzo1b_1_compress
Line
Count
Source
63
348
{
64
348
    return _lzo1b_do_compress(in,in_len,out,out_len,wrkmem,do_compress);
65
348
}
lzo1b_2_compress
Line
Count
Source
63
369
{
64
369
    return _lzo1b_do_compress(in,in_len,out,out_len,wrkmem,do_compress);
65
369
}
lzo1b_3_compress
Line
Count
Source
63
378
{
64
378
    return _lzo1b_do_compress(in,in_len,out,out_len,wrkmem,do_compress);
65
378
}
lzo1b_4_compress
Line
Count
Source
63
330
{
64
330
    return _lzo1b_do_compress(in,in_len,out,out_len,wrkmem,do_compress);
65
330
}
lzo1b_5_compress
Line
Count
Source
63
362
{
64
362
    return _lzo1b_do_compress(in,in_len,out,out_len,wrkmem,do_compress);
65
362
}
lzo1b_6_compress
Line
Count
Source
63
324
{
64
324
    return _lzo1b_do_compress(in,in_len,out,out_len,wrkmem,do_compress);
65
324
}
lzo1b_7_compress
Line
Count
Source
63
371
{
64
371
    return _lzo1b_do_compress(in,in_len,out,out_len,wrkmem,do_compress);
65
371
}
lzo1b_8_compress
Line
Count
Source
63
339
{
64
339
    return _lzo1b_do_compress(in,in_len,out,out_len,wrkmem,do_compress);
65
339
}
lzo1b_9_compress
Line
Count
Source
63
453
{
64
453
    return _lzo1b_do_compress(in,in_len,out,out_len,wrkmem,do_compress);
65
453
}
lzo1b_99_compress
Line
Count
Source
63
452
{
64
452
    return _lzo1b_do_compress(in,in_len,out,out_len,wrkmem,do_compress);
65
452
}
66
67
68
/* vim:set ts=4 sw=4 et: */