HPCToolkit
compress_lzma.c File Reference
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <lzma.h>
#include "compress.h"
Include dependency graph for compress_lzma.c:

Go to the source code of this file.

Functions

static const char * get_error_message (lzma_ret ret) __attribute__((unused))
 
static lzma_ret init_encoder (lzma_stream *strm, uint32_t preset)
 
static lzma_ret compress (lzma_stream *strm, FILE *infile, FILE *outfile)
 
static lzma_ret decompress (lzma_stream *strm, FILE *infile, FILE *outfile)
 
static lzma_ret init_decoder (lzma_stream *strm)
 
enum compress_e compress_deflate (FILE *source, FILE *dest, int level)
 
enum compress_e compress_inflate (FILE *source, FILE *dest)
 

Function Documentation

◆ compress()

static lzma_ret compress ( lzma_stream *  strm,
FILE *  infile,
FILE *  outfile 
)
static

Definition at line 172 of file compress_lzma.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ compress_deflate()

enum compress_e compress_deflate ( FILE *  source,
FILE *  dest,
int  level 
)

Definition at line 418 of file compress_lzma.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ compress_inflate()

enum compress_e compress_inflate ( FILE *  source,
FILE *  dest 
)

Definition at line 458 of file compress_lzma.c.

Here is the call graph for this function:

◆ decompress()

static lzma_ret decompress ( lzma_stream *  strm,
FILE *  infile,
FILE *  outfile 
)
static

Definition at line 283 of file compress_lzma.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_error_message()

static const char * get_error_message ( lzma_ret  ret)
static

Definition at line 96 of file compress_lzma.c.

◆ init_decoder()

static lzma_ret init_decoder ( lzma_stream *  strm)
static

Definition at line 357 of file compress_lzma.c.

Here is the caller graph for this function:

◆ init_encoder()

static lzma_ret init_encoder ( lzma_stream *  strm,
uint32_t  preset 
)
static

Definition at line 84 of file compress_lzma.c.

Here is the caller graph for this function: