CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
LzmaFile.cc File Reference
#include "LzmaFile.h"
#include "LzmaDec.h"
#include "Alloc.h"
#include "Types.h"
#include "7zFile.h"
#include <cmath>
#include <iostream>
#include <queue>
#include <cstdlib>

Go to the source code of this file.

Functions

static void * SzAlloc (void *, size_t size)
 
static void SzFree (void *, void *address)
 

Variables

static ISzAlloc g_Alloc = {SzAlloc, SzFree}
 
const char * kCantAllocateMessage = "Can not allocate memory"
 
const char * kCantReadMessage = "Can not read input file"
 
const char * kCantWriteMessage = "Can not write output file"
 
const char * kDataErrorMessage = "Data error"
 

Function Documentation

static void* SzAlloc ( void *  ,
size_t  size 
)
static

Definition at line 21 of file LzmaFile.cc.

References MyAlloc().

21 { return MyAlloc(size); }
void * MyAlloc(size_t size)
Definition: Alloc.cc:23
tuple size
Write out results.
static void SzFree ( void *  ,
void *  address 
)
static

Definition at line 22 of file LzmaFile.cc.

References MyFree().

22 { MyFree(address); }
void MyFree(void *address)
Definition: Alloc.cc:37

Variable Documentation

ISzAlloc g_Alloc = {SzAlloc, SzFree}
static

Definition at line 23 of file LzmaFile.cc.

Referenced by LzmaFile::Close(), and LzmaFile::Open().

const char* kCantAllocateMessage = "Can not allocate memory"

Definition at line 18 of file LzmaFile.cc.

const char* kCantReadMessage = "Can not read input file"

Definition at line 16 of file LzmaFile.cc.

const char* kCantWriteMessage = "Can not write output file"

Definition at line 17 of file LzmaFile.cc.

const char* kDataErrorMessage = "Data error"

Definition at line 19 of file LzmaFile.cc.